@font-face {
  font-family: "Enthalpy 298";
  src: url("../fonts/enthalpy_298.eot");
  src: url("../fonts/enthalpy_298.eot?#iefix") format("embedded-opentype"), url("../fonts/enthalpy_298.woff2") format("woff2"), url("../fonts/enthalpy_298.woff") format("woff"), url("../fonts/enthalpy_298.ttf") format("truetype"), url("../fonts/enthalpy_298.svg#enthalpy_298") format("svg");
}
@font-face {
  font-family: "Kreadon-B";
  src: url("../fonts/Kreadon-B.eot");
  src: url("../fonts/Kreadon-B.eot?#iefix") format("embedded-opentype"), url("../fonts/Kreadon-B.woff2") format("woff2"), url("../fonts/Kreadon-B.svg#Kreadon-B") format("svg"), url("../fonts/Kreadon-B.ttf") format("truetype"), url("../fonts/Kreadon-B.woff") format("woff");
}
@font-face {
  font-family: "Santello";
  src: url("../fonts/Santello-Regular.woff2") format("woff2"), url("../fonts/Santello-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 20px;
}

body {
  font-size: 18px;
  font-family: "Santello";
  font-weight: 400;
  line-height: normal;
}

h1 {
  font-family: "Enthalpy 298";
  font-size: 80px;
  font-weight: 400;
  line-height: 100%;
}

h2 {
  font-family: "Kreadon-B";
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: normal;
  margin: 0 0 60px;
}
h2 span {
  color: #C31B1E;
}

p {
  margin: 0;
}

.container {
  max-width: 1440px;
  padding: 0 100px;
  margin-inline: auto;
  width: 100%;
}

button, .button {
  display: block;
  text-transform: uppercase;
  text-decoration: none;
  width: -moz-fit-content;
  width: fit-content;
  color: #352520;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #352520;
  transition: 300ms;
}
button:hover, .button:hover {
  color: #C31B1E;
  border: 1px solid #C31B1E;
}
button.button--dark, .button.button--dark {
  color: #F2F5F4;
  background: #352520;
}
button.button--dark:hover, .button.button--dark:hover {
  background: #C31B1E;
}

.subtitle {
  font-size: 24px;
  text-transform: uppercase;
}

.d-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.d-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
}

.col-9 {
  grid-column: span 9;
}

.section-wrapper {
  padding: 150px 0;
}

.section-title {
  font-size: 20px;
  color: #848484;
  text-transform: uppercase;
  grid-column: span 3;
}

.header__logo {
  font-family: "Enthalpy 298";
  font-size: 40px;
}

.header__nav a {
  text-transform: uppercase;
  color: #352520;
  text-decoration: none;
  font-size: 16px;
  transition: 300ms;
}
.header__nav a:hover {
  color: #C31B1E;
}
.header__nav ul {
  display: flex;
  -moz-column-gap: 44px;
       column-gap: 44px;
}

.menu__toggle {
  display: none;
}
.menu__toggle svg {
  width: 32px;
  height: 32px;
}

header {
  position: fixed;
  z-index: 10;
  width: 100%;
  padding: 50px 0;
  transition: 300ms;
}
header.header--fixed {
  background: #FFF;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.header-wrapper {
  align-items: center;
}

.header__socials, .footer__socials {
  gap: 16px;
}
.header__socials a, .footer__socials a {
  text-decoration: none;
}
.header__socials svg, .footer__socials svg {
  width: 30px;
  height: 30px;
  fill: #352520;
  transition: 300ms;
}
.header__socials svg:hover, .footer__socials svg:hover {
  fill: #C31B1E;
}

.main {
  height: 850px;
  background-image: url("../img/1920.jpg");
  background-size: cover;
  background-position: bottom;
  padding-top: 100px;
}
.main .container {
  height: 100%;
}

.main__content {
  height: 100%;
}
.main__content h1 {
  padding-top: 235px;
  margin: 0;
  text-align: right;
}
.main__content svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  height: 82px;
}

.main__heading {
  position: relative;
  display: flex;
}

.about__content {
  grid-column: span 9;
}
.about__content img {
  margin-top: -100px;
  margin-right: -80px;
}

.about__content p {
  max-width: 600px;
}

.gallery-items {
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  grid-auto-flow: dense;
}

.gallery__item {
  max-width: 100%;
  height: 400px;
}
.gallery__item--span-2 {
  grid-column: span 2;
}
.gallery__item--span-3 {
  grid-column: span 3;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: var(--object-position);
     object-position: var(--object-position);
}

.benefit-items {
  flex-direction: column;
  row-gap: 24px;
}

.benefit__row {
  align-items: flex-start;
}

