
#s-funzipa-interno {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(/src/img/fondo-el-museo.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

#content-cards-funzipa-int {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    padding: 40px 0px;
}

.card-funzipa-int {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-shadow: var(--shadow);
    background-color: #fff;
    border-radius: 6px;
}

.card-funzipa-int img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-funzipa-int div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    gap: 10px;
}

.card-funzipa-int div h4{
    font-size: 22px;
    color: var(--azul);
    font-weight: bold;
    width: 100%;
    text-align: start;
}

.card-funzipa-int div p{
    font-size: 18px;
    color: #6D6D6D;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    text-align: justify;
}

#info-interna-funzipa {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px 0px;
}

#info-interna-funzipa img{
    width: 60%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
#info-interna-funzipa h4{
    font-size: 40px;
    color: var(--azul);
    font-weight: bold;
    width: 100%;
    text-align: center;
}

#info-interna-funzipa p{
    width: 80%;
    font-size: 18px;
    color: #6D6D6D;
    text-align: justify;
}

#info-presidentes {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#info-presidentes> h3{
    font-size: 40px;
    color: var(--azul);
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

#content-presidentes {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px 0px;
}

.card-presidentes {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(/src/img/fondo-el-museo.webp);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    padding: 25px;
    gap: 20px;
}

.card-presidentes>div:nth-child(1) {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.card-presidentes>div:nth-child(1) img {
    width: 15%;
}

.card-presidentes>div:nth-child(1) h3 {
    width: 85%;
    text-align: start;
    color: var(--azul);
    font-size: 40px;
}

.card-presidentes>div:nth-child(2) {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.card-presidentes>div:nth-child(2) p{
    font-size: 18px;
    color: #6D6D6D;
    text-align: justify;
}



#content-directores {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    padding: 40px 0px;
}

.card-directores {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(/src/img/fondo-el-museo.webp);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    padding: 15px;
    gap: 20px;
}

.card-directores img{
    width: 60%;
}

.card-directores h3{
    font-size: 22px;
    color: var(--azul);
    font-weight: bold;
    text-align: center;
}

#info-presidentes>span {
    width: 80%;
    text-align: start;
    color: var(--naranja);
    font-size: 30px;
    font-weight: bold;
    margin-top: 30px;
}

#bnn-izq-catedral {
    left: -50px;
}

#bnn-der-catedral {
    right: -50px;
}

#s-catedral {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#s-catedral>h3{
    font-size: 40px;
    color: var(--azul);
    font-weight: bold;
    width: 100%;
    text-align: center;
    padding-top:40px;
}

#content-carousel {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

#carousel-catedral img {
    border-radius: 15px;
}

#content-text-catedral {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-bottom: 40px;
}

#content-text-catedral p{
    width: 80%;
    font-size: 18px;
    color: #6D6D6D;
    text-align: justify;
}

#content-catedral {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

#content-galardones {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.card-funz-interna {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-funz-interna img{
    width: 100%;
}

.card-funz-interna div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
}

.card-funz-interna  div h4{
    font-size: 22px;
    color: var(--azul);
    font-weight: bold;
    width: 100%;
    text-align: start;
}

.card-funz-interna  div p{
    font-size: 18px;
    color: #6D6D6D;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    text-align: justify;
}

#s-anos-premios {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
}

#content-anos-premios {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#content-anos-premios .card-funz-interna p{
    font-size: 14px;
}


@media screen and (max-width: 1024px) {
    #info-interna-funzipa img {
        width: 80%;
    }

    #info-interna-funzipa h4 {
        font-size: 24px;
    }

    #info-interna-funzipa {
        padding: 10px 0px;
    }

    #info-interna-funzipa p {
        width: 100%;
        padding: 0px 20px;
    }

    .card-presidentes>div:nth-child(1) {
        flex-direction: column;
    }

    .card-presidentes>div:nth-child(1) img {
        width: 50%;
    }

    #info-presidentes {
        padding: 20px;
    }

    #content-presidentes {
        width: 100%;
    }

    .card-presidentes {
        padding: 15px;
    }

    .card-presidentes>div:nth-child(1) h3 {
        width: 100%;
        font-size: 20px;
    }

    #content-directores {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .card-directores img {
        width: 45%;
    }

    .card-directores h3 {
        font-size: 20px;
    }

    #s-catedral {
        padding: 20px;
    }

    #content-catedral {
        width: 100%;
        grid-template-columns:  1fr;
        gap: 30px;
    }

    #carousel-catedral img {
        border-radius: 15px;
        height: 200px;
        object-fit: cover;
    }

    #content-text-catedral p {
        width: 100%;
    }

    #s-catedral>h3 {
        font-size: 20px;
        padding-top: 20px;
    }

    #content-galardones {
        width: 100%;
        grid-template-columns:  1fr;
        gap: 20px;
    }

    #content-anos-premios {
        width: 100%;
        grid-template-columns:  1fr;
        padding: 20px;
    }

    #s-catedral >img {
        width: 60%;
    }
}