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

body {
    /*background: linear-gradient(900deg, rgba(236, 226, 224, 0.8), rgba(248, 230, 300, 0.8)),
                url('../img/background.jpg') center/cover no-repeat;
    color: #ecf0f1;*/

    background: url('../img/background2.jpg') center/cover no-repeat;
    color: #eaeaea;

    /*background: linear-gradient(90deg, rgba(47, 54, 64, 0.7), rgba(113, 128, 147, 0.7)),
                url('../img/background.jpg') center/cover no-repeat;
    color: #ecf0f1;*/

    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-y: auto; /* Habilita el desplazamiento vertical */
    min-width: 250px;

}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Añade un filtro para bajar el contraste */
    z-index: -1;
}

/* Estilo general del encabezado */
header {
    background-color: rgba(10, 61, 98, 0.9);
    color: #ffffff;

    /*background-color: rgba(47, 54, 64, 0.9);
    color: #ffffff;*/

    /*background-color: rgba(255, 255, 255, 1);
    color: #333;*/

    display: flex; /* Distribuye logo y menú horizontalmente */
    justify-content: space-between; /* Espacia logo y menú en extremos */
    padding: 10px 20px; /* Espaciado interno */
    position: fixed; /* Encabezado fijo */
    top: 0; /* Fijo en la parte superior */
    width: 100%; /* Ancho completo */
    z-index: 1000; /* Superposición para asegurarse de que esté arriba */
    min-width: 250px;
}

/* Mensage de bienvenida */
.bienvenida-message {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Contenedor principal */
.container {
    text-align: center;
    z-index: 2;
    width: 80%;
}

.bienvenida-message img {
    width: 100%;
}

/* Logo principal */
.logo img {
    width: 200px;
    height: auto;
}

.logo {
    text-align: center;
    width: 50%;

}

/* Estilos para los botones (logos) */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    margin: 30px;
    margin-top: 50px; /* Espacio para el logo principal */
}

.logo-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.logo-btn img {
    width: 250px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-btn:hover img {
    transform: scale(1.2); /* Efecto de zoom al pasar el ratón */
}

.shadow-effect {
    margin-top: 1em;
    border: none;
    color: white;
    padding: 15px 60px;
    cursor: pointer; 
    border-radius: 5px;
    background-color: #04AA6D; /* Color base del botón */
    transition: box-shadow 0.3s ease-in-out; /* Transición suave del efecto de sombra */
}

.shadow-effect:hover {
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3); /* Aumenta el desplazamiento y la opacidad de la sombra */
}


/* Responsividad */
@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .container {
        position: relative;
        height: 60vh;
        width: 90%;
    }

    .body {
        overflow: auto;
    }

    .logo {
        margin: auto;
        text-align: center;
    }

    .logo img {
        width: 100%;
        max-width: 200px;
        /*width: 200px; /* Ajustar el tamaño del logo en pantallas pequeñas */    
    }

    .bienvenida-message {
        font-size: 38px;
    }

    .logo-btn img{
        width: 100%;
        max-width: 250px;
    }
}