/*Inverted photo banner*/

.inverted-photo-banner {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    padding: 5.6rem 0;
}

.inverted-photo-banner h2 {
    font-size: 5.2rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.inverted-photo-banner p {
    font-family: "Lato", sans-serif;
    font-size: 2rem;
    line-height: 150%;
    margin-bottom: 2rem;
}

.inverted-photo-banner .row {
    display: flex;
    gap: 3rem;
}

.inverted-photo-banner .row .description {
    width: 50%;
}

.inverted-photo-banner .row .image-side {
    width: 50%;
    align-self: flex-end;
}

.inverted-photo-banner .row .image-side img {
    width: 100%;
    border-radius: 30px;
}

@media only screen and (min-width: 800px) and (max-width: 900px) {
    .inverted-photo-banner .row {
        flex-direction: column;
        gap: 1rem;
    }

    .inverted-photo-banner .row .description,
    .inverted-photo-banner .row .image-side {
        width: 100%;
    }

    .inverted-photo-banner .row .description h2 {
        font-size: 3.6rem;
    }

    .inverted-photo-banner .row .description p {
        font-size: 1.6rem;
    }
}

@media only screen and (min-width: 700px) and (max-width: 800px) {
    .inverted-photo-banner .row {
        flex-direction: column;
        gap: 1rem;
    }

    .inverted-photo-banner .row .description,
    .inverted-photo-banner .row .image-side {
        width: 100%;
    }

    .inverted-photo-banner .row .description h2 {
        font-size: 3.6rem;
    }

    .inverted-photo-banner .row .description p {
        font-size: 1.6rem;
    }
}

@media only screen and (min-width: 600px) and (max-width: 700px) {
    .inverted-photo-banner .row {
        flex-direction: column;
        gap: 1rem;
    }

    .inverted-photo-banner .row .description,
    .inverted-photo-banner .row .image-side {
        width: 100%;
    }

    .inverted-photo-banner .row .description h2 {
        font-size: 3.6rem;
    }

    .inverted-photo-banner .row .description p {
        font-size: 1.6rem;
    }
}

@media only screen and (min-width: 500px) and (max-width: 600px) {
    .inverted-photo-banner .row {
        flex-direction: column;
        gap: 1rem;
    }

    .inverted-photo-banner .row .description,
    .inverted-photo-banner .row .image-side {
        width: 100%;
    }

    .inverted-photo-banner .row .description h2 {
        font-size: 3.6rem;
    }

    .inverted-photo-banner .row .description p {
        font-size: 1.6rem;
    }
}

@media only screen and (min-width: 320px) and (max-width: 800px) {
    .inverted-photo-banner .row {
        flex-direction: column;
        gap: 1rem;
    }

    .inverted-photo-banner .row .description,
    .inverted-photo-banner .row .image-side {
        width: 100%;
    }

    .inverted-photo-banner .row .description h2 {
        font-size: 3.6rem;
    }

    .inverted-photo-banner .row .description p {
        font-size: 1.6rem;
    }
}

/*End of inverted photo banner*/
