/* ------------------- */
/* Custom properties   */
/* ------------------- */

:root {
  /* colors */
  --clr-dark-blue: 200, 95%, 14%;
  --clr-royal-blue: 245, 76%, 64%;
  --clr-green: 164, 95%, 43%;
  --clr-violet: 278, 91%, 55%;
  --clr-blue: 224, 73%, 62%;
  --clr-dark: 230, 35%, 7%;
  --clr-white: 0, 0%, 100%;

  /* font-sizes */
  --fs-900: clamp(2rem, 6vw + 1rem, 9.375rem);
  /* 48px */
  --fs-800: 3rem;
  /* 48px */
  --fs-700: 2.25rem;
  /* 36px */
  --fs-600: 1.75rem;
  /* 28px */
  --fs-500: 1.5rem;
  /* 24px */
  --fs-400: 1.2rem;
  /* 18px */
  --fs-300: 0.875rem;
  /* 16px */
  --fs-200: 0.875rem;
  /* 14px */
  --fs-100: 0.75rem;
  /* 12px */
  /* font-families */
  --ff-normal: "Montserrat";
  --ff-tarif-header: "Poppins";
  --ff-tarif-option: "Roboto";

  --fw-bold: 700;
  --fw-medium: 500;
}

body {
  height: 100%;
}
@font-face {
  font-family: "GilroyExtraBold";
  src: url("./fonts/Gilroy.ttf");
}

@media (min-width: 35em) {
  :root {
    --fs-800: 5rem;
    --fs-700: 2.5rem;
    --fs-600: 1.5rem;
    --fs-400: 1.3rem;
    --fs-300: 0.85rem;
  }
}

@media (min-width: 45rem) {
  :root {
    /* font-sizes */
    --fs-900: 5rem;
    --fs-800: 6.25rem;
    --fs-700: 4rem;
    --fs-600: 2rem;
    --fs-500: 1.75rem;
    --fs-400: 1.3rem;
    --fs-300: 1rem;
    --fs-200: 0.875rem;
  }
}

/* ------------------- */
/* Reset               */
/* ------------------- */

/* https://piccalil.li/blog/a-modern-css-reset/ */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
  margin: 0;
  padding: 0;
}

/* set up the body */
body {
  font-family: var(--ff-normal);
  font-size: var(--fs-400);
  color: hsl(var(--clr-dark));
  background-color: hsl(var(--clr-white));
  line-height: 1.5;
}

/* make images easier to work with */
img,
picutre {
  max-width: 100%;
  /*  display: block; */
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
  font: inherit;
}

/* ------------------- */
/* Utility classes     */
/* ------------------- */

/* general */

.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.flex-row {
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}

.grid {
  display: grid;
  gap: var(--gap, 1rem);
}

.d-block {
  display: block;
}
/*Selects all siblings elements after second <div> element*/
/* .flow > * + * {
  margin-top: 2rem;
} */

.grid-container {
  display: grid;
  row-gap: 1rem;
  text-align: center;
  place-items: center;
  grid-template-columns: minmax(1rem, 1fr);
}

/* .grid-container * {
    max-width: 45ch;
} */
@media (min-width: 52rem) {
  .grid-container {
    text-align: left;
    column-gap: var(--container-gap, 2rem);
    grid-auto-flow: column;
    grid-template-columns: minmax(2rem, 1fr) repeat(2, minmax(0, 30rem)) minmax(
        2rem,
        1fr
      );
  }

  .grid-container > *:first-child {
    grid-column: 2;
  }

  .grid-container > *:last-child {
    grid-column: 3;
  }
}

.grid-container-feature {
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: grid;
  row-gap: 2rem;
  text-align: left;
  place-content: center;
  grid-template-columns: 2rem minmax(0, 30rem) 1rem;
}

.grid-container-feature > *:first-child {
  grid-column: 2;
}

.grid-container-feature > *:last-child {
  grid-column: 2;
}

@media (min-width: 52rem) {
  .grid-container-feature {
    text-align: left;
    column-gap: var(--container-gap, 2rem);
    grid-template-columns: minmax(2rem, 1fr) repeat(2, minmax(0, 30rem)) minmax(
        2rem,
        1fr
      );
  }

  .grid-container-feature > *:first-child {
    grid-column: 2;
  }

  .grid-container-feature > *:last-child {
    grid-column: 3;
  }
}

