.bordered-banner {
    border: 1px solid var(--4, #666);
    border-radius: 30px;
    display: grid;
    grid-template-columns:2fr 1fr 1.5fr;
    grid-template-rows:repeat(2, 1fr);
    padding: 30px;
    grid-gap: 15px
}

.bordered-banner img {
    border-radius: 50%
}


.bordered-banner div:first-child {
    grid-area: 1/1/3/2;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: baseline
}

.bordered-banner div:first-child h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-transform: uppercase;
    color: #000;
    margin-bottom: .5em
}

.bordered-banner div:first-child p {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: #000
}

.bordered-banner div:nth-child(2) {
    grid-area: 1/2/2/3;
    display: flex;
    justify-self: flex-start
}

.bordered-banner div:nth-child(2) img {
    width: 160px;
    height: 160px;
}


.bordered-banner div:nth-child(3) {
    grid-area: 2/2/3/3;
    display: flex;
    justify-self: flex-end
}

.bordered-banner div:nth-child(3) img {
    width: 160px;
    height: 160px;
}


.bordered-banner div:nth-child(4) {
    grid-area: 1/3/3/4;
    display: flex;
    align-self: center;
    justify-self: center
}

.bordered-banner div:nth-child(4) img {
    width: 250px;
    height: 250px
}

@media (max-width: 1220px) {
    .bordered-banner {
        grid-template-columns:2fr 1fr 1fr
    }
}

@media (max-width: 991px) {
    .bordered-banner {
        grid-template-rows:1fr .5fr .5fr;
        grid-template-columns:.5fr .5fr 1fr
    }

    .bordered-banner div:first-child {
        grid-area: 1/1/2/4
    }

    .bordered-banner div:first-child h2 {
        font-size: 24px
    }

    .bordered-banner div:first-child p {
        font-size: 16px
    }

    .bordered-banner div:nth-child(2) {
        grid-area: 2/1/2/2;
        align-items: flex-start
    }

    .bordered-banner div:nth-child(2) img {
        width: 100px;
        height: 100px;
    }

    .bordered-banner div:nth-child(3) {
        grid-area: 3/1/4/2;
        align-items: flex-end
    }

    .bordered-banner div:nth-child(3) img {
        width: 100px;
        height: 100px;
    }

    .bordered-banner div:nth-child(4) {
        grid-area: 2/2/4/4
    }

    .bordered-banner div:nth-child(4) img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 650px) {
    .bordered-banner {
        grid-template-rows:auto;
        grid-template-columns:auto;
    }

    .bordered-banner div:nth-child(2) img {
        width: 50px;
        height: 50px;
    }

    .bordered-banner div:nth-child(3) img {
        width: 50px;
        height: 50px;
    }

    .bordered-banner div:nth-child(4) img {
        width: 120px;
        height: 120px;
    }
}
