/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url('mosai.png') repeat;
    color: #1d1d1b; /* Texto oscuro */
    position: relative;
    animation: moveBackground 20s linear infinite; /* Añade la animación al fondo */
}

@keyframes moveBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

a {
    text-decoration: none;
    color: #333; /* Gris oscuro */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #1d1d1b; /* Fondo oscuro */
    color: #fff; /* Texto claro */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.logo img {
    max-height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #fff; /* Texto claro */
}

.whatsapp-button a {
    background-color: #555; /* Gris medio */
    color: #fff; /* Texto claro */
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.whatsapp-button a:hover {
    background-color: #777; /* Gris más claro */
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('ruta-al-fondo.jpg') no-repeat center center/cover; /* Reemplazar con la ruta de tu imagen */
    height: 80vh;
    color: #fff; /* Texto claro */
    text-align: center;
    padding: 0 20px; /* Añade un poco de padding para evitar que el texto toque los bordes */
}

.hero-content {
    background: rgba(29, 29, 27, 0.6); /* Fondo oscuro semi-transparente */
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px; /* Establece un ancho máximo para mantener un tamaño adecuado */
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0; /* Quitar espacio entre h1 y h2 */
    color: #ccc; /* Gris claro */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Añade sombra al texto */
}

.hero-content h2 {
    margin-top: 0; /* Quitar espacio entre h1 y h2 */
}

.hero-content p {
    font-size: 1rem;
    color: #fff; /* Texto claro */
    word-wrap: break-word; /* Permite que el texto salte a la siguiente línea si es necesario */
}

/* Secciones Generales */
section {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ccc; /* Gris claro */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Añade sombra al texto */
}

/* Slider Section */
.slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    position: relative;
    min-width: 100%;
}

img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Asegura que las imágenes sean del mismo tamaño */
}

/* Estilo de la capa de texto */
.text-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    max-width: 80%;
    transition: opacity 0.5s, transform 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.text-overlay h2 {
    font-size: 2rem;
    margin: 0;
}

.text-overlay p {
    font-size: 1rem;
    margin: 0;
}

/* Animación de aparición */
.slide:hover .text-overlay {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 1s ease-in-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Footer Styles */
footer {
    background-color: #1d1d1b; /* Fondo oscuro */
    color: #fff; /* Texto claro */
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px; /* Asegura que las secciones tengan un ancho mínimo */
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section ul, .footer-section li {
    font-size: 1rem;
    margin: 0.5rem 0;
}

.footer-section a {
    color: #fff; /* Texto claro */
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #ccc; /* Línea separadora */
    font-size: 0.875rem;
    margin-top: 2rem;
}

.footer-section .fa {
    margin-right: 0.5rem;
}
/* Responsividad */
@media (max-width: 768px) {
    .text-overlay[_{{{CITATION{{{_1{](https://github.com/la9una/web/tree/ba1073ae044ebb7b538a3b13f0f9598f7c410bb6/docs%2Fbootstrap%2Falignci.md)[_{{{CITATION{{{_2{](https://github.com/florparrillas/misterioAcademia/tree/00bbbcaedc71d1c96fe68ee426782bbdfcb6be51/header.php)