﻿@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');


details.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    details.fade-in.show {
        opacity: 1;
        transform: translateY(0);
    }

.load-more-button {
    display: inline-block;
    margin-top: 1rem;
    cursor: pointer;
    color: #007bff;
    text-decoration: none;
}

    .load-more-button:hover {
        text-decoration: none;
    }

details {
    background: #14203B;
    color: white;
    padding: 5px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: solid 1px #1a2a40; /*#14204d */
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
    font-family: Geist, sans-serif;
    font-weight: 200;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    display: block;
}

.acordion-container details {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Icono "+" a la derecha */
summary {
    font-family: Geist, sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    padding: 10px;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

    /* Agrega el icono "+" */
    summary::after {
        content: "+";
        font-size: 2.5rem;
        transition: transform 0.3s ease-in-out;
    }

/* Cuando el acordeón está abierto, cambia a "-" */
details[open] summary::after {
    content: "−";
}

/* Definimos las animaciones */
@keyframes slideDown {
    0% {
        max-height: 0;
        opacity: 0;
    }

    100% {
        max-height: 500px; /* Ajusta según el contenido */
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        max-height: 500px;
        opacity: 1;
    }

    100% {
        max-height: 0;
        opacity: 0;
    }
}

/* Ajusta los párrafos internos */
details p {
    color: #e0e0e0;
    margin: 5px 0;
    padding: 20px;
    line-height: 1.5rem;
    opacity: 0;
    text-align: left;
    transition: opacity 0.3s ease-in-out;
}

details[open] p {
    opacity: 1;
}

.acordion-container {
    max-width: 600px;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
}

/* Para tablets y pantallas más pequeñas (1024px) */
@media (min-width: 1024px) {
    .acordion-container {
        min-width: 600px; /* mínimo ancho en desktop */
        max-width: none; /* elimina el max-width para que no se limite */
    }
}

/* Para dispositivos medianos (768px) */
@media (max-width: 768px) {

}
/* Para teléfonos pequeños (480px) */
@media (max-width: 480px) {

}