.header {
  background-color: #ef4d4d;
  width: 100%;
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
}
.header__container {
  display: flex;
  max-width: 1200px;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 30px;
  height: 80px;
}
.header__logo {
  color: #fff;
  font-weight: 700;
  font-size: 30px;
  position: relative;
  z-index: 5;
}
.main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 30px;
}
.section {
  margin: 80px 0 50px;
}
.section__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(318px, 1fr));
  column-gap: 0;
  row-gap: 8px;
  max-width: 955px;
}
.section2 {
  background: hsl(0deg 100% 94.45%);
  padding: 30px;
  margin-bottom: 50px;
  width: 100%;
  border-radius: 10px;
  box-shadow: -1px 2px 34px -9px rgba(135, 141, 170, 1);
}
.section2__title {
  font-size: 38px;
}
.section2__article {
  font-size: 22px;
  line-height: 1.5;
}
.section3 {
  margin-bottom: 50px;
}
.section3__subtitle {
  font-size: 30px;
  margin-bottom: 50px;
  text-align: center;
}
.extra__container {
  position: relative;
  height: 320px;
}
.footer {
  width: 100%;
  background-color: #474747;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}
.footer__content {
  color: #fff;
  font-size: 20px;
}
.footer__link {
  color: rgb(223, 223, 223);
}
.footer__link:hover {
  color: rgb(8, 250, 222);
}
.lock {
  overflow: hidden;
}
@media (max-width: 767px) {
  .main {
    padding: 16px;
    font-size: 14px;
  }
  .section2__article {
    font-size: 14px;
    line-height: 1.3;
  }
  .header__logo {
    font-size: 20px;
  }
  .section__container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .section2__title {
    font-size: 24px;
  }
  .footer__content {
    font-size: 12px;
  }
  .section3 {
    font-size: 14px;
  }
  .extra__container {
    margin-bottom: 8px;
    height: 170px;
  }
  .extra__container span {
    margin: 5px 0;
  }
}
@media (max-width: 530px) {
  .section__container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    column-gap: 22px;
    row-gap: 16px;
  }
  @media (max-width: 375px) {
    .section__container {
      column-gap: 8px;
      row-gap: 8px;
    }
    .main {
      padding: 8px;
      font-size: 14px;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
  }
}
