

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');

.custom-banner {
    display: none;
    position: fixed;
    max-width: 567px;
    bottom: 15px;
    left: 85px;
    z-index: 999;

    background:url('https://fs.getcourse.ru/fileservice/file/download/a/89545/sc/115/h/87938b5f1c638d11616dd4c924e61f8c.png'), url('https://fs.getcourse.ru/fileservice/file/download/a/126151/sc/388/h/69c70c8fada9dda14922aa618d26cefe.png'),  linear-gradient(215.54deg, #F44239 9.78%, #C4221A 92.79%);
    background-position: left center, calc(100% + 10px) center;
    background-size: contain, 18%;
    background-repeat: no-repeat;
    border-radius: 6px;
}
.custom-banner__content {
    position:relative;
    display: flex;
    flex-direction:row;    
    gap: 8px;
    width: 100%;
    padding: 16px 16px 16px 53px;
    align-items: center;
    
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
}

.custom-banner__logo {
	width:42px;
    height:38px;
}
.custom-banner .custom-banner__description {
    font-weight: 500;
    font-size: 11px;
    line-height: 132%;
}


.custom-banner__btn{
    padding: 6px 11px 8px 11px;
    
    background: linear-gradient(180deg, #242525 0%, #101010 100%);
	border-radius: 2px;
    
    font-weight: 400;
	font-size: 16px;
	line-height: 131.53%;
    color:#FFFFFF;
    transition: 0.35s ease-in-out;
}

.custom-banner__btn:hover, .custom-banner__btn:focus {
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 4px 4px 4px #0000004d;
}
.custom-banner__close-btn {
	position: absolute;
    top: 0px;
    right: -17px;
    font-size: 30px;
    color: #f44239;
    line-height: 0.5;
    cursor: pointer;
}

@media (max-width: 768px) {
    .custom-banner {
        left: 5px;
        bottom: 50px;
    }

    .custom-banner__content {
        padding: 10px 10px 10px 40px;
    }
    .gc-main-content:not(.with-left-menu) .custom-banner {
        bottom: 5px;
        left: 5px;
    }
    .custom-banner__logo {
        display:none;
	}
}

@media (max-width: 576px) {
    .custom-banner {
        width: auto;
        max-width: 300px;
        padding: 5px;
		background:
        url('https://fs.getcourse.ru/fileservice/file/download/a/126151/sc/200/h/9d7312ba457e3733cab8d8b5d2d780c9.png'), 
        url('https://fs.getcourse.ru/fileservice/file/download/a/126151/sc/388/h/69c70c8fada9dda14922aa618d26cefe.png'),  
        linear-gradient(215.54deg, #F44239 9.78%, #C4221A 92.79%);
    	background-position: -80px 2px, 125% center, 100%;
        background-size: 70%, 47%, 100%;
        background-repeat: no-repeat;
    }
    .custom-banner__content {
        flex-direction: unset;
        gap: 5px;
        padding: 0;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .custom-banner__logo {
    	display: block;
        flex: 0 0 40px;
        max-width: 40px;
	}
    .custom-banner .custom-banner__description {
        font-size: 9px;
        flex: 1 1 calc(100% - 40px);
        max-width: calc(100% - 50px);
	}
    .custom-banner__btn {
        padding: 7px;
        display: block;
        width: 100%;
        font-size: 12px;
    }
    
}
