@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color:#104b99;
    --secondary-color:#ffbd59;
    --light-color:#f4f4f4;
    --dark-color: rgb(6, 27, 55);
}

* {
    margin: 0;

}

.container {
    z-index: 1000;
}

/* Style the header */
.header {
    position: fixed;
    width: 100vw;
    z-index: 1001;
    top: 0;
    display: flex;
    justify-content: space-between;
    padding: 30px;
    text-align: center;
    font-size: 35px;
    color: white;

    &.inverted {
        background-color: var(--light-color);
        box-shadow: 0 3px 5px 0.3px rgba(0,0,0,0.1);
        a {color: var(--dark-color); }
    }
}

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

#dipiLogo {
    height: 3rem;
}

.nav {
    display: block;
    /*& a {*/
    /*    font-weight: 500;*/
    /*    padding-left: 15px;*/
    /*    text-decoration: none;*/
    /*    color: var(--dark-color);*/
    /*    font-size: 1.7rem;*/
    /*    transition: ease 0.3s;*/
    /*}*/

    /*& a:hover{*/
    /*    font-weight: 700;*/
    /*    background: var(--light-color);*/
    /*    padding: 0.5rem 1rem;*/
    /*    border: 0.2rem solid var(--primary-color);*/
    /*    box-shadow: 0.3rem 0.3rem var(--primary-color);*/
    /*    color: var(--primary-color);*/
    /*}*/
}

.navBtn {
    font-weight: 500;
    padding-left: 15px;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 1.7rem;
    transition: ease 0.3s;
    cursor: pointer;
}

.selected, .navBtn:hover {
    font-weight: 700;
    background: var(--light-color);
    padding: 0.5rem 1rem;
    border: 0.2rem solid var(--primary-color);
    box-shadow: 0.3rem 0.3rem var(--primary-color);
    color: var(--primary-color);
}



.nav-mobile {
    width: 100vw;
    /*background: #717171;*/
    height: 100vh;
    font-weight: 500;
    position: absolute;
    display: none;
    top: 7rem;
    left: 0;
    transition: ease-in-out 0.5s;
}

.nav-mobile.active {
    top: 7.5rem;
    width: 100vw;
    height: 100vh;
    background: none;
    display: block;
    position: fixed;


    & #close-light {
        z-index: 5;
        display: block;
    }

    & a {
        display: block;
        opacity: 1;
    }

    .navMobileList {
        display: block;
    }
}

.navMobileList {
    z-index: 1000;
    display: none;
    width: 85vw;
    position: fixed;
    margin: 0 1.5rem 1.5rem 1.5rem;
    background: var(--light-color);
    border-radius: 1rem;
    padding: 1rem;
    border: solid 0.2rem var(--primary-color);
    box-shadow: 0.5rem 0.5rem var(--primary-color);

}

.nav-mobile a{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    opacity: 0;
    text-decoration: none;
    padding: 0.5rem;
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: ease 0.7s;
    display: none;
}

.nav-mobile a:hover {
    text-decoration: underline solid var(--secondary-color) 3px;
}



#hamburger {
    z-index: 1002;
    display: none;
    height: 3rem;
    cursor: pointer;
}

@media (max-width: 600px) {
    .nav {
        display: none;
    }

    .nav-mobile {
        display: block;
        position: absolute;
        z-index: 1000;
    }

    #hamburger {
        display: block;
    }

}