* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'TT Norms';
  background-color:#242223;
}

img {
  max-width: 100%;
}

html{background-color:#0c6cd7;}
h1, h2, h3, h4, h5, h6, p, ul {
  margin: 0;
  padding: 0;
}

.container {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
}

.header {
  background: #0c6cd7;
}
a>.main-features-item{align-items:center;}
.header-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.header-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.header-logo-text {
  max-width: 392px;
  font-size: 18px;
  line-height: 140%;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.header-logo-text span {
  font-weight: 700;
}
.law{margin:10px 0;}
.header__phone img{width:32px;}
.header__phone {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 140%;
  flex-shrink: 0;
}

.main {
  padding-top: 80px;
  /* padding-bottom: 250px; */
  background: url('../images/main/main-bg.jpg') center center no-repeat;
  background-size: cover;
  overflow: hidden;
  position:relative;
 
}



.main__title {
  font-size: 52px;
  line-height: 140%;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 20px;
}

.main__title span {
  font-weight: 700;
}

.main__descr {
  font-size: 24px;
  line-height: 140%;
  color: #fff;
  max-width: 500px;
  margin-bottom: 40px;
}

.main-info {
  max-width: 850px;
}



.main-features {
  display: grid;
  grid-template-columns: 48% 48%;
  gap: 14px;
  margin-bottom: 65px;
}

.main-features-item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
}

.main-features-item img{

max-width:64px;
max-height:64px;

}

.main-features-item-text__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 4px;
}

.main-features-item-text__descr {
  font-size: 16px;
  line-height: 140%;
  max-width: 210px;
}

.main-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.marquiz__container{padding-bottom:50px;}

.main__img {
 position:absolute;
 right:0;
 bottom:0;
}
.main-info{z-index:2;}
.button {
  height: 62px;
  padding: 0px 40px;
  font-family: 'TT Norms';
  font-size: 16px;
  font-weight: 500;
  color: #654C23;
  border: none;
  outline: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #EEDBB3 0%, #E9D5A4 100%);
  box-shadow: 0px 4px 0px 0px #A89263;
}

.main__button {
  width: 268px;
  cursor: pointer;
}

@media screen and (min-width: 320px) and (max-width: 516px) {
  .main__img {
    max-width:unset;
    position: absolute;
    bottom: 0;
    opacity: 0.7;
   left: 0;
    z-index:1;
  }
  .main-info>p{
    text-shadow: 1px 1px 2px black;
  }

}

@media screen and (min-width: 517px) and (max-width: 767px) {
  .main__img {
    bottom: -50px;
    right: -50%;
  }
  .main-info>p{
    text-shadow: unset;
  }

}




