:root {
    /* Colors */

    /* Primary background color #101818 */
    --primary-background-color: rgba(0, 8, 16, 1);

    /* Secondary background color #14213d */
    --secondary-background-color: rgba(8, 16, 24, 1);

    /* Primary text color #BDC9DE */
    --primary-text-color: rgba(216, 232, 248, 1);

    /* Secondary text color #9DA9BE */
    --secondary-text-color: rgba(184, 200, 216, 1); /* #9DA9BE */

    /* Primary accent color #EF233C */
    --primary-accent-color: rgba(239, 35, 60, 1);

    /* Secondary accent color #d90429 */
    --secondary-accent-color: rgba(230, 26, 51, 1);

    /* Border Radius */
    --border-radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -o-tap-highlight-color: transparent;
    -ms-tap-highlight-color: transparent;
    -moz-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: transparent;
    -o-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    overflow-y: scroll;
    -ms-touch-action: none;
    -webkit-touch-action: none;
    -moz-touch-action: none;
    -o-touch-action: none;
    touch-action: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-background-color);
    color: var(--primary-text-color);

    /* Prevents the user from scrolling the page */
    overflow-y: hidden;
    overflow-x: hidden;

    /* Prevents the user from scrolling the page on windows */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 48px;
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 16px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%) contrast(0);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 16px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%) contrast(0);
}

.social-buttons img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
    overflow-x: hidden;
}

.overview-widget {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Overview Widget Image */
.overview-widget-image {
    width: calc(max(50vw, 50vh));
    height: calc(max(50vh, 50vw));
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    overflow: hidden;
}

.overview-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

.overview-widget-content {
    width: calc(max(50vw, 50vh));
    height: calc(max(50vh, 50vw));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

.overview-widget-content .introduction {
    display: inline;
    margin: 1vh 0;
    /* background-color: var(--secondary-text-color); */
}

.overview-widget-content .introduction img {
    height: 7vh;
    width: auto;
    object-fit: contain;
    object-position: left;
    /* background-color: var(--secondary-accent-color); */
}

.overview-widget-content .introduction-text {
    padding: 2px;
    width: 100%;
    max-width: 35vw;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-style: light;
    font-size: calc(max(1.2vw, 1.2vh));
    letter-spacing: calc(max(0.01vw, 0.01vh));
    line-height: calc(max(1.8vw, 1.8vh));
    color: var(--secondary-text-color);
}

.overview-widget-content .introduction-text span {
    color: var(--primary-accent-color);
}

.overview-buttons {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: calc(max(0.8vw, 0.8vh));
    width: 100%;
    height: calc(max(3.5vw, 3.5vh));
    margin-top: calc(max(2vh, 2vw));
}

.overview-projects-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 30%;
    color: var(--primary-text-color);
    background-color: var(--primary-accent-color);
    cursor: pointer;
    font-size: calc(max(1vw, 1vh));
    text-align: center;
    letter-spacing: calc(max(0.01vw, 0.01vh));
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

.overview-projects-button:hover {
    background-color: var(--secondary-accent-color);
    box-shadow: 0 0 0 calc(max(0.1vw, 0.1vh)) inset var(--secondary-text-color);
}

.overview-resume-button {
    height: 100%;
    width: auto;
    padding: 0 calc(max(1.5vw, 1.5vh));
    display: flex;
    gap: calc(max(0.5vw, 0.5vh));
    align-items: center;
    justify-content: center;
    color: var(--primary-text-color);
    background-color: transparent;
    cursor: pointer;
    font-size: calc(max(1vw, 1vh));
    text-align: center;
    letter-spacing: calc(max(0.01vw, 0.01vh));
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

.overview-resume-button img {
    width: calc(max(1.25vw, 1.25vh));
    height: calc(max(1.25vw, 1.25vh));
    margin-right: 2px;
    fill: currentColor;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(90deg);
}

.overview-resume-button:hover {
    box-shadow: 0 0 0 calc(max(0.1vw, 0.1vh)) inset var(--secondary-text-color);
    background-color: transparent;
}

.overview-resume-button:hover img {
    transform: rotate(-45deg);
}

/* Mobile */
@media (pointer: coarse) and (orientation: portrait) {
    body {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    .logo {
        display: none;
    }

    .social-buttons {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: calc(max(2vw, 2vh));
        cursor: pointer;
        transition: all 0.3s ease;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        padding: calc(max(2vw, 2vh)) 0;
    }

    .social-buttons img {
        width: calc(max(3vw, 3vh));
        height: calc(max(3vw, 3vh));
    }

    .overview-widget {
        height: 50vh;
        overflow: hidden;
    }

    .overview-widget-content {
        width: 100%;
        order: 1;
        justify-content: center;
        align-items: center;
    }

    .overview-widget-content .introduction {
        padding-top: calc(max(3vw, 3vh));
        align-items: center;
        justify-content: center;
        height: auto;
        gap: calc(max(2vw, 2vh));
    }

    .overview-widget-content .introduction img {
        width: calc(max(25vw, 25vh));
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .overview-widget-content .introduction-text {
        text-align: center;
        padding: calc(max(0.5vw, 0.5vh)) calc(max(2.5vw, 2.5vh));
        width: auto;
        max-width: 100%;
        font-size: calc(max(2.4vw, 2.4vh));
        letter-spacing: calc(max(0.15vw, 0.15vh));
        line-height: calc(max(2.8vw, 2.8vh));
        overflow: hidden;
    }

    .overview-widget-image {
        order: 2;
        height: calc(max(43vh, 43vw));
        position: fixed;
        bottom: 0;
        width: 100%;
        object-fit: contain;
        object-position: bottom;
        z-index: -1;
    }

    .overview-buttons {
        padding-top: calc(max(2.5vw, 2.5vh));
        display: flex;
        height: calc(max(6.5vw, 6.5vh));
        justify-content: center;
        gap: calc(max(1.5vw, 1.5vh));
    }

    .overview-buttons .overview-projects-button {
        width: 43%;
        font-size: calc(max(1.8vw, 1.8vh));
    }

    .overview-buttons .overview-resume-button {
        width: 43%;
        font-size: calc(max(1.8vw, 1.8vh));
        box-shadow: 0 0 0 calc(max(0.15vw, 0.15vh)) inset var(--primary-text-color);
    }

    .overview-buttons .overview-resume-button img {
        transform: rotate(0deg);
        width: calc(max(2vw, 2vh));
        height: calc(max(2vw, 2vh));
    }
}