@media (max-width: 700px) {
  .grid-container-advantages {
    display: grid;

    padding-top: 1rem;
    padding-bottom: 1rem;
    grid-template-columns: 1rem minmax(0, 30rem) 1rem;
    row-gap: 1rem;
    text-align: left;
    place-content: center;
  }

  .grid-container-advantages > *:first-child {
    grid-column: 2;
  }

  .grid-container-advantages > div:nth-child(2) {
    grid-column: 2;
  }

  .grid-container-advantages > div:nth-child(3) {
    grid-column: 2;
  }

  .grid-container-advantages > div:nth-child(4) {
    grid-column: 2;
  }
}

@media (min-width: 45rem) {
  .grid-container-advantages {
    padding-inline: 1rem;
    padding-top: 4rem;
    padding-bottom: 5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 370px));
    row-gap: 4rem;
    column-gap: 2rem;
    text-align: left;
    place-content: center;
  }

  .grid-container-advantages > *:first-child {
    grid-column: 1;
  }

  .grid-container-advantages > div:nth-child(2) {
    grid-column: 2;
  }

  .grid-container-advantages > div:nth-child(3) {
    grid-column: 3;
  }
}
/* Style for invalid fields */
.error-border {
  border: 2px solid red;
}
.container {
  padding-inline: 1em;
  margin-inline: auto;
  max-width: 80rem;
  position: relative;
}

@media (max-width: 700px) {
  .container {
    max-width: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* added line */
  border: 0;
}

/* colors */

.bg-tarif {
  background-color: hsl(var(--clr-dark-blue));
}

.bg-tarif-title {
  background-color: hsl(var(--clr-royal-blue));
}

.bg-blue {
  background-color: hsl(var(--clr-blue));
}

.bg-white {
  background-color: hsl(var(--clr-white));
}

.bg-violet {
  background-color: hsl(var(--clr-violet));
}

.bg-green {
  background-color: hsl(var(--clr-green));
}

.bg-orange {
  background-color: #ff8a00;
}
.text-dark {
  color: hsl(var(--clr-dark));
}

.text-dark-blue {
  color: hsl(var(--clr-dark-blue));
}

.text-accent {
  color: hsl(var(--clr-light));
}

.text-white {
  color: hsl(var(--clr-white));
}

/* typography */

.ff-main {
  font-family: var(--ff-normal);
}

.ff-tarif-header {
  font-family: var(--ff-tarif-header);
}

.ff-tarif-option {
  font-family: var(--ff-tarif-option);
}

.letter-spacing-1 {
  letter-spacing: 4.75px;
}

.letter-spacing-2 {
  letter-spacing: 2.7px;
}

.letter-spacing-3 {
  letter-spacing: 2.35px;
}

.uppercase {
  text-transform: uppercase;
}

.fs-900 {
  font-size: var(--fs-900);
}

.fs-800 {
  font-size: var(--fs-800);
}

.fs-700 {
  font-size: var(--fs-700);
}

.fs-600 {
  font-size: var(--fs-600);
}

.fs-500 {
  font-size: var(--fs-500);
}

.fs-400 {
  font-size: var(--fs-400);
}

.fs-300 {
  font-size: var(--fs-300);
}

.fs-200 {
  font-size: var(--fs-200);
}

.fs-100 {
  font-size: var(--fs-100);
}

.fw-bold {
  font-weight: var(--fw-bold);
}

.fw-medium {
  font-weight: var(--fw-medium);
}

.fs-900,
.fs-800,
.fs-700,
.fs-600 {
  line-height: 1.1;
}

.numbered-title {
  font-family: var(--ff-sans-cond);
  font-size: var(--fs-500);
  text-transform: uppercase;
  letter-spacing: 4.72px;
}

.numbered-title span {
  margin-right: 0.5em;
  font-weight: 700;
  color: hsl(var(--clr-white) / 0.25);
}
.t-center {
  text-align: center;
}
/* header */

.header {
  height: 2rem;
  position: absolute;
  top: 10px;
  z-index: 900;
}

.header-content {
  display: grid;
  grid-template-columns: minmax(1em, 1fr) minmax(2em, 1fr) minmax(0px, 500px) minmax(
      1em,
      1fr
    );
}

.logo-header {
  background-image: url(img/logo_eco_w.svg);
  height: 50px;
  width: 90px;
  grid-column: 2;
  object-fit: contain;
  background-repeat: no-repeat;
}

.phone {
  align-self: center;
  justify-self: end;
  grid-column: 3;
  display: flex;
}

.phone {
  align-self: center;
  justify-self: end;
  grid-column: 3;
  display: flex;
}

.phone a {
  font-family: "Roboto";
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
}

/* .phone::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f879";
    font-size: 0.9rem;
    margin-right: 0.5em;
} */

@media (min-width: 600px) {
  .header {
    height: 5rem;
  }

  .logo-header {
    background-image: url(img/logo_eco_w.svg);
    height: 60px;
    width: 89px;
    grid-column: 2;
    align-self: end;
    background-repeat: no-repeat;
  }

  .logo-header {
    width: 81px;
    grid-column: 2;
    align-self: center;
    justify-self: start;
    margin-top: 0.5rem;
  }

  .header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(1em, 1fr) repeat(2, minmax(0px, 500px)) minmax(
        1em,
        1fr
      );
  }

  .phone a {
    font-family: "Roboto";
    color: #fff;
    font-size: 1.5rem;
  }

  .phone::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f879";
    font-size: 1.5rem;
    margin-right: 0.5em;
  }
}

