:root{
    --nav-height: 80px;
    --nav-icon-height: 40px;
    --nav-height-collapsed: 50px;
    --nav-icon-height-collapsed: 30px;

    --slideshow-height: 80vh;

    --off-black: rgb(32, 32, 32);
    --off-black-25-opacity: rgba(32,32,32,0.25);
    --off-black-50-opacity: rgba(32,32,32,0.5);
    --off-black-75-opacity: rgba(32,32,32,0.75);
    --off-white: #EEEEEE;
    --light-grey: #DDDDDD;
    --grey: #999999;
    --off-white-50-opacity: rgba(238,238,238,0.75);
    --orange: rgb(136, 53, 8);
    --orange-30-opacity: rgba(136, 53, 8, 0.30);
    --orange-2: rgb(206, 86, 22);
    --orange-2-50-opacity: rgba(206, 86, 22, 0.5);
    --orange-3: rgb(231, 96, 23);
}

@font-face{
    font-family: 'nasalization';
    src: url('../fonts/Nasalization\ Rg.otf') format('opentype');
}

.mobile-blocker{
    width:100vw;
    height:100vh;
    position:fixed;
    background-color: var(--orange-2);
    z-index: 1000;
    display: none;
}

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

.button{
    font-family: nasalization;
    font-size: 1.6rem;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 1.5rem 0;
    background-color: var(--orange-2);
    color: var(--off-white);
    /* padding: 10px 25px; */
    border-radius: 5px;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.button:hover{
    cursor:pointer;
    background-color: var(--grey);
    color: var(--off-black);
}
hero-title > mark {
    color: var(--orange-2);
    padding: 1px 15px;
    background-color: var(--off-black-50-opacity);
}

h1{
    font-size: 2.5rem;
    font-family: nasalization;
    padding: 1rem 0;
}

.orange{
    background-color: var(--orange-2);
    color: var(--off-white);
}

.light-grey{
    background-color: var(--light-grey);
}

.white{
    background-color: var(--off-white);
    color: var(--off-black);
}

.black{
    background-color: var(--off-black);
    color: var(--off-white);
}

.rounded{
    border-radius: 25px;
}

.border{
    border-top: 15px solid var(--orange-2);
    border-bottom: 7.5px solid var(--orange-2);
}

.title{
    font-size: 2rem;
    font-family: nasalization;
    padding: 25px 12.5% 25px 12.5vw;
    text-align: left;
}

.card{
    font-family: monospace;
    font-size: 1.3rem;
    margin: 15px auto;
    padding: 1.25% 2.5%;
    width: 75%;
    justify-self: center;
    text-align:left;
}

        /***********
        ** NAVBAR **
        ***********/

header{
    height: var(--nav-height);
    z-index:10;
    background-color: var(--off-black-50-opacity);
    display:flex;
    justify-content: space-between; 
    width:75%; 
    padding: 5px 12.5%;
    position:fixed;
    top: 0px;
    align-items: center;
    font-family: nasalization;
    /* font-size: 1.5rem; */

    transition: height 0.25s ease;
}

header.collapse{
    height: var(--nav-height-collapsed);
}

.nav-icon{
    color: var(--off-white);
    font-size: 2rem;
    display:flex;
    text-shadow: var(--off-black) 0 0 1px;
    height:var(--nav-icon-height);
    align-items: center;
    transition: font-size 0.25s ease;
}

.nav-icon>div>img{
    height:var(--nav-icon-height);
    transition: height 0.25s ease;
}

.nav-icon.collapse>div>img{
    height:var(--nav-icon-height-collapsed);
}

.left-nav-div{
    display:flex;
}

.right-nav-div{
    display: flex;
}

.right-nav-div>li{
    font-size: 1.1rem;
    list-style: none;
    background-color: var(--light-grey);
    padding: 5px 10px;
    margin: 0 2.5px;
    border-radius: 5px;
}

.right-nav-div>li:hover{
    color: var(--off-white);
    transition: background-color 0.25s ease,
                color 0.25s ease;
    background-color: var(--orange-2);
    border-radius: 5px;
}

        /************************
        ** MAIN PAGE TEMPLATES **
        ************************/

hero-title{
    position: relative;
    font-size: 3rem;
    margin: 25px 0;
    color: var(--orange-2);
    font-family: nasalization;
    text-align: left;
    text-shadow: var(--off-black) 0 0 1px;

    padding: 5px 10px;
    background-color: var(--off-black-75-opacity); 
    border-radius: 5px;

    /* margin-bottom: 200px; */
}

hero-page {
    position: absolute;
    z-index: 2;
    left: 12.5%;
    top: 10%;
    width: 75%;
    justify-content: center;
    text-align:center;
}

hero-page>div{
    margin-top: 25px;
    font-size: 1.2rem;
    padding: 5px 10px;
    background-color: var(--off-black-75-opacity); 
    border-radius: 5px;
    color: var(--off-white);
}

slideshow-container {
    margin-top: 12vh;
    position: relative;
    width: 100%;
    height: clamp(200px, 70vh, 600px);
    overflow: hidden;
    display: block;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-in-out;
}

.slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


        /***********
        ** FOOTER **
        ***********/ 

footer{
    justify-items: center;
    background-color: var(--orange-2);
    width:100%;
    justify-self: center;
    padding: 10px 0;
    color: var(--off-white)
}

footer>*{
    margin:auto;
}

footer>ul{
    margin: auto;
    width: 400px;
    display: flex;
}

footer>ul>li{
    list-style: none;
    padding: 5px 20px;
}

footer>p{
    width: 50%;
    padding: 15px 0;
    font-size: 1rem;
}

footer>ul>li>a>svg{
    fill: var(--off-white)
}

@media screen and (max-width: 1100px){
    header{
        width: 90%;
        padding: 5px 5%;
    }
}

@media screen and (max-width: 850px){
    header{
        height: auto;
        width: 100%;
        bottom: 0px;
        top: auto;
        background-color: transparent;
        padding: 0;
    }
    header>ul{
        display:flex;
    }
    header>ul>li{
        color: var(--off-white);
        background-color: var(--orange-3);
        font-weight:bold;
        list-style: none;
        padding: 2% 7px 10% 7px;
    }
    header>ul>li:hover{
        background-color: var(--orange);
    }
    header>ul>li:first-child{
        border-radius: 15px 0 0 0;
        padding-left: 2.5%;
    }
    header>ul>li:last-child{
        border-radius: 0 15px 0 0;
        padding-right: 2.5%;
    }


    /* NAV START */



    /* NAV END */

    hero-page {
        left: 5%;
        top: 5%;
        width: 90%;
        font-size: 1rem;
    }

    hero-page>div{
        font-size: 1.2rem;
    }

    hero-title {
        font-size: 2rem;
    }

    slideshow-container{
        margin-top: 0;
    }

    .button {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
    
    .mobile-blocker{
        display:block;
    }

    .card{
        width: 95%;
        padding: 0;
        /* margin: auto; */
    }
    .card>div:first-of-type{
        width: 90%;
        margin: auto;
    }

    footer>ul{
        width: 95%;
    }
    footer>ul>li{
        padding: 15px;
    }
    footer>p{
        width: 90%;
    }
    footer{
        padding-bottom: 15vh;
    }
}