/* Fuente y reset básico */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f8f8f8; /* Fondo claro */
    color: black; /* Texto en negro */
    text-align: center;

    padding-top: 320px;

    background: url('fondo3.jpg') no-repeat center center/cover;

    background-size: cover; /* La imagen cubre toda la pantalla */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* No se repite */
    background-attachment: fixed; /* Mantiene la imagen fija al hacer scroll */

    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor principal */
.container {
    max-width: 900px;
    margin: 40px auto; /* Más espacio superior */
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}



/* 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;
}



/* Título */
header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Descripción */
header p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* 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;
    }
}

/* Contenedor de FAQs */
.faq-container {
    text-align: left;
}

/* Cada FAQ */
.faq {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* Botón FAQ */
.faq-title {
    width: 100%;
    text-align: left;
    background: #e6e6e6;
    color: black;
    padding: 15px;
    border: none;
    outline: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hover en botones */
.faq-title:hover {
    background: #d6d6d6;
}

/* Contenido escondido inicialmente */
.faq-content {
    display: none;
    padding: 15px;
    font-size: 1rem;
    border-top: 1px solid #ddd;
}

/* Mostrar contenido cuando está activo */
.faq.active .faq-content {
    display: block;
}

/* Botón de regreso a la Home */
.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background: #007bff;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s;
}

/* Hover en botón de regreso */
.back-button:hover {
    background: #0056b3;
}

/* Estilo del botón de copiar */
.copy-button {
    display: block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #28a745; /* Verde éxito */
    color: white;
    border: none;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-align: right;
    width: fit-content;
    float: right;
    transition: background 0.3s ease;
}

/* Efecto hover */
.copy-button:hover {
    background: #218838;
}

/* Limpiar el float para que no afecte la estructura */
.faq-content::after {
    content: "";
    display: table;
    clear: both;
}