body {
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background-image: url(../foto/background.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    position: relative;
    width: 400px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, .1);
    padding: 40px;
    justify-content: center;
    align-items: center;
}

.logo {
    margin-bottom: 30px; 
}

.logo img {
    width: 90px; 
    height: auto; 
    display: block;
    margin: 0 auto 10px auto; 
}

.logo h2 {
    font-size: 25px ;
    color: black;
    text-align: center;
}

h2 {
    font-size: 30px ;
    color: black;
    text-align: center;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    transition: 0.3s ease;
    pointer-events: none;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -10px;
    font-size: 12px;
    color: #333;
}

button[type="submit"] {
    background-color: blue;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

@media only screen and (max-width: 768px){
    .container {
        padding: 2px;

    }

    .login-box {
        width: 320px;
        height: auto;
    }

    .logo img {
        width: 50%;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .input-group input {
        width: 100%;
        font-size: 14px;
        margin-right: 5px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px){

    .body{
        width: auto;
    }
    .login-box {
        width: 250px;
    }

    .logo img {
        width: 50%;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .input-group input {
        width: 100%;
        font-size: 14px;
        margin-right: 5px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }


}