@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

html,
body {
  height: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #ffffff;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
}

.container {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.header {
  padding: 35px 0 20px;
}
.header__title{
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: #000000;
}
.header__subtitle{
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: #000000;
}
.logo {
  width: 250px;
  max-width: 80%;
  display: block;
}

/* Main */

.--underline__red{
  text-decoration: underline;
  text-decoration-color: red;
  line-height: 0;
  padding-bottom: 1px;
}

.main {
  padding: 10px 0 40px;
  background-color: rgba(21, 11, 11, 0.708);
}
.main__image {
  max-width: 100%;
  width: 100%;
  display: block;
}
.main__inner {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.327);
  padding: 15px 20px 20px;
}
.title {
  font-family: 'Open Sans', sans-serif;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}
.text {
  font-size: 26px;
  margin-bottom: 20px;
}
.text__small {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  margin-bottom: 20px;
}
.button {
  text-align: center;
  text-decoration: none;
  max-width: 500px;
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  background-color: rgb(20, 161, 44);
  margin: 30px auto 0;
  padding: 20px;
}
.button:hover {
  background-color: rgb(15, 192, 121);
}
.about {
  background-color: rgb(160, 160, 160);
}
.about__inner {
  padding: 40px;
  background-color: rgb(71, 71, 71);
  box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.652);
}
.about__text{
  text-align: center;
  font-size: 32px;
}
.features {
  font-family: 'Open Sans', sans-serif;
  color: #000000;
  font-size: 16px;
  padding: 50px 0;
}
.features__content {
  width: 100%;
  text-align: center;
}
.features__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.features__box{
  display: flex;
  margin: 50px 0 80px;
}
.features__item {
  text-align: center;
  width: 33.3%;
  display: flex;
  align-items: center;
  font-size: 20px;
  flex-direction: column;
  padding: 0 12px;
}
.features__item__image {
  display: block;
  height: 60px;
  margin-bottom: 25px;

}
.description{
  text-align: center;
  margin-top: 70px;
}
/* Footer */

.footer {
  width: 100%;
  background: rgba(40, 97, 154, 1);
}
.footer__inner {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}
.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.footer__text {
  font-size: 8px;
  line-height: 1.05;
  color: #fff;
  margin-top: 10px;
}
.footer__links {
  display: flex;
  flex-direction: column;
}
.footer__links-item {
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  text-align: end;
  margin-bottom: 5px;
}
.footer__links-item:last-child {
  margin-bottom: 0;
}

@media(max-width: 1030px){
  .header__title{
    font-size: 34px;
  }
  .header__subtitle{
    font-size: 28px;
  }
}
@media(max-width: 500px){
  .header__title{
    font-size: 28px;
  }
  .header__subtitle{
    font-size: 23px;
  }
}
@media(max-width: 800px){
  .logo{
    width: 200px;
  }
  .title{
    font-size: 42px;
  }
  .features__item{
    font-size: 16px;
  }
  .features__item__image{
    height: 50px;
  }
  .text{
    font-size: 22px;
  }
  .about__text{
    font-size: 28px;
  }
  .description{
    font-size: 14px;
  }
}
@media(max-width: 650px){
  .title{
    font-size: 32px;
  }
  .features__box{
    flex-direction: column;
  }
  .features__item{
    width: 100%;
    margin:  0 0 35px;
    font-size: 16px;
  }
  .text{
    font-size: 19px;
  }
  .text__small{
    font-size: 16px;
  }
  .about__text{
    font-size: 22px;
  }
  .footer__links-item{
    font-size: 14px;
  }
  .footer__text{
    margin-top: 15px;
  }
}

@media(max-width: 430px){
  .logo{
    width: 180px;
  }
  .title{
    font-size: 25px;
  }
  .main__inner{
    padding: 15px 14px 10px;
  }
  .features__title{
    font-size: 17px;
  }
  .text{
    font-size: 16px;
  }
  .text__small{
    font-size: 14px;
  }
  .button{
    font-size: 16px;
    padding: 14px;
    margin-top: 20px;
  }
  .main{
    padding: 10px 0 30px;
  }
  .about__inner{
    padding: 20px 12px;
  }
  .about__text{
    font-size: 18px;
  }
  .features{
    font-size: 15px;
  }
}