/* FONTS */
@font-face {
  font-family: "ArtegraSoft-Bold";
  src: url(/uploads/media/fonts/ArtegraSoft-Bold.ttf);
  font-display: swap;
}

@font-face {
  font-family: "ArtegraSoft-Regular";
  src: url(/uploads/media/fonts/ArtegraSoft-Regular.ttf);
  font-display: swap;
}
/* END FONTS */

/* Buttons */

button.pervoklassnik__btn {
  border: none;
  background: none;
  border-radius: 30px;
  position: relative;
  width: 276px;
  height: 60px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 4%;
}

button.pervoklassnik__btn .press {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  border: 1px solid #000000;
}

button.pervoklassnik__btn.violet .press:first-child {
  background: #735aff;
  z-index: 5;
  transform: translateY(-8px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn.white .press:first-child {
  background: #fff;
  z-index: 5;
  transform: translateY(-8px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s ease-in;
  color: #000;
}

button.pervoklassnik__btn.pink .press:first-child {
  background: #ff5ac7;

  z-index: 5;
  transform: translateY(-8px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn .press:nth-child(5) {
  background: #ffc3df;
  z-index: 1;
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn:hover .press:nth-child(4) {
  background: #9ae1ff;
  transform: translateY(-8px);
  z-index: 2;
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn:hover .press:nth-child(3) {
  background: #d6ffdf;

  transform: translateY(-16px);
  z-index: 3;
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn:hover .press:nth-child(2) {
  background: #ffe882;

  transform: translateY(-24px);
  z-index: 4;
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn.violet:hover .press:first-child {
  background: #a899ff;

  transform: translateY(-32px);
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn.violet:focus .press:first-child,
button.pervoklassnik__btn.white:focus .press:first-child {
  background: #4f33e9;
  transform: translateY(0);
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn.white:hover .press:first-child {
  background: #fff;

  transform: translateY(-32px);
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn.white:focus .press:first-child {
  background: #fff;
  transform: translateY(0);
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn.pink:hover .press:first-child {
  background: #fface3;

  transform: translateY(-32px);
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn.pink:focus .press:first-child {
  background: #e30096;

  transform: translateY(0);
  transition: all 0.1s ease-in;
}

button.pervoklassnik__btn:focus .press:nth-child(4),
button.pervoklassnik__btn:focus .press:nth-child(3),
button.pervoklassnik__btn:focus .press:nth-child(2) {
  transform: translateY(0);
  transition: all 0.1s ease-in;
}

@media (max-width: 767px) {
  button.pervoklassnik__btn {
    width: 90%;
  }
}

/* END Buttons */

/* Menu */
.second-menu--line {
  margin-top: 1rem;
  padding: 0;
}
.second-menu--line::before {
  content: "";
  width: 100%;
  height: 1px;
  background: #000;
}
.second-menu-wrapper {
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
.second-menu--logo {
  height: 60px;
  width: 470px;
  background-repeat: no-repeat;
}
.second-menu--burger {
  font-family: Montserrat;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
  text-align: right;
}

.nav-toggle__item {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 10px;
  left: 0;
  margin: auto;
  transition: background 0.2s linear;
}

.nav-toggle__item:before,
.nav-toggle__item:after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #000;
  position: absolute;
  left: 0;
  z-index: 1;
  transition: transform 0.2s linear;
}

.nav-toggle__item:before {
  top: -8px;
}

.nav-toggle__item:after {
  bottom: -8px;
}

.educator-nav-toggle {
  position: relative;
  font-size: 0;
  color: transparent;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 2;
  width: 24px;
}
.second-menu--burger {
  cursor: pointer;
}
.second-menu--burger span {
  padding-right: 1rem;
}
.second-menu--pull-out {
  transition: all 0.3s cubic-bezier(0.4, 0, 1, 1);
  opacity: 0;
  height: 0;
}

.second-menu--pull-out.active {
  transition: all 0.3s cubic-bezier(0.4, 0, 1, 1);
  opacity: 1;
  height: 120px;
}
.second-menu--pull-out::before {
  content: "";
  width: 100%;
  position: absolute;
  height: 1px;
  background: #000;
}
.second-menu--pull-out ul {
  display: flex;
  justify-content: space-evenly;
  padding: 5rem 0;
}

.second-menu--pull-out ul {
  display: none;
}

.second-menu--pull-out.active ul {
  display: flex;
}

.second-menu--pull-out.active ul li {
  display: block;
}

.second-menu--pull-out ul li a {
  font-family: Montserrat;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
}

.nav-toggle__item.active {
  background: none;
  width: 70%;
}

.nav-toggle__item.active:before {
  transform-origin: left top;
  transform: rotate(45deg) translateX(-3px);
}
.nav-toggle__item.active:after {
  transform-origin: left bottom;
  transform: rotate(-45deg) translateX(-3px);
  bottom: 0px;
}

.active-hide {
  overflow: hidden;
}
@media (max-width: 992px) {
  .second-menu--logo {
    width: 350px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  .span-invisible {
    display: none;
  }
}

@media (max-width: 768px) {
  .second-menu--logo {
    display: none;
  }
  .second-menu--burger {
    display: flex;
    flex-direction: row-reverse;
    align-items: baseline;
  }
  .second-menu--burger button {
    margin-right: 3rem;
  }
  .second-menu-wrapper {
    justify-content: center;
  }
  .second-menu--pull-out.active {
    height: 100vh;
  }
  .second-menu--pull-out.active ul {
    flex-direction: column;
    align-items: center;
    height: 80vh;
  }
}

/* END Menu */

section {
  margin-left: -15px;
  margin-right: -15px;
}

p {
  font-family: "ArtegraSoft-Regular";
}

/* Curve */

.curve {
  height: 250px;
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 150px;
}

.curve.about {
  background-image: url(/uploads/media/img/pervoklassnik/curve-about.png);
}

.curve.about-bug {
  background-image: url(/uploads/media/img/pervoklassnik/curve-about-bug.png);
}

.curve.year {
  background-image: url(/uploads/media/img/pervoklassnik/curve-every-year.png);
}

.curve.grafic {
  background-image: url(/uploads/media/img/pervoklassnik/curve-grafik.png);
}

.curve.contact {
  background-image: url(/uploads/media/img/pervoklassnik/curve-contact.png);
}

@media (min-width: 1921px) {
  .curve {
    height: 350px;
    background-size: cover;
    margin-bottom: 50px;
  }
}

@media (max-width: 1260px) {
  .curve {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .curve {
    margin-bottom: 0;
    background-size: cover;
  }
  .curve.about {
    background-image: url(/uploads/media/img/pervoklassnik/curve-about_mobile.png);
  }

  .curve.about-bug {
    background-image: url(/uploads/media/img/pervoklassnik/curve-about-bug_mobile.png);
  }

  .curve.year {
    background-image: url(/uploads/media/img/pervoklassnik/curve-every-year_mobile.png);
  }

  .curve.grafic {
    background-image: url(/uploads/media/img/pervoklassnik/curve-grafik_mobile.png);
  }

  .curve.contact {
    background-image: url(/uploads/media/img/pervoklassnik/curve-contact_mobile.png);
  }
}

/* END Curve */

/* Header */

.pervoklassnik-header__image img {
  width: 100%;
}

.pervoklassnik-header__get {
  display: flex;
  justify-content: space-evenly;
}

.header__get__button {
  margin-left: 4%;
}

.header__get__info {
  display: flex;
  flex-direction: column;
  margin-top: -1%;
}

.header__get__info span {
  font-family: "ArtegraSoft-Bold";

  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: black 0px 0px 2px, black 0px 0px 2px, black 0px 0px 2px,
    black 0px 0px 2px;
}

.header__get__info span:first-child {
  font-size: 96px;
  line-height: 119px;

  letter-spacing: 0.04em;
}

.header__get__info span:nth-child(2) {
  font-size: 24px;
  line-height: 30px;
}

@media (max-width: 768px) {
  .pervoklassnik-header__get {
    display: flex;
    flex-direction: column;
  }

  .header__get__button {
    margin: -100px auto 50px;
    width: 100%;
  }
}

/* END Header */

.pervoklassnik {
  font-family: Artegra Soft;
  font-style: normal;
}

/* Title */

.title {
  position: relative;
  height: 85px;
}

.title h2 {
  position: absolute;
  font-family: "ArtegraSoft-Bold";
  font-weight: bold;
  font-size: 50px;
  line-height: 62px;
  text-transform: uppercase;
  color: #ffffff;
  transform: translateY(5px);
  text-shadow: black 0px 0px 2px, black 0px 0px 2px, black 0px 0px 2px,
    black 0px 0px 2px;
}
.title h2:nth-child(2) {
  transform: translateY(0);
}
.title h2.yellow {
  color: #ffe882;
}

.title h2.green {
  color: #d6ffdf;
}

.title h2.blue {
  color: #9ae1ff;
}

.title h2.pink {
  color: #ffc4e1;
}

.title h2.yellow {
  color: #ffe882;
}

.title h2.violet {
  color: #735aff;
}

.title.center {
  display: flex;
  justify-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  .title h2 {
    font-size: 36px;
  }
}

/* END Title */

/* About */

.pervoklassnik-about {
  position: relative;
  margin-left: 15px;
}

.pervoklassnik-about .cup {
  width: 152px;
  height: 152px;
  position: absolute;
  background-size: contain;
  right: 10%;
  transform: rotate(-4deg);
  background-image: url(/uploads/media/img/pervoklassnik/nagrady.png);
}

.pervoklassnik-about .row {
  margin: 10%;
}

.pervoklassnik-about .info p {
  font-size: 16px;
  line-height: 30px;
}

.pervoklassnik-about__btn button:first-child {
  margin-right: 5%;
}

.pervoklassnik-about .image {
  width: 600px;
}

@media screen and (max-width: 1520px) {
  .pervoklassnik-about .image {
    width: 400px;
  }
}

@media screen and (max-width: 1200px) {
  .pervoklassnik-about .image {
    width: 300px;
  }

}

.pervoklassnik-about .image img {
  width: 100%;
}



.pervoklassnik-about .social {
  margin-top: 5%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pervoklassnik-about .social img {
  margin-left: 10px;
}

@media (max-width: 1260px) {
  .pervoklassnik-about .row {
    margin: 1% 46px;
  }
  .pervoklassnik-about .cup {
    right: 1%;
    top: -10%;
  }
}

@media (max-width: 992px) {
  .pervoklassnik-about .cup {
    display: none;
  }

  .pervoklassnik-about .row:nth-child(3) {
    display: flex;
    flex-direction: column-reverse;
  }

  .pervoklassnik-about .social {
    justify-content: space-evenly;
    margin-bottom: 2rem;
  }

  .pervoklassnik-about__btn {
    display: flex;
    flex-direction: column;
  }

  .pervoklassnik-about__btn a {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .pervoklassnik-about {
    margin-left: 0;
  }
  .pervoklassnik-about .row {
    margin: 5rem 15px;
  }

  .pervoklassnik-about__btn button:first-child {
    margin-right: 0;
  }
}

/* END About */

/* About bug */

.pervoklassnik-about-bug {
  position: relative;
  margin-bottom: 10%;
}

.pervoklassnik-about-bug .books {
  width: 152px;
  height: 152px;
  position: absolute;
  background-size: contain;
  left: 10%;
  top: 5%;
  transform: rotate(8deg);
  background-image: url(/uploads/media/img/pervoklassnik/book.png);
}
.pervoklassnik-about-bug .art {
  width: 152px;
  height: 152px;
  position: absolute;
  background-size: contain;
  top: -5%;
  right: 20%;
  transform: rotate(-12deg);
  background-image: url(/uploads/media/img/pervoklassnik/art.png);
}

.pervoklassnik-about-bug__bug-info {
  position: relative;
  height: 1000px;
}

.bug-info {
  position: absolute;
  width: 30%;
  z-index: 1;
}

.bug-info__text {
  background: #fff;
  padding: 2rem 7rem;
  border: 1px solid #000;
  border-radius: 60px;
}

.bug-info__text p {
  font-family: "ArtegraSoft-Regular";
  font-size: 16px;
  line-height: 30px;
  text-align: justify;
}

.bug-info.yellow {
  left: 25%;
  top: 15%;
}

.bug-info.pink {
  right: 8%;
  top: 27%;
}

.bug-info.green {
  right: 3%;
  top: 60%;
}

.bug-info.blue {
  left: 8%;
  top: 85%;
}

.bug-info.violet {
  left: 3%;
  top: 45%;
}

@media (max-width: 1680px) {
  .bug-info.violet {
    left: 3%;
    top: 50%;
    width: 40%;
  }
}

.yellow .bug-info__text {
  box-shadow: 0px 15px #ffe882;
}

.pink .bug-info__text {
  box-shadow: 0px 15px #ffc3df;
}
.green .bug-info__text {
  box-shadow: 0px 15px #d6ffdf;
}
.blue .bug-info__text {
  box-shadow: 0px 15px #9ae1ff;
}
.violet .bug-info__text {
  box-shadow: 0px 15px #a899ff;
}

.bug__image {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -35%);
  z-index: 0;
}
.bug__image img {
  width: 390px;
  height: 390px;
}

.pervoklassnik-about-bug__buttons {
  display: flex;
  justify-content: center;
}

.pervoklassnik-about-bug__buttons button {
  margin: 3rem 2rem;
}

@media (max-width: 1260px) {
  .pervoklassnik-about-bug .art,
  .pervoklassnik-about-bug .books {
    display: none;
  }

  .pervoklassnik-about-bug .center {
    justify-content: left;
    text-align: left;
    margin-left: 46px;
  }

  .bug-info__text {
    padding: 1rem 3rem;
  }

  .bug__image img {
    height: 276px;
    width: 276px;
  }

  .bug-info.green {
    right: 8%;
    top: 80%;
  }

  .bug-info.pink {
    right: 2%;
    top: 50%;
  }

  .bug-info.yellow {
    left: 45%;
  }

  .bug-info.violet {
    top: 42%;
  }

  .bug-info {
    width: 40%;
  }
}

@media (max-width: 992px) {
  .pervoklassnik-about-bug__bug-info {
    height: inherit;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .bug-info {
    position: inherit;
    top: inherit;
    left: inherit;
    margin: 25px 20px;
    width: 90% !important;
  }

  .bug__image {
    text-align: center;
    position: inherit;
    transform: inherit;
    top: inherit;
    left: inherit;
  }

  .bug__image img {
    width: 85%;
    height: auto;
  }

  .bug-info.yellow {
    left: inherit;
    top: inherit;
  }

  .bug-info.pink {
    right: inherit;
    top: inherit;
  }

  .bug-info.green {
    right: inherit;
    top: inherit;
  }

  .bug-info.blue {
    left: inherit;
    top: inherit;
  }

  .bug-info.violet {
    top: inherit;
    left: inherit;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .pervoklassnik-about-bug__buttons {
    flex-direction: column;
  }

  .bug-info__text p {
    font-size: 14px;
    line-height: 24px;
  }

  .bug-info {
    margin: 25px 0;
  }

  .pervoklassnik-about-bug__buttons button {
    margin: 20px 0;
  }
}

/* END About bug */

/* Every year */

.pervoklasnik-year {
  position: relative;
  margin-bottom: 150px;
}

.pervoklasnik-year .ball {
  width: 152px;
  height: 152px;
  position: absolute;
  background-size: contain;
  right: 10%;
  top: -20%;
  transform: rotate(12deg);
  background-image: url(/uploads/media/img/pervoklassnik/ball.png);
}

.pervoklasnik-year .title {
  margin-left: 15%;
}

.pervoklasnik-year__subtitle {
  margin: 2% 15%;
}

.pervoklasnik-year__subtitle p {
  font-size: 16px;
  line-height: 30px;
}

.pervoklasnik-year__slider__item {
  margin: 0 3rem;
}

.pervoklasnik-year__slider__item img {
  width: 100%;
}

.pervoklasnik-year__slider .slick-dots {
  width: 70%;
  bottom: -60px;
  background: #eaeaea;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  height: 8px;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.pervoklasnik-year__slider li {
  margin: 0;
  width: 5%;
}

.pervoklasnik-year__slider li.slick-active {
  background: #9ae1ff;
  border-radius: 8px;
  height: 16px;
  width: 65%;
}
.pervoklasnik-year__slider li.slick-active button::before,
.pervoklasnik-year__slider li button::before {
  opacity: 0;
}

.pervoklasnik-year__slider .slick-dots li button:hover:before,
.pervoklasnik-year__slider .slick-dots li button:focus:before {
  opacity: 0;
}

.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
}

.slick-prev:before,
.slick-next:before {
  color: #ffe882;
  font-size: 40px;
  opacity: 1;
}

.pervoklasnik-year__slider .slick-next {
  right: 5%;
  z-index: 1;
}

.pervoklasnik-year__slider .slick-prev {
  left: 5%;
  z-index: 1;
}

@media (max-width: 1260px) {
  .pervoklasnik-year .title {
    margin-left: 46px;
  }

  .pervoklasnik-year__subtitle {
    margin-left: 46px;
    margin-right: 46px;
  }
}

@media (max-width: 992px) {
  .pervoklasnik-year .ball {
    display: none;
  }
}

@media (max-width: 768px) {
  .pervoklasnik-year__subtitle {
    margin-top: 80px;
  }

  .slick-prev,
  .slick-next {
    top: auto;
    bottom: -150px;
  }

  .pervoklasnik-year__slider .slick-next {
    right: 35%;
  }

  .pervoklasnik-year__slider .slick-prev {
    left: 35%;
  }
}

/* End every year */

/* Grafic */

.about-grafic__info {
  display: flex;
  justify-content: center;
  margin: 4rem auto;
  text-align: center;
}
.about-grafic__info p {
  font-weight: normal;
  font-size: 16px;
  line-height: 30px;
}
.about-grafic__info.bold p {
  font-weight: bold;
  font-size: 24px;
  line-height: 36px;
}

@media (max-width: 768px) {
  .about-grafic__info {
    margin: 10rem auto -8rem;
  }
  .about-grafic__info.bold p {
    font-size: 18px;
    line-height: 30px;
  }

  .about-grafic__info:last-child {
    margin-bottom: 0;
  }
}

/* END Grafic */

/* Contact */
.pervoklassnik-contact .row.wrapper {
  margin: 5% 10%;
}

.pervoklassnik-contact .row.contact-info {
  margin: 3rem 10%;
}

.pervoklassnik-contact span.number {
  font-family: "ArtegraSoft-Bold";
  font-weight: bold;
  font-size: 24px;
  line-height: 36px;
}

.pervoklassnik-contact p {
  font-family: "ArtegraSoft-Regular";
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 30px;
  margin: 0;
}

.pervoklassnik-contact .contact-info__item {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.pervoklassnik-contact .contact-info__item > div {
  display: flex;
  flex-direction: column;
  margin-left: 2rem;
}

.pervoklassnik-contact .contact-info__item {
  margin: 1rem auto 0 auto;
}

@media (max-width: 1260px) {
  .pervoklassnik-contact .row.wrapper,
  .pervoklassnik-contact .row.contact-info {
    margin-left: 46px;
  }
}

@media (max-width: 768px) {
  .pervoklassnik-contact .row.wrapper,
  .pervoklassnik-contact .row.contact-info {
    margin: 5% 15px;
  }

  .pervoklassnik-contact span.number {
    font-size: 18px;
    line-height: 30px;
  }

  .pervoklassnik-contact p {
    font-size: 14px;
    line-height: 24px;
  }

  .pervoklassnik-contact .contact-info__item {
    flex-direction: column;
    text-align: center;
  }

  .pervoklassnik-contact .contact-info__item > div {
    margin-left: 0;
  }
}
/* END contact */

/* Form */
.row.pervoklassnik-form {
  margin-left: 10%;
  margin-right: 0;
}
.row.pervoklassnik-form label {
  font-family: "ArtegraSoft-Regular";

  font-weight: normal;
  font-size: 16px;
  line-height: 30px;
}

.row.pervoklassnik-form input {
  height: 80px;
  padding-left: 2rem;
  border-radius: 40px;
}

.pervoklassnik-form .form-group {
  margin: 0;
  padding: 0;
}

.pervoklassnik__soglasie {
  margin: 5rem 0 3rem;
}

.pervoklassnik-form__danger {
  padding: 0;
  padding-left: 15px;
  margin: 6rem 0 3rem;
}

.pervoklassnik-form__danger p {
  font-family: "ArtegraSoft-Regular";
  font-weight: bold;
  font-size: 24px;
  line-height: 36px;
}

.pervoklassnik__alert {
  font-size: 24px;
}

.pervoklassnik-form .select2-selection {
  height: 80px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  padding-left: 1rem;
}

.pervoklassnik-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: inherit;
  right: 2rem;
}

.pervoklassnik__help {
  margin: 5rem 0 3rem;
}

.pervoklassnik__help p.text {
  font-family: "ArtegraSoft-Regular";
  font-weight: normal;
  font-size: 16px;
  line-height: 30px;
}

.pervoklassnik__help p.number {
  font-family: "ArtegraSoft-Bold";
  font-weight: bold;
  font-size: 24px;
  line-height: 36px;
}

@media (max-width: 768px) {
  .row.pervoklassnik-form {
    margin-left: 15px;
    margin-right: 15px;
  }
  .pervoklassnik-form__danger p {
    font-size: 18px;
    line-height: 30px;
  }

  .row.pervoklassnik-form label {
    font-size: 14px;
    line-height: 24px;
  }

  .row.pervoklassnik-form input {
    height: 60px;
  }

  .pervoklassnik-form .select2-selection {
    height: 60px;
  }

  .pervoklassnik__soglasie {
    display: flex;
  }

  .pervoklassnik__soglasie img {
    margin-right: 1rem;
  }

  .pervoklassnik__help p.text {
    font-size: 14px;
    line-height: 24px;
  }

  .pervoklassnik__help p.number {
    font-size: 18px;
    line-height: 30px;
  }
}
/* END Form */

/* Modal */

.modalWindow {
  border: 10px solid #d6ffdf;
}

button.close.closeBigX {
  right: 5%;
  border: none;
  color: #000;
  font-weight: 600;
  text-transform: lowercase;
}

.sendSuccessWindow.pervoklassnik h3 {
  font-family: "ArtegraSoft-Bold";
  font-weight: bold;
  font-size: 50px;
  line-height: 62px;
  text-align: center;
  text-transform: uppercase;
}

.sendSuccessWindow.pervoklassnik h4 {
  font-family: "ArtegraSoft-Bold";
  font-weight: bold;
  font-size: 24px;
  line-height: 36px;
}

.sendSuccessWindow.pervoklassnik p {
  font-family: "ArtegraSoft-Regular";
  font-weight: normal;
  font-size: 16px;
  line-height: 30px;

  text-align: center;
}

.modal-dialog {
  width: 700px;
}

.button__wrapper a {
  margin: 0 1rem;
}

@media (max-width: 768px) {
  .sendSuccessWindow.pervoklassnik h4 {
    font-weight: 300;
    font-size: 48px;
    line-height: 48px;
  }

  .sendSuccessWindow.pervoklassnik p {
    font-size: 18px;
    line-height: 24px;
  }

  .modal-dialog {
    width: 100%;
  }
}
/* END Modal */
/* Footer */

.pervoklassnik-footer {
  margin: 5rem -15px -10px -15px;
}

.pervoklassnik-footer__header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f8f8;
  padding: 1.5rem 0;
}
.pervoklassnik-footer__menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 0;
  background: #f8f8f8;
  position: relative;
}

.pervoklassnik-footer__menu-wrapper::before,
.pervoklassnik-footer__menu-wrapper::after {
  content: "";
  height: 1px;
  background: #000;
  width: 100%;
  position: absolute;
}

.pervoklassnik-footer__menu-wrapper::before {
  top: 0;
}
.pervoklassnik-footer__menu-wrapper::after {
  bottom: 0;
}

.pervoklassnik-footer__header a,
.pervoklassnik-footer__menu-items li a {
  font-family: Montserrat;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}
.pervoklassnik-footer ul {
  display: flex;
  align-items: center;
}
.pervoklassnik-footer li {
  display: block;
}

ul.pervoklassnik-footer__menu-items {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0 10%;
  justify-content: space-between;
  padding-left: 0;
}

ul.pervoklassnik-footer__menu-items li:first-child {
  margin-left: 0;
  padding-left: 0;
}

.pervoklassnik-footer__social-items {
  margin-right: 1rem;
}
.pervoklassnik-footer__menu-items li {
  padding: 0 3rem;
}
.pervoklassnik-footer__social-items li {
  padding: 0 1rem;
}

@media (max-width: 1920px) {
  .pervoklassnik-footer {
    margin: 0;
    margin-top: 8rem;
  }
}

@media (max-width: 1458px) {
  .pervoklassnik-footer__menu-items li {
    padding: 0 1rem;
  }
}

@media (max-width: 1260px) {
  .pervoklassnik-footer__menu-items li {
    padding: 0 1rem;
  }
}

@media (max-width: 1077px) {
  ul.pervoklassnik-footer__menu-items {
    margin: 0 2%;
  }
}

@media (max-width: 992px) {
  .pervoklassnik-footer__header {
    display: none;
  }
  .pervoklassnik-footer__menu-wrapper {
    flex-direction: column;
    background: #fffdef;
  }
  ul.pervoklassnik-footer__menu-items {
    flex-direction: column;
    align-items: center;
  }
  .pervoklassnik-footer__menu-items li {
    padding: 2rem 0;
  }
  .pervoklassnik-footer__social-items {
    margin: 1rem 0;
  }
  ul.pervoklassnik-footer__social-items {
    margin: 0;
    padding: 0;
  }
  .pervoklassnik-footer__social-items li {
    padding: 0 2rem;
  }
}

/* END Footer */

/* START Rules */
.rules {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  display:flex;
  flex-direction: column;
  gap: 20px;
}

.rules h2 {
  font-family: "ArtegraSoft-Regular", serif;
}

.rules p {
  font-family: "ArtegraSoft-Regular", serif;
  font-size: 16px;
  line-height: 30px;
}

.rules__link {
  text-decoration: underline;
  color: blue;
  font-family: "ArtegraSoft-Regular", serif;
}

/* END Rules */