/* Open Sans */
@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');

html,
body {
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(70, 78, 95, 1);
  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;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
.container-small {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
.--mobile {
  display: none;
}
.--desktop {
  display: block;
}
/* 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: 25px 0;
}
.header__logo {
  height: 65px;
  max-width: 100%;
  display: block;
}

/* Main */

.main {
  width: 100%;
  background-color: #fff;
}
.title {
  text-align: center;
  text-transform: capitalize;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  color: rgba(33, 33, 33, 1);
}
.main__wrapper {
  display: flex;
  justify-content: space-between;
}
.main__wrapper__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 48%;
}
.main__wrapper__content-title {
  color: #464e5f;
  font-weight: 800;
  font-size: 20px;
  margin: 0;
}
.text {
  margin-bottom: 0;
}
.main__image {
  width: 48%;
}
.main__image-item {
  display: block;
  width: 100%;
}
.description {
  background: rgba(170, 170, 170, 0.15);
  border-radius: 6px;
  border: 1px solid #8b8b8b;
  padding: 20px 30px;
}
.link {
  text-decoration: underline;
  color: #497ddd;
  font-weight: 700;
}
.link:hover {
  color: #154088;
}
.title-small {
  font-size: 20px;
  font-weight: 800;
  color: rgba(33, 33, 33, 1);
}
.main__box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 30px 0;
}
.main__box-item {
  margin-right: 50px;
}
.main__box-item:last-child {
  margin-right: 0;
}
.main__box-item > img {
  display: block;
  max-width: 100%;
  width: 400px;
  object-fit: cover;
}

/* Select */
.select {
  width: 100%;
  font-size: 20px;
  margin-top: 40px;
  padding-bottom: 60px;
}
.select__inner {
  width: 85%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}
.select__item {
  text-align: center;
  width: 30%;
  background: #3699ff;
  border-radius: 8px;
  margin-right: 14px;
  margin-bottom: 14px;
  transition: all linear 0.1s;
}
.select__item:nth-child(3n) {
  margin-right: 0;
}
.select__item:hover {
  background-color: #61b0ff;
  box-shadow: 0px 4px 4px #276fb8;
}
.select__item-link {
  display: block;
  width: 100%;
  text-decoration: none;
  padding: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.select__button {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  width: 50%;
  background: #3699ff;
  border-radius: 8px;
  padding: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 auto;
  transition: all linear 0.1s;
}
.select__button:hover {
  background-color: #61b0ff;
  box-shadow: 0px 4px 4px #276fb8;
}
/* 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;
  margin-top: 20px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  padding: 30px 0;
}
.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.footer__logo {
  height: 65px;
  max-width: 70%;
  display: block;
}
.footer__text {
  font-size: 8px;
  line-height: 1;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 0;
}
.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: 999px) {
  .main__image {
    width: 49%;
  }
  .main__wrapper__content {
    width: 49%;
  }
  .title {
    font-size: 36px;
  }
}
@media (max-width: 799px) {
  .container {
    padding: 0 25px;
  }
  .container-small {
    padding: 0 25px;
  }
  .title {
    font-size: 30px;
  }
  .main__wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .main__image {
    width: inherit;
    max-width: 550px;
    margin-bottom: 30px;
  }
  .main__wrapper__content {
    width: 100%;
  }
  .main__box-item {
    margin-right: 20px;
  }
  .select {
    font-size: 18px;
  }
  .select__inner {
    width: 100%;
  }
  .select__item {
    width: 32%;
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .select__item-link {
    padding: 15px 0;
  }
}
@media (max-width: 599px) {
  .--mobile {
    display: block !important;
  }
  .--desktop {
    display: none !important;
  }
  .title {
    text-transform: uppercase;
    text-align: start;
  }
  .main__wrapper {
    justify-content: start;
    align-items: start;
  }
  .main__wrapper__content-title {
    display: block;
  }
  .main__image {
    width: 100%;
    margin: 15px 0 20px;
  }
  .header__inner {
    padding: 20px 0;
  }
  .header__logo {
    height: 50px;
  }
  .footer__logo {
    height: 50px;
  }
  .footer__text {
    max-width: 300px;
    line-height: 1.4;
  }
}
@media (max-width: 599px) {
  .--mobile {
    display: block !important;
  }
  .--desktop {
    display: none !important;
  }
  .title {
    text-transform: uppercase;
    font-size: 26px;
  }
  .main__wrapper {
    justify-content: start;
    align-items: start;
  }
  .main__wrapper__content-title {
    display: block;
    font-size: 18px;
  }
  .main__image {
    width: 100%;
    margin: 15px 0 20px;
  }
  .select__item {
    width: 31%;
  }
  .select__button {
    width: 80%;
  }
  .footer__inner {
    padding: 20px 0;
  }
}
@media (max-width: 439px) {
  body {
    font-size: 14px;
  }
  .title {
    font-size: 20px;
  }
  .title-small {
    font-size: 18px;
  }
  .description {
    padding: 15px 20px;
  }
  .main__wrapper__content-title {
    font-size: 16px;
  }
  .main__box {
    flex-direction: column;
  }
  .main__box-item {
    width: 100%;
    margin-bottom: 20px;
    margin-right: 0;
  }
  .main__box-item:last-child {
    margin-bottom: 0;
  }
  .select__item-link {
    padding: 17px 0;
  }
  .select__item {
    width: 48.5%;
    margin: 0 0 10px;
  }
  .select__item:nth-child(2n + 1) {
    margin-right: 10px;
  }
  .select__button {
    width: 100%;
    font-size: 18px;
    padding: 17px 0;
  }
  .footer__text {
    width: 100%;
    max-width: inherit;
    color: rgba(181, 181, 195, 1);
    margin-top: 15px;
  }
  .footer__links-item {
    font-size: 14px;
  }

  .header__logo {
    max-width: 70%;
    height: auto;
    width: 170px;
  }
  .header__inner {
    padding: 14px 0;
  }
  .footer__logo {
    max-width: 70%;
    height: auto;
    width: 170px;
  }
}
@media (max-width: 389px) {
  .container {
    padding: 0 18px;
  }
  .container-small {
    padding: 0 18px;
  }
  .select__item-link {
    padding: 17px 0;
  }
  .select__item {
    width: 48%;
    margin: 0 0 8px;
  }
  .select__item:nth-child(2n + 1) {
    margin-right: 8px;
  }
  .select__button {
    width: 100%;
    font-size: 18px;
    padding: 17px 0;
  }
}
