@import url('https://fonts.googleapis.com/css2?family=Cormorant+Unicase:wght@300;400;700&family=Montserrat:wght@100;400;500&family=Roboto:ital,wght@0,100;0,400;0,700;1,100;1,400;1,700&display=swap');

:root{
    --secondary: #00279c;
    --primary: #731933;
    --gray: #cccccc;
    --white: #ffffff;
    --cormorant: 'Cormorant Unicase', serif;
    --montserrat: 'Montserrat', sans-serif;
    --darker: #2b010d;
    --black: rgb(0,0,0);
}

*, *::after, *::before{
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html{
    font-size: 62.5%;
}

body{
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary);
    color: var(--white);
    overflow-x: hidden;
}

/* ---- GENERAL STYLING*/

a{
    text-decoration: none;
}

.navbar-border-top{
    border-top: 4px solid var(--white);
}

i{
    color: var(--white);
    transition: all .2s;
}

i:hover{
    cursor: pointer;
    color: var(--primary);
}

.wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* ---- GENERAL STYLING*/

/* ---- NAV SECTION -----*/

header{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;

    width: 100%;
    padding: 3rem 2rem;
    background-color: rgba(255, 255, 255);
}

header h1{
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 400;
    font-family: var(--montserrat);
    text-transform: uppercase;
}

header li{
    border-top: 1px solid var(--white);
}

.dull-section{
    display: flex;
    flex-flow: row nowrap;
}

#section {
    display: flex;
    align-items: center;

}

#section .image-container{
    min-width: 21rem;
    width: 44rem;
    margin-bottom: 1.5rem;
}

#section img{
    width: 100%;
    height: 100%;
}

#section i{
    margin-left: 3rem;
    font-size: 3rem;
    color: var(--primary);
}

header li{
    padding: 1rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    min-height: 5rem;
    list-style-type: none;
}

header li:hover{
    border-bottom: 1px solid var(--white);
    cursor: pointer;
}

header li a{
    color: var(--white);
}

.main-menu{
    position: fixed;
    display: none;
    left: -200px;
    top: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: visible;
    transition: left .3s ease;
    z-index: 999;
}

.main-menu ul{
    list-style: none;
    margin: 0;
    padding-top: 4.3em;
    min-height: 100%;
    width: 200px;
    background-color: var(--primary);
}

.main-menu a{
    display: block;
    padding: 0.75rem;
    color: var(--white);
    text-decoration: none;
}

.main-menu .menu-close{
    position:absolute;
    right: 0;
    top: 0;
    font-size: 3rem;
    color: var(--white);
    transition: all .2s;
}

.main-menu:target{
    display: block;
    left: 0;
    outline: none;
}

.main-menu:target .menu-close{
    z-index: 1001;
}

.main-menu:target ul{
    position: relative;
    z-index: 1000;
}

.main-menu:target + .backdrop{
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: default;
}

footer{
    position: relative;
    background-color: rgb(241, 241, 241);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 2rem;
}

footer section{
    z-index: 99999;
}

footer section a{
    display: block;
    width: 11rem;
}

footer section img{
    width: 100%;
}

footer .socials-footer{
    display: flex;
    flex-direction: column;
    font-family: var(--cormorant);
    align-items: center;
}

footer .socials-footer article a{
    color: var(--white);
}

footer .socials-footer > span{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--darker);
}

.footer-contact{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--darker);
    margin-bottom: 2rem;
}

.footer-contact i{
    font-size: 2rem;
    color: var(--darker);
    
}

.footer-contact span{
    font-size: 1.7rem;
    font-weight: 600;
}

.footer-text{
    margin-bottom: 1rem;
}

.dull-div{
    margin-bottom: 1rem;
}

.social-icons{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-width: 15rem;
}

.social-icons--container{
    display: flex;
    align-items: center;
}

.socials-footer + section span{
    color: var(--darker);
}

.social-icons i{
    background-color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem;
    border-radius: 100%;
    font-size: 2.4rem;
    transition: all .2s;
    margin-bottom: 1rem;
}

.social-icons i:hover{
    background-color: var(--white);
    color: var(--primary);
}

.social-icons article span{
    font-size: 2rem;
    font-weight: 600;
    margin-left: 10px;
    color: var(--darker);
}

.three-colored-bars{
    display: flex;
    position: absolute;
    z-index: 10;
    height: 100%;
    right: 100px;
}

.three-colored-bars div{
    height: 100%;
    width: 1rem;
}

.three-colored-bars .primary{
    background-color: var(--secondary);
}

.three-colored-bars .secondary{
    background-color: var(--primary);
}

.three-colored-bars .tertiary{
    background-color: rgb(170, 170, 170);
}

@media (min-width: 880px){

    .navbar-border-top{
        border-top: 4px solid var(--secondary);
    }

    .menu-toggle,
    .main-menu .menu-close{
        display: none;
    }

    .main-menu{
        display: flex !important;
        position: static;
    }

    .main-menu ul{
        display: flex;
        padding: 0;
        height: auto;
        width: auto;
        background: none;
        overflow: hidden;
        text-align: center;
    }

    header li{
        min-width: 15rem;
        padding: 0;
        border-top: 1px solid var(--primary);
    }

    header h1, #section i{
        margin-bottom: 3rem;
    }

    .main-menu a{
        padding: 0;
        padding-top: 2rem;
        width: 100%;
        height: 100%;
        color: var(--primary);
    }

}
/* ---- NAV SECTION -----*/

@media (max-width: 1120px){
    .three-colored-bars{
        display: none;
    }
}

@media (max-width: 900px){

    html{
        font-size: 59%;
    }
    
}

@media (max-width: 500px){
    html{
        font-size: 54%;
    }

    #section .image-container{
        width: 35rem;
    }
}