:root {
  --text-color: #312c27;
  --main-bg: #fff9f4;
  --main-color-btn: #ffa55c;
}

body {
  font-family: "Montserrat";
  font-weight: 500;
  line-height: 1.5;

  color: var(--text-color);
  background-color: var(--main-bg);
}

.wrapper {
  min-height: 100%;
  width: 100%;
  overflow: hidden;

  display: flex;
  flex-direction: column;
}

.main {
  flex-grow: 1;
}

.container {
  max-width: 1310px;
  height: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.sign-up-on-course {
  border-radius: 60px;
  padding: 18px 36px;
  width: 358px;
  height: 62px;
  background-color: var(--main-color-btn);
  line-height: 160%;
  text-align: center;
  font-weight: 500;

  transition: all 0.4s;
}

.sign-up-on-course:hover {
  background-color: #ff9138;
}

.hero__controls--mobile {
  display: none;
}
/* ======================================== */

/* =============== HEADER-TOP ==================*/

.header {
  background: url(../img/decors/bg-1.png) 50% 100% / cover no-repeat;
  z-index: 1;
}

.header__top {
  padding-top: 19px;
}

.header__inner-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo img {
  max-width: 175px;
  min-height: 60px;
  z-index: 11;
  position: relative;
}

.nav__list {
  display: flex;
  gap: 2vh 40px;
  justify-content: flex-end;
  align-items: center;
}

.nav__link {
  display: block;
  padding: 18px 0;

  position: relative;
}

.nav__link::before {
  content: "";
  position: absolute;

  left: -13px;
  top: 5px;
  background-color: var(--main-color-btn);
  width: 34px;
  height: 34px;
  border-radius: 100%;
  z-index: -1;

  opacity: 0;
  transition: all 0.7s;
}

.nav__link:hover::before {
  opacity: 1;
}

/* ================================ */
.burger-icons {
  display: none;
  width: 60px;
  height: 60px;

  justify-content: center;
  align-items: center;
  z-index: 11;
}

.burger-icons span,
.burger-icons span::after,
.burger-icons span::before {
  content: "";
  width: 35px;
  height: 4px;

  background-color: var(--text-color);
  border-radius: 15px;
  transition: all 0.8s;
  position: absolute;
}

.burger-icons span::after {
  top: 10px;
}

.burger-icons span::before {
  bottom: 10px;
}

.body--burger-menu span::after {
  top: 0;
  transform: rotate(45deg);
}

.body--burger-menu span::before {
  transform: rotate(-45deg);
  bottom: 0;
}

.body--burger-menu span {
  background-color: transparent;
}
/* ================hero===================== */

.hero {
  padding: 48px 0 140px;
}

.hero__inner {
  display: flex;
  justify-content: center;
  gap: 0 140px;
}

.hero__text {
  display: flex;
  flex-direction: column;
}

.hero__text-over {
  padding-top: 82px;
  color: #b197b2;
  line-height: 1.6;
  margin-bottom: 20px;

  display: flex;
  flex-wrap: wrap;
}

.hero__text-over span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background-color: #b197b2;
  display: inline-block;
  margin: 0 10px;
  vertical-align: middle;
}

.hero__text-over span:last-child:after {
  content: none;
}

.hero__main {
  max-width: 520px;
}

.hero__main-title {
  font-family: "Gabriola";
  font-weight: 400;
  font-size: 74px;
  line-height: 82%;
  color: #1f1711;
  margin-bottom: 30px;
}

.hero__main-sub-title {
  max-width: 320px;
  min-height: 72px;

  margin-bottom: 40px;
}

.hero-girl {
  position: relative;
  margin-right: 147px;
}

.hero__controls {
  position: absolute;
  bottom: 10%;
  left: calc(100% - 39px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  max-width: 200px;
}

.play {
  border-radius: 50%;
  background-color: #ffe0cb;
  box-shadow: 0 4px 20px 0 rgba(184, 148, 126, 0.3);
  width: 78px;
  height: 78px;
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  flex-shrink: 0;
}

.play::before {
  position: absolute;
  content: "";
  inset: 7%;
  border-radius: 50%;
  border: var(--main-color-btn) 1px solid;
  opacity: 0;
  transition: all 0.7s;
}

.play:hover::before {
  opacity: 1;
}
.play img {
  padding-left: 5%;
}

/* ================================media================= */

@media (max-width: 1140px) {
  .hero__inner {
    justify-content: center;
    gap: 0 30px;
  }
  .hero__controls {
    position: absolute;
    bottom: -10px;
    left: 0px;
    max-width: fit-content;
  }
  .hero-girl img {
    max-width: 300px;
  }
  .hero-girl{
    margin-right: 0px;
  }
  .hero__controls {
    text-align: center;
  }
}

@media (max-width: 870px) {
  .nav {
    position: fixed;
    background-color: var(--main-bg);
    inset: 0;
    z-index: 10;
    padding: 12vh 15px 30px;
    font-size: 24px;

    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s;
  }

  .nav__list {
    align-items: center;
    flex-direction: column;
  }

  .body--burger-menu .nav {
    transform: translateY(0%);
    opacity: 1;
    visibility: visible;
  }
  .burger-icons {
    display: flex;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero__main-title {
    font-size: 44px;
  }
  .hero__text-over {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero__main-sub-title {
    max-width: none;
    margin-bottom: -20px;
  }
  .hero__controls {
    position: static;
    max-width: none;
    margin-bottom: 20px;
  }
  .hero__controls--mobile {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: none;
    gap: 20px;
    margin-bottom: 20px;
  }
  .adaptive-mobile {
    display: flex;
    justify-content: center;
  }
  .hero-girl {
    display: none;
  }
}

/* ====================================== */