:root {
    --grey: #eee;
    --lightblue: #eaf1fa;
    --greyblue: #ced6e8;
    --yellow: #fbf1e4;
    --lightbrown: #f3e7ea;
    --fadedorange: #f3e2da;
}



/********************/
/* Standard Styling */
/********************/
html {
    scroll-behavior: smooth;
    /* scroll-padding-top: 10%; */
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    box-sizing: inherit;
    font-family: 'DM Sans';
    color: #555;
    margin: 0 auto;
    padding: 0;
}

a {
    text-decoration: none;
}

.flex-col {
    display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
}

.flex-row {
    display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: row;
}

.container {
    width: 100vw;
    max-width: 100%;
}

.home_top_btn {
    position: fixed;
    bottom: 3%;
    right: 3%;
    z-index: 20;
    font-size: 2em;
    animation: fade-in linear both;
    animation-timeline: scroll();
    animation-range: cover 0% cover 10%;
}

.home_top_btn a {
    color: #555;
}

.std-link {
    color: #777;
    font-weight: 800;
    background-image: linear-gradient(
        to right,
        #000,
        #000 50%,
        #000 50%
    );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    position: relative;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
}

.std-link:before {
    content: '';
    background: #000;
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

.std-link:hover {
    background-position: 0;
}

.std-link:hover::before {
    width: 100%;
}
/********************/
/********************/



/**********************/
/* Navigation Styling */
/**********************/
nav {
    position: fixed;
    top: 0;
    height: 7vh;
    background: #eee;
    box-shadow: 0px 5px 5px #ccc;
    display: flex;
    z-index: 10;
    width: 100%;
}

nav > .navi {
    width: 40%;
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 7vh;
    margin: auto;
    padding: 0;
    opacity: 1;
    animation: nav-fade-in 3s;
}

nav > .navi > li {
    flex: 25%;
    text-align: center;
}

nav > .navi > li > a {
    color: #555;
    font-weight: 600;
    box-shadow: inset 0 0 0 0 #555;
    padding: 0.5rem;
    border-radius: 5px;
    transition: box-shadow 0.2s ease-out, color 0.2s ease-out;
}

nav > .navi > li > a:hover {
    box-shadow: inset 200px 0 0 0 #555;
    color: #eee;
    transition: box-shadow 0.4s ease-in-out, color 0.4s ease-in-out;
}
/**********************/
/**********************/



/******************/
/* Header Styling */
/******************/
header {
    position: fixed;
    z-index: 1;
    background-image: url(".../imgs/header-image.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

header > * {
    font-family: 'Playfair Display';
    font-weight: 200;
    font-size: 5rem;
    color: #000;
    letter-spacing: 1px;
    line-height: 3rem;
    filter: none;
    animation: fade-in 3s;
}

.sub-header {
    font-family: 'Playfair Display';
    font-weight: 200;
    font-size: 3rem;
    padding-bottom: 2rem;
    text-align: center;
}
/******************/
/******************/



/*****************/
/* About Styling */
/*****************/
.about-section {
    position: relative;
    z-index: 2;
    top: 100vh;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    width: 100%;
    height: 100vh;
}

.about-text {
    scroll-snap-type: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 50%;
    font-size: 1rem;
    background-color: rgba(234, 241, 250, 0.5);
    padding: 2%;
    border-radius: 10px;
    box-shadow: 2em 2em rgba(234, 241, 250, 0.8);
}

.blurb {
    margin: 0 auto;
    padding: 0;
    width: 60%;
}

.image-container {
    margin: 0 auto;
    background-image: url(".../imgs/headshot2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 18em;
    max-height: 18em;
    width: 30%;
    max-width: 30%;
    padding: 0;
    border-radius: 10px;
}
/*****************/
/*****************/



/********************/
/* Footer Styling */
/********************/
footer {
    position: relative;
    z-index: 3;
    top: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color:#ced6e8;
    box-shadow: 0px -5px 5px #ccc;
    padding: 2%;
    width: 100%;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: space-between;
    flex-direction: row;
    padding: 0;
    margin: 0;
    width: 80%;
}

footer ul {
    list-style-type: none;
    padding: 0;
}

.cr {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    line-height: 2rem;
}

.logos {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

.logos img {
    max-height: 4rem;
}

.copyright {
    width: 45%;
}
/********************/
/********************/




/***********************/
/* Animation Keyframes */
/***********************/
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes nav-fade-in {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        background-color: #fdfdfd;
    }
    50% {
        background-color: #eee;
    }
    100% {
        background-color: #fdfdfd;
    }
}
/***********************/
/***********************/



/*****************/
/* Media Queries */
/*****************/
@media (prefers-reduced-motion) {
    .std-link:hover {
        text-decoration: underline;
    }
  }

@media all and (max-width: 480px) {
    html {
        scroll-padding-top: 3.5rem;
    }
    nav > .navi {
        width: 90%;
    }
    nav > .navi > li {
        flex: 25%;
    }
    header > * {
        width: 90%;
        font-size: 4rem;
        line-height: 5rem;
    }
    .form_panel {
        padding-top: 5%;
    }
    .about-section {
        width: 100vw;
        height: auto;
        background-color: rgba(234, 241, 250, 1);
    }
    .about-text {
        width: 100%;
        flex-direction: column;
        box-shadow: none;
        border-radius: 0;
    }
    .blurb {
        width: 90%;
    }
    .image-container {
        height: 22em;
        max-height: 22em;
        width: 90%;
        max-width: 90%;
        margin-top: 5%;
    }
    footer {
        font-size: 0.9em;
        flex-direction: column;
    }
    .footer {
        flex-direction: column;
        padding: 0;
        margin: 0;
        width: 80%;
    }
    .logos {
        justify-content: center;
        margin-bottom: 5%;
    }
    .cr {
        align-items: center;
    }
    .form_panel {
        width: 80vw !important;
    }
}

@media screen and (min-width: 481px) and (max-width: 939px) {
    html {
        scroll-padding-top: 3.5rem;
    }
    nav {
        height: 10vh;
    }
    nav > .navi {
        width: 80%;
    }
    .about-text {
        width: 100%;
    }
    .blurb {
        width: 90%;
    }
}

@media screen and (min-width:940px) and (max-width: 1440px) {
    html {
        scroll-padding-top: 3.5rem;
    }
    nav > .navi {
        width: 80%;
    }
    .about-text {
        width: 80%;
    }
    .footer {
        font-size: 0.9em;
        width: 80%;
    }
}
/*****************/
/*****************/