section {
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1199px) {
  section {
    padding: 0 calc((100% - 92vw) / 2);
  }
}
.hero__panel {
  position: relative;
  padding-top: 0px;
  background-color: #f0f0f0;

  h2 {
    font-size: 3.5rem;
    font-weight: 400;
    color: black;
    margin-bottom: 0.5rem;
    text-wrap: wrap;
  }

  .header-wrapper {
    width: 50%;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
  }

  img {
    width: 340px;
  }

  .header__text {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  .hero__backlink {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    position: relative;
  }
  .hero__backlink:hover {
    /* gap: 0.5rem; */
    text-decoration: underline;
  }
  .arrow__wrapper {
    transition: all 0.12s ease-in-out;
    width: 0px;
    display: block;
    overflow: hidden;
    position: absolute;
    left: -4px;
    top: 1px;
  }
  .hero__backlink:hover .arrow__wrapper {
    width: 20px;
    left: -24px;
  }
}

.hero__panel-content {
  margin-top: 0rem;
  width: min(92vw, 1120px);
  display: flex;
  flex-direction: row;
  /* align-items: flex-end; */
}

.hero-image-wrapper {
  width: 50%;
  /* width: min(90%,400px); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  /* padding-left: 0; */
  /* height: 50cqw; */
  /* aspect-ratio: 1/1; */
}
.owl-carousel {
  width: min(90%, 400px) !important;
  display: block;
  z-index: 1;
}
.owl-item {
  width: 450px;
}
.navigation {
  background-color: white;
  margin: 2rem auto 0;
  border-radius: 24px;
  padding: 0.5rem 1rem;
  box-shadow: 0 3px 20px hsla(0, 0%, 4%, 0.02);
}
.navigation .previous,
.navigation .next {
  cursor: pointer;
}
.navigation .count {
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  margin: 0px 12px;
}

@media (max-width: 1023px) and (min-width: 501px) {
  .hero__panel {
    .hero-image-wrapper {
      padding: 3rem;
    }
  }
}
@media (max-width: 500px) {
  .hero__panel-content {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .hero__panel {
    .header-wrapper {
      width: 100%;
      padding: 1rem;
    }
    .hero-image-wrapper {
      width: 100%;
      padding: 3rem 2rem;
    }
    img {
      height: 200px;
      /* aspect-ratio: 1/1; */
      width: auto;
    }
    h2 {
      font-size: 2.5rem;
    }
    .hero__backlink {
      gap: 0.5rem;
    }
    .hero__backlink .arrow__wrapper {
      width: 20px;
      left: 0px;
    }
    .arrow__wrapper {
      position: relative;
      width: 20px;
    }
    .subheader {
      font-size: 1rem;
    }
    #colors-wrapper {
      margin-top: 1rem;
      margin-bottom: 1rem;
    }
    a.color-select {
      padding: 0.675rem;
    }

    #colors-wrapper .color__text {
      display: none;
    }
  }
}

.hero__panel .subheader {
  font-size: 1.2rem;
  /* color: var(--text-grey); */
}
/* color switch */
#colors-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 4rem;
}

a.color-select {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  border: solid 1px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  padding-right: 1rem;
  width: fit-content;
  transition: all 0.12s ease-in-out;

  .color {
    /* border: solid 1px black; */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: block;
    position: relative;
    transition: all 0.12s ease-in-out;
  }
  #color-black {
    background: linear-gradient(-45deg, #111111, #404040);
  }
  #color-ivory {
    background: linear-gradient(-45deg, #e5e0d4, #f0efe9);
  }
  #color-white {
    background: linear-gradient(-45deg, #ccc, #e5e5e5);
  }
  .color__text {
    text-transform: uppercase;
    /* font-size: 1.2rem; */
    font-weight: 500;
  }
}
a.color-select.active {
  border: solid 2px rgba(0, 0, 0, 1);
}
a.color-select:hover:not(.active) .color {
  transform: scale(0.8);
}

.chars img {
  /* width: 50%; */
  width: calc((100% - 4rem)/2);
  object-fit: cover;
}
.chars .header-wrapper {
  width: 50%;
  padding: 1rem 0 1rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#panel-chars {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
}
.panel__char-char {
  font-size: 1.35rem;
  font-weight: 400;
}
.panel__char-name {
  font-size: 0.875rem;
}
h4 {
  font-size: 1.35rem;
}
.vr {
  position: relative;
  height: 100%;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

@media (max-width: 1023px) {
  .chars .hero__panel-content {
    flex-direction: column;
    width: 92vw;
  }
  .chars img {
    width: 100%;
    max-height: 200px;
  }
  .chars .header-wrapper {
    width: 100%;
    padding: 0;
    padding-top: 2rem;
  }
  #panel-chars {
    margin-top: 2rem;
  }
  .panel__char-char {
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 400;
  }
  .vr {
    height: auto;
  }
}
@media (max-width: 500px) {
  .panel__char-char {
    font-size: 1.1rem;
    line-height: 1.1;
    font-weight: 500;
  }
}

section#panel__contacts {
  .contact__ctas {
    width: 1120px;
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
  .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: white;
  }

  .btn--email {
    width: fit-content;
    background-color: black;
    flex: 2;
  }
  .btn--email:hover {
    background-color: lch(from black calc(l + 20) c h);
  }
  .btn--whatsapp {
    background-color: #25d366;
  }
  .btn--whatsapp:hover {
    background-color: lch(from #25d366 calc(l - 10) c h);
  }
  .btn--telegram {
    background-color: #1d98dc;
  }
  .btn--telegram:hover {
    background-color: lch(from #1d98dc calc(l - 10) c h);
  }
}

@media (max-width: 500px) {
  section#panel__contacts {
    .contact__ctas {
      width: 100%;
      flex-wrap: wrap;
      flex-shrink: 0;
    }
    .btn {
      flex: 1 0 100%;
    }
    .btn--email {
      width: 100%;
    }
  }
}
