﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;500;600&display=swap');


/*
   Fundary
*/
.preg-Fundary {
    background: WHITE;
    width: 100%;
    text-align: center;
    position: relative;
    HEIGHT: AUTO;
}

.containerPreg {
    text-align: center;
    max-width: 1000px;
    margin: auto;
}

.question {
    cursor: pointer;
    background-color: rgba(253, 251, 251, 1);
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
    font-size: 17px;
    font-weight: bold;
    text-align: left;
    transition: transform 0.2s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between; /* Alinea el texto y el icono */
    align-items: center; /* Centra verticalmente */
}

    .question:hover {
        transform: scale(1.02);
    }

    /* Cuando la pregunta está activa, el texto se vuelve azul */
    .question.active {
        color: #487FFF;
        box-shadow: none;
    }

/* Estilos para el icono */
.icon {
    font-size: 22px;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

    .icon .bi-plus-circle {
        font-weight: bold;
        color: black;
    }

    .icon .bi-dash-circle {
        color: #487FFF;
    }

/* Estilos de la respuesta */
.answer {
    display: none;
    margin: 10px 15px;
    font-size: 16px;
    color: #333;
    text-align: left;
}

.ImgTutulo {
    position: relative;
    top: -3vh;
    width: 60%;
}
.ImgTutulo-mobile {
    position: absolute;
    visibility: hidden;
}

.collapsible {
    width: 100%;
    border: 2px solid #487FFF;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    background-color: white;
    border-bottom: 1px solid #fff;
}

    .collapsible-header:hover {
        background-color: #eaeef2;
    }

    .collapsible-header h3 {
        font-size: 16px;
        margin: 0;
        font-weight: normal;
    }

    .collapsible-header .arrow {
        transition: transform 0.3s ease;
    }

    .collapsible-header.active .arrow {
        transform: rotate(180deg);
    }

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
    padding: 0 16px;
}

    .collapsible-content p {
        margin: 16px 0;
        color: #333;
        line-height: 1.5;
    }

.collapsible.active .collapsible-content {
    max-height: max-content;
}

@media only screen and (max-width: 600px) {
    .web {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .ImgTutulo {
        position: relative;
        top: -3vh;
        width: 60%;
        visibility: hidden;
    }

    .ImgTutulo-mobile {
        position: relative;
        top: -3vh;
        width: 90%;
        visibility: visible;
    }
}
