.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 76px;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../images/river.webp') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 5%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 5%),
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 5%),
        radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 5%);
    background-size: 50px 50px;
    animation: rotate 240s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-form {
    background-color: rgba(248, 249, 250, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25),
              0 0 15px rgba(0, 255, 170, 0.1),
              0 0 30px rgba(76, 0, 255, 0.1);
    max-width: 400px;
    width: 100%;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px)
}

.login-form h2 {
    color: #2E5A35;
    margin-bottom: 1.5rem;
    text-align: center;
}

.btn-login {
    background-color: #2E5A35;
    border-color: #2E5A35;
    width: 100%;
    padding: 0.5rem;
    margin-top: 1rem;
}

.btn-login:hover {
    background-color: #1d3922;
    border-color: #1d3922;
}

.form-check-input:checked {
    background-color: #2E5A35;
    border-color: #2E5A35;
}


@media (max-width: 449.9999px) {
    .login-form {
        padding: 1rem; /* Riduci il padding per schermi più piccoli */
        max-width: 90%; /* Assicura che non sia troppo largo */
    }
}