/* Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400&display=swap');

html,
body {
  height: 100%;
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  background-color: #f1f2f6;
  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: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

#state {
  text-transform: capitalize;
}
/* Header */

.header {
  width: 100%;
  background: url(images/bg.png) center repeat rgba(40, 97, 154, 1);
  background-size: contain;
  border-radius: 0 0 20px 20px;
}
.header__inner {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.logo {
  width: 250px;
  display: block;
}

/* Main */

.main {
  background-color: #fff;
  padding: 24px;
  margin: 30px 0;
}
.title {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 700;
}
.main__inner {
  border-top: 1px solid #000;
  margin-top: 30px;
  padding-top: 10px;
}
.text__title {
  font-size: 20px;
  font-weight: 700;
}
.main__box {
  display: flex;
  justify-content: space-between;
}
.main__box-image__link {
  width: 40%;
}
.main__box-image {
  display: block;
  max-width: 100%;
}
.main__content {
  width: 60%;
  padding-left: 10px;
}
.text {
  line-height: 1.3;
  margin-bottom: 20px;
}
.link {
  text-decoration: none;
  font-weight: 700;
  color: rgb(41, 105, 176);
}
.link:hover {
  text-decoration: underline;
}

.description {
  background: #f8f8f9;
  padding: 15px 20px;
  border-radius: 4px;
  border: 1px solid #0000004d;
  margin: 50px 0 35px;
}
.text__title {
  font-size: 22px;
  margin-bottom: 15px;
}
.main__image {
  display: block;
  max-width: 100%;
}
.main__image__small {
  max-width: 70%;
  margin-top: 30px;
}
/* Footer */

.footer {
  width: 100%;
  background: url(images/bg.png) center repeat rgba(40, 97, 154, 1);
  background-size: contain;
  border-radius: 20px 20px 0 0;
}
.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: 800px) {
  .logo {
    width: 230px;
  }
  .title {
    font-size: 32px;
  }
  .main__box {
    flex-direction: column;
    justify-content: center;
  }
  .main__box-image__link {
    width: 100%;
  }
  .main__content {
    width: 100%;
    padding: 0;
    margin-top: 25px;
  }
  .footer__links-item {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .container{
    padding: 0 6px;
  }
  .main{
    padding: 10px;
  }
  body{
    font-size: 16px;
  }
  .logo{
    width: 200px;
  }
  .title{
    font-size: 26px;
  }
  .description{
    margin-top: 20px;
  }
  .footer__text{
    margin-top: 15px;
  }
  .main__image__small{
    max-width: 100%;

  }
}
@media (max-width: 420px) {
  .logo{
    width: 180px;
  }
}