.page-wrapper {
  margin: unset;
  max-width: unset;
  padding: unset;
}

p, h1, h2, h3, h4, h5, h6, ul, ol {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #3D3E40;
  font-family: 'Montserrat', sans-serif;
}

.section-title {
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
}
.section-title_white {
  color: #fff;
}
.section-title_center {
  text-align: center;
}

.text {
  font-size: 18px;
  line-height: 20px;
}
.text_white {
  color: #fff;
}
.text_center {
  text-align: center;
}

.submit-btn {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #36CF4A;
  font-weight: 600;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
  transition: all .15s ease-in-out;

  &:hover {
    background-color: #32bb44;
  }
}

section.banner-section {
  background-color: #F5FAF6;

  .banner__content {
    max-width: 1158px;
    margin-left: auto;
    margin-right: auto;
    padding: 46px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }

  .banner__image {
    max-width: 424px;
    min-width: 260px;
    aspect-ratio: 1;
    width: 38%;
  }

  .banner__left {
    max-width: 560px;
  }

  .banner__logos {
    display: flex;
    align-items: center;
    gap: 95px;
    margin-bottom: 70px;
  }

  h1 {
    font-weight: 700;
    font-size: 60px;
    line-height: 1;
  }
  h2 {
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 28px;
  }

  @media screen and (max-width: 991px) {
    .banner__content {
      max-width: 600px;
      flex-direction: column;
    }
    .banner__left {
      max-width: unset;
      text-align: center;
    }
    .banner__logos {
      justify-content: center;
      margin-bottom: 24px;
      row-gap: 12px;
      column-gap: 40px;
      flex-wrap: wrap;
    }
    h2 {
      margin-bottom: 24px;
    }
  }
}

section.progress-section {
  background-color: #344551;

  .progress-content {
    max-width: 1145px;
    margin-left: auto;
    margin-right: auto;
    padding: 42px 20px 51px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .progress-block {
    padding: 37px 40px 17px;
    background-color: rgba(185, 228, 255, 0.2);
    border: 1px solid #fff;
    border-radius: 37px;
  }

  .progress-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .progress-scale-value {
    padding: 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    color: rgba(189, 190, 193, 0.3);
  }
  .progress-scale-value:first-child {
    padding-left: 0;
    text-align: left;
  }
  .progress-scale-value:last-child {
    padding-right: 0;
    text-align: right;
  }
  .progress-scale-value_completed {
    color: #fff;
  }

  .progress-bar {
    position: relative;
    height: 26px;
    border-radius: 13px;
    background-color: #fff;
    overflow: visible;
    z-index: 2;
  }
  .progress-bar__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 13px;
    background-color: rgba(11, 208, 87, 0.8);
    z-index: 1;
  }
  .progress-bar__check {
    position: absolute;
    top: 0;
    font-size: 24px;
    line-height: 1;
    color: #ff4141;
    transform: rotate(180deg) translateY(calc(100% - 2px));
    z-index: 4;
  }
  .progress-bar__stats {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FF7900;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    z-index: 3;
  }

  @media screen and (max-width: 991px) {
    .progress-block {
      width: 100%;
    }
    .progress-scale-value:nth-child(even) {
      display: none;
    }
  }
  @media screen and (max-width: 567px) {
    .progress-block {
      padding: 27px 20px 7px;
    }
    .progress-scale-value {
      display: none;
    }
    .progress-scale-value:first-child {
      display: block;
    }
    .progress-scale-value:last-child {
      display: block;
    }
  }
}

section.leaderboard-section {
  background-image: url(/landings/puzzle-challenge/img/leaderboard-bg.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  .leaderboard-content {
    max-width: 1226px;
    margin-left: auto;
    margin-right: auto;
    padding: 81px 20px 63px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
  }

  .leaderboard-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .leaderboard-title {
    font-weight: 700;
    font-size: 30px;
    color: #fff;
    margin-bottom: 3px;
  }
  .leaderboard-underscore {
    width: 100%;
    max-height: 24px;
    margin-bottom: 20px;
  }
  .leaderboard-kid {
    max-width: 295px;
  }

  .leaderboard-right {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .leaderboard-part-title {
    width: 100%;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(7, 113, 32, 0.2);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    color: #fff;
    border-radius: 37px;
    margin-bottom: 20px;
  }
  .leaderboard-list {
    list-style: none;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .leaderboard-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .leaderboard-person {
    font-weight: 700;
    font-size: 17px;
    line-height: 20px;
  }
  .leaderboard-score {
    font-size: 16px;
    line-height: 1.25;
  }

  @media screen and (max-width: 991px) {
    .leaderboard-content {
      flex-direction: column;
      align-items: center;
    }
    .leaderboard-title {
      text-align: center;
    }
    .leaderboard-right {
      justify-content: center;
      flex-wrap: wrap;
    }
  }
}

section.challenge-section {
  .challenge-content {
    padding: 67px 20px 61px;
    max-width: 826px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-title {
    margin-bottom: 16px;
  }
  .text {
    margin-bottom: 73px;
  }

  .challenges {
    list-style: none;
    display: flex;
    align-items: flex-start;
  }
  .challenges-separator {
    width: 106px;
    padding-top: 55px;
  }

  .challenge {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 184px;
    text-align: center;
    font-size: 16px;
    line-height: 1.25;
  }
  .challenge__image {
    height: 100px;
    margin-bottom: 50px;
  }
  .challenge__title {
    font-size: inherit;
    font-weight: 700;
    margin-bottom: 10px;
  }

  @media screen and (max-width: 991px) {
    .challenges {
      justify-content: center;
      flex-wrap: wrap;
      gap: 32px;
    }
    .challenges-separator {
      display: none;
    }
    .text {
      margin-bottom: 32px;
    }
    .challenge__image {
      margin-bottom: 24px;
    }
  }
}

section.school-section {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(/landings/puzzle-challenge/img/school-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  .school-content {
    padding: 42px 20px 74px;
    max-width: 928px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-title {
    margin-bottom: 48px;
  }
  .school-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .school-benefit {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #B5BDCD;
    padding: 19px;
  }
  .school-benefit__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
  }
  .school-benefit__description {
    font-size: 18px;
    line-height: 1.2;
  }

  @media screen and (max-width: 991px) {
    .school-benefits {
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      grid-template-columns: 1fr;
    }
    .school-benefit {
      align-items: center;
    }
  }
}

section.community-section {
  background-image: url(/landings/puzzle-challenge/img/city-bg.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  .community-content {
    padding: 62px 20px 72px;
    max-width: 613px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
}
