* {
    margin: 0 0;
    padding: 0 0;
}

body {
    overflow: hidden;
    grid-template-rows: auto auto;
    background: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
}

/* Navigation Bar */
nav {
    min-height: auto;
    background-color: transparent;
    display: flex;
    align-items: center;
    backdrop-filter: blur(2.25px);
}

#hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 1.5rem 0 0 1.5rem;
    flex-shrink: 0;
}

#hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1C1C1C;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#nav-links {
    width: 100%;
    display: flex;
    align-items: center;
}

.page {
    display: flex;
    font-size: clamp(0.75rem, 5vw, 1.10rem);
    background-color: transparent;
    border: none;
    color: #FFFFFF;
    margin: 1rem 1rem 0 2rem;
}

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

a:visited {
    color: inherit !important;
}

.page:hover {
    cursor: pointer;
}

#currentPage {
    height: fit-content;
    display: flex;
    flex-direction: column;
    margin: 1rem 1rem 0 2rem;
    justify-content: center;
    align-items: center;
}

#currentPage h3 {
    margin: 0;
}

#currentPage hr{
    margin: 0;
    width: 100%;
    height: 0.1rem;
    background-color: #FFFFFF;
    border: none;
}

#contact {
    border: solid 1.5px #1A437F;
    background-color: #FFFFFF;
    border-radius: 3px;
    height: fit-content;
    padding: 0.2rem 1.2rem;
    margin: 1rem 2rem 0 auto;
    color: #1C1C1C;
    font-weight: 500;
    box-shadow: 0px 1px 3px #1A437F;
}

#contact:hover {
    background-color: #1A437F;
    color: #FFFFFF;
    border: solid 1.5px #1A437F;
    box-shadow: 0px 1px 3px #1A437F;
    
}

#contact:active{
    box-shadow: none;
}

/***********************************************/

main {
    height: 100vh;
    display: flex;
    align-items: end;
}

#informationHolder {
    height: 90vh;
    width: 100%;
    border: none;
    border-radius: 10px;
    background-color: #FFFFFF;
}

#informationHolder li {
    font-weight: 300;
}

#name {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: fit-content;
    padding: 5rem 0 5rem 0;
    box-shadow: 0 10px 10px -10px gray;
}

#name h2 {
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#name h3 {
    font-size: clamp(0.25rem, 5vw, 1rem);
    font-weight: 400;
}

#about {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#about h2 {
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 500;
    margin: 2rem 0 0.5rem 1rem;
}

#about h4 {
    width: 85%;
    font-size: clamp(0.5rem, 5vw, 1.5rem);
    font-weight: 350;
    padding-left: 1rem;
}

#background {
    grid-row: 2;
}

#background h2 {
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 500;
    margin: 4rem 0 0.5rem 1rem;
}

#background h4 {
    font-size: clamp(1rem, 5vw, 1.5rem);
    font-weight: 350;
    padding-left: 1rem;
    width: 95%;
    padding-bottom: 1rem;
}

#directButtons {
    display: flex;
    margin: 3rem 0 0.5rem 1rem;
}

#directButtons button {
    padding: 0.75rem 1.5rem;
    margin: 0 1rem 0 0;
    border: solid 1.5px;
    border-radius: 3px;
    cursor: pointer;
    color: #FFFFFF;
}

#directButtons .filled {
    border: none;
    background-color: #1A437F;
    font-weight: bold;
    box-shadow: 0px 1px 3px #1C1C1C;
}

#directButtons .unfilled {
    border:  1.5px #1A437F;
    background-color: #FFFFFF;
    font-weight: bold;
    box-shadow: 0px 1px 3px #1A437F;
    color: #1C1C1C;
}

#directButtons .filled:active {
    box-shadow: none;
}

#directButtons .unfilled:active {
    box-shadow: none;
}

/* Media Config */

@media screen and (max-width: 1300px){
    #contact {
        visibility: hidden;
    }

    .page {
        color: #1C1C1C;
    }

    #currentPage hr {
        background-color: #1C1C1C;
    }

    #background h2 {
        margin: 2rem 0 0.5rem 1rem;
    }

    #directButtons {
        margin: 1.5rem 0 0.5rem 1rem;
    }

}

@media screen and (max-width: 768px) {

    body {
        overflow: scroll;
    }

    /* Nav */

    nav {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    #hamburger {
        display: flex;
        margin-top: 2rem;
        margin: 1rem 1rem;
    }

    #nav-links {
        display: none;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    #nav-links.open {
        display: flex;
    }

    #nav-links .page,
    #nav-links #currentPage {
        margin: 0 0.5rem 0 0.5rem;
        font-size: clamp(0.5rem, 3vw, 0.85rem);
        white-space: nowrap;
    }

    /*********************************/

    /* Main */

    #informationHolder {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto auto;
        overflow: scroll;
        height: 85vh;
        width: 100%;
        border: none;
        border-radius: 10px;
        background-color: #FFFFFF;
    }

    #name {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 10px -10px gray;
    }

    #about {
        grid-column: 1;
        grid-row: 2;
        height: fit-content;
        box-shadow: 5px 0 5px -5px gray;
    }

    #background {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
    }
    #directButtons {
    display: flex;
    align-items: center;
    justify-content: center;
    }
}

@media screen and (max-width: 1322px){
    #about h2 {
        font-size: clamp(1rem, 5vw, 1.25rem);
    }

    #about h4 {
        font-size: clamp(0.5rem, 5vw, 1.25rem);
    }

    #background h2 {
        font-size: clamp(1rem, 5vw, 1.25rem);
    }

    #background h4 {
        font-size: clamp(1rem, 5vw, 1.25rem);
    }
}





/* Fonts */
.open-sans-font {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
