* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}


.fondo {
    position: relative;
    width: 100%;
    height: 450px;
}

.fondo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Login Box */
.login-box {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 25%;
    height: 90%;
    z-index: 10;
}

.login-box h1 {
    font-weight: bold;
    margin-top: 20%;
    margin-bottom: 5%;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: small;
}

.login-box input:focus {
    border: 2px solid #000000; /* Cambia el borde al enfocar */
    box-shadow: 0 0 5px #000000; /* Agrega una sombra verde */
    outline: none; /* Quita el borde azul predeterminado */
}

.login-box button {
    width: 100%;
    height: 12%;
    font-size: small;
    padding: 10px;
    background-color: #1f2937;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10%;
}

.login-box button:hover {
    background-color: #333;
}

.login-box h1 {
    font-size: xx-large;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* Verde WhatsApp */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.whatsapp-float i {
    background-color: #25d366; /* Verde WhatsApp */
}

.social-icon {
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.social-icon .fa-instagram:hover {
    color: #e1306c;
}

.social-icon .fa-facebook-f:hover {
    color: #1877f2;
}

.social-icon .fa-x-twitter:hover {
    color: #ffffff; /* puedes usar otro si prefieres */
}

@media (max-width: 640px) {
    .login-box {
        width: 80%;
        transform: translate(-50%, -70%);
        height: 80%;
    }

     .login-box h1 {
	margin-top: 10%;
     }
        width: 75%;
    }

    .fondo img {
        width: 100%;
        height: 90%;
        object-fit: cover;
    }

    nav {
        font-size: 150%;
        text-align: center;
    }
}
