@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400&display=swap");
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, sans-serif;
}

.section {
  width: 100%;
  padding: 55px 0;
}
.section-full {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.section-fixed {
  background-attachment: fixed;
}
.section-banner {
  padding: 50px 0;
  background-color: #374955;
  background-image: url("./assets/img/bg1.jpg");
}
.section-clear {
  background-color: #fff;
  color: #2f2f2f;
}
.section-blue {
  background-color: #374955;
}
.section .row {
  max-width: 1200px;
  widows: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.section .content {
  display: flex;
  flex-direction: column;
}

.header {
  background-color: #fff;
  padding: 8px 0;
}
.header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .logo img {
  height: 70px;
}
.header .nav {
  width: 60%;
  display: flex;
  justify-content: space-between;
}
.header .nav__item {
  padding: 0 20px;
}
.header .nav__link {
  color: #2f2f2f;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  font-family: "Oswald", monospace;
  transition: all 0.22s linear;
}
.header .nav__link:hover {
  color: #29ABE2;
}

.banner {
  width: 70%;
  display: flex;
  justify-content: center;
  height: calc(80vh - 100px);
}
.banner__title {
  font-size: 28px;
  color: #374955;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.5;
  text-shadow: 0 0 5px #fff;
}
.banner__title span {
  font-size: 44px;
}

.desc {
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  width: 80%;
  margin: 0 auto;
  font-family: "Oswald", monospace;
}
.desc span {
  color: #29ABE2;
}

.cards {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 40px;
}
.cards .card {
  width: calc((100% - 60px) / 3);
  margin: 0 10px 45px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
  max-width: 300px;
}
.cards .card__icon {
  font-size: 50px;
  fill: #fff;
  color: #fff;
  margin-bottom: 15px;
}
.cards .card__title {
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 400;
  font-family: "Oswald", monospace;
}
.cards .card__desc {
  font-size: 16px;
  font-family: "Helvetica", sans-serif;
}

.direction {
  background-image: url("./assets/img/bg2.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 120px;
  position: relative;
}
.direction::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.65);
}
.direction .content {
  display: block;
  position: relative;
}
.direction__title {
  color: #29ABE2;
  font-family: "Oswald", monospace;
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 0px 25px 0px 25px;
  margin: 0;
  margin-bottom: 45px;
  text-align: center;
}
.direction__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.direction__item {
  flex: calc(50% - 20px) 0 1;
  width: 50%;
  padding: 10px;
}
.direction__item img {
  width: 100%;
  border-radius: 10px;
}
.direction__item p {
  font-family: "Oswald", monospace;
  font-size: 32px;
  font-weight: 400;
  color: #2f2f2f;
  /* text-shadow: 0 0 5px $color-primary;*/
}

.button {
  font-family: "Oswald", monospace;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 5px;
  color: #29ABE2;
  background-color: transparent;
  border: 3px solid #29ABE2;
  text-align: center;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.22s;
}
.button:hover {
  transform: scale(1.1);
}
.button-contact {
  margin-bottom: 60px;
  width: -moz-fit-content;
  width: fit-content;
  align-self: center;
  display: block;
  margin: 50px auto;
  background: #29ABE2;
  color: #fff;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  font-family: "Oswald", monospace;
  transition: 0.3s;
}
.footer__contacts a:hover {
  color: #29ABE2;
  transition: 0.3s;
}
.footer > * {
  max-width: 50%;
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.footer__links-item {
  font-size: 24px;
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}
.footer__links-item:hover {
  color: #29ABE2;
  transition: 0.3s;
}
.footer__links-item + .footer__links-item {
  margin-top: 10px;
}

.contact {
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  margin: 0;
  transition: all 0.22s linear;
}
.contact-dark {
  color: #2f2f2f;
  font-size: 24px;
  margin-bottom: 10px;
}
.contact-dark a {
  color: #2f2f2f;
  text-decoration: none;
}
.contact-light {
  color: #fff;
}
.contact-light:hover {
  color: #29ABE2;
}

@media screen and (max-width: 992px) {
  .cards .card {
    width: calc((100% - 40px) / 2);
  }
  .header .nav {
    display: none;
  }
  .header .nav__link {
    font-size: 16px;
  }
  .contact {
    font-size: 16px;
  }
  .banner__title {
    font-size: 22px;
  }
  .direction__item p {
    font-size: 24px;
  }
  .footer {
    justify-content: space-around;
    text-align: center;
  }
  .footer > * {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .footer__links-item {
    font-size: 16px;
  }
}
@media screen and (max-width: 680px) {
  .cards {
    justify-content: center;
  }
  .cards .card {
    width: calc(100% - 20px);
  }
  .direction__title {
    transform: translateY(-38px);
  }
  .direction__item:nth-child(1) {
    order:1;
  }
  .direction__item:nth-child(2) {
    order:2;
  }
  .direction__item:nth-child(3) {
    order:4;
  }
  .direction__item:nth-child(4) {
    order:3;
  }
  .direction__item:nth-child(5) {
    order:5;
  }
  .direction__item:nth-child(6) {
    order:6;
  }
  .direction__item {
    flex: 100% 0 1;
    width: 100%;
    text-align: center;
  }
}
@media screen and (max-width: 480px) {
  .footer {
    flex-direction: column;
  }
  .footer__contacts {
    margin: 0 0 60px 0;
  }
  .footer__links-item {
    margin: 0 auto;
  }
  .banner__title span {
    font-size: 38px;
  }
}