/* The side navigation menu */
.sidenav {
    width: 0rem;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    z-index: 3;
    /* Stay on top */
    top: 1rem;
    /* Stay at the top */
    right: 1rem;
    bottom: 1rem;
    background-color: #fff;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding: 3rem 1rem 1rem 1rem;
    /* Place content 60px from the top */
    transition: width 0.5s ease-in-out;
    /* 0.5 second transition effect to slide in the sidenav */
    border-radius: 4.25rem;
}

.sidenav .logo-container {
    border-bottom: 1px solid #D8D8D8;
    padding: 0 1rem 1rem 1rem;
    margin-bottom: 2rem;
}

.sidenav .logo {
    gap: 0.5rem;
    align-items: baseline;
}

.sidenav .logo span {
    color: #454545;
    font-size: 1.25rem;
}

/* The navigation menu links */
.sidenav a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 24px;
    color: #03A2DF;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    opacity: 0.75;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    width: 59px;
    height: 59px;
    font-size: 32px;
    border: 1.23px solid grey;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #1C1B1F;
    border: 1.61px solid;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(81.36deg, #00A2E0 -7.4%, #FFE49A 109.15%) border-box;
    border: 1.61px solid transparent;
}

.sidenav .button {
    height: 70px;
    border-radius: 60px;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidenav .buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.sidenav .sign-up {
    background: linear-gradient(81.36deg, #00A2E0 -7.4%, #FFE49A 109.15%);
    color: #1B1B1B;
}

.sidenav .login {
    color: #03A2DF;
    border: 1.61px solid;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(81.36deg, #00A2E0 -7.4%, #FFE49A 109.15%) border-box;
    border: 1.61px solid transparent;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

#overlay {
    position: fixed;
    /* Sit on top of the page content */
    display: none;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 2;
    /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer;
    /* Add a pointer on hover */
}

@media screen and (max-width: 768px) {
    .sidenav {
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        border-radius: 0;
        max-width: 100vw;
    }
}