/* 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: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1e1e1e;
  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: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.header {
  width: 100%;
  background: rgba(40, 97, 154, 1);
  box-shadow: rgb(0 0 0 / 15%) 0px 0px 10px 6px;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 15px 0;
}
.header__content {
  text-align: right;
}
.header__description {
  font-size: 20px;
  color: rgb(221, 238, 255);
  margin-bottom: 6px;
}
.header__text {
  font-size: 15px;
  color: #ffffff;
}
.header__link {
  color: rgb(244, 206, 69);
}
.logo {
  width: 250px;
  max-width: 80%;
  display: block;
}

/* Main */

.main {
  width: 100%;
}
.uptitle__box {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}
.uptitle__box-item {
  font-size: 12px;
  color: #797979;
  border: 1px solid rgba(181, 181, 181, 0.796);
  border-radius: 6px;
  padding: 10px;
  margin: 0 6px;
}
.title {
  text-align: center;
  font-size: 48px;
  color: #212429;
  font-weight: 500;
  margin: 20px 0;
}
.subtitle {
  text-align: center;
  font-size: 24px;
  margin: 20px 0;
}

.image__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #000;
}
.image__header-box {
  display: flex;
  margin-top: 15px;
}
.image__header__text {
  font-size: 12px;
}
.vertical__row {
  height: 16px;
  width: 1px;
  margin: auto 10px;
  background-color: rgba(0, 0, 0, 0.2);
}
.image__header__button {
  display: flex;
  align-items: center;
  text-decoration: none;
  background-color: #1877f2;
  border-radius: 4px;
  color: #ffffff;
  padding: 8px;
  margin: 0 3px;
}
.image__header__button:hover {
  background-color: #115cbe;
}
.image__header__button-text {
  font-size: 13px;
}
.image__header__button-icon {
  width: 14px;
  height: auto;
  margin-right: 5px;
}
.main__image {
  display: block;
  max-width: 100%;
  width: 100%;
  margin-bottom: 25px;
}
.text {
  line-height: 1.7;
  margin-bottom: 25px;
}

.link {
  color: rgb(35, 171, 249);
}
.link:hover {
  color: rgb(21, 40, 190);
}
.form__box {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.form__box__selection {
  display: flex;
  margin-left: 30px;
}
.form__box {
  padding: 50px 0;
  margin: 25px 0;
}
.form__box__title {
  font-size: 20px;
}

.form__box__input {
  text-align: center;
  outline: none;
  display: block;
  background-color: rgb(250, 250, 250);
  border: 1px solid rgb(204, 204, 204);
  padding: 20px;
  margin-right: 20px;
}
.form__box__input::placeholder {
  text-align: center;
  font-size: 16px;
}
.form__box__button {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: 220px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  background-image: linear-gradient(260deg, rgb(65, 230, 74), rgb(60, 209, 66));
  box-shadow: rgb(72 212 14 / 25%) 0px 15px 33px 1px;
  padding: 15px 80px;
}
.form__box__button:hover {
  background-image: linear-gradient(260deg, rgb(45, 177, 51), rgb(33, 162, 37));
}
.text-title {
  font-size: 24px;
  font-weight: 700;
  margin: 50px 0 25px;
}
.select__title {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  margin-top: 50px;
}
.select {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0;
}
.select__button__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33.3%;
  padding: 0 7px;
  margin-bottom: 14px;
}
.select__button {
  text-decoration: none;
  text-align: center;
  display: block;
  background: linear-gradient(
    90deg,
    rgb(0, 199, 177) 0px,
    rgb(17, 237, 213) 100%
  );
  color: rgb(255, 255, 255);
  font-size: 18px;
  font-weight: 700;
  width: 100%;
  padding: 15px 20px;
  border-radius: 5px;
  border: 2px solid #000000;
}
.select__button:hover {
  background: linear-gradient(
    90deg,
    rgb(2, 162, 143) 0px,
    rgb(15, 195, 174) 100%
  );
}

.select__main-button {
  text-align: center;
  display: block;
  width: 100%;
  max-width: 450px;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  color: rgb(255, 255, 255);
  background-color: rgb(35, 171, 249);
  border: 0px;
  border-radius: 10px;
  box-shadow: rgb(14 152 212 / 30%) 0px 20px 33px 1px;
  padding: 20px;
  margin: 30px auto 50px;
}
.select__main-button:hover{
  background-color: rgb(13, 127, 194);
}
/* 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: 750px) {
  .header__inner {
    justify-content: center;
  }
  .header__content {
    display: none;
  }
  .form__box__selection {
    margin: 0;
    flex-direction: column;
  }
  .form__box {
    flex-direction: column;
  }
  .form__box__title {
    text-align: center;
  }
  .form__box__input {
    margin: 15px 0;
  }
  .form__box__button {
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .logo {
    width: 200px;
  }
  .title {
    font-size: 36px;
  }
  .subtitle {
    font-size: 20px;
  }
  .select__button__wrapper {
    padding: 0 4px;
    margin-bottom: 8px;
  }
}
@media (max-width: 550px) {
  .title {
    font-size: 28px;
  }
  .subtitle {
    font-size: 18px;
  }
  .text-title {
    font-size: 18px;
  }
  .text {
    font-size: 16px;
  }
  .form__box__title {
    font-size: 16px;
  }
  .select__button__wrapper {
    width: 50%;
  }
  .uptitle__box-item {
    text-align: center;
    font-size: 11px;
    margin: 0 4px;
  }
  .select__main-button{
    padding: 15px;
    font-size: 18px;
  }
}
@media (max-width: 420px) {
  .logo {
    width: 180px;
  }
  .title {
    font-size: 24px;
  }
  .subtitle {
    font-size: 14px;
  }
  .form__box {
    padding: 30px 0;
  }
  .form__box__input {
    padding: 15px;
    margin-bottom: 8px;
  }
  .form__box__button {
    padding: 15px;
  }
  .select__button {
    font-size: 16px;
    padding: 15px;
  }
  .footer__links-item {
    font-size: 14px;
  }
  .footer__text {
    margin-top: 15px;
  }
}
