/* =========== button =============== */
.button {
  width: fit-content;
  padding: 14px 15px;
  outline: none;
  text-decoration: none;
  display: flex;
  justify-content: center;
  border-radius: 8px;
}

.button-red {
  background-color: #d60300;
  border: 2px solid #750000;
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.button-grey {
  background-color: rgb(34, 34, 34);
  font-family: 'Inter';
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border: 1px solid #666666;
}

.button-multiline {
  flex-direction: column;
  align-items: center;
}
.button-multiline div:nth-child(1) {
  font-family: 'Roboto';
  font-size: 23px;
  font-weight: 700;
  line-height: 28px;
}
.button-multiline div:nth-child(2) {
  font-family: 'Roboto';
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
}

/* ======= section title ============ */

.section__title {
  font-family: 'Montserrat';
  text-transform: uppercase;
  font-size: 10px;
  line-height: 10px;
  font-weight: 500;
  color: rgb(189, 189, 189);
  margin: 14px auto;
  padding: 6px 10px; 
  border-radius: 11px;
  background-color: rgba(51, 51, 51, 0.5);
  border: 1px solid rgb(112, 112, 112);
  width: fit-content;
}

.section__title-bold {
  padding: 0;
  border: none;
  margin: 10px auto;
  text-align: center;
  border-radius: 0px;
  text-transform: none;

  font-family: Oswald;
  font-size: 38px;
  font-weight: 700;
  line-height: 42px;
  background-color: transparent;
  color: var(--dark-grey-text-color);
  padding: 0 10px;
}
.section__title-bold span {
  color: rgb(214, 7, 0);
}

.section__subtitle {
  color: rgb(158, 158, 158);
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.5;
  font-weight: 700;
  font-family: 'Roboto';
  text-align: center;
  padding: 0 10px;
}

.section__title-cursive {
  text-align: center;
  padding: 20px;
  margin: 10px auto;
  font-family: 'Caveat';
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -1.4px;
  color: rgb(158, 158, 158);
}
.section__title-cursive span {
  color: rgb(219, 8, 21);
}

.section__subtitle-italic {
  font-size: 18px;
  font-style: italic;
  letter-spacing: -1px;
  text-align: center;
  font-family: 'Roboto';
  color: rgb(158, 158, 158);
}

@media (max-width: 768px) {
  .section__title-bold {
    font-size: 32px;
    line-height: 36px;
  }
  .section__subtitle {
    font-size: 20px;
    line-height: 24px;
  }
  .section__title-cursive {
    font-size: 48px;
  }
  .section__subtitle-italic {
    font-size: 14px;
  }
  .section__title-bold br,
  .section__subtitle br,
  .section__title-cursive br,
  .section__subtitle-italic br {
    display: none;
  }
}

@media (max-width: 425px) {
  .section__title-bold {
    font-size: 28px;
    line-height: 32px;
  }
  .section__subtitle {
    font-size: 18px;
    line-height: 22px;
  }
  .section__title-cursive {
    font-size: 36px;
  }
}

/* ======= become-pro card ============ */

.card {
  flex: 0 0 320px;
  max-width: 320px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #141414;
}
.card__image {
  width: 100%;
  height: 240px;
  border-radius: 20px 20px 0px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card__image img {
  height: 100%;
}
.card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 15px;
}
.card__title {
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  font-weight: 700;
  color: var(--grey-text-color);
}
.card__text {
  text-align: center;
  color: rgb(153, 153, 153);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6em;
}
.card__text span {
  color: rgb(219, 8, 21);
}
.card__button {
  padding: 12px 15px;
  line-height: 16.8px;
  cursor: pointer;
}

/* =========== slider ============ */
@keyframes slider {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============== burger button ================ */
.burger-button {
  height: 18px;
  width: 24px;
  position: relative;
}
.burger-button__row {
  width: 100%;
  height: 2px;
  background-color: rgb(105, 105, 105);
  position: absolute;
}
.burger-button__row:not(.burger-button__row:nth-child(2)) {
  transition: 0.3s;
}
.burger-button__row:nth-child(1) {
  top: 0;
  left: 0;
  transform-origin: center;
}
.burger-button__row:nth-child(2) {
  left: 0;
  top: calc(50% - 1px);
}
.burger-button__row:nth-child(3) {
  left: 0;
  bottom: 0;
  transform-origin: center;
}
.burger-button--active .burger-button__row:nth-child(1) {
  transform: rotateZ(45deg);
  top: calc(50% - 1px);
}
.burger-button--active .burger-button__row:nth-child(2) {
  display: none;
}
.burger-button--active .burger-button__row:nth-child(3) {
  transform: rotateZ(-45deg);
  top: calc(50% - 1px);
}

@media (min-width: 769px) {
  .burger-button {
    display: none;
  }
}

/* ============ gallery ============= */
.gallery {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gallery__row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.gallery__item {
  flex: 0 0 320px;
  height: 240px;
  overflow: hidden;
  border: 1px solid #474747;
  border-radius: 20px;
  background-color: #1a222f;
  display: flex;
  align-items: center;
}
.gallery__item img {
  width: 100%;
}
@media (max-width: 1080px) {
  .gallery {
    padding: 0 20px;
    padding-bottom: 20px;
    gap: 12px;
  }
  .gallery__item {
    flex: 0 0 calc((100% - 24px) / 3);
  }
}

@media (max-width: 900px) {
  .gallery__row {
    flex-direction: column;
    gap: 20px;
  }
  .gallery__item img {
    padding: 0 !important;
  }
}

/* ============= testimonials ================== */
.testimonials {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.testimonials__header {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}
/* .testimonials__header__icons {} */
.testimonials__header__icons img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #020617;
  box-sizing: border-box;
  overflow: hidden;
  margin-left: -17px;
}
.testimonials__header__icons img:nth-child(1) {
  margin-left: 0;
}
.testimonials__header__icons img:nth-child(2) {
  z-index: 1;
}
.testimonials__header__icons img:nth-child(3) {
  z-index: 2;
}
.testimonials__header__icons img:nth-child(4) {
  z-index: 3;
}
.testimonials__header__icons img:nth-child(5) {
  z-index: 4;
}

/* .testimonial__header__data {} */
.testimonial__header__data__stars {
  display: flex;
  gap: 2px;
}
.testimonial__header__data__stars img {
  width: 14px;
  height: 14px;
}
.testimonial__header__data__text {
  color: rgb(136, 136, 136);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 5px;
}

@media (max-width: 450px) {
  .testimonials__header {
    flex-direction: column;
    align-items: center;
  }
}