/* ------------------- */
/* Compontents         */
/* ------------------- */

.section-title {
  text-align: center;
  margin: 3rem 0;
}

/* ------------------- */
/* buttons         */
/* ------------------- */

.btn {
  padding: 0.75rem 3rem;
  margin-top: 1em;
  border-radius: 15px;
  background: hsl(var(--clr-royal-blue));
  background: #ffe500;
  color: #000;
  align-self: flex-start;
  justify-self: center;
  border: none;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  /* width: 50%; */
  text-align: center;
}

/* ------------------- */
/* hero         */
/* ------------------- */
.hero__bg {
  /* background-image: url(./img/dog.jpg); */
  height: auto;

  display: flex;
  /* align-items: center; */
  justify-content: center;

  background: rgb(111, 25, 29);
  background: linear-gradient(
    90deg,
    rgba(111, 25, 29, 1) 0%,
    rgba(148, 16, 31, 1) 100%
  );
}
.hero__bg::before {
  content: "";
  background-image: url(./img/bg-snow.png);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero__bg-container {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  width: 1000px;
  gap: 1.5rem;
}
.hero-img {
  width: 100%;
  align-self: end;
}

.hero-img img {
  max-width: 100%;
  display: block;
}
.primary-navigation {
  display: none;
}

.hero__bg-title {
  font-size: 74px;
  font-family: "GilroyExtraBold";
  color: #fff;
  text-transform: uppercase;
}
.hero__bg-subtitle {
  color: #f1d200;
  font-family: "GilroyExtraBold";
}
@media (max-width: 1100px) {
  .hero__bg-container {
    flex-direction: column;
    align-items: center;
  }
  .hero__bg-title {
    font-size: 30px;
    text-align: center;
  }
  .hero-img {
    width: 100%;
    align-self: center;
  }
  .hero-img img {
    max-width: 100%;
  }
  .hero__bg {
    /* background-image: url(./img/dog.jpg); */

    height: auto;
    align-items: center;
    justify-content: center;
    background-color: #6d5652;
  }
}
html {
  height: -webkit-fill-available;
}

.header-menu {
  justify-content: space-between;
  padding-top: 1rem;
}
.logo-white {
  height: 100px;
  width: 120px;
  background-image: url(./img/logo_eco_w.svg);
  background-repeat: no-repeat;
}
.phone {
  align-self: center;
  justify-self: end;
  background-color: transparent;
  border: 0;
  color: #fff;
}
.nav-list {
  list-style-type: none;
}
.nav-list li a {
  text-decoration: none;
  color: #fff;
}
/* hero */
.hero-txt-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 7rem;
  width: 50%;
  margin-bottom: 8rem;
}
.hero-txt-cta h1 {
  font-size: 3.5rem;
  line-height: 1;
}
@media (max-width: 1100px) {
  .hero-txt-cta {
    margin-top: 5rem;
    text-align: center;
    margin-bottom: 0px;
  }
  .btn {
    align-self: center;
  }
  .hero-txt-cta h1 {
    font-size: 3.5rem;
  }
}
@media (max-width: 500px) {
  .hero-txt-cta {
    align-items: center;
    justify-content: center;
    margin-top: 6rem;
  }

  .hero-txt-cta h1 {
    font-size: 2.7rem;
  }

  .btn {
    align-self: center;
  }
  /* .flow > * + * {
    margin-top: 1rem;
  } */
}
/* .header-home {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
}
.bg-hero {
  position: relative;
  width: 100vw;
  height: 90vh;
  padding: 5em 0;
}
.bg-hero::before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background: url(./img/hits_ny_promo.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 40% 90%;
  filter: brightness(80%);
}
.hero__new-text {
  font-family: "GilroyExtraBold";
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.hero__new-text h1 {
  font-size: 48px;
  color: #fff;
  font-family: "GilroyExtraBold";
  width: 40%;
}

.hero__new-text h3 {
  color: #ffc955;
  width: 40%;
  font-size: 28px;
  font-weight: 200;
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .hero__new-text h1 {
    font-size: 32px;
    width: 67%;
  }
  .hero__new-text {
    display: flex;
    text-align: center;
    align-items: center;
    gap: 1rem;
  }
  .hero__new-text h3 {
    width: 60%;
    font-size: 22px;
  }
}

@media (max-width: 500px) {
  .hero__new-text h1 {
    font-size: 24px;
    width: 90%;
  }

  .hero__new-text h3 {
    width: 90%;
    font-size: 16px;
  }
  .bg-hero::before {
    background-position: 70% 90%;
  }
  .logo-white {
    background: url(./img/logo_w_small.svg);
    background-repeat: no-repeat;
    height: 45px;
  }
} */
/* 
.bg-hero {
  background: radial-gradient(
    120.16% 64.01% at 78.96% 42.91%,
    #da8c8c 0%,
    #db6e6b 100%
  );
}

.hero__wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  z-index: 22;
  padding-bottom: 4rem;
  align-items: center;
}

.hero__title {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(253, 230, 233, 1) 100%
  );
  padding: 1rem 1.3rem;
  color: #231f20;
  text-transform: uppercase;
  font-family: "GilroyExtraBold";
  font-size: 48px;
  border: 3px solid #fff;
  border-radius: 16px;
}

.hero__title--sub {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(253, 230, 233, 1) 100%
  );
  font-family: "GilroyExtraBold";
  color: #eb8686;
  border: 3px solid #fff;
  border-radius: 16px;
  font-size: 16px;
  width: 60%;
  margin-top: -1rem;
}
.hero__left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__right {
  width: 40%;
}
.hero__right img {
  height: 100%;
  display: block;
}

.hero__description {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  justify-content: center;
  flex-direction: column;
}

.hero__description-left {
  display: flex;
  gap: 1rem;
  align-items: center;
  object-fit: contain;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__description__first {
  font-size: 48px;
  font-family: "GilroyExtraBold";
  color: #fff;
  text-align: center;
  line-height: 1;
}

.hero__description__second {
  font-size: 16px;
  font-family: "GilroyExtraBold";
  color: #fff;
  text-align: center;
}

.circle {
  border-radius: 50%;
  border: solid 3px #fff;
  padding: 2rem;
}
@media (max-width: 1100px) {
  .hero__title {
    font-size: 24px;
  }
  .hero__title--sub {
    margin-inline: auto;
  }
  .logo-white {
    height: 80px;
    width: 100px;
  }
  .hero__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .hero__right {
    margin-top: 2rem;
    width: 80%;
  }

  .hero__right img {
  
    display: block;
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .hero__title {
    font-size: 18px;
  }
  .hero__title--sub {
    font-size: 14px;
    width: 80%;
  }
} */

