@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

main {
    box-sizing: border-box !important;
    width: 100%;
    padding-inline: 18rem;
}

.c-img-principal {
    width: 100%;
}

.c-img-principal img {
    width: 100%;
}

.c-info-1 {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1rem;
    margin-block: 1.5rem;
}

.c-info-1 img {
    width: 95%;
    height: 100%;
}

.c-info-1 p {
    text-align: justify;
    line-height: 25px;
}

.c-info-2 {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1rem;
    margin-block: 1.5rem;
}

.c-info-2 img {
    width: 95%;
    height: 100%;
}

.c-info-2 p {
    text-align: justify;
    line-height: 20px;
}

.c-info-3 {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1rem;
    margin-block: 1.5rem;
}

.c-info-3 img {
    width: 95%;
    height: 100%;
}

.info-3 p {
    text-align: justify;
    line-height: 2rem;
}

.info-3 li {
    margin-block-start: 10px;
}

.c-info-4 {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1rem;
    margin-block: 1.5rem;
}

.c-info-4 img {
    width: 95%;
    height: 100%;
}

.info-4 p {
    text-align: justify;
    line-height: 20px;
}

.info-4 li {
    padding-left: 1.5rem;
    list-style-type: none;
    position: relative;
}

.info-4 li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.c-info-5 {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1rem;
    margin-block-start: 1.5rem;
}

.c-info-5 img {
    width: 95%;
    height: 100%;
}

.info-5 p {
    text-align: justify;
    line-height: 20px;
}

.info-5 li {
    padding-left: 1.5rem;
    list-style-type: none;
    position: relative;
}

.info-5 li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.otros {
    display: flex;
    padding: 7px;
    margin: 1rem auto 0rem;
    width: 60%;
    border: none;
    background-color: #fff;
    justify-content: center;
    align-items: center;
}

.otros:hover {
    background-color: lightblue;
    color: black;
}

/* Fondo del modal */
.modal-donaciones {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Estilo del contenido dentro del modal */
.modal-content {
    position: relative;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
    width: 60%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-50px);
    animation: modalOpen 0.3s ease-out forwards;
}

/* Animación del modal */
@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para el botón de cerrar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #d9534f;
    /* Rojo cuando se pasa el ratón */
}

/* Estilo de la lista dentro del modal */
.info-6 {
    margin-top: 20px;
    text-align: left;
}

.info-6 h2 {
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    color: #333;
}

.info-6 li {
    margin-block-start: 1rem;
    padding-left: 1.5rem;
    list-style-type: none;
    position: relative;
    font-size: 1rem;
    color: #444;
}

.info-6 li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #28a745;
    /* Verde para los puntos */
}

/* Estilo para cuando el modal está visible */
.modal-donaciones.show {
    display: flex;
    opacity: 1;
}


.info-7 {
    margin-block: 1.5rem;
}

.info-7 p {
    margin-block: 1.5rem;
    text-align: justify;
    line-height: 25px;
}


.img-ocultas-responsive {
    width: 100%;
    display: none;
}

.solo-responsive {
    display: none;
}


@media screen and (max-width: 1300px) {
    main {
        padding-inline: 12rem;
    }

    .c-info-1 p {
        line-height: 20px;
    }

    .c-info-2 p {
        line-height: 20px;
    }

    .info-3 p {
        line-height: 25px;
    }

    .info-4 p {
        line-height: 25px;
    }

    .solo-desktop {
        display: none !important;
    }

    .solo-responsive {
        display: list-item !important;
    }
}

@media screen and (max-width: 1000px) {
    main {
        padding-inline: 7rem;
    }

    .c-info-1 {
        grid-template-columns: 100%;
    }

    .c-info-2 {
        grid-template-columns: 100%;
    }

    .c-info-3 {
        grid-template-columns: 100%;
    }

    .c-info-4 {
        grid-template-columns: 100%;
    }

    .c-info-5 {
        grid-template-columns: 100%;
    }

    .c-info-1 img {
        display: none;
    }

    .c-info-2 img {
        display: none;
    }

    .c-info-3 img {
        display: none;
    }

    .c-info-4 img {
        display: none;
    }

    .c-info-5 img {
        display: none;
    }

    .img-ocultas-responsive {
        display: block;
        margin-block: 3rem;
    }

    .img-ocultas-responsive>div {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .img-ocultas-responsive img {
        display: block;
        width: 100%;
    }

    .img-ocultas-responsive img:nth-child(5) {
        grid-column: span 2;
        width: 50%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    main {
        padding-inline: 2.5rem;
    }
}

@media screen and (max-width: 468px) {
    main {
        padding-inline: 1rem;
    }
}