.nav-container {
    position: fixed;
    z-index: 100;
    top: 0px;
    display: flex;
}

#nav-toggle {
    display: none;
}

.nav-button {
    border-radius: 0px 0px 0px 15px;

    cursor: pointer;
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #5fb5ff, #7bfefe);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.logo{
    border-radius: 0px 15px 15px 0px;
    
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.nav-button:hover {
    transform: scale(1.1);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4);
}

.nav-icon {
    position: relative;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: all 0.4s ease;
}

.nav-icon::before,
.nav-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: all 0.4s ease;
}

.nav-icon::before {
    top: -8px;
}

.nav-icon::after {
    top: 8px;
}

#nav-toggle:checked + .nav-button .nav-icon {
    background: transparent;
}

#nav-toggle:checked + .nav-button .nav-icon::before {
    top: 0;
    transform: rotate(45deg);
}

#nav-toggle:checked + .nav-button .nav-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 90;
}

#nav-toggle:checked ~ .nav-overlay {
    opacity: 1;
    visibility: visible;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    background: linear-gradient(45deg, #5fedff, #7baffe);
    padding: 0px 30px 0px 0px;
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 100;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

#nav-toggle:checked ~ .nav-menu {
    left:0;
}

.nav-list {
    margin-top: 30px;
    list-style: none;
}

.nav-item {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(30px);
}

#nav-toggle:checked ~ .nav-menu .nav-item {
    animation: slideIn 0.4s forwards;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-link {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link i {
    margin-right: 15px;
    font-size: 1.6rem;
    width: 30px;
    text-align: center;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.nav-link:hover i {
    color: #ff7e5f;
}



.nav-container h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-container p {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}



@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    p {
        font-size: 1.1rem;
    }
    
    .nav-button {
        width: 50px;
        height: 50px;
    }
    
    .nav-menu {
        width: 250px;
    }
}
