* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.productName {
    text-align: center;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


button[disabled] {
    background-color: darkgrey; 
    cursor: not-allowed; 
    opacity: 0.7; 
}

.jumbotron {
    padding: 30px;
    margin-bottom: 30px;
    background-color: #eee;
    border-radius: 6px;
    text-align: center;
}

.jumbotron h1 {
    color: red;
    font-size: 25px; 
    margin-bottom: 6.67px; 
    font-weight: 300;
}

.jumbotron p {
    font-size: 18px;
    margin-bottom: 15px;
}

.jumbotron .btn {
    margin: 10px 35px;
    font-size: 18px;
    color: #fff;
    background-color: #337ab7;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

.red {
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 8px;
    background-color: darkslateblue;
    color: #ff9900;
    text-decoration: none;
}

.jumbotron .btn:hover {
    background-color: #286090;
    text-decoration: none;
}


header, main, footer {
    width: 100%;
}

.header {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
}

.credentials {
    background-color: #e8f0fe;
    padding: 15px;
}

.vertical {
    display: flex;
    flex-direction: row; 
    padding: 20px;
    gap: 20px;
    flex: 1;
}

.orizzontal {
    display: flex; 
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    flex: 1;
}

.logo-vertical {
    background-color: #fff;
    padding: 20px;
    background-size: cover;  
    background-position: center;  
    background-repeat: no-repeat;  
    height: 100vh;  
    width: 100%;  
}

.logo-orizzontal {
    background-color: #fff;
    padding: 20px;
    background-size: cover;  
    background-position: center;  
    background-repeat: no-repeat;  
    height: 100vh;  
    width: 100%;  
}

.login-form-container {
    width: 33.33%;  
    margin: 0 auto;
    padding: 20px;
}

 
.left-block {
    flex: 2 1 0; /* Due terzi della larghezza */
}

.right-block {
    flex: 1 1 0; /* Un terzo della larghezza */
}

 
.top-block {
    flex: 1 1 0; /* Due terzi della larghezza */
}

.bottom-block {
    flex: 2 1 0; /* Un terzo della larghezza */
}

.responsive-image {
    max-width: 100%;
    height: auto;
}

.login-form {
    background-color: #fff;
    padding: 20px;
    width: 100%;
}

.login-form h2 {
    margin-bottom: 20px;
    text-align: center;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;

}

.login-form button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cbox {

    margin-top: 7px;
    
}

.login-form button:hover {
    background-color: #0056b3;
}

.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.hidden {
    display: none;
}



.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    border: 1px solid darkgrey; /* Add a solid border */
}

.switch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #fff;
    transform: translate(0%, -50%);
    transition: transform 0.3s ease-in-out;
}

.remember_me {
    display: none;
}

.remember_me:checked + .switch::after {
    transform: translate(100%, -50%);
    background-color: blue;
}

.remember_me:checked + .switch {
    background-color: lightgrey;
}


#switch {
    display: flex;
    align-items: center;
}


@media (max-width: 768px) {
    main {
        flex-direction: column; /* Cambia a colonna su schermi più piccoli */
    }

    .block {
        width: 100%;
        margin-bottom: 20px;
    }

    .block-3 {
        margin-bottom: 0; /* Rimuove il margine inferiore per il terzo blocco */
    }
}