/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
}

header {
    background: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

header img {
    height: 60px;
}

nav a {
    margin: 0 15px;
    color: #191822;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #f90;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    header {
        padding: 10px; /* Reducir el padding en móviles */
    }

    header img {
        height: 40px; /* Reducir el tamaño del logo en móviles */
    }

    nav a {
        font-size: 14px; /* Reducir el tamaño de la fuente en móviles */
        margin: 0 10px; /* Reducir el margen entre enlaces */
    }
}

/* Slider */
.slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa el 100% del alto de la pantalla */
    overflow: hidden;
}

.slides {
    display: flex;
    width: 300%; /* 4 diapositivas, cada una con 100% de ancho */
    transition: transform 0.5s ease-in-out; /* Agrega una transición suave */
}

.slide {
    width: 100%;
    height: 100vh; /* Cada slide ocupa el 100% del alto de la pantalla */
    background-size: cover;
    background-position: center bottom; /* Muestra la parte inferior de la imagen */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.slide-content {
    background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente para mejorar la legibilidad */
    padding: 20px;
    border-radius: 8px;
    max-width: 800px; /* Limita el ancho del contenido */
    margin: 0 auto; /* Centra el contenido horizontalmente */
}

.slide-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 16px;
}

main {
    padding: 40px;
    background: white;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #191822;
    color: #fff;
    padding: 10px;
    margin-top: 20px;
}
