@font-face {
  font-family: 'Snell Roundhand Regular';
  src: url('/wp-content/fonts/Snell Roundhand Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

.firstRow {
    padding-top: 14vh;
}

.firstRow, .secondRow {
    height: 86vh;
    background-color: rgb(32, 57, 81);
}

.contentTeam {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* PRINCIPIO TEXTO TEAM RESPONSIVE */

.textTeamResponsive {
    display: none;
    height: auto;
}

.titleTextTeam {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 2.5vh 0;
    padding-right: 3%;
    background-color: rgb(255, 255, 255);
}

.titleTextTeam h3 {
    font-family: 'Source Sans 3';
    font-weight: 400;
    font-size: 1.3em;
    margin: 0;
}

.titleTextTeam .imgArrow {
    width: 2%;
    margin-left: 1%;
    transition: all 0.3s ease-in-out;
}

.rotate {
    transform: rotate(180deg);
}

.imgArrow svg {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: contain;
}

.textTeamResponsive hr {
    margin: 0;
    background-color: rgb(32, 57, 81);
    height: 0.4vh;
}

.blockTextTeam {
    max-height: 0;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    transition: all 0.3s ease-in-out;
}

.blockTextTeam p {
    margin: 0;
    font-family: 'Source Sans 3';
    font-weight: 300;
    font-size: 1.3em;
    padding: 3vh 3%;
}

/* FINAL TEXTO TEAM RESPONSIVE */

.imgRow, .textRow {
    width: 50%;
}

.imgRow {
    height: 100%;
}

.imgRow img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.secondRow .imgRow img {
    object-position: 50% 30%;
}

.textRow {
    margin: auto 0;
    padding: 0 5.5%;
    box-sizing: border-box;
    color: rgb(242, 242, 242);
}

.textRow .comillas {
    padding-bottom: 2vh;
    width: 4%;
}

.comillas img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.textRow h2 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2.6em;
    font-weight: 600;
    margin: 0;
    margin-bottom: 2vh;
    width: 80%;
}

.textRow p {
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    margin-bottom: 2.5vh;
    width: 100%;
}

.bulletList {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2vh;
}

.bulletList .dot {
    width: 10px;
    height: 10px;
    background-color: rgb(242, 242, 242);
    border-radius: 50%;
    margin-right: 14px;
}

.textRow h3 {
    margin: 0;
    font-family: 'Playfair Display', sans-serif;
    font-weight: 400;
    font-size: 1.6em;
}

.thirdRow {
    height: 80vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: rgb(32, 57, 81);
    box-sizing: border-box;
    padding: 0 4%;
    color: rgb(242, 242, 242);
}

.textBlock {
    background-color: rgb(27, 40, 56);
    margin-right: 2.5em;
    width: calc(19% - 2em);
    aspect-ratio: 3 / 5;
    box-shadow: 0 0 8px rgba(242, 242, 242, 0.4);
    box-sizing: border-box;
    padding: 0 0.8%;
}

.textBlock:last-of-type {
    margin-right: 0;
}

.textBlock h2 {
    text-align: center;
    font-family: 'Source Sans 3';
    font-weight: 600;
    margin: 0;
    font-size: 1.7em;
}

.textBlock p {
    margin: 0;
    font-family: 'Source Sans 3';
    font-size: 1.1em;
    font-weight: 300;
    box-sizing: border-box;
}

.titleBlock {
    height: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contentBlock {
    height: 61%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2vh 0;
    box-sizing: border-box;
}

.textBlock hr {
    margin: 0;
}

.thirdRowResponsive {
    display: none;
}

/* ESTILOS DEL SWIPER */

.swiper {
    background: #203951;
    max-height: 100%;
}

.thirdRowResponsive .swiper-pagination {
    left: 50%;
    top: 100%;
    transform: translate(-50%, -140px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thirdRowResponsive .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background-color: rgb(242, 242, 242);
}

/* FIN ESTILOS SWIPER */

@media only screen and (max-width: 1600px) {

    .textRow h2 {
        font-size: 2.2em;
        width: 100%;
    }

    .textRow p {
        font-size: 1.1em;
    }

    .textRow h3 {
        font-size: 1.3em;
    }

    .thirdRow {
        height: auto;
        padding: 6vh 4%;
    }

    .textBlock {
        width: calc(27% - 1.9em);
    }


    .textBlock:nth-of-type(3) {
        margin-right: 0;
    }

    .textBlock:is(:nth-of-type(4), :nth-of-type(5)) {
        margin-top: 4vh;
    }

    .textBlock h2 {
        font-size: 1.5em;
    }

}

@media only screen and (max-width: 1400px) {
    
    .textRow p, .textBlock p {
        font-size: 1em; 
    }

}

@media only screen and (max-width: 1200px) {

    .textBlock:is(:nth-of-type(4), :nth-of-type(5)) {
        margin-top: 0;
    }

    .noShowResponsive {
        display: none;
    }

    .textTeamResponsive {
        display: block;
    }

    .firstRow, .secondRow {
        height: auto;
    }

    .contentTeam {
        height: 70vh;
    }

    .textRow h2 {
        font-size: 2.3em;
    }

    .textRow .comillas {
        width: 8%;
    }

    .textRow h3 {
        font-size: 1.8em;
        font-family: 'Snell Roundhand Regular';
    }

    .thirdRow {
        display: none;
    }

    .thirdRowResponsive {
        display: block;
        color: rgb(242, 242, 242);
        position: relative;
        padding: 3vh 10%;
        padding-bottom: 150px;
        background-color: rgb(32, 57, 81);
        height: 80vh;
    }

    .textBlock {
        margin-right: 0;
        width: 100%;
        aspect-ratio: 3 / 1;
        padding: 0 3%;
        box-shadow: none;
        border: 2px solid rgba(242, 242, 242, 0.4);
        max-width: 100%;
    }

    .titleBlock {
        flex-direction: row;
        justify-content: flex-start;
        width: 40%;
        height: auto;
        padding: 2vh 0;
    }

    .titleBlock h2 {
        text-align: left;
    }

    .contentBlock {
        height: auto;
    }

    .textBlock:is(:nth-of-type(5)) {
        margin-top: 0;
    }
    .noPadding {
        padding: 0.5vh 0;
    }

    .textBlock hr {
        width: 40%;
    }

}

@media only screen and (max-width: 1100px) {

    .firstRow {
        padding-top: 9vh;
    }

}

@media only screen and (max-width: 800px) {
    
    .titleBlock {
        width: 62%;
        padding: 1vh 0;
    }

    .textBlock hr {
        width: 60%;
    }

    .contentBlock {
        padding: 1vh 0;
    }

}

@media only screen and (max-width: 600px) {

    .contentTeam {
        height: 40vh;
    }

    .textRow {
        padding: 0 3%;
    }

    .textRow .comillas {
        padding-bottom: 1vh;
        width: 7.5%;
    }

    .textRow h2 {
        font-size: 1.3em;
        margin-bottom: 1.5vh;
    }

    .bulletList {
        margin-bottom: 1.5vh;
    }

    .bulletList .dot {
        width: 7px;
        height: 7px;
        margin-right: 8px;
    }

    .textRow h3 {
        font-size: 1em;
    }

    .titleTextTeam h3 {
        font-size: 1em;
    }

    .titleTextTeam .imgArrow {
        width: 3.5%;
        margin-left: 2%;
    }

    .blockTextTeam p {
        font-size: 1em;
    }

    .thirdRowResponsive {
        height: 55vh;
        padding: 3vh 6%;
        padding-bottom: 140px;
    }

    .textBlock h2 {
        font-size: 1.3em;
    }

    .noPadding h2 {
        font-size: 1.1em;
    }

    .thirdRowResponsive .swiper-pagination {
        transform: translate(-50%, -130px);
    }

    .thirdRowResponsive .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }

}

@media only screen and (max-width: 440px) {

    .thirdRowResponsive {
        height: 65vh;
    }

    .contentTeam {
        height: 35vh;
    }

}

@media only screen and (max-width: 440px) and (max-height: 800px) {
    
    .textRow h2 {
        font-size: 1.1em;
    }

    .blockTextTeam p {
        font-size: 0.9em;
    }

    .textBlock h2 {
        font-size: 1.1em;
    }
    
    .textBlock p {
        font-size: 0.7em;
    }

}