@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Bold-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Inter";
  background-color: #fff;
}
.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.hero {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 40px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}
header {
  padding: 14px 36px;
  position: relative;
  display: flex;
  gap: 94px;

  .logo {
    max-width: 306px;
    width: 100%;
  }

  ul {
    list-style: none;
    display: flex;
    gap: 50px;
    align-items: center;
  }
  ul a {
    color: rgba(28, 36, 48, 0.7);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    line-height: normal;
    text-decoration: none;
    transition: all 0.4s ease;
  }

  ul a.active {
    font-weight: 700;
    color: rgba(28, 36, 48, 1);
  }

  ul a:hover {
    color: rgba(28, 36, 48, 1);
  }
}

.title {
  display: flex;
  flex-direction: column;
  max-width: 640px;
}

h1 {
  color: #000;
  text-align: left;
  font-size: 60px;
  text-transform: uppercase;
}

.accent {
  color: #2f6fed;
}

.hero-text {
  color: #1c2430;
  font-size: 20px;
  line-height: 150%;
  margin-bottom: 16px;
}

.blue-button {
  border-radius: 10px;
  background: linear-gradient(90deg, #2f6fed 0%, #1b3f87 100%);
  padding: 24px 50px;
  text-decoration: none;
  text-align: center;
  color: #f5f5f5;
  font-family: Inter;
  font-size: 22px;
  font-weight: 700;
  line-height: 150%;
  display: block;
  max-width: fit-content;
  max-width: 300px;
  width: 100%;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}
.blue-button:hover {
  color: #000;
  background-color: #f5f5f5;
}
footer {
  padding-block: 80px;
  background-color: #fff;
}
.footer-block {
  display: flex;
  gap: 130px;
  justify-content: space-between;
}
.footer-text {
  color: #7a7a7a;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  margin-top: 20px;
  margin-bottom: 30px;
}
.footer-text-bottom {
  color: #727272;
  font-size: 18px;
  font-weight: 400;
}
.links-title {
  color: #2f6fed;
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 202px;

  li a {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    text-decoration: none;
    transition:
      color 0.4s ease,
      font-weight 0.2s ease;

    &:hover {
      color: #000;
      font-weight: 700;
    }
  }
}
.tablet {
  display: none;
}
.mobile {
  display: none !important;
}
.centered {
  text-align: center;
}
.collections-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.collection-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 44px 28px;
  gap: 16px;
  grid-column: span 1;
  border: 1px solid #e5eaf0;
  background: #f6f8fb;
  box-shadow: 0 4px 10px 0 rgba(200, 200, 200, 0.36);
}
.collection-item img {
  width: 100%;
  max-width: 70px;
}
.collection-item-title {
  color: #2f6fed;
  text-align: center;
  font-family: Inter;
  font-size: 24px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 20px;
}
.collection-item-text {
  color: #6b7280;
  text-align: center;
  font-size: 18px;
  line-height: 150%;
}
h2 {
  color: #1a1a1a;
  text-align: center;
  font-size: 50px;
  span {
    color: #007c36;
  }
}
.info-block .text {
  display: flex;
  gap: 12px;
  flex-direction: column;
  margin-top: 24px;
  p {
    color: #7a7a7a;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
  }
}

.info-block {
  grid-column: span 1;
}

.why-choose-section {
  padding-block: 80px;
}
.why-choose-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
}
.why-choose-item {
  grid-column: span 1;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;

  .top {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .top img {
    max-width: 64px;
    width: 100%;
  }

  .top .choose-title {
    color: #8cce18;
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
  }
  .choose-content {
    color: #bcbcbc;
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
  }
}
.fast-delivery {
  margin-block: 126px 110px;
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 56px;
  border-radius: 10px;
  .text {
    max-width: 496px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 30px;
  }
  .text p {
    color: #474747;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
  }
  .blue-button {
    margin-inline: initial;
  }
}

.start-content {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  gap: 20px;
  align-items: flex-start;
}

.white {
  color: #fff;
}

.start-content h2 {
  text-align: left;
}

.start-content p {
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 50px;
}

.start-training {
  background-color: #ade504;
  background-image: url("/img/start-img.png");
  background-repeat: no-repeat;
  background-position: right center;
  min-height: 640px;
}

.contact-block {
  padding-block: 80px;
}

.contact-block h2 {
  text-align: left;
  color: #000;
  font-size: 80px;
  font-weight: 700;
}

.form-wrapper {
  display: flex;
  gap: 40px;
  align-items: stretch;
  justify-content: space-between;
}

.form-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 630px;
}