@media screen and (min-width: 320px) and (max-width: 767px) {
  .main__title{font-size: 30px;}

  .main__descr{font-size:16px;}

 

.main-features img{max-width:40px;
max-height:40px;}
.main-features-item-text__descr br{display:none;}

  .main {
    padding-top: 1px;
      background-position: center center;
  }
 
  .main__descr{
    margin-bottom: 10px;
  }
  .main-features-item-text__title {
    font-size: 18px;
  }
  .main-features-item-text__descr {
    font-size: 14px;
  }
  .main-block{position:relative;}
 

  .main{overflow-x:hidden;}
  .main-info{z-index:2;
 }
  .main__title{margin-top:20px;}
  .main__descr{margin-bottom:70px;}
 
  .main-features {
    grid-template-columns: 100%;
    margin-bottom: 30px;
  }
  .main-features-item:nth-child(3) p {
display:none;
  }
  .header-logo-text {
    display: none;
  }
  .header-block {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header {
    padding-top: 10px;
  }
  .header-logo img {
    width: 100%;
  }
  .header__phone {
    font-size: 16px;
  }
  .header__phone img{
    width: 20px;
  }
}





@media screen and (max-width:480px){	
	.vk-button img{height:15px;}
.vk-button {
	position: initial;
	 background: #0077ff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: #fff;
    text-align: center;
    line-height: 45px;
    font-size: 40px;
    z-index: 9999;
	    display: flex;
    align-items: center;
    justify-content: center;
		}
	}
		
			.yb-button-bottom {
        display: flex;
        align-items: center;
        justify-content: center;
	position     : fixed;
	right        : 13px;
	bottom       : 290px;
    margin-top: 25px;
    margin-left: 45px;
    transform: translate(-50%, -50%);
    background: red;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: #fff;
    text-align: center;
    line-height: 57px;
    font-size: 35px;
    z-index: 9999;
}
.yb-button-bottom a {
	color: #fff;
}

.yb-button-bottom:before,
.yb-button-bottom:after {
	content            : "";
	display            : block;
	position           : absolute;
	border             : 50%;
	border             : 1px solid red;
	left               : -20px;
	right              : -20px;
	top                : -20px;
	bottom             : -20px;
	border-radius      : 50%;
	animation          : animate 1.5s linear infinite;
	opacity            : 0;
	backface-visibility: hidden;
	z-index			   : 1;
}

.yb-button-bottom:after {
	animation-delay: .5s;
}
			
@keyframes animate {
	0% {
		transform: scale(0.5);
		opacity  : 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		transform: scale(1.2);
		opacity  : 0;
	}
}

		
	
	
		
			.vk-button-bottom {
	position     : fixed;
	right        : 13px;
	bottom       : 90px;
    margin-top: 25px;
    margin-left: 45px;
    transform: translate(-50%, -50%);
    background: #0077ff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: #fff;
    text-align: center;
    line-height: 57px;
    font-size: 35px;
    z-index: 9999;
}

.vk-button-bottom a {
	color: #fff;
}
	.vk-button-bottom img{
		

		width: 25px;
	}
.vk-button-bottom:before,
.vk-button-bottom:after {
	content            : "";
	display            : block;
	position           : absolute;
	border             : 50%;
	border             : 1px solid #0077ff;
	left               : -20px;
	right              : -20px;
	top                : -20px;
	bottom             : -20px;
	border-radius      : 50%;
	animation          : animate 1.5s linear infinite;
	opacity            : 0;
	backface-visibility: hidden;
	z-index			   : 1;
}

.vk-button-bottom:after {
	animation-delay: .5s;
}
			
@keyframes animate {
	0% {
		transform: scale(0.5);
		opacity  : 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		transform: scale(1.2);
		opacity  : 0;
	}
}

	.max-button-bottom {
	position: fixed;
	right: 13px;
	bottom: 100px;
	margin-top: 25px;
	margin-left: 45px;
	transform: translate(-50%, -50%);
	background: linear-gradient(135deg, #44CCFF 0%, #5533EE 66%, #9933DD 100%);
	border-radius: 50%;
	width: 45px;
	height: 45px;
	color: #fff;
	text-align: center;
	font-size: 35px;
	z-index: 9999;
	box-shadow: 0 6px 20px rgba(85, 51, 238, 0.4);
}

.max-button-bottom a {
	color: #fff;
}

.max-button-bottom img {
	width: 25px;
}


.max-button-bottom:before,
.max-button-bottom:after {
	content: "";
	display: block;
	position: absolute;
	left: -20px;
	right: -20px;
	top: -20px;
	bottom: -20px;
	border-radius: 50%;

	
	border: 1px solid #5533EE;

	animation: max-animate 1.5s linear infinite;
	opacity: 0;
	backface-visibility: hidden;
	z-index: 1;
}

.max-button-bottom:after {
	animation-delay: .5s;
}

@keyframes max-animate {
	0% {
		transform: scale(0.5);
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		transform: scale(1.2);
		opacity: 0;
	}
}

.whatsapp-button {  bottom       :290px;position     : fixed; right        : 13px;  transform    : translate(-50%, -50%); background   : #25D366; border-radius: 50%; width        : 45px; height       : 45px; color        : #fff; text-align   : center; line-height  : 52px; font-size    : 35px; z-index      : 9999; } .whatsapp-button a { color: #fff; } .whatsapp-button:before, .whatsapp-button:after { content            : " "; display            : block; position           : absolute; border             : 50%; border             : 1px solid #25D366; left               : -20px; right              : -20px; top                : -20px; bottom             : -20px; border-radius      : 50%; animation          : animate 1.5s linear infinite; opacity            : 0; backface-visibility: hidden; } .whatsapp-button:after { animation-delay: .5s; } .whatsapp-button img{vertical-align:text-top;}




@keyframes animate {
	0% {
		transform: scale(0.5);
		opacity  : 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		transform: scale(1.2);
		opacity  : 0;
	}
}


.telegram-button {
  position     : fixed;
  right: 3px;
  bottom       :190px;
  transform    : translate(-50%, -50%);
  background   : #28A8E9;
  border-radius: 50%;
  width        : 55px;
  height       : 55px;
  color        : #fff;
  text-align   : center;
  line-height  : 52px;
  font-size    : 35px;
  z-index      : 9999;
  display:flex;
  align-items:center;
  justify-content:center;
}
.vk-button-bottom{
  display:flex;
  align-items:center;
  justify-content:center;
}
.telegram-button:before,
.telegram-button:after {
  content : " ";
  display : block;
  position: absolute;
  border  : 50%;
  border  :
    1px solid #ffffff;
  left               : -20px;
  right              : -20px;
  top                : -20px;
  bottom             : -20px;
  border-radius      : 50%;
  animation          : animate 1.5s linear infinite;
  opacity            : 0;
  backface-visibility: hidden;
}

.telegram-button:after {
  animation-delay: .5s;
}

@keyframes animate {
  0% {
    transform: scale(0.5);
    opacity  : 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: scale(1.2);
    opacity  : 0;
  }
}