/* old hero css */

/* ------------------- */
/* tabs         */
/* ------------------- */

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: hsl(var(--clr-dark-blue), 0.25) 4px solid;
  /* overflow-y: hidden; */
}

.icon {
  background-position: center;
  height: 25px;
  background-repeat: no-repeat;
}

.item-icon1 {
  background-image: url("./img/internet_icon.svg");
}

.item-icon2 {
  background-image: url("./img/internet_tv_icon.svg");
}

.item-icon3 {
  background-image: url("./img/internet_tv_movies_icon.svg");
}

.item-title {
  padding-top: 0.5rem;
}

.tab-item {
  cursor: pointer;
}

.tab-item i {
  color: hsl(var(--clr-dark-blue), 0.75);
  font-size: 1.5rem;
}

.tab-item i:hover {
  color: hsl(var(--clr-dark-blue));
}

.tab-border {
  border-bottom: hsl(var(--clr-blue)) 4px solid;
  margin-bottom: -3px;
}

.underline-indicators > *:hover,
.underline-indicators > *:focus {
  color: hsl(var(--clr-dark-blue), 0.75);
}

/* hide content   */

#tab-1-content,
#tab-2-content,
#tab-3-content {
  display: none;
}

.show {
  display: block !important;
  color: hsl(var(--clr-dark-blue));
}

@media (max-width: 600px) {
  .item-title {
    display: none;
  }
}

/* ------------------- */
/* content features    */
/* ------------------- */

.feature-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 400px;
  gap: 1rem;
}

.feature {
  height: 600px;
  border-radius: 40px;
  padding: 0 3rem;
}

