

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&display=swap');

.custom-banner {
    display: block;
    width: 100%;
    max-width: 665px;
    padding: 5px 25px;
    background-color: #74179b;
    background-image: url('https://fs.getcourse.ru/fileservice/file/download/a/14659/sc/307/h/701f086b129474571044432c6761b021.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    position: fixed;
    bottom: 15px;
    left: 90px;
    z-index: 999;
}

.gc-main-content:not(.with-left-menu) .custom-banner {    
    left: 15px;
}

.custom-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.custom-banner__title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 25px;
    font-weight: 500;
}

.custom-banner__text {
    max-width: 340px;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
}

.custom-banner__cta {
    max-width: 268px;
    margin-bottom: 7px;
    background-color: #fff;
    border-radius: 26px;
    padding: 7px 12px;
    font-size: 20px;
    font-weight: 900;
    color: #74179b;
    text-transform: uppercase;
    line-height: 1;
    position: relative;
    box-shadow: 0.4px 6px 32px 0px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: .3s;
}

.custom-banner__cta:hover {
    box-shadow: 0.4px 8px 32px 0px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.custom-banner__cta:before {
    content: '';
    width: 60px;
    height: 60px;
    background-image: url(https://fs.getcourse.ru/fileservice/file/download/a/14659/sc/76/h/4209abda9697783d701686de6492f2f8.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -10px;
    left: -30px;
}

.custom-banner__close-btn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: .3s;
}

.custom-banner__close-btn:hover {
    color: #f78e57;
}

.top-career-logo {
    max-height: 24px;
    margin-bottom: 3px;
}

@media (max-width: 768px) {
    .custom-banner {
        width: auto;
        max-width: none;
        background-position: left;
        left: 5px;
        bottom: 50px;
        right: 5px;
    }
    .gc-main-content:not(.with-left-menu) .custom-banner {
        left: 5px;
        bottom: 5px;
    }
}

@media (max-width: 500px) {
    .custom-banner__title {
        max-width: 260px;
        font-size: 18px;
        line-height: 1;
    }
    .custom-banner__text {
        font-size: 14px;
    }
    .custom-banner__cta {
        max-width: 250px;
        border-radius: 20px;
        font-size: 18px;
    }
    .top-career-logo {
        max-height: 20px;
    }
    .custom-banner__cta::before {
        width: 50px;
        height: 50px;
        left: -20px;
    }

}
