:root {
  --primary-color: #44a340;
  --title-text-color: #ffffff;
  --accent-color: #f88c38;
  --copyright-color: #060606;
}

body {
  color: var(--title-text-color);
  font-family: Roboto, sans-serif;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

header {
  background-color: var(--primary-color);
}

section:nth-child(2n) {
  background-color: var(--primary-color);
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media screen and (min-width: 1280px) {
  .container {
    padding-left: 90px;
    padding-right: 90px;
    width: 100%;
    /* width: 1440px; */
  }
}

/* header */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 17px;
  padding-bottom: 21px;
}

@media screen and (max-width: 1280px) {
  .header {
    padding-top: 20px;
    padding-bottom: 23px;
  }
}

.menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu-button {
  margin: 0;
  margin-left: 8px;
  width: 26px;
  height: 14px;
  background-color: var(--primary-color);
  border: none;
  cursor: pointer;
}

@media screen and (min-width: 1279px) {
  .menu-button {
    display: none;
  }
}

.js-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ContactInformation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  width: 179px;
  height: 40px;
  border-radius: 60px;
  background-color: var(--title-text-color);
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;

  color: var(--accent-color);
}

@media (max-width: 1279px) {
  .ContactInformation {
    display: none;
  }
}

.svgGeoCity {
  width: 14px;
  height: 20px;
}

@media screen and (min-width: 1279px) {
  .svgGeoCity {
    width: 19px;
    height: 27px;
  }
}

.geoCity {
  display: flex;
  align-items: center;
}

.listCity {
  width: 90px;
  height: 16px;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 14px;

  color: var(--title-text-color);
  background-color: var(--primary-color);
  border: 0px;
  cursor: pointer;
}

.listCity:focus {
  border: none;
  outline: none;
  border: transparent;
}

@media screen and (min-width: 1279px) {
  .listCity {
    width: 100%;
    height: 20px;
    font-size: 18px;
    line-height: 22px;
    margin-right: 30px;
  }
}

/* infoMenu */

.infoMenu {
  display: none;
}

.infoMenu.is-open {
  display: block;
}

.infoMenu {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 360px;
  padding: 20px 18px 20px 29px;
  background-color: var(--title-text-color);
}

.headerInfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 46px;
}

.buttonInfo {
  border: none;
  background-color: var(--title-text-color);
  cursor: pointer;
}

.contactTel {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 153px;
  height: 34px;
  border-radius: 60px;
  background-color: var(--accent-color);
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: var(--title-text-color);
}

/* hero */

