@import url('bespoke-serif.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: BespokeSerif-Medium;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  /* applies to all anchor jumps */
}

a,
a:visited {
  color: inherit;
}

body {
  background-image: url('../images/bg-all-light.png');
  background-size: auto 20%;
}

body.blurred>*:not(.nav):not(.sidebar) {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s;
}

@media (max-width: 837px) {
  body {
    background-size: auto 10%;
  }
}

.nav {
  background: linear-gradient(135deg, #6B4A7D, #C9B2DD);
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hamburguer {
  font-size: 1.3em;
  color: white;
  align-self: center;
  justify-self: center;
  padding-left: 1em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hamburguer:hover {
  color: #403766;
  transition: all 0.2s ease;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #403766;
  color: #fff;
  transition: left 0.3s;
  z-index: 998;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  padding-top: 6em;
  gap: 1.6em;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  align-items: center;
}

.sidebar a {
  text-decoration: none;
  padding-bottom: 0.2em;
  font-size: 1.2em;
  transition: color 0.2s;
  width: 88%;
  text-align: center;
  border-bottom: solid 1px white;
}

.sidebar a:hover {
  color: grey;
  transition: color 0.2s;
}

.sidebar.active {
  left: 0;
}

@media (max-width: 851px) {
  html {
    scroll-padding-top: 170px;
  }

  .sidebar {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 150px;
    background: #403766;
    color: #fff;
    transition: top 0.3s;
    z-index: 998;
    padding: 0 1em;
    padding-top: 60px;
    display: flex;
    flex-direction: row;
    padding-top: 6em;
    gap: 2em;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    align-items: center;
    justify-content: center;
  }

  .sidebar.active {
    top: 0;
  }
}

@media (max-width: 432px) {
  html {
    scroll-padding-top: 180px;
  }

  .sidebar {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 230px;
    background: #403766;
    color: #fff;
    transition: top 0.3s;
    z-index: 998;
    padding: 0 1em;
    padding-top: 60px;
    display: flex;
    flex-direction: row;
    padding-top: 7em;
    gap: 2em;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    align-items: center;
    justify-content: center;
  }

  .sidebar a {
    border: none;
  }

  .sidebar.active {
    top: 0;
  }
}

.name {
  font-family: BespokeSerif-Bold;
  padding: 1em;
  color: white;
}

.icon {
  align-self: center;
  margin-left: auto;
  margin-right: 1em;
}

.icon-img {
  width: 50px;
  height: 50px;
  border-radius: 25%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.elem {
  opacity: 0;
  transition: all 1.2s ease-out;
}

.elem.show {
  opacity: 1;
}

.hidden {
  opacity: 0;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 150ch;
}

.center {
  justify-content: center;
}

.title {
  font-family: BespokeSerif-Bold;
  padding-top: 1em;
  padding-bottom: 0.4em;
  color: #403766;
  text-align: center;
}

.title-first {
  margin-top: 90px;
}

.title-plans {
  color: white;
  padding: 0.8em 0.4em;
}

.text {
  /* font-family: BespokeSerif-Regular; */
  color: #403766;
  line-height: 1.5em;
  text-align: justify;
  align-self: center;
  padding: 0 1em;
  width: 56ch;
  font-size: 1.1em;
}

.text-inside {
  padding: 0.2em 0;
}

.small {
  align-self: flex-start;
}

.down {
  width: 115ch;
}

.lecture {
  text-align: center;
  width: 85ch;
}

.text-to-contact {
  text-decoration: underline;
}

@media (max-width: 1165px) {
  .down {
    width: 56ch;
  }
}

@media (max-width: 837px) {
  .lecture {
    text-align: justify;
    width: 56ch;
  }
}

.myself {
  width: 250px;
  height: 250px;
  border-radius: 10%;
}

.plans-bg {
  background: linear-gradient(135deg, #C9B2DD, #6B4A7D);
  margin-top: 2em;
  width: 100%;
}

.plans {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  /* align-items: center; */
  padding: 0 35px;
  max-width: 150ch;
  width: 100%;
  position: relative;
}

.plans .carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  list-style: none;
}

.carousel .card {
  width: 380px;
  max-width: 100%;
  flex: 1 1 300px;
}

@media (max-width: 837px) {
  .carousel .card {
    width: 100%;
    max-width: 380px;
  }

  .plans {
    padding: 0 16px;
    flex-direction: column;
    align-items: center;
  }
}

.text-hidden {
  visibility: hidden;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin: 1em;
  margin-bottom: 0.3em;
  z-index: 1;
}

.plan-label {
  padding: 6px 14px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 2em;
  color: white;
}

.light-yellow-label {
  background: linear-gradient(135deg, #d4a017, #8b6f00);
  border: 2px ridge rgba(255, 230, 180, 0.8);
}

.yellow-label {
  background: linear-gradient(135deg, #d97706, #92400e);
  border: 2px ridge rgba(255, 230, 180, 0.8);
}

.green-label {
  background: linear-gradient(135deg, #047857, #065f46);
  border: 2px ridge rgba(180, 255, 210, 0.6);
}

.light-green-label {
  background: linear-gradient(135deg, #0f766e, #0fbf96);
  border: 2px ridge rgba(160, 230, 220, 0.6);
}

.light-light-green-label {
  background: linear-gradient(to left, #c6efd9, #0f766e);
  border: 2px ridge rgba(135, 180, 140, 0.6);
}

.light-yellow-number {
  background: linear-gradient(135deg, #ffe066, #ffd700);
  border: 2px solid rgba(255, 245, 180, 0.95);
}

.yellow-number {
  background: linear-gradient(135deg, #ffd166, #ffb300);
  border: 2px solid rgba(255, 245, 180, 0.95);
}

.green-number {
  background: linear-gradient(135deg, #1de9b6, #00e676);
  border: 2px solid rgba(180, 255, 210, 0.85);
}

.light-green-number {
  background: linear-gradient(135deg, #5fffd7, #1de9b6);
  border: 2px solid rgba(160, 255, 220, 0.85);
}

.light-light-green-number {
  background: linear-gradient(to left, #e0ffe6, #5fffd7);
  border: 2px solid rgba(180, 255, 200, 0.85);
}

.carousel .card {
  /* font-family: BespokeSerif-Regular; */
  list-style: none;
  border-radius: 50px;
  display: flex;
  padding-bottom: 15px;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  color: #403766;
}

.light-yellow {
  background: #fff7e6;
}

.yellow {
  background: #fff1d6;
}

.green {
  background: #c6efd9;
}

.amber {
  background: #fbe4c8;
}

.light-green {
  background: #dff7ec;
}

.light-light-green {
  background: #f3fdf8;
}

.card-amber {
  border: 7px solid #d9772b;
}

.card-green {
  border: 7px solid #00e676;
}

.card-yellow {
  border: 7px solid #ffdc44;
}

.price {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 5em;
  color: #403766;
}

.price-line {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3em;
}

.old-price {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 2.5em;
  opacity: 0.85;
  margin-top: 0.6em;
  color: #d92b2b;
}

.old-price::after {
  content: "";
  position: absolute;
  left: -4%;
  top: 50%;
  width: 108%;
  height: 3px;
  background: #d92b2b;
  border-radius: 2px;
}

.hour-box {
  padding-bottom: 0.6em;
}

.hour {
  /* font-family: BespokeSerif-Regular; */
  font-size: 1.5em;
  color: #403766;
}

.topics {
  list-style: none;
  padding-left: 0;
}

.topic {
  color: #403766;
  padding-top: 0.4em;
  position: relative;
  padding-left: 2em;
  list-style: none;
}

.topic::before {
  content: "⭐";
  position: absolute;
  left: 0;
  font-size: 0.8em;
}

.offer {
  font-family: BespokeSerif-Bold;
  color: #d9772b;
}

.extras {
  padding: 1em;
}

.asterisk {
  color: darkred;
}

.plans-down {
  /* font-family: BespokeSerif-Regular; */
  color: rgb(219, 219, 219);
  font-size: 1.1em;
  max-width: 150ch;
}

@media (max-width: 837px) {
  .plans-down {
    padding: 0.5em 0;
    text-align: justify;
  }
}

.contacts {
  background-color: #403766;
  padding-bottom: 1rem;
}

.title-contacts {
  font-family: BespokeSerif-Bold;
  padding-top: 1em;
  padding-bottom: 0.4em;
  padding-left: 1em;
  color: white;
  text-align: left;
}

.footer {
  padding-left: 1em;
  padding-bottom: 0.2em;
  font-size: 1.1em;
  color: white;
  display: flex;
  gap: 1.6em;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  max-width: 150ch;
  margin-left: auto;
  margin-right: auto;
}

.text-footer {
  /* font-family: BespokeSerif-Regular; */
  padding-left: 2em;
  text-decoration: none;
}

.footer i {
  position: absolute;
  top: 23%;
}