.benefit__title {
  text-transform: uppercase;
  font-size: 24px;
  display: flex;
  -moz-column-gap: 16px;
       column-gap: 16px;
  align-items: center;
}
.benefit__title::before {
  content: "";
  height: 4px;
  width: 25px;
  background: linear-gradient(100deg, #C31B1E 0%, rgba(195, 27, 30, 0) 100%);
  display: inline-flex;
}

.benefit__text {
  text-align: left;
  flex-basis: 390px;
}
.benefit__text p {
  margin: 0;
}

.system {
  background: #F2F5F4;
}
.system .section-wrapper {
  padding: 75px 0;
}

.system-methods {
  display: flex;
  -moz-column-gap: 35px;
       column-gap: 35px;
  text-transform: uppercase;
}
.system-methods ul {
  padding: 0;
  margin: 0;
  list-style: none;
  flex-direction: column;
  gap: 24px;
}

.teacher__desc {
  justify-content: space-between;
}

.desc__item:not(:last-child) {
  margin-bottom: 40px;
}
.desc__item p {
  margin: 0;
  margin-left: 50px;
  padding-bottom: 16px;
}
.desc__item p:not(:first-of-type) {
  padding-top: 16px;
}
.desc__item p:not(:last-child) {
  border-bottom: 1px solid #D9D9D9;
}

.teacher__content h2 {
  font-size: 35px;
}

.teacher__text-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.teacher__text-title::before {
  content: "";
  height: 4px;
  width: 25px;
  background: linear-gradient(100deg, #C31B1E 0%, rgba(195, 27, 30, 0) 100%);
  display: inline-flex;
}

.teacher__text {
  flex-basis: 390px;
}

.teacher__pic {
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.teacher__pic img {
  margin-bottom: 48px;
}
.teacher__pic button {
  width: -moz-fit-content;
  width: fit-content;
}

.contacts {
  background-color: #F2F5F4;
}
.contacts .section-wrapper {
  padding: 75px 0;
}

.contacts__text {
  flex-basis: 390px;
}
.contacts__text > p {
  margin-bottom: 48px;
}

.contacts__title {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  margin-bottom: 24px;
}
.contacts__title::before {
  content: "";
  height: 4px;
  width: 25px;
  background: linear-gradient(100deg, #C31B1E 0%, rgba(195, 27, 30, 0) 100%);
  display: inline-flex;
}

.contacts__variant {
  padding-bottom: 16px;
  margin-left: 50px;
}
.contacts__variant span {
  color: #C31B1E;
}
.contacts__variant:not(:first-of-type) {
  padding-top: 16px;
}
.contacts__variant:not(:last-child) {
  border-bottom: 1px solid #D9D9D9;
}

#map {
  margin-bottom: 48px;
}

.contacts__map {
  flex-direction: column;
  justify-content: flex-start;
}

.scroll-top {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  background: #FFF;
  bottom: 100px;
  right: 100px;
  visibility: hidden;
  opacity: 0;
  transition: 300ms;
  border: 1px solid #352520;
  padding: 14px;
}
.scroll-top--visible {
  visibility: visible;
  opacity: 1;
}
.scroll-top img {
  transition: 400ms;
}
.scroll-top:hover {
  cursor: pointer;
}
.scroll-top:hover img {
  transform: translateY(-7px);
}

.feedback__form {
  flex-basis: 390px;
}
.feedback__form > p {
  margin-bottom: 48px;
}
.feedback__form form {
  flex-direction: column;
  gap: 16px;
}
.feedback__form form button {
  width: 100%;
}

.input-group {
  position: relative;
}
.input-group input {
  padding: 21px 0 5px 18px;
  width: 100%;
  font: inherit;
  height: 49px;
  background: #F2F5F4;
  border: none;
  color: #352520;
  outline: none;
}
.input-group input.valid--error {
  background: #FFD7D7;
}
.input-group input.valid--error + label {
  color: #C31B1E;
}
.input-group input::-moz-placeholder {
  opacity: 0;
}
.input-group input::placeholder {
  opacity: 0;
}
.input-group input:not(:-moz-placeholder-shown) + label {
  transform: translate(18px, 4px);
  font-size: 13px;
}
.input-group input:focus + label, .input-group input:not(:placeholder-shown) + label {
  transform: translate(18px, 4px);
  font-size: 13px;
}
.input-group input:not(:-moz-placeholder-shown) + .clear-button {
  visibility: visible;
  opacity: 1;
}
.input-group input:focus + .clear-button, .input-group input:not(:placeholder-shown) + .clear-button {
  visibility: visible;
  opacity: 1;
}
.input-group label {
  width: 100%;
  position: absolute;
  transform: translate(18px, 13px);
  transition: 300ms;
  left: 0;
  color: #848484;
  pointer-events: none;
}

.clear-button {
  position: absolute;
  top: 12px;
  right: 9px;
  visibility: hidden;
  opacity: 0;
  transition: 300ms;
}
.clear-button--visible {
  visibility: visible;
  opacity: 1;
}

.policy-input-group {
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 48px;
  flex-wrap: nowrap;
}
.policy-input-group a {
  color: #352520;
}

.checkmark {
  position: relative;
  display: flex;
  align-items: center;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  border: 1px solid #352520;
  background-color: transparent;
  transition: 0.3s;
}
.checkmark::after {
  content: "";
  position: absolute;
  display: block;
  left: 8px;
  top: 3px;
  width: 7px;
  height: 15px;
  border: solid #352520;
  border-top-width: medium;
  border-right-width: medium;
  border-bottom-width: medium;
  border-left-width: medium;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: 0.3s;
  border-radius: 2px;
}

.custom-checkbox {
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: transparent;
}
.custom-checkbox input:checked ~ .checkmark::after {
  opacity: 1;
}

footer {
  padding: 45px 0 25px;
  background-color: #352520;
  color: #FFF;
}
footer a {
  color: #FFF;
  text-decoration: none;
  transition: 300ms;
}
footer a:hover {
  color: #C31B1E;
}

.footer-row {
  align-items: flex-start;
}

.footer__logo {
  font-family: "Enthalpy 298";
  font-size: 40px;
  margin-bottom: 24px;
}

.footer__contacts {
  align-items: center;
}

.footer-col .button {
  border: 1px solid #FFF;
  color: #FFF;
  margin-bottom: 24px;
}
.footer-col .button:hover {
  color: #C31B1E;
  border: 1px solid #C31B1E;
}
.footer-col > p {
  margin-bottom: 19px;
}
.footer-col a > img {
  padding-left: 12px;
}
.footer-col ul {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__socials svg {
  fill: #FFF;
}

.success-modal-overlay {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  z-index: 15;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.success-modal-overlay--visible {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}

.success-modal {
  background: #FFF;
  padding: 200px 100px;
  position: relative;
  text-align: center;
}
.success-modal .modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
}

.success__heading {
  font-family: "Kreadon-B";
  text-transform: uppercase;
  font-size: 36px;
  margin-bottom: 20px;
}

.modal-close {
  cursor: pointer;
}

.header__form {
  display: none;
}

.header__nav-close {
  display: none;
}

@media screen and (max-width: 1280px) {
  h1 {
    font-size: 64px;
  }
  .container {
    max-width: 1120px;
    padding: 0 40px;
  }
}
@media screen and (max-width: 1024px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 20px;
  }
  .subtitle {
    font-size: 18px;
  }
  .caption {
    font-size: 12px;
  }
  .container {
    max-width: 1440px;
    padding: 0 100px;
  }
}
@media screen and (max-width: 768px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 16px;
  }
  .container {
    max-width: 1440px;
    padding: 0 40px;
  }
  .header__form {
    display: block;
  }
  .header__nav-close {
    display: block;
  }
  .header__nav {
    padding: 50px 100px 55px 50px;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: 450ms all ease-in-out;
    background: #fff;
    width: 100%;
    height: 100dvh;
    top: 0;
    left: 0;
  }
  .header__nav ul {
    gap: 16px;
    flex-direction: column;
    margin-bottom: 40px;
  }
  .header__nav--visible {
    opacity: 1;
    visibility: visible;
  }
  .menu__toggle {
    display: flex;
  }
  .header__button {
    display: none;
  }
  .header__form {
    max-width: 315px;
  }
  .header__form .subtitle {
    font-family: "Kreadon-B";
    font-size: 20px;
    margin-bottom: 20px;
    max-width: 273px;
  }
  .header__form span {
    color: #C31B1E;
  }
  .header__form form {
    gap: 16px;
    flex-direction: column;
  }
  .header__form form button {
    font-size: 14px;
    width: 100%;
  }
  .header__form .policy-input-group {
    font-size: 10px;
    margin-bottom: 29px;
  }
  .header__form .policy-input-group a {
    font-size: 10px;
    text-transform: none;
    text-decoration: underline;
  }
  .header__nav-close {
    position: absolute;
    top: 25px;
    right: 30px;
  }
  .header__nav-close svg {
    width: 30px;
    height: 30px;
  }
  .scroll-top {
    bottom: 20px;
    right: 20px;
  }
}
@media screen and (max-width: 480px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  .subtitle {
    font-size: 14px;
  }
  .caption {
    font-size: 10px;
  }
  .container {
    max-width: 1720px;
    padding: 0 40px;
  }
}/*# sourceMappingURL=main.css.map */