* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: relative;
    
        background-image: url('Ciuda.PNG');
        background-size: cover;
    
    
}

/* barra de navegacion*/

.navegacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}


.navegacion {
    position: fixed;
    top: 0; /* Alineación en el borde superior */
    width: 100%; /* Ancho total */
    z-index: 1000; /* Prioridad visual */
    background-color: transparent; /* Fondo transparente */
    padding: 10px 5%; /* Espaciado interno responsive */
    display: flex; /* Alinea elementos en fila */
    justify-content: space-between; /* Distribuye espacio entre elementos */
    align-items: center; /* Centrado vertical */
    font-weight: bold;
    transform: translateY(0); /* Inicialmente visible */
    transition: transform 0.3s ease-in-out; /* Animación de desplazamiento */
}

.navegacion ul li a {
    color: white; /* Color del texto */
    text-decoration: none; /* Sin subrayado */
    font-size: 16px;
    position: relative; /* Necesario para la animación */
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap; /* Evita saltos de línea */
}

.navegacion ul li a::after {
    content: ""; /* Crea el efecto de línea */
    position: absolute; /* Línea colocada debajo del texto */
    bottom: -3px; /* Espaciado desde el texto */
    left: 50%; /* Comienza en el centro */
    width: 0; /* Inicialmente oculta */
    height: 2px; /* Grosor de la línea */
    background-color: white; /* Color de la línea */
    transform: translateX(-50%); /* Centra la línea */
    transition: width 0.3s ease; /* Efecto de animación */
}

.navegacion ul li a:hover::after {
    width: 100%; /* Expande la línea al hacer hover */
}

.logo {
    flex: 1; /* Ocupa espacio disponible */
    z-index: 1001; /* Asegura que esté sobre otros elementos */
}

.logo a {
    color: rgb(255, 255, 255); /* Texto blanco */
    text-decoration: none; /* Sin subrayado */
    font-size: 30px; /* Tamaño destacado */
    font-weight: bold; /* Negrita */
    font-family: "Abyssinica SIL", serif; /* Fuente elegante */
    transition: all 0.3s ease;
}

.logo a:hover{
    transform: scale(105);
}

.navegacion nav ul {
    list-style: none; /* Elimina los puntos de las listas */
    display: flex; /* Alinea los enlaces en fila */
    gap: 25px; /* Espaciado entre los enlaces */
    margin: 0;
    padding: 0;
}

.navegacion nav ul li a {
    color: rgb(255, 255, 255); /* Texto blanco */
    text-decoration: none; /* Sin subrayado */
    font-size: 16px; /* Tamaño del texto */
    position: relative; /* Necesario para la animación de la línea */
    transition: all 0.3s ease; /* Animaciones suaves */
    font-weight: 500;
    white-space: nowrap; /* Evita saltos de línea */
    
}

.navegacion nav ul li a:hover {
    transform: scale(1.1); /* Agrandamiento al pasar cursor */
}

.navegacion nav ul li a::after {
    content: ""; /* Línea decorativa */
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after {
    width: 100%; /* Muestra la línea al hacer hover */
}

.entrar {
    flex: 1; /* Ocupa espacio disponible */
    display: flex;
    justify-content: flex-end; /* Alinea a la derecha */
    z-index: 1001; /* Asegura que esté sobre otros elementos */
}

.ingresar-btn {
    background-color: #000000;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 20px;
    padding: 10px 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ingresar-btn:hover {
    background-color: #0066cc;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.ingresar-btn:active {
    background-color: #002f60;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* hero*/

.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 150px;
    position: relative;
}

.hero h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 80px;
    line-height: 1.2;
    margin: 0 0 20px;
}

.hero h1 span {
    display: block;
    font-style: italic;
    font-family: "Newsreader", serif;
    color: #ffffff;
}

/*botones*/

.button {
    display: flex;
    gap: 15px;
}

button {
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button.join {
    background-color: #023e80;
    color: white;
}

button.video {
    background-color: #fedc9781;
    color: white;
}

.unete {
    display: inline-block;
    text-align: center;
    padding: 15px 30px;
    background-color: transparent;
    color: #3777bc;
    border: 2px solid #023e80;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unete:hover {
    background-color: #023e80;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(2, 62, 128, 0.5);
}

.button li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.button .video {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.button .video:hover {
    background-color: white;
    color: black;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
}


/* =================== MODAL =================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 8px;
    overflow: hidden;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background: transparent;
    border: none;
}

/*============ CONTENIDO GENERAL =================== */
.container {
    max-width: 1200px;
    margin: 80px auto 40px;
    padding: 50px 20px;
    text-align: center;
}

.titulo {
    font-size: 36px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-family: "Tagesschrift", system-ui;
}
