* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Tilda Sans';
  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: 16px;
  line-height: 140%;
  color: #ffffff;
  font-weight: 300;
}

.header-logo-text span {
  font-weight: 700;
}

.header__phone {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 140%;
  flex-shrink: 0;
}

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

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

.main__title span {
  font-weight: 700;
}

.main__descr {
  font-size: 21px;
    line-height: 140%;
    color: #fff;
    background: #00000057;
    border-radius: 10px;
    padding: 5px;
    max-width: 550px;
    margin-bottom: 40px;
}

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

.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;
}

.main__img {
  margin-right: -70px;
}

.button {
  height: 62px;
  padding: 0px 40px;
  font-family: 'Arial';
  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: 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-features>.main-features-item:first-child{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__img {
    height: 400px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index:1;
  }

  .main{overflow-x:hidden;}
  .main-info{z-index:2;
 }
  .main__title{margin-top:20px;}
  .main__descr{margin-bottom:10px;}
 
  .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: 80px;
  }
  .header__phone {
    font-size: 22px;
  }
  .header__phone img{
    width: 20px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .main__img {
    margin-right: -210px;
  }
}