﻿.ybs-banner {
    position: relative;
    width: 200%;
    min-height: 35vh;
    max-height: 100%;
    height: 100%;
    background-image: url(../images/banner_YBS.png);
    background-size: contain;
    background-repeat: no-repeat
}


.ybs-popup {
    display: none;
    overflow-y: auto;
    width: 30vw;
    max-width: 450px;
    height: 70vh;
    position: fixed;
    top: 10%;
    right: 30px;
    z-index: 1000;
    background-color: #e6e6e6;
    border-radius: 10px;
}

@media all and (max-width: 1630px) {
    .ybs-banner {
        width: 170%;
    }
}

@media all and (max-width: 1470px) {
    .ybs-banner {
        width: 150%;
    }
}


@media all and (max-width: 1380px) {
    .ybs-banner {
        width: 120%;
        min-height: 25vh;
    }
}

@media all and (max-width: 1200px) {
    .ybs-banner {
        width: 100%;
        min-height: 20vh;
    }
}

@media all and (max-width: 992px) {
    .ybs-banner {
        min-height: 15vh;
    }

    .ybs-popup {
        width: 40vw;
    }
}

@media all and (max-width: 768px) {
    .ybs-popup {
        width: 80%;
    }
}

@media all and (max-width: 576px) {
    .ybs-popup {
        width: 100%;
        right: 5px !important;
        left: 5px;
    }
}