.nav-container {
    text-decoration: none;
    text-align: left;
    overflow: hidden;
    margin-right: 0.5%;
    padding-right: 1%;
}

.nav{
    margin: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    position: fixed;
    background-color: #17160D;
    width: 20%;
    padding: 100px 0 100%;
    transform: translateX(-100%);
    text-decoration: none;
    z-index: 2; 
    border-style: none solid none none;
    border-width: 10px;
    border-color: black;
}

.nav .active{
    background-color: #FFFF00;
    color: #17160D;
}

.nav--open{
    transform: translateX(0) !important;
}

li a {
    display: inline-block;
    color: #FFFF00;
    text-align: left;
    padding: 12px 16px;
    margin-bottom: 5%;
    width: 13.5vw;
    text-decoration: none;
    font-size: 20px;
    border-radius: 10px;
    border: none;
    font-family: 'Trebuchet MS', sans-serif;
}

li a:hover {
    background-color: #1c1c15;
    color: #FFFF00;  
}

.nav ul{
    position: fixed;
    list-style-type: none;
    padding: 0;
    margin: 0 50px;
}

#topButton {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    left: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #FFFF00; /* Set a background color */
    color: #1c1c15; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 8px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}
  
#topButton:hover {
    background-color: #1c1c15;
}

#topButton:hover .arrow {
    margin-top: 6px;
    border: solid #FFFF00;
    border-width: 0 3px 3px 0;
    display: block;
    padding: 6px;
}

.arrow {
    margin-top: 6px;
    border: solid #1c1c15;
    border-width: 0 3px 3px 0;
    display: block;
    padding: 6px;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}
