@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

#titulo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: black;
}

main {
    flex-grow: 1;
}

.encabezado-superior {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    background-color: black;
}

.logo-y-titulo {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    margin-right: 10px;
}

.navegacion-principal {
    background-color: black;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.menu li {
    margin: 0 11px;
    margin-top: -17px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 6px 0;
    display: block;
}

.menu a:hover {
    color: red;
}

main {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.carrusel-imagen-principal {
    height: 100vh;
    width: 99vw; 
    position: relative;
    overflow: hidden;
}

.carrusel-pista {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.diapositiva-grande {
    flex-shrink: 0;
    width: 100vw;
}

.diapositiva-grande img {
    width: 100%;
    height: 100%;
    object-position: left;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.carousel-btn img {
    width: 40px;
    height: auto;
    display: block;
    opacity: 0.7;
}

.carousel-btn:hover img {
    opacity: 1;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.contenedor {
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px;
    margin-left: 250px;
}

.columna {
    border: 1px solid #ccc;
    padding: 15px;
    text-align: center;
}

.mision-vision-contenedor {
    display: grid;
    grid-template-columns: auto;
    gap: 10px;
}

#parrafo {
    background-color: rgb(57, 56, 56);
    padding: 10px 10px 10px;
}

.algo {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: rgb(255, 255, 255);
    font-size: larger;
}

.historia-inframen {
    width: 100%;
    padding-right: 300px;
    margin-bottom: 40px;
    box-sizing: border-box;
    background: url('../img/sectionfondo.jpg');
    background-size: cover;
    background-position: center;
}

.listado {
    color: white;
    background-color: rgb(44, 43, 43);
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 4px 4px 4px;
}

.contenedor-principal {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 4px 4px 4px;
    padding-left: 15px;
}

#h1 {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.faq-container h2 {
    text-align: center;
    color: #fff7f7;
    margin-bottom: 25px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.faq-question {
    font-weight: bold;
    font-size: 1.1em;
    padding: 15px;
    cursor: pointer;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Opcional: Estilo al pasar el cursor */
.faq-question:hover {
    background-color: #f1f1f1;
}

/* Opcional: Elimina el triángulo por defecto en algunos navegadores */
details summary::-webkit-details-marker {
    display: none;
}
details summary::marker {
    display: none;
}

.faq-answer {
    padding: 15px;
    border-top: 1px solid #eee;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #ffffff;
}

/* Opcional: Estilo cuando el acordeón está abierto */
details[open] .faq-question {
    background-color: #e8e8e8;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

footer {
    width: 100%;
    background-color: #1f1d1d;
    color: #f3f3f3;
    display: flex;
    justify-content: start;
    align-items: baseline;
    font-size: 1rem;
    height: 100px;
    gap: 5px;
    margin-bottom: 0;
}

.footerlogo {
    margin-top: 20px;
    height:60px;
    display: flex;
    justify-content: start;
    object-fit: contain;
    padding: 20px 10px 10px 10px;
}

#copyright {
    padding-top: 15px;
}