/* .feature-img,
.feature-txt {
    width: 45%;
} */
@media (max-width: 600px) {
  .feature {
    padding: 0rem;
  }
}

/* ------------------- */
/* tarifs   */
/* ------------------- */

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  width: min(1600px, 100%);
  margin: 0 auto;
  margin-bottom: 2rem;
  justify-content: space-around;
  margin-top: 3rem;
}

.table {
  border-radius: 24px;
  max-width: 280px;
  color: #fff;
  background: hsl(var(--clr-dark-blue));
  padding: 15px;
  position: relative;

  overflow-x: hidden;
}

@media (max-width: 600px) {
  .pricing-table > * + * {
    /*Selects all siblings elements after second <div> element*/
    margin-top: 2rem;
  }
}
.tarif-price-promo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  align-items: center;
  justify-content: center;
}
.tarif-price-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pricing-table-container {
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  background: #f1faee;
}

.pricing-header {
  font-size: 2rem;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 0;
}

.pricing-container {
  font-weight: 300;
  font-size: 0.8rem;
  z-index: 2;
  margin-bottom: 5rem;
  position: relative;
  border: 1px solid red;
}

.promo-price-container {
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
}

.price {
  font-size: 2.8rem;
  font-weight: 700;
  padding-right: 1rem;
  z-index: 3;
  margin: 0 auto;
  padding-left: 2rem;
  text-align: center;
}

.promo-price {
  font-size: 2.8rem;
  font-weight: 700;
}

.cross-prices {
  position: relative;
  color: rgb(168, 168, 168);
  font-size: 1.5rem;
}

.cross-prices::after {
  content: "";
  position: absolute;
  height: 1.9px;
  width: 55px;
  left: -5px;
  top: 11px;
  background: rgb(168, 168, 168);
}

.tarif-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1;
}

.tarif-title {
  height: 65px;
  font-size: 1.2rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1.5rem;
  border-radius: 24px 24px 0 0;

  line-height: 1.2rem;
}

.tarif-speed,
.tarif-movie {
  color: #000;
}

/* tarif grid */
.content {
  padding-top: 2rem;
  margin-top: 2rem;
  color: #fff;
  display: grid;
  grid-template-columns: 0.1rem 55px 0.5rem minmax(80px, 170px) 0.1rem;
  grid-template-rows: repeat(7, 30px);
  position: relative;
  z-index: 3;
}

.content a {
  color: #fff;
}

.speed-desc,
.tv-desc,
.movie-desc,
.audio-desc {
  font-size: 1.15rem;
  grid-column: 4;
  align-self: end;
  justify-self: start;
}

.speed-desc-serv,
.tv-desc-serv,
.movie-desc-serv,
.audio-desc-serv {
  font-size: 0.85rem;
  color: #c4c4c4;
  grid-column: 4;
  align-self: start;
  justify-self: start;
}

.speed-icon,
.tv-icon,
.movie-icon,
.audio-icon {
  grid-column: 2;
  align-self: center;
  justify-self: center;
}

.speed-icon {
  grid-row: 1 / 3;
}

.speed-desc {
  grid-row: 1;
}

.speed-desc-serv {
  grid-row: 2;
}

.tv-icon {
  grid-row: 3/5;
}

.audio-icon {
  grid-row: 7/9;
}

.tv-desc {
  grid-row: 3;
}

.tv-desc-serv {
  grid-row: 4;
}

.movie-icon {
  grid-row: 5/7;
}

.movie-desc {
  grid-row: 5;
}

.movie-desc-serv {
  grid-row: 6;
}

/* 
#tooltip1::before,
#tooltip1::after  {
    --scale: 0;
    content: '';
    position: absolute;
    left:50%;
    background: black;
    bottom: 5rem;
    transform: translateX(-50%) scale(var(--scale));
    font-size: .8rem;
}

#tooltip1::before {
    content: attr(data-tooltip);
    padding: .5rem;
    width: max-content;
    background: black;
    bottom: 5rem;
    max-width: 90%;
    border-radius: 8px;
    
}

#tooltip1:hover::before,
#tooltip1:focus-within::before {
    --scale: 1;
} */

/* btn */

.btn-tarif {
  background: hsl(var(--clr-green));
  padding: 1rem 0;
  display: inline-block;
  color: #000;

  font-weight: 600;
  line-height: 14px;
  border: none;

  left: 0;
  right: 0;

  bottom: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  margin: 0 auto;
  margin-bottom: 2rem;
  width: 90%;
  text-align: center;
  text-decoration: none;
  border-radius: 24px;
  z-index: 5;
  position: absolute;
}

