.nav{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #191716;
}

.nav a{
    font-weight: 600;
    font-size: smaller;
    color: #D7D7D7;
    padding: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.togglebtn{
    cursor: pointer;
    display: none;
}

.dropdown{
    height: 0;
    display: none;
    position: absolute;
    width: 300px;
    border-radius:0px 0px 15px 15px;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    background: #191716;
}

.dropdown.open{
    height: 150px;
    width: -webkit-fill-available;
}

.dropdown a{
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D7D7D7;
    font-size: small;
    text-decoration: none;
    transition: color 0.3s ease;
}


.nav a:hover, .dropdown a:hover{
    color: #E6AF2E;
}

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

    .togglebtn{
        display: inline-block;
        display: flex;
        background-color: #191716;
        padding: 8px;
    }
    
    .dropdown{
        display: block;
    }
}

@media (max-width: 850px) {
    .nav a{
        font-weight: 600;
        font-size: small;
        color: #D7D7D7;
        padding: 15px;
        text-decoration: none;
    }
}