/* Fuente y reset básico */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    text-align: center;
    color: white;
    background: url('fondo7.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Capa de opacidad para la imagen de fondo */
.overlay {
    background: rgba(0, 0, 0, 0.6); /* Opacidad del fondo */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

a {
    color: yellow; /* Color inicial del enlace */
    text-decoration: none; /* Sin subrayado */
}

a:visited {
    color: orange; /* Cambia el color de los enlaces ya visitados */
}

a:hover {
    color: rgb(133, 12, 139); /* Cambia el color del texto al pasar el cursor */
    background-color: yellow; /* Cambia el fondo del enlace */
}

/* Título principal */
header h1 {
    font-size: 3rem;
    margin: 10px 0;
}

/* Descripción */
header p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* Secciones */
.secciones {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

/* Estilo de cada sección */
.secciones section {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

/* Hover para resaltar */
.secciones section:hover {
    transform: scale(1.05);
}

/* Títulos de secciones */
.secciones h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Descripción de cada sección */
.secciones p {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Botones de enlace */
.secciones a {
    display: inline-block;
    background: #ffcc00;
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

/* Hover en los enlaces */
.secciones a:hover {
    background: #ffaa00;
}

/* Diseño responsive */
@media (max-width: 768px) {
    .secciones {
        flex-direction: column;
        gap: 20px;
    }
}