body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url('assets/Imagen%20de%20WhatsApp%202024-10-10%20a%20las%2017.51.40_ea51f54d.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: -1; 
}

header {
    position: fixed;
    width: 100%;
    background-color: #4686A3;
    transition: background-color 0.5s, backdrop-filter 0.5s;
    z-index: 1000;
    color: skyblue;
    padding: 0.3vh 0; 
    font-family: 'Montserrat', sans-serif;
}

header.header-scrolled {
    background-color: rgba(70, 106, 129, 0.8); 
    backdrop-filter: blur(0.3vh); 
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw; 
}

header .logo img {
    width: 4vw; 
    height: auto;
    margin-left: 0.8vw; 
    margin-top: 0.3vh; 
}

header nav {
    margin-left: auto;
}

header nav ul {
    display: flex;
    list-style: none;
    padding: 0.8vh 0; /* Menor padding vertical en el menú */
    margin-right: 4vw; /* Ajusta el margen derecho */
}

nav ul li {
    margin: 0 1vw; /* Reduce aún más los márgenes entre los elementos del menú */
}

nav ul li a {
    color: skyblue;
    text-decoration: none;
    font-size: 1rem; /* Ligera reducción del tamaño de fuente */
    transition: color 0.5s ease;
    font-family: 'Montserrat', sans-serif;
}

nav ul li a:hover {
    color: aliceblue;
}

body, html {
    height: 100%;
    width: 100%;
}

.pdf-section {
    width: 100%;
    height: 100vh;
    background: url('ruta/imagen/fondo.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pdf-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    grid-template-rows: repeat(2, 1fr); /* 2 filas */
    gap: 50px; /* Separación entre los íconos */
    width: 80%; /* Controla el ancho del área que ocupa la cuadrícula */
    height: 80%; /* Controla la altura que ocupa la cuadrícula */
}

.pdf-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pdf-icon img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 15px; /* Separación entre ícono y texto */
}

.pdf-icon img:hover {
    transform: scale(1.1);
}

.pdf-text {
    margin-top: 5px; /* Ajusta para mayor o menor separación */
    color: white;
    background-color: #336776;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none; /* Quitar subrayado */
    transition: color 0.3s ease-in-out;
    
}

.pdf-text:hover {
    color: skyblue; /* Cambia el color del texto al pasar el mouse */
}


footer {
    background-color: #386A81;
    color: #63BDE7;
    padding: 10px 0;
    text-align: center;
    position: fixed; 
    bottom: 0; 
    left: 0;
    top: 50;
    width: 100%; 
    z-index: 2;
}
footer  {
    display: flex;
    flex-direction: column;
    align-items: center;
}





footer p {
    margin: 0;
}