:root {
    --grid-cell-size: 80px;
    --content-side-padding: 70px;
    --accent-color: rgb(12, 148, 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

#grid {
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
}

.nunito_font {
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

#content {
    width: 900px;
    height: 100dvh;
    max-height: 100%;
    min-height: fit-content;
    overflow-y: auto;
    position: relative;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    font-family: sans-serif;
}

/* About Section Styles */
#about {
    width: 100%;
    margin-top: 40px;
    padding: 0 var(--content-side-padding);
}

#about > h2 {
    font-weight: lighter;
    font-size: 35pt;
}

.weighted_text {
    font-weight: bold;
}

#about > p {
    width: 100%;
    font-size: 13pt;
    margin-right: 10px;
}

#about > p > a {
    text-decoration: none;
    color: var(--accent-color);
}

#about > p > a:hover {
    text-decoration: underline;
}

#headshot {
    width: 50%;
    float: right;
    margin: 5px;
    border: 4px solid black;
    border-radius: 10px;
    box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
footer {
    width: 100%;
    height: 70px;
    margin-top: 20px;
    padding: 0 var(--content-side-padding);
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 25px;
}

.footer_img_box {
    height: 100%;
    aspect-ratio: 1/1;
}

.footer_media_img {
    height: 100%;
    transition: filter 0.2s;
}

.footer_media_img:hover {
    filter: invert(35%) sepia(65%) saturate(1400%) hue-rotate(82deg) brightness(99%) contrast(102%); 
}

/* Responsive Styles */
@media only screen and (max-width: 900px) {
    #grid {
        display: none;
        visibility: hidden;
    }

    #content {
        position: relative;
        width: 100%;
        height: 100vh;
    }
}

@media only screen and (max-width: 650px) {
    #content {
        height: 100%;
        max-height: none;
        min-height: 100dvh;
    }

    #about {
        margin-top: 80px;
    }

    #about > h2 {
        text-align: center;
    }

    #headshot {
        float: none;
        width: 100%;
    }

    footer {
        margin-bottom: 20px;
    }
}