.hero {
  height: 501px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 50px;

  background-image: url(../images/banner-phone.jpg);

  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (min-width: 1279px) {
  .hero {
    height: 539px;
    padding-top: 90px;

    background-image: url(../images/banner-desktop.jpg);
  }
}

.hero-title {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
  transform: rotate(-1.35deg);
  width: 250px;
  font-style: normal;
  font-weight: bold;
  font-size: 25px;
  line-height: 25px;
  text-align: center;
  text-transform: uppercase;
  color: var(--title-text-color);
  transform: rotate(-1.35deg);
}

@media screen and (min-width: 1279px) {
  .hero-title {
    margin-left: 42%;
    margin-bottom: 25px;
    font-size: 55px;
    line-height: 55px;
    width: 550px;
  }
}

.subtitle {
  margin: 0;
  font-style: normal;
  font-weight: 600;
  font-size: 10px;
  line-height: 20px;
  text-align: center;
  color: var(--title-text-color);
  transform: rotate(-1.35deg);
}

@media screen and (min-width: 1279px) {
  .subtitle {
    margin-left: 360px;
    font-size: 20px;
  }
}

/* sectionOne */

@media screen and (min-width: 1279px) {
  .sectionOne {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
}

.subtitleOne {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding-top: 76px;
  padding-bottom: 57px;
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: var(--title-text-color);
  width: 300px;
}

@media screen and (min-width: 1279px) {
  .subtitleOne {
    margin: 0;
    font-size: 46px;
    line-height: 58px;
    width: 680px;
    text-align: left;
  }
}

@media (max-width: 1279px) {
  .sectionOneImage {
    display: flex;
    justify-content: center;
    padding-top: 0px;
  }
}

@media screen and (min-width: 1279px) {
  .sectionOneImage {
    margin-top: 33px;
    margin-right: auto;
    margin-left: auto;
  }
}

/* subtitleTwo */

@media screen and (min-width: 1279px) {
  .sectionTwo {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
  }
}

@media (max-width: 1279px) {
  .subtitleTwo {
    width: 220px;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 76px;
    margin-bottom: 80px;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    color: var(--primary-color);
  }
}

@media screen and (min-width: 1279px) {
  .subtitleTwo {
    width: 700px;
    font-style: normal;
    font-weight: bold;
    font-size: 48px;
    line-height: 58px;
    text-align: right;
    color: var(--primary-color);
  }
}

@media (max-width: 1279px) {
  .sectionTwoImage {
    display: flex;
    justify-content: center;
  }
}

@media screen and (min-width: 1279px) {
  .sectionTwoImage {
    margin-top: 41px;
  }
}

/* sectionThree */

.sectionThree {
  position: relative;
}

@media screen and (min-width: 1279px) {
  .sectionThree {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
  }
}

.subtitleThree {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  width: 200px;
  font-style: normal;
  font-weight: bold;
  font-size: 15px;
  line-height: 18px;
  text-align: center;
  color: var(--primary-color);
}

@media screen and (min-width: 1279px) {
  .subtitleThree {
    top: 50%;
    left: 78%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: 300px;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
  }
}

.sectionThreeImage {
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 1279px) {
  .sectionThreeImage {
    margin-right: 60px;
    padding-top: 34px;
  }
}

.sectionThreeImageCloud {
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 44px;
}

/* sectionFour */

.sectionFour {
  position: relative;
}

@media screen and (min-width: 1279px) {
  .sectionFour {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
}

.subtitleFour {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: var(--primary-color);
}

@media screen and (min-width: 1279px) {
  .subtitleFour {
    top: 50%;
    left: 22%;
    margin: 0;
    margin-right: 60px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 300px;
    font-size: 36px;
    line-height: 43px;
    text-align: center;
  }
}

.sectionFourImage {
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 1279px) {
  .sectionFourImage {
    margin-left: 60px;
    margin-top: 40px;
  }
}

/* sectionFive */

.sectionFive {
  height: 536px;

  background-image: url(../images/school.png);

  background-repeat: no-repeat;
  background-position: center bottom 0%;
}

@media screen and (min-width: 1279px) {
  .sectionFive {
    height: 588px;

    background-image: url(../images/school-desktop.png);
    background-position: right 0% bottom 0%;
  }
}

.subtitleFive {
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  width: 255px;
  padding-top: 76px;
  padding-bottom: 53px;
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: var(--title-text-color);
}

@media screen and (min-width: 1279px) {
  .subtitleFive {
    margin: 0;
    width: 510px;
    padding-top: 109px;
    padding-bottom: 32px;
    font-size: 48px;
    line-height: 58px;
    text-align: left;
  }
}

.buttonSubmit {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 45px;
  width: 257px;
  height: 59px;
  border-radius: 60px;
  cursor: pointer;
  background-color: var(--accent-color);
  border: none;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: var(--title-text-color);
}

@media screen and (min-width: 1279px) {
  .buttonSubmit {
    margin: 0px;
  }
}

/* footer */

.social-networks {
  display: flex;
  justify-content: center;
  margin-top: 39px;
  margin-bottom: 14px;
}

@media screen and (min-width: 1279px) {
  .social-networks {
    margin-top: 80px;
    margin-bottom: 28px;
  }
}

.social-networks-item:not(:last-child) {
  margin-right: 14px;
}

@media screen and (min-width: 1279px) {
  .social-networks-item:not(:last-child) {
    margin-right: 33px;
  }
}

.icon-vk {
  width: 21px;
  height: 22px;
}

@media screen and (min-width: 1279px) {
  .icon-vk {
    width: 51px;
    height: 50px;
  }
}

.icon-facebook {
  width: 20px;
  height: 21px;
}

@media screen and (min-width: 1279px) {
  .icon-facebook {
    width: 51px;
    height: 51px;
  }
}

.icon-instagram {
  width: 20px;
  height: 21px;
}

@media screen and (min-width: 1279px) {
  .icon-instagram {
    width: 50px;
    height: 50px;
  }
}

.icon-telegram {
  width: 21px;
  height: 21px;
}

@media screen and (min-width: 1279px) {
  .icon-telegram {
    width: 50px;
    height: 50px;
  }
}

.icon-youtube {
  width: 30px;
  height: 21px;
}

@media screen and (min-width: 1279px) {
  .icon-youtube {
    width: 72px;
    height: 50px;
  }
}

.copyright {
  display: block;
  margin-bottom: 121px;
  font-style: normal;
  font-weight: normal;
  font-size: 9px;
  line-height: 9px;
  text-align: center;
  color: var(--copyright-color);
}

@media screen and (max-width: 1279px) {
  .copyrightDesktop {
    display: none;
  }
}

@media screen and (min-width: 1280px) {
  .copyrightDesktop {
    display: block;
    font-style: normal;
    font-weight: normal;
    font-style: normal;
    font-weight: normal;
    margin-bottom: 81px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: var(--copyright-color);
  }
}

@media screen and (min-width: 1279px) {
  .copyright {
    display: none;
  }
}

.year {
  font-style: normal;
  font-weight: normal;
  font-size: 9px;
  line-height: 9px;
  text-align: center;
  color: var(--copyright-color);
}

.yearDesktop {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: var(--copyright-color);
}

/* Modal */

.lightbox__content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  padding: 15px;
  width: 350px;
  padding: 20px;
  border-radius: 20px;
  background-color: var(--title-text-color);
}

.buttonCloseModal {
  margin-left: 290px;
  width: 20px;
  height: 20px;
  border: none;
  margin-bottom: 20px;
  background-color: var(--title-text-color);
  cursor: pointer;
}

.listCityModal {
  border-radius: 5px;
  width: 100%;
  height: 30px;
  font-size: 14px;
  line-height: 1.15px;
  margin: 0;
  margin-bottom: 18px;
}

.form {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 310px;
}

.selectedCity {
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.15px;
  color: var(--copyright-color);
  margin-top: 0;
  margin-bottom: 16px;
  text-align: left;
}

.formLabel {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.15px;
  color: var(--copyright-color);
  /* margin-bottom: 18px; */
}

.modalButton {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  width: 200px;
  height: 40px;
  border-radius: 50px;
  cursor: pointer;
  background-color: var(--accent-color);
  border: none;
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15px;
  text-align: center;
  color: var(--title-text-color);
  cursor: pointer;
}

.inputForm {
  width: 310px;
  height: 30px;
  border-radius: 5px;
  border: 2px solid var(--accent-color);
  margin-top: 12px;
  margin-bottom: 16px;
}

.captcha {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 10px;
}

.captchaImage {
  margin-right: 50px;
  margin-bottom: 10px;
}

.buttonUpdateImage {
  border: 0;
  background-color: var(--title-text-color);
  margin-top: 5px;
  padding: 0px;
  cursor: pointer;
}

.icon-updateImage {
  color: var(--primary-color);
  fill: currentColor;
}

.captchaLabel {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.15px;
  color: var(--copyright-color);
}

.checkNumber {
  width: 310px;
  height: 30px;
  border-radius: 5px;
  border: 2px solid var(--accent-color);
  margin-top: 12px;
  margin-bottom: 14px;
}

/* Lightbox */

.lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--animation-duration) var(--timing-function);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: initial;
}

.lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox__content {
  transform: scale(0.95);
  transition: transform var(--animation-duration) var(--timing-function);
}

.lightbox.is-open .lightbox__content {
  transform: scale(1);
}

/* infoModal */

.lightboxInfoModal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--animation-duration) var(--timing-function);
}

.lightboxInfoModal.is-open {
  opacity: 1;
  pointer-events: initial;
}

.lightboxOverlayInfo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
}

.buttonCloseInfoModal {
  margin-left: 290px;
  width: 20px;
  height: 20px;
  border: none;
  margin-bottom: 20px;
  background-color: var(--title-text-color);
  cursor: pointer;
}

.infoText {
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--copyright-color);
  margin-bottom: 30px;
  text-align: center;
}

/* Фиксированная кнопка записи */

.fixedButton {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: block;
  width: 140px;
  height: 40px;
  border-radius: 40px;
  cursor: pointer;
  background-color: var(--accent-color);
  border: none;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 29px;
  text-align: center;
  color: var(--title-text-color);
}

@media screen and (min-width: 1279px) {
  .fixedButton {
    margin: 0px;
    width: 160px;
    height: 55px;
    border-radius: 55px;
    font-size: 24px;
  }
}
