

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --banner-bg: #120f0d; /* цвет фона */
    --font-size-title: 12px; /* размер шрифта - первая строка */
    --font-size-descr: 17px; /* размер шрифта - вторая строка */
}

.custom-banner-wrapper {
	position: fixed;
	z-index: 500;
    bottom: 6px;
    max-width: 100%;
    width: 520px;
    padding: 8px 30px 8px 91px;
    background: var(--banner-bg);
    overflow: hidden;
}

.custom-banner-wrapper:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    display: block;
    width: 137px;
    height: 64px;
    background-image: url("https://fs22.getcourse.ru/fileservice/file/download/a/323013/sc/177/h/0958fa2001a0efd1df0771be91c1709b.png");
}

.custom-banner-content {
	display: flex;
    justify-content: space-between;
    align-items: center;
	font-family: "Montserrat", sans-serif;
  	color: #ffffff;
}

.custom-banner-text__title {
	margin-bottom: 4px;
	font-weight: 500;
	font-size: var(--font-size-title);
	line-height: 99%;
	text-transform: uppercase;
	color: #fff;
}

.custom-banner-text__descr {
	font-weight: 800;
	font-size: var(--font-size-descr);
	line-height: 99%;
	text-transform: uppercase;
	color: #db346e;
}

.custom-banner-btn {
	max-width: 112px;
}

.custom-banner-btn a {
	display: block;
    margin-bottom: 6px;
	padding: 9px 18px;
    border-radius: 5px;
    background: linear-gradient(11deg, #da346e 3.78%, #ec729c 49.44%, #ff98bb 91.54%);
	font-weight: 600;
	font-size: 8px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
	text-decoration: none;
}

.custom-banner-img img {
	position: absolute;
    top: 0;
    z-index: -1;
    max-width: 358px;
    left: 0;
}
	
.custom-banner-close {
    position: absolute;
    top: -4px;
    right: 4px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}

.custom-banner-note {
    font-weight: 500;
    font-size: 6px;
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

@media (max-width: 768px) {
	.custom-banner-wrapper {
    bottom: 67px;
	}
}

@media (max-width: 491px) {
	.custom-banner-wrapper {
    padding: 8px 18px 8px 80px;
	}
	
	.custom-banner-content {
    gap: 4px;
	}
	
	.custom-banner-img img {
    left: -8px;
	}
}

@media (max-width: 425px) {
	.custom-banner-wrapper {
      padding: 8px 18px 8px 68px;
  }
  
  .custom-banner-wrapper:after {
    height: 60px;
	}
    
	.custom-banner-img img {
    max-width: 337px;
    left: -12px;
	}

	.custom-banner-btn {
    max-width: 90px;
	}

	.custom-banner-btn a {
    margin-bottom: 2px;
    padding: 5px 10px;
	}
	
	.custom-banner-note {
    font-size: 5px;
	}
}

@media (max-width: 383px) {
	.custom-banner-wrapper {
       padding: 9px 18px 9px 68px;
  }
    
	.custom-banner-text__title {
    font-size: 11px;
	}
}

@media (max-width: 366px) {
	.custom-banner-wrapper {
        padding: 6px 16px 6px 60px;
  }
  
  .custom-banner-wrapper:after {
        height: 69px;
    }
  
  .custom-banner-img img {
        max-width: 286px;
    }
    
	.custom-banner-text__title {
    font-size: 10px;
	}
	
	.custom-banner-text__descr {
    font-size: 15px;
	}
}

@media (max-width: 340px) {
    .custom-banner-img img {
        max-width: 338px;
    }
}

