/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #242020;
    color: #dae0e5;
    text-align: center;
}

/* Encabezado */
header {
    background-color:#30363a;
    color: white;
    padding: 20px;
}

header h1 {
    margin: 10px 0 5px;
    font-size: 2em;
}

header p {
    font-size: 1.2em;
    font-weight: 300;
}

/* Logo */
.logo {
    width: 390px;  /* Ajusta el tamaño según el logo */
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

/* Secciones principales */
section {
    padding: 40px 20px;
    background-color: #393434;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #a9b3b9;
    font-size: 1.5em;
}

section p {
    font-size: 1.2em;
    color: #e0d3b6;
}

/* Footer */
footer {
    background-color: #2a2e31;
    color: white;
    padding: 20px;
    margin-top: 20px;
}

footer h3 {
    font-size: 1.5em;
}

footer p {
    margin: 5px 0;
}

/* Carrusel */
.carousel {
    position: relative;
    max-width: 500px; /* Tamaño fijo */
    width: 100%;
    height: 600px; /* Asegúrate de que sea cuadrado */
    margin: 20px auto;
    overflow: hidden; /* Oculta las imágenes fuera de esta área */
    border-radius: 5px;
}

.carousel-images {
    display: flex;
    transition: transform 3.0s ease-in-out;
    width: 100%;
}

.carousel img {
    width: 100%;
    height: 100%; /* Asegura que la imagen cubra todo el área del carrusel */
    object-fit: cover; /* Ajusta la imagen sin deformarla */
    border-radius: 5px;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    .logo {
        width: 260px;  /* Reduce el tamaño en pantallas pequeñas */
    }

    section {
        padding: 20px;
    }

    footer {
        padding: 15px;
    }
}