/* Poppins */

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

html,
body {
  height: 100%;

  font-family: 'Poppins', sans-serif;

  font-size: 20px;

  font-weight: 400;

  color: #333333;

  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: 880px;

  width: 100%;

  margin: 0 auto;

  padding: 0 16px;
}

/* 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;

  max-width: 80%;

  display: block;
}

/* Main */

.main {
  padding: 40px 0 60px;
}

.--red {
  color: red;
}

.title {
  text-align: center;

  color: #000000;

  font-size: 29px;

  font-weight: 700;
}

.subtitle {
  text-align: center;

  font-size: 18px;

  margin: 20px 0;
}

.main__image {
  display: block;

  max-width: 400px;

  width: 100%;

  margin: 0 auto 30px;

  padding: 0 20px;
}

.text {
  font-weight: 500;
}

.text__title {
  text-align: center;

  font-size: 16px;

  font-weight: 700;

  margin: 15px 0;
}

.select__title {
  text-align: center;

  font-size: 34px;

  line-height: 1;

  font-weight: 500;

  margin: 20px 0 30px;
}

.button {
  text-align: center;

  text-decoration: none;

  display: block;

  width: 100%;

  max-width: 100%;

  color: #ffffff;

  font-weight: 700;

  font-size: 24px;

  background-color: #e9a800;

  margin: 0 auto 20px;

  padding: 14px;
}

.button:hover {
  background-color: #c77108;
}

/* 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: 600px) {
  .main {
    padding-top: 20px;
  }
  .logo {
    width: 180px;
  }

  body {
    font-size: 16px;
  }

  .title {
    font-size: 24px;
  }

  .subtitle {
    font-size: 16px;
  }

  .select__title {
    font-size: 24px;
  }

  .main__image {
    padding: 0;
    margin-bottom: 20px;
  }

  .button {
    padding: 12px;

    font-size: 18px;

    margin-bottom: 10px;
  }
}

@media (max-width: 500px) {
  .title {
    font-size: 22px;
  }
  .subtitle {
    font-size: 14px;
    margin: 15px 0 20px;
  }
  .select__title {
    margin-bottom: 20px;
  }
  .footer__links-item {
    font-size: 14px;
  }

  .footer__text {
    margin-top: 15px;
  }
}

@media (max-width: 500px) {
  .select__title {
    font-size: 20px;
  }
}