.form-content h2 {
  color: #1c2430;
  text-align: left;
  font-size: 40px;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.form-content p {
  color: #6b6b6b;
  font-size: 18px;
  line-height: 150%;
}

.form-content p:first-of-type {
  margin-bottom: 24px;
}

.form-block {
  max-width: 600px;
}
.form-block .info {
  max-width: 518px;
  p {
    color: #2a2a35;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
  }
  p.info-title {
    color: #226253;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 600;
  }
}
.contact-list-item {
  display: flex;
  align-items: start;
  gap: 4px;

  .inform {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 250px;
  }
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.form {
  border-radius: 10px;
  max-width: 544px;
  border: 1px solid #aeaeae;
  background: #fff;
  box-shadow: 0 4px 26px 0 rgba(0, 0, 0, 0.11);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  .blue-button {
    max-width: 100%;
    width: 100%;
  }
  .label {
    color: #226253;
    font-family: Montserrat;
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 10px;
  }
  .label span {
    color: #c20017;
    font-family: Montserrat;
    font-size: 19px;
    font-weight: 400;
  }
  input,
  textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #aeaeae;
    padding: 14px;
    color: #2a2a35;
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 400;
    display: block;
  }
  textarea {
    resize: none;
    max-height: 150px;
    min-height: 100px;
  }
  input::placeholder {
    color: #aeaeae;
  }
  .top-part {
    display: flex;
    align-items: start;
    gap: 26px;
    * {
      flex: 1;
    }
  }
}
.form-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success {
  background-color: #28a745;
}

.form-message.error {
  background-color: #dc3545;
}

.dt {
  display: block;
}

.mob {
  display: none;
}

.bg-grey {
  background-color: #f6f8fb;
}

.about-block-info {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-block-info h2 {
  text-align: left;
  color: #1c2430;
  font-size: 40px;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  margin-bottom: 34px;
}

.about-block-info .text h3 {
  color: #1c2430;
  font-size: 22px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 20px;
}

.about-block-info .text p {
  color: #6b6b6b;
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
}

.about-block-info .text {
  margin-top: 0px;
}

.collections {
  padding-block: 110px;
}

@media (max-width: 1280px) {
  .container {
    padding: 0 30px;
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .form-wrapper {
    flex-direction: column;
  }

  .form-content {
    max-width: 100%;
  }

  .form-block {
    max-width: 600px;
    margin: 0 auto;
  }

  .dt {
    display: none;
  }

  .mob {
    display: block;
  }

  .about-block-info {
    display: flex;
    flex-direction: column;
  }

  .about-block-info-2 {
    flex-direction: column-reverse;
  }
}

@media (max-width: 1000px) {
  header ul {
    gap: 24px;
    transform: none;
  }
  header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  h1 {
    margin-top: 54px;
  }

  .title {
    max-width: 600px;
  }

  .start-training {
    background-position: 40%;
  }

  .collections-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .why-choose-list {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .tablet {
    display: block;
  }
  .desktop {
    display: none;
  }
  .footer-block {
    flex-direction: column;
    gap: 30px;
  }
  .footer-text {
    margin-bottom: 0px;
  }
  .pic-info-block img {
    width: 100%;
  }
  .collection-item {
    grid-column: span 2;
  }
  .collections-list {
    row-gap: 24px;
    column-gap: 20px;
  }
  .fast-delivery {
    background-size: auto 134%;
    background-position: left bottom;
    margin-block: 80px;
    padding: 80px 30px;
  }
  .form-block {
    flex-direction: column;
  }
  .form {
    min-width: 100%;
    padding: 60px 20px;
  }

  .collections {
    padding-block: 80px;
  }
}

@media (max-width: 750px) {
  header {
    gap: 20px;
    padding: 16px 20px;

    ul {
      gap: 20px 50px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .hero {
      min-height: unset;
      padding-top: unset;
    }
  }

  .blue-button {
    margin: 0 auto;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 40px;
  }
  footer {
    padding-block: 60px;
  }
  .logo {
    max-width: 100%;
  }
  .container {
    padding: 0 20px;
    max-width: 100%;
  }

  .collection-item {
    height: 100%;
  }

  .collections {
    overflow: hidden;
  }
  .why-choose-list {
    margin-top: 40px;
  }
  .why-choose-section {
    padding-block: 60px;
  }
  .fast-delivery {
    margin-block: 60px;
    padding: 60px 20px;
    .blue-button {
      max-width: 100%;
    }
  }
  .form {
    padding: 40px 20px;
  }
  .form .top-part {
    flex-direction: column;
    gap: 26px;
    * {
      width: 100%;
    }
  }
  .form-block {
    margin-top: 40px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .contact-block h2 {
    font-size: 40px;
  }

  .start-training {
    background: #aed710;
    min-height: 100%;
  }

  .contact-block {
    padding-top: 120px;
    padding-block: 0px;
  }

  h1 {
    font-size: 40px !important;
  }

  h2 {
    font-size: 34px !important;
  }

  .collections {
    padding-block: 60px;
  }

  .collections h2 {
    text-align: center;
  }
}
