/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
    text-align: justify;
}

body h1, h2, h5{
    font-family: 'Orbitron', sans-serif;
}

/* header */
.logo {
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(191, 195, 201, 0.4) 0%, rgba(204, 204, 204, 0) 100%);
}

.logo img {
    max-width: 100%;
    max-height: 150px;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    text-align: center;
    padding: 5vh;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1.5px solid #ccc;
    border-radius: 0 0 33% 33%; /* curvas en las esquinas inferiores */
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    align-items: center;
    justify-content: center;
    list-style-type: none;
    display: flex;
    margin: 0;
}

nav ul li {
    margin: 0 42px;
}

nav ul li a {
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #555;
    font-weight: 500;
}

nav ul li a:hover {
  transition: opacity 0.3s ease;
  color: #242424;
  font-weight: 600;
}

/* Menú hamburguesa: ocultar el menú y mostrar solo el ícono en pantallas pequeñas */
@media (max-width:1010px) {
    .logo img {
        height: 75px; 
        max-width: 100%; 
        object-fit: cover;
        object-position: left center;
    }

    nav ul {
        display: none;  /* Esconde el menú por defecto */
        flex-direction: column;
        width: 100%;
        background-color: #fff;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 1.2rem;
        padding: 10px;
    }

    .menu-icon {
        display: block;  /* Muestra el ícono hamburguesa */
        cursor: pointer;
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 1.8rem;
    }

    nav.active ul {
        display: flex;  /* Muestra el menú cuando está activo */
    }
}

/* Asegurarse de que el ícono de hamburguesa no se vea en pantallas grandes */
@media (min-width: 1011px) {
    .menu-icon {
        display: none;  /* Esconde el ícono en pantallas grandes */
    }
}

/* footer */
footer {
    margin-top: 1vw;
    text-align: center;
    background-color: #333;
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}

section {
    margin-bottom: 40px;
}

/* Utils */

.cta-btn {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 1rem;
    margin-top: 15px;
    display: inline-block;
    transition: background-color 0.3s;
    text-decoration: None;
}

.cta-btn:hover {
    background-color: #555;
}

.toast {
    position: fixed;
    top: 84px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 15px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
    z-index: 10000;
    min-width: 250px;
    text-align: center;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}

.caption {
    font-size: 1em; 
    color: #807e7e; 
    text-align: center; 
    margin: 10px;
}

.caption a{
    text-decoration: none; 
    color: #807e7e;
}

#boletin h1 {
    margin-top: 21px;
    font-size: 42px;
    text-align: center;
    padding: 21px;
}

#boletin p {
    margin-top: 21px;
    margin-bottom: 21px;
    font-size: 18px;
}

#redes h1 {
    margin-top: 21px;
    font-size: 42px;
    text-align: center;
    padding: 21px;
}

.social-icons{
    display: flex;
    justify-content: center; /* Centrar los iconos */
    margin-top: 20px;
}
.social-icon {
    text-align: center;
    text-decoration: none;
    margin-right: 21px;
    color: white; /* Color del icono */
}

.social-icon i {
    font-size: 42px; /* Tamaño del icono */
    color: white; /* Color del icono */
    transition: color 0.3s; /* Transición suave para el cambio de color */
}

.social-icon i:hover {
    color: #555; /* Color al pasar el mouse */
}

#email {
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.button-container {
    text-align: center; /* Centra el contenido del contenedor */
  }
  
.button-container button {
    display: block;
    margin: 21px auto; /* Centra el botón con auto margenes a los lados */
}