html, body {
    overflow-x: hidden;
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 50px;
    padding-left: 50px;
    background-color: rgb(15, 14, 30);
}

.menu {
    display: flex;
    gap: 10px;
}

.links {
    display: flex;
    gap: 10px;
}

.menu-icon {
    height: 40px;
    filter: brightness(0) invert(1);
    
}
.menu-open {
    display: none;
}
.close-btn { 
    display: none;
}
.close-btn:hover {
transform: rotate(90deg);
}

.menu-icon:hover {
    filter: invert(16%) sepia(99%) saturate(7404%) hue-rotate(4deg) brightness(105%) contrast(115%);
    cursor: pointer;
}

.logo{
    display: flex;
    align-items: center;
}
.logo-text{
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 35px;
    font-weight: 600;
    margin: 15px;
}

.logo-image{
    height: 40px;
    filter: invert(16%) sepia(99%) saturate(7404%) hue-rotate(4deg) brightness(105%) contrast(115%); 
}

.menu a {
    text-decoration: none;
}
.nav-bar-button {
    display: flex;
    align-items: center;
    font-size: 15px;
    text-decoration: none;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding-left: 20px;
    padding-right: 20px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 20px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
}

.nav-bar-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-bar-button-focus {
    background-color: red;
    cursor: default;
}

.nav-bar-button-focus:hover {
    background-color: red;
     
}

.nav-bar-icon {
    height: 20px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    filter: invert(100%) brightness(200%);
}

@media (max-width: 1040px) {
    .logo-text {
        font-size: 24px;
        margin: 10px;
    }
    .nav-bar {
        padding: 0 20px;
    }
}

@media (max-width: 950px) {
    .logo-text {
        display: none;
    }
}

@media (max-width: 784px) {
    .links {
        display: flex;
    }
    .menu-open {
        display: block;
    }
    .nav-bar {
        justify-content: space-between;
    }
    .logo {
        margin: 10px;
    }
    .links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 100%;
        background-color: rgb(15, 14, 30);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        z-index: 9999;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .links.show-menu {
        transform: translateX(0);
    }

    .close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 40px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-bar-button {
        width: 80%;
        margin: 10px auto;
        justify-content: center;
    }
}