/* imported fonts */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');

/* root */
:root{
    --primary-font: "Josefin Sans", serif;
    --secondary-font: "Cardo", serif;
}

*{
    padding: 0;
    margin: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* menu button */
.menu-button{
    position: absolute;
    top: 20px;
    right: 25px;
    width: 30px;
    height: 30px;
    z-index: 4;
}

.menu-line{
    height: 3px;
    width: 100%;
    background: #000;
    border-radius: 25px;
    position: absolute;
    transition: all .3s ease;
    z-index: 4;
}
 
#line1{
    top: 0px;
}

#line2{
    top: 10px;
}

#line3{
    top: 10px;
    opacity: 0;
}

#line4{
    top: 20px;
}

.menu-button.active #line1,
.menu-button.active #line4{
    opacity: 0;
}

.menu-button.active #line2{
    transform: rotate(45deg);
}

.menu-button.active #line3{
    opacity: 1;
    transform: rotate(-45deg);
}

/* home button */
.home-button{
    position: absolute;
    width: 100%;
    z-index: 3;
    top: 22.5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-button img{
    width: 50vw;
    z-index: 3;
    filter: invert(0);
    transition: all .3s ease;
}

.home-button img:hover{
    filter: invert(.3);
}

/* mobile nav bar transitions */
.menu-button.active .menu-line{
    background: #fff;
}
.menu-button.active ~ .home-button img{
    filter: invert(1);
}

/* nav menu */
.nav-menu{
    position: absolute;
    left: 0;
    top: 0;
    height: 0vh;
    width: 100vw;
    background: #000;
    z-index: 2;
    overflow: hidden;
    transition: height .5s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-menu.active{
    position: fixed;
    height: 100vh;
    pointer-events: all;
}

.page-links{
    float: left;
    width: 100%;
}

.page-links ul{
    float: left;
    width: 90%;
    margin: 0 5%;
    list-style: none;
}

.page-links li{
    float: right;
    width: 100%;
    margin: 20px 0;
}

.page-links a{
    float: right;
    text-align: right;
    width: auto;
    font-family: var(--primary-font);
    font-size: 20pt;
    text-decoration: none;
    color: #fff;
}

.social-links{
    float: right;
    width: 100%;
    margin: 20px 0;
}

.social-links ul{
    float: right;
    margin: 15px 5%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social-links img{
    width: 35px;
    filter: invert(1);
}

.other-page-links{
    float: left;
    width: 100%;
}

.other-page-links ul{
    float: left;
    width: 90%;
    margin: 0 5%;
    list-style: none;
}

.other-page-links li{
    float: right;
    width: 100%;
    margin: 20px 0;
}

.other-page-links a{
    float: right;
    text-align: right;
    width: auto;
    font-family: var(--primary-font);
    font-size: 15pt;
    text-decoration: none;
    color: #fff;
}

.copyright-info{
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100vw;
    text-align: center;
}

.copyright-info h1{
    width: auto;
    font-family: var(--primary-font);
    font-size: 12pt;
    font-weight: 300;
    color: #fff;
}

.desktop-nav{
    display: none;
}

@media (min-width: 426px){
    .home-button img{
        width: 212px;
        z-index: 3;
        filter: invert(0);
        transition: all .3s ease;
    }
}

@media (min-width: 769px){

    /* hide menu button and mobile nav menu */
    .menu-button{
        display: none;
    }

    .nav-menu{
        display: none;
    }

    /* home button */
    .home-button{
        position: absolute;
        width: 100%;
        z-index: 4;
        top: 22.5px;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: none;
    }

    .home-button img{
        z-index: 4;
        pointer-events: all;
    }

    /* desktop navigation */
    .desktop-nav{
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        width: 100%;
        list-style: none;
    }

    .desktop-nav a{
        text-decoration: none;
        font-family: var(--primary-font);
        color: #000;
        font-size: 13pt;
        padding-bottom: 1px;
        border-bottom: 1px solid #fff;
        z-index: 6;
    }

    .desktop-nav a:hover{
        border-bottom: 1px solid #000;
    }

    .nav-left{
        float: left;
        width: auto;
        margin: 27.5px 0 0 5%;
        z-index: 6;
    }

    .nav-left ul{
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .nav-right{
        float: right;
        width: auto;
        margin: 27.5px 5% 0 0;
        z-index: 6;
    }

}