nav {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background-color: #2ee47a;
    position: fixed;
    top: 0;
    z-index: 1000; /* Ensure nav is above other content */
    transition: 1s;
}

#login-container {
    position: relative; /* Keep position relative */
    width: 300px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1; /* Ensure login container is above other content */
    margin-top: 0px; /* Adjust margin top to create space from the nav */
}

#login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* background: linear-gradient(0deg, red, orange, yellow, orangered, blue, indigo, violet, red); */
    background: linear-gradient(0deg, #ffffff, rgb(253, 252, 251), #01a545, #01a545, rgb(255, 255, 255), rgb(255, 255, 255), #01a545, #01a545ed);
    /* background: linear-gradient(0deg, #ffffff, rgb(253, 252, 251), white, #01a545, #01a545, #01a545, #01a545, #01a545ed); */
    animation: rotate 2s linear infinite;
    z-index: -1;
}

#login-container::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 10px;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