.btn-tarif:hover {
  background: #04bb8b;
  color: #fff;
}

.more-txt {
  z-index: 10;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: -100%;
  padding: 2rem;
  margin: 0 auto;
  transition: all ease 0.2s;
  color: #fff;
}

.more-txt-show {
  bottom: 0;
}

.more-btn {
  color: #fff;
  width: 100px;
  height: 75px;
  border-radius: 30%;
  position: absolute;
  bottom: -35px;
  text-align: center;
  left: 0;
  right: 0;
  margin: 0 auto;
  line-height: 50px;
  z-index: 11;
}

.more-btn:hover {
  color: hsl(var(--clr-dark-blue));
  background-color: hsl(var(--clr-white));
}

.more-btn-none {
  display: none;
}

.more-btn2 {
  width: 100px;
  height: 80px;
  background-color: #fff;
  border-radius: 30%;
  position: absolute;
  bottom: -40px;
  text-align: center;
  left: 0;
  right: 0;
  margin: 0 auto;
  line-height: 60px;
}
/* ------------------- */
/*  tarifs 2.0       */
/* ------------------- */

.tarif-promo {
  position: absolute;
  color: #fff;
  background-color: #f69312;
  top: -15px;
  margin-left: auto;
  margin-right: auto;
  left: 70px;
  right: 70px;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
}

.choose-btn {
  background: #8dc63f;
  height: 40px;
  font-size: 1.2rem;
  text-transform: uppercase;

  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.choose-btn:hover {
  background: #50761c;
}

.price-option {
  background: #93e1d8;
  color: #fff;
}

.tarif-slider-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  border-radius: 15px;
  color: #fff;
  background: #222d38;
}
.swiper-wrapper {
  padding-top: 2rem;
}

.tarif-option {
  color: #404040;
  border-radius: 15px;
  margin-bottom: 1rem;
  height: 300px;
  position: relative;
}

.tarif-slider-description.selected {
  background-color: #582d7b;
  color: #fff;
}

.tarifs-slider-container2 {
  max-width: 900px;
}
.tarif-icon {
  background-image: url(./img/icon-tarif.svg);
  height: 40px;
  background-position: center;
  /* Center the image */
  background-repeat: no-repeat;
  /* Do not repeat the image */
  color: #fff;
}
.tarif-param {
  background-color: #fff;
  padding: 1rem;
  text-align: left;
  border-radius: 5px;
  font-size: 1.2rem;
}

.tarif-param.selected {
  color: #404040;
}

@media (max-width: 700px) {
  .tarif-param {
    font-size: 1.1rem;
  }
}

.tarif-options-list {
  text-align: left;
  font-size: 14px;
  height: 105px;
}

.tarif-name {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1rem;
}
.tarif-channels {
  cursor: pointer;
  width: 100%;
}

.tarif-price {
  font-weight: bold;
  font-size: 2.7rem;
  /* margin-bottom: 1rem; */
}
.swiper-container {
  max-width: 1100px;
  position: relative;
  margin: 0 auto;
}
.swiper {
  width: 100%;
  /* height: 100%; */
}

.swiper-button-prev {
  color: grey !important;
}

.swiper-button-next {
  color: grey !important;
}

@media (max-width: 700px) {
  .swiper {
    max-width: 90%;
  }
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

.box {
  display: inline-block;
  margin-right: 1em;
  text-align: right;
}

/* checkout */

.checkout {
  display: none;
  background-color: #23262b;
  color: #fff;
  justify-content: center;
  transform: translateY(100%);
  transition: all 0.6s ease-in-out;
  z-index: 500;
}

.checkout-active {
  display: flex;
  bottom: 0;
  width: 100%;
  height: auto;
  position: fixed;
}

.total-price {
  width: 600px;
  height: 100%;
  margin: 1rem;
}
.selection,
.total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 700px) {
  .selection,
  .total {
    flex-direction: column;
    align-items: start;
  }
}
/* .total {
    margin-top: 1rem;
    border-top: 1px solid #861657;
    padding: 1rem 0;
}
*/
.checkout-btn {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #362ac2;
  border: none;
  padding: 10px 15px;
  color: #fff;
  outline: none;
  cursor: pointer;
}
.checkout-btn:hover {
  background: hsl(var(--clr-royal-blue));
}

.close-btn {
  color: #861657;
  font-size: 1.2rem;
  padding: 10px;
}

/* ------------------- */
/*  info blocks        */
/* ------------------- */

.info-blocks {
  display: flex;
  margin-top: 2rem;
  justify-content: center;
  align-items: center;
}

