@import url('https://fonts.googleapis.com/css2?family=Niconne&display=swap');
header{
    height: 100vh;
}

.navbar{
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    flex-wrap: wrap;
    box-shadow: none;
    transition: all 0.5s;
    z-index: 100;
    position: fixed;
    top: -21%;
    left: 0;
    animation: navanime 0.7s ease-in 1 forwards;
}
@keyframes navanime {
    to{
        top: 0%;
    }
}
.navbar-brand{
    font-size: 1.5em;
    letter-spacing: 0.2em;
    font-weight:600;
    color: var(--theme-color-1);
    font-family: 'Niconne', cursive;
}
.navbar-toggler{
    width: 30px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    cursor: pointer;
}
.line{
    width: 100%;
    height: 3px;
    background-color: var(--theme-color-1);
    pointer-events: none;
}
.collapse{
    width: 100%;
    overflow: hidden;
    height: 0px;
    transition: height 0.2s;
}
.collapse.active{
    height: 320px;
}
.navbar-nav{
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}
.navbar-nav li{
    margin: 0 10px;
    padding: 10px;
    width: 100%;
}
.navbar-nav li a{
    color: gray;
    font-weight: semibold;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
    text-align: center;
    transition: all 0.2s;
    font-size: 18px;
}
.navbar-nav li a.btn{
    color: white;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
    text-align: center;
    transition: all 0.2s;
    background: var(--theme-color-1);
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--theme-color-1);
}
.navbar-nav li a:hover{
    color: var(--theme-color-1);
    background: transparent;
}
.navbar-nav li a.active{
    color: var(--theme-color-1);
}

@media (min-width:992px) {
    .navbar{
        padding: 5px 60px;
    }
    .navbar-toggler{
        display: none;
    }
    .navbar-nav{
        flex-direction: row;
        width: max-content;
    }
    .collapse{
        width: max-content;
        height: auto;
    }
    .collapse.active{
        height: auto;
    }
}