﻿.res-banner-banner {
    display: flex;
    justify-content: space-between;
    margin: 40px auto;
    border-right: 10px solid #e10a10;
    align-items: center;
}

.res-banner-img {
    width: 50%;
    justify-content: end;
    display: flex;
}

    .res-banner-img > img {
        width: 100%;
    }

.res-banner-description {
    width: 50%;
}

    .res-banner-description > span {
        display: block;
        text-align: center;
        font-size: 9px;
        width: 90%;
        margin: 0 auto;
        max-width: 400px;
        margin: 30px auto;
    }

        .res-banner-description > span:nth-child(2) {
            display: none;
        }

    .res-banner-description > a {
        display: block;
        text-align: center;
        font-size: 10px;
        width: 120px;
        margin: 30px auto;
        background-color: #e10a10;
        padding: 5px;
        color: white;
        border-radius: 25px;
        border: none;
        cursor: pointer;
    }

        .res-banner-description > a:hover {
            opacity: 0.6
        }


/* ************* */

@media screen and (min-width: 375px) {
    .res-banner-description > span {
        font-size: 12px;
    }

    .res-banner-description > a {
        font-size: 12px;
    }
}

@media screen and (min-width: 480px) {
    .res-banner-description > span {
        font-size: 14px;
    }

    .res-banner-description > a {
        font-size: 14px;
    }
}

@media screen and (min-width: 600px) {
    .res-banner-description > span {
        font-size: 16px;
    }

    .res-banner-description > a {
        font-size: 16px;
        width: 140px;
        padding: 5px;
    }
}

@media screen and (min-width: 768px) {
    .res-banner-description > span {
        font-size: 17px;
    }

        .res-banner-description > span:nth-child(2) {
            display: block;
        }

    .res-banner-description > a {
        font-size: 17px;
        width: 200px;
        padding: 8px;
    }
}

@media screen and (min-width: 992px) {
    .res-banner-img > img {
        width: 80%;
    }

    .res-banner-description > span {
        font-size: 18px;
    }

    .res-banner-description > a {
        font-size: 18px;
    }

        .res-banner-description > a:hover {
            opacity: 0.6;
        }
}

@media screen and (min-width: 1200px) {
    .res-banner-description > span {
        font-size: 19px;
    }

    .res-banner-img > img {
        width: 70%;
    }

    .res-banner-description > a {
        font-size: 19px;
        width: 250px;
        padding: 10px;
    }
}

@media screen and (min-width: 1400px) {
    .res-banner-img > img {
        width: 50%;
    }
}
