@font-face {
    font-family: "Geist";
    src: url("../fonts/GeistMonoNerdFont-Regular.otf");
    font-weight: normal;
}

@font-face {
    font-family: "Geist";
    src: url("../fonts/GeistMonoNerdFont-Bold.otf");
    font-weight: bold;
}

@font-face {
    font-family: "Geist";
    src: url("../fonts/GeistMonoNerdFont-Light.otf");
    font-weight: lighter;
}

html, body {
    margin: 0;
}

body {
    font-family: "Geist", sans-serif;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    color: white;
}

img.profile-image {
    width: 25vw;
    align-self: center;
}

table.frontpage {
    height: 100vh;
    text-align: center;
}

table.start {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-collapse: collapse;
    z-index: -1;
    text-align: right;
    width: 70vw;
    opacity: 0;
    transition: opacity 500ms ease-in-out;
}

table.start h1 {
    font-size: 4vw;
    width: 100%;
    color: #c20e35;
    font-weight: bold;
}

table.start p {
    font-size: 1vw;
    color: #ffffff;
}

td.profile-row {
    width: 25vw;
}

table.second-base {
    background-color: #c20e35;
    width: 100%;
    height: 20vh;
}

table.second {
    height: 100%;
    width: 50%;
    text-align: center;
    margin: clamp(5px, 1dvh, 20px);
    opacity: 0;
    transition: opacity 500ms ease-in-out;
}

table.second h2 {
    font-size: clamp(20px, 2vw, 100px);
    color: #ffffff;
}

table.second i {
    font-size: clamp(40px, 10vw, 128px);
    color: #ffffff;
}

table.third-base {
    background-color: black;
    border: 20px dashed #c20e35;
    width: 100%;
    height: 100%;
}

table.third {
    width: 50%;
    height: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 500ms ease-in-out;
}

table.third td {
    width: 50%;
}

table.third td h1 {
    color: #c20e35;
}

table.third td h2 {
    color: #c20e35;
}

.bounce {
    display: inline-block;
    animation: bounce 1s infinite;
    transition: opacity 500ms ease-in-out;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Portrait Mode. */
@media (max-aspect-ratio: 1/1) {
    table.third {
        width: 100%;
    }

    table.second-base {
        height: 10vh;
    }

    table.second {
        width: 80%;
    }

    img.profile-image {
        width: clamp(10px, 75vw, 500px);
    }

    table.start h1 {
        font-size: 6vw;
    }

    table.start p {
        font-size: 2vw;
    }
}

/* Landscape Mode. */
@media (min-aspect-ratio: 1/1) {
    table.third {
        width: 50%;
    }

    table.second-base {
        height: 20vh;
    }

    table.second {
        width: 50%;
    }

    img.profile-image {
        width: 25vw;
    }

    table.start h1 {
        font-size: 4vw;
    }

    table.start p {
        font-size: 1vw;
    }
}