.banner {
    position: relative;
}


.title {
    margin-top: 3.1rem;
    margin-bottom: 2.9rem;
    font-size: 2.4rem;
    font-weight: 600
}

.image {
    display: block;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    width: 100%;
}

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    max-width: 50rem;
    margin-left: 5rem;
    color: #0f4188;
    font-weight: 600;
}

.text {
    max-width: 73.2rem;
    margin: 3.4rem auto 0;
    font-size: 1.3rem
}

.text p {
    margin-bottom: 1.7rem;
}

.tiles-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.tile {
    margin-top: 1.6rem;
    padding: 0 0.8rem;
    flex-grow: 0;
    flex-basis: 25%;
 }

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 0.4rem 2.5rem rgba(165, 172, 182, 0.2);
    background-color: white;
    transition: box-shadow 200ms ease;
    height: 18.6rem;
}

.content:hover {
    box-shadow: 0 1rem 2.5rem rgba(165, 172, 182, 0.5);
}

.link {
    text-decoration: none;
    padding: 1.6rem 2rem;
    margin: 0;
    color: #2F2F2F;
    font-size: 1.5rem;
    line-height: 1.8rem;
    font-weight: 600;
    transition: color 200ms ease;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.link:hover, .link:active {
    color: #3C7BE0;
}

.tile .image {
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    width:auto;
}

@media (max-width: 1279px) {
    .title {
        font-size: 2rem;
        margin-top: 3.6rem
    }

    .banner img {
        filter: brightness(40%)
    }

    .banner-text {
        color: #ffffff;
        margin-left: 1.6rem;
        margin-right: 1.6rem;
        align-items: flex-end;
    }

    .banner-text {
        font-size: 4.2vw;
        max-width: initial;
    }

    .text {
        font-size: 1.6rem
    }
}

@media (max-width: 1199px) {
    .banner-text {
        font-size: 4rem
    }
}

@media (max-width: 991px) {
    .banner-text {
        font-size: 3rem
    }
}

@media (max-width: 767px) {
    .banner-text {
        font-size: 1.7rem
    }
}

@media (max-width: 575px) {
    .image img {
        height: 26.4rem !important;
        -o-object-fit: cover !important;
        object-fit: cover !important;
    }

    .container.banner-main {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 1279px) {
    .link {
        padding: 0.8rem;
        font-weight: 500;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .tile {
        flex-basis: 33%;
    }
}

@media (min-width: 450px) and (max-width: 767px) {
    .tile {
        flex-basis: 50%;
    }
}

@media (max-width: 449px) {
    .tile {
        flex-basis: 100%;
    }
}