*{
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
}

body,html{
	margin:0;
	padding: 0;
}

body{
    background-color: #FFEEEE;
}

header{
	height: 70px;
	background: #8a0000;
	box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
}

footer .wrapper{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.left_side_footer{
	font-size: 30px;
	font-weight: 600;
	color:#333;
}
.right_side_footer p{
	font-size: 20px;
	color:#333;
}
.right_side_footer .right_title{
	font-size: 30px;
	font-weight: 600;
	color:#333;
}
footer{
	box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
	padding: 15px 0;
	background-color: #FFD1D1;
}

.footer__info {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding: 3rem 0 50px;
    color: #fff;
    margin-bottom: 2rem;
    height: 322px;
}
.footer__links {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    color: #000000;
}

.footer__link-element {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.footer__link-element:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .footer__links {
        flex-direction: column;
    }
    .footer__link-element:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    }
}

.link__group {
    display: flex;
    flex-direction: column;
}

.link {
    margin-bottom: 20px;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-decoration: none;
}

.link:hover {
    color: #09f;
}

.wrapper{
	max-width: 1200px;
	margin:0 auto;
}

.text_logo{
	background: -webkit-linear-gradient(90deg,#ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  font-weight: 600;
}

header .wrapper{
	height: 100%;
	display: flex;
	align-items: center;
}

.title_section .title{
	color: #272727;
	font-weight: bold;
	font-size: 22px;
	text-align: center;
	margin:20px 0;
}

.title_section .subtitle{
	font-family: Roboto;
	font-size: 20px;
	color: #272727;
	text-align: center;
	line-height: 26px;
}

.offers{
	margin-top: 40px;
}

.offers .wrapper{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.offer{
	width: 270px;
	border-radius: 20px;
	box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
	padding: 20px;
	margin:20px 10px;
	display: block;
	position: relative;
	text-decoration: none;
    background-color: #fff;
}

.offer:nth-child(1):before{
	content:"";
	position: absolute;
	top: -15px;
    left: -25px;
	width: 50px;
	height: 50px;
	background-image: url(../img/gold-medal.svg);
}

.offer:nth-child(2):before{
	content:"";
	position: absolute;
	top: -15px;
    left: -25px;
	width: 50px;
	height: 50px;
	background-image: url(../img/silver-medal.svg);
	background-size: contain;
}

.offer:nth-child(3):before{
	content:"";
	position: absolute;
	top: -15px;
    left: -25px;
	width: 50px;
	height: 50px;
	background-image: url(../img/bronze-medal.svg);
	background-size: contain;
}

.offer_logo{
	display: flex;
	align-items: center;
	justify-content: center;
	/*aspect-ratio: 1 / 1;*/
}

.offer_logo img{
	max-width: 100%;
	display: block;
	margin: 0 auto;
	object-fit: cover;
}

.offer_title{
	color: #DC143C;
	font-weight: 600;
	font-size: 15px;
	height: 30px;
	text-align: center;
	margin: 15px 0;
	height: 30px;
}

.offer_descr{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	color:#000000;
	font-size: 15px;
	font-weight: 300;
	margin: 5px 0;
}

.offer_descr div:nth-child(2){
	font-size: 17px;
	font-weight: 600;
}

.offer_descr img{
	max-width: 15px;
	margin: 0 10px;
}

.offer_descr.image{
	justify-content: center;
	display: block;
	text-align: center;
	margin: 15px 0;
}

.offer_button{
	display: block;
	width: 170px;
	height: 32px;
	background-color: #DC143C;
	border:1px solid #DC143C;
	border-radius: 6px;
	color:#fff;
	text-align: center;
	text-decoration: none;
	line-height: 30px;
	transition: .3s;
	font-weight: bold;
	font-size: 15px;
	text-transform: uppercase;
	margin:0 auto;
	margin-top: 15px;
}

.offer_button:hover{
	background-color: transparent;
	color:#DC143C;
}

.overlay{
	background-color: rgba(0, 0, 0, 0.35);
	position: fixed;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	display: none;
}

.modal{
	width: 600px;
	background-color: #fff;
	position: absolute;
	left: 50%;
	top:50%;
	transform: translate(-50%,-50%);
	position: relative;
}

.modal_title{
	width: 100%;
	position: relative;
	color:#fff;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	padding: 20px 40px;
}

.modal_title:before{
	content:"";
	top:0;
	left:0;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url(../img/wave-3.svg);
	background-size: cover;
	transform: rotate(180deg);
	background-position-y: 95px;
	z-index: -1;
}

.offer_modal{
	padding: 20px 30px;
	display: flex;
	text-decoration: none;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.offer_modal .logo img{
	max-width: 150px;
}

.offer_modal .text{
	color: #191919;
	font-weight: bold;
	font-size: 25px;
}

.offer_modal .button .offer_button{
	margin-top: 0;
}

.offer_modal.border{
	border-top: 1px solid #0099FF;
	border-bottom: 1px solid #0099FF;
}

.close_modal{
	position: absolute;
	right:10px;
	top:10px;
	cursor: pointer;
	z-index: 3;
}

.close_modal img{
	width: 30px;
	height: 30px;
}

.push_block{
	width: 300px;
	height: 72px;
	background-image: linear-gradient(#DC143C, #DC143C);
	border-radius: 0px 20px 20px 0px;
	display: block;
	position: fixed;
	left:0;
	bottom:20px;
	display: none;
}

.white_block{
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-around;
	width: 295px;
    height: 67px;
	border-radius: 0px 20px 20px 0px;
	background-color: #fff;
	padding: 0 20px;
	margin-top: 2px;
    margin-left: 2px;
}

.push_block .image_block img{
	width: 25px;
}

.push_block .text_block{
	text-align: right;
	margin-left: 10px;
	font-size: 14px;
	font-weight: 600;
	color:#272727;
}

footer{
	box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
	padding: 15px 0;
	background-color: #FFD1D1;
}

.protected p{
	margin: 0;
	text-align: center;
}

.disabled {
    pointer-events: none;
    display: none;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    /*aspect-ratio: 1;*/
}
	
.logo img {
    object-fit: cover;
}

/* Adaptive styles */
@media(max-width: 767px){
	.wrapper{
		padding: 0 15px;
	}
	
	.modal{
		width: 94%;
	}
	
	header .wrapper{
		justify-content: center;
	}
	
	.offer_modal{
		justify-content: center;
		padding: 18px 30px;
	}
	
	.offer_modal .text{
		font-size: 20px;
		margin-left: 20px;
	}
	
	.offer_modal .logo img{
		max-width: 100px;
	}
	
	.offer_modal .button .offer_button{
		margin-top: 10px;
	}
	
	.modal_title{
		font-size: 15px;
		margin-bottom: 15px;
	}
	
	.modal_title:before{
		background-position-y: 140px;
		height: 115px;
		background-position-y: 115px;
	}
	
	.offer .offer_button{
		font-size: 13px;
	    width: 145px;
	    height: 40px;
	    line-height: 40px;
	}

	.offer_title, .offer_descr{
		font-size: 10px;
	}
	
	.offer_descr{
		font-size: 14px;
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.offer_descr div{
		width: 100%;
		text-align: center;
	}
	
	.offer_descr.image{
		display: block;
		text-align: center;
	}
	
	.offer_descr img{
		margin: 0 1px;
	}
	
	.offer {
	    max-width: 175px;
	    border-radius: 20px;
	    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
	    padding: 10px;
	    margin: 10px 5px;
	}
	
	.offers{
		margin-top: 15px;
	}
	
	.offers .wrapper{
		padding: 0;
	}
	
	.title_section .title{
		margin-bottom: 0;
		font-size: 15px;
	}
	
	.title_section .subtitle{
		font-size: 15px;
	}
	
	.push_block{
		bottom: 20px;
		top:unset;
	}
	
	.offer:nth-child(1):before, .offer:nth-child(2):before, .offer:nth-child(3):before{
		width: 35px;
		height: 35px;
		left:-5px;
		top:-5px;
	}
	
	.offer_title{
		margin-top: 0;
	}
}