.info-block {
  width: 120px;
}
.info-block-feature,
.info-block-text {
  color: #fff;
  font-family: "GilroyExtraBold";
  line-height: 1;
}
.info-block-feature {
  font-size: 56px;
}

.info-block-text {
  font-size: 16px;
  text-transform: uppercase;
}
.info-block img {
  max-width: 60%;
}
.info-block.img {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 1100px) {
  .info-blocks {
    display: none;
  }
}

@media (max-width: 600px) {
  .info-block {
    text-align: left;
  }
  .info-block {
    width: 100%;
  }
  .info-block img {
    max-width: 100%;
  }
  .info-block-feature {
    font-size: 36px;
    text-align: center;
  }
  .info-blocks {
    display: none;
  }
  .info-block-text {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
  }
}

/**************************
        form
***************************/

.contact-form-title {
  font-size: 2rem;
  line-height: 2rem;
  padding-bottom: 2rem;
}

.form {
  background-color: #fff;
}

.contact-box {
  padding: 2rem 0;
  margin-inline: auto;
  max-width: 450px;
  margin-bottom: 3rem;
}

label {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.27rem;
  text-align: left;
}

input {
  width: 100%;
  background: #ededed;
  border: 1px solid #c7c7c7;
  font-size: 1rem;
  padding: 0.75rem;
  outline: none;
  margin-bottom: 0.5em;
}

/* footer */

.footer {
  color: #fff;
  border-radius: 50px 50px 0 0;
  background: #1d2641;
  padding: 1em 0;
  text-align: center;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 100px 200px;
}

.footer-main,
.social-list {
  grid-column: 2;
}

.social-list {
  grid-row: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
  display: flex;
  justify-content: center;
}

.social-link {
  color: #fff;
  font-size: 1.75rem;
  margin: 0 0.5em;
}

.social-link:hover {
  color: #777;
}

.btn-form {
  margin-top: 1.5rem;
  align-self: center;
  width: 80%;
  background: #5200ff;
  padding: 1em;
  /* color: white; */
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  margin-left: 2rem;
}

.btn-form:hover {
  background: #330497;
}

.btn-form:hover {
  background: #330497;
}

.wrapper {
  margin: 0 auto;
}

.card {
  top: 100px;
  position: sticky;

  /* background: #fff; */

  /*  padding-bottom: 90px;*/
}

@media (max-width: 600px) {
  .feature {
    height: 650px;
  }

  .feature-container {
    flex-direction: column;
    height: 600px;
  }

  .feature-img,
  .feature-txt {
    width: 90%;
  }

  .footer {
    grid-template-columns: 1rem 1fr 1rem;
  }
}

/**************************
        accordion
***************************/
.faq {
  padding: 2em 0;
}

.accordion {
  max-width: 1100px;
  margin: 2rem auto;
}

.accordion-item {
  background-color: #1f2229;
  color: #fff;
  margin: 1rem 0;
  padding: 1rem 0;
  border-radius: 15px;
}

.accordion-item-header {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  min-height: 4.5rem;
  line-height: 1.4rem;

  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.accordion-item-header::after {
  content: "\002B";
  font-size: 3rem;
  position: absolute;
  right: 1rem;
}

.accordion-item-header.active::after {
  content: "\2212";
}

.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
  padding: 1rem;
  line-height: 1.5rem;
  border-image: linear-gradient(to right, transparent, #34495e, transparent) 0.5;
}

.accordion-title {
  position: relative;
  text-align: center;
  padding: 0 0 10px;
  margin-bottom: 10px;
}

@media (min-width: 600px) {
  html {
    font-size: 16px;
  }

  .accordion-title {
    font-size: 2.5vw;
  }
}

/* ------------------- */
/*       modal         */
/* ------------------- */

.modal-btn-tv {
  background-color: transparent;
  border: none;
}

.modal-bg-tv {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
  opacity: 0;
  transition: visibility 0s opacity 0.5s;
  visibility: hidden;
}

.bg-active {
  visibility: visible;
  opacity: 1;
}

.modal-tv {
  border-radius: 15px;
  background: #fff;
  max-width: 450px;
  height: 450px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  z-index: 20;
  padding: 1.5rem 1rem 1.5rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-weight: bold;
  cursor: pointer;
}

.output {
  overflow: hidden;
  overflow-y: scroll;
}

/* .modal-container {

    z-index: 25;
    pointer-events: none;
    top: 0;
    left: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100vw;
    height: 100vh;
    transition: opacity 0.5s;
   
} 
#modal.open {
    display: flex;
    align-items: center;
  }

  #overlay.open {
    display: flex;
    align-items: center;
  }

  #modal {
    margin-top: 10rem;
    display: none;
    width: min(600px,370px);
    z-index: 25;
    padding: 3rem;
    border-radius: .25rem;
    background-color: white;
    position: relative;
    margin-inline: auto;
    align-self: end;
  }
  
  #overlay {
 
    width: 100vw;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 24;
    background-color: rgba(0, 0, 0, .85);
  }

  .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: bold;
    cursor: pointer;
  }

  .show {
    opacity: 1;
    pointer-events: auto;
}
*/

.modal-bg {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
  opacity: 0;
  transition: visibility 0s opacity 0.5s;
  visibility: hidden;
}

.bg-active {
  visibility: visible;
  opacity: 1;
}

.modal {
  background: #fff;
  width: 450px;
  height: 450px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  z-index: 20;
  padding: 3rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-weight: bold;
  cursor: pointer;
}

/* smotreshka chanel list */

/* .tarif {
    border: 1px black solid;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
} */

.modal-content {
  max-width: 50ch;
  height: 550px;
  min-width: 300px;
  overflow: auto;
  padding: 1rem;
  background: #fff;
  z-index: 25;
  border-radius: 10px;
  position: relative;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}

.channels_link {
  color: #404040;
  border-bottom: solid 1px hsl(var(--clr-dark-blue));
  text-decoration: none;
}

.channels-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
  font-size: 1rem;
}

