a {
    all: unset;
    cursor: pointer;
}

a:hover {
    opacity: 0.6;
}

.logo {
    position: absolute;
    top: 16px;
    left: 94px;
    width: 160px;
}

.navbar {
    position: absolute;
    height: 45px;
    top: 55px;
    align-items: center;
    right: 35px;
    border-radius: 35px;
    display: flex;
    flex-direction: row;
    column-gap: 60px;
    justify-content: center;
    color: white;
    z-index: 3;
    background-color: #4618cf7e;
    width: 475px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
}

.menu-button {
    display: none;
    position: absolute;
    right: 35px;
    top: 65px;
    background-color: black;
    height: 32px;
    align-items: center;
    padding: 0 16px;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.4);
    transition: 150ms cubic-bezier(0.215,0.61,0.355,1);
    transition-property: background-color, opacity;
}

.menu-button:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.6);
}

.mobile-navmenu {
    display: none;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
}

.mobile-navmenu.show {
    display: flex;
    opacity: 1;
}

.mobile-menu-header {
    position: absolute;
    top: 16px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    width: 160px;
    margin-left: 15px;
}

.menu-close-button {
    margin-right: 35px;
    margin-top: 20px;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.mobile-nav-link {
    font-size: 24px;
    color: black;
    margin: 15px 0;
    font-weight: 600;
}

.mobile-nav-link:hover {
    opacity: 0.6;
}

/* Media queries */
@media only screen and (max-width: 815px) {
    .logo {
        left: 50px;
    }
}

@media only screen and (max-width: 750px) {
    .navbar {
        right: 15px;
    }

    .logo {
        left: 15px;
    }
}

@media only screen and (max-width: 680px) {
    .navbar {
        display: none;
    }

    .menu-button {
        display: inline-flex;
    }
}

@media only screen and (max-width: 500px) {
    .logo {
        width: 120px;
        top: 35px;
        left: 35px;
    }
}