.heroRow {
    height: 30vh;
    background-color: rgb(32, 57, 81);
    padding-top: 14vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heroRow h2 {
    margin: 0;
    font-family: 'Playfair Display', sans-serif;
    font-size: 4em;
    font-weight: 600;
    color: rgb(242, 242, 242);
}

.contactRow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3em 0;
}

.contactRow h2 {
    text-align: center;
    font-family: 'Playfair Display', sans-serif;
    font-weight: 600;
    font-size: 2.4em;
    font-style: italic;
    color: rgb(32, 57, 81);
    margin: 0;
    margin-bottom: 6.5vh;
}

.contactFAQs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5.5%;
}

.contactContent {
    width: calc(48% - 4.6em);
    border: 2px solid rgb(32, 57, 81);
    padding: 1em 1.3em;
    height: auto;
    margin-bottom: 6vh;
    margin-right: 4em;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.contactContent:is(:nth-of-type(2), :nth-of-type(4), :nth-of-type(5)) {
    margin-right: 0;
}

.contentTitle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.contentTitle h3 {
    margin: 0;
    font-family: 'Playfair Display', sans-serif;
    font-weight: 700;
    font-size: 1em;
    color: rgb(32, 57, 81);
}

.imgArrow {
    width: 3.7%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

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

.contentText {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.contentText p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1em;
    font-weight: 300;
    color: rgb(242, 242, 242);
}

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

.changeBackgroundColor {
    background-color: rgb(32, 57, 81);
}

.changeColorText {
    color: rgb(242, 242, 242) !important;
}

@media only screen and (max-width: 1200px) {
    
    .contactFAQs {
        flex-direction: column;
        align-items: center;
    }

    .contactContent {
        min-height: 6.2vh;
        width: 60%;
        margin-right: 0;
    }

    .imgArrow {
        width: 4.4%;
    }

}

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

    .heroRow {
        padding-top: 9vh;
    }

}

@media only screen and (max-width: 800px) {
    
    .imgArrow {
        width: 5.3%;
    }

}

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

    .heroRow h2 {
        font-size: 3em;
    }

    .contactRow h2 {
        font-size: 1.7em;
    }

    .contactFAQs {
        padding: 0;
    }

    .contactContent {
        width: 80%;
        margin-bottom: 2vh;
        padding-bottom: 0;
    }

    .contentTitle h3, .contentText p {
        font-size: 0.9em;
    }

    .imgArrow {
        width: 7%;
    }

}