.channels_list span {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.channels_list span img {
  width: 120px;
}

.main {
  max-width: 1100px;
  margin: 0 auto;
  background-color: blueviolet;
}

.tarif-wraper {
  display: flex;
  gap: 2rem;
}
.my-body-noscroll-class {
  overflow: hidden;
}
.bg-modal {
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  z-index: 10;
}

.active {
  visibility: visible;
}

.modal-btn {
  top: 20px;
  right: 220px;
  background: #fff;
  position: absolute;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
}

.modal-box {
  margin-top: 2rem;
  margin: 0 auto;
  width: 98%;
  height: 90%;
  overflow: auto;
  border-radius: 8px;
}

@media (max-width: 700px) {
  .channels_list {
    grid-template-columns: 1fr 1fr;
  }
  .modal-btn {
    top: 0px;
    right: 20px;
  }
}

/* General form container styling */
.form {
  /* max-width: 412px; */
  margin: 0 auto; /* Center the form horizontally */
  border-radius: 16px; /* Optional: rounded corners */
  box-sizing: border-box; /* Ensures padding doesn't push content outside */
  display: flex;
  gap: 4rem;
  max-width: 1000px;
}

/* Styling for form submission container */
.form__submit {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Align items in the center horizontally */
  padding: 1rem; /* Add space inside */
  border-radius: 16px;
  width: 100%; /* Ensure full width */
  background: #d9d9d9;
  padding: 2rem;
}

/* Style for the title of the form */
.form__submit h3 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Style for input fields */
form input {
  padding: 0.8rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  width: 100%; /* Ensure input fields take full width of the form */
  border-radius: 15px;
  background: #f9f9f9;
  margin-bottom: 16px; /* Space between inputs */
  font-size: 1.1rem;
  color: grey;
  box-sizing: border-box; /* Ensure padding doesn't affect element width */
}

/* Style for input fields on focus */
form input:focus {
  background: #fff; /* Focused input has white background */
  border-color: #888; /* Slightly darker border when focused */
}

/* Placeholder styling */
form input::placeholder {
  color: #bbb;
}

/* Styling for the submit button */
.form__submit button {
  padding: 1rem 2rem;
  border-radius: 16px;
  background-color: #4caf50; /* Green background */
  color: white;
  font-size: 1rem;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 2rem;
}

/* Button hover effect */
.form__submit button:hover {
  background-color: #45a049;
}
#contactForm {
  display: flex;
  align-items: center;
  flex-direction: column;
}
/* Flexbox for address input fields inside a container */
.form__field-adres {
  display: flex;
  gap: 10px; /* Space between address inputs */
  width: 100%; /* Ensure full width */
}

/* Extra form details for the privacy policy text */
form p {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 1rem;
  color: #777;
}
.form__submit {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.form h3 {
  text-align: center;
}

.form__left {
  width: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
}

.form__submit {
  width: 45%;
}

@media (max-width: 800px) {
  .form {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0rem;
  }

  .form__submit {
    width: 100%;
    max-width: 412px;
  }
  .form__left {
    width: 100%;
    text-align: center;
    align-items: center;
  }
}
