/* start  variable  */
:root{
    
--Soft-Cyan-Full-Slider-Bar: hsl(174, 77%, 80%);
--trong-Cyan-Slider-Backround: hsl(174, 86%, 45%);
--Light-Grayish-Red-Discount-Background: hsl(14, 92%, 95%);
--Light-Red-Discount-Text: hsl(15, 100%, 70%);
--Pale-Blue-CTA0Text: hsl(226, 100%, 87%);
--White-Pricing-Component-Background:white;
--Very-Pale-Blue-Main-Background: hsl(230, 100%, 99%);
--Light-Grayish-Blue-Empty-Slider-Bar: hsl(224, 65%, 95%);
--Light-Grayish-Blue-Toggle-Background: hsl(223, 50%, 87%);
--Grayish-Blue-Text: hsl(225, 20%, 60%);
--Dark0Desaturated-Blue-Text-CTA-Background: hsl(227, 35%, 25%);
}
/*  the ffont  */
@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&family=Inconsolata:wght@200..900&family=Manrope:wght@200..800&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,500;1,600;1,700;1,800;1,900&family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/*  start global rules */

   * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
   }
  body {
   margin: 0;
   padding: 0;
    background:url(images/bg-pattern.svg) no-repeat top var(--Very-Pale-Blue-Main-Background);
  }
  .container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Small */
  @media (min-width: 768px) {
    .container {
      width: 750px;
    }
  }
  /* Medium */
  @media (min-width: 992px) {
    .container {
      width: 970px;
    }
  }
  /* Large */
  @media (min-width: 1200px) {
    .container {
      width: 1170px;
    }
  }
  h1{
    font-weight: 800;
    font-family: "Poppins", sans-serif;
  }
  h2{
    font-weight: 600;
    font-family: "Poppins", sans-serif;
  }
  p{
    font-size: 15px;
    font-family: "Poppins", sans-serif;
  }
    /* End Global Rules */
.componnent{
  margin: auto;
  width: 560px;
  height: 150vh;
}
.heading-componnent{
  text-align: center;
  margin: 50px 0;
  background: url(images/pattern-circles.svg) no-repeat center;
}
.title{
  font-size: 30px;

}
.description{
  font-size: 17px;
  color: var(--Grayish-Blue-Text);
}
.pricing-card{
  background-color: var(--White-Pricing-Component-Background);
margin-top: 30px;
  -webkit-box-shadow: 0 0 10px #ddd;
  -moz-box-shadow: 0 0 10px #ddd;
  box-shadow: 0 0 10px #ddd;
  margin-bottom: 20px;
  border-radius: 5px;
}
.total-price{
  display: flex;
  padding:0  20px;
  justify-content: space-between;
  align-items: center;
}
.name-plan p{
  text-transform: uppercase;
}
.name-plan p,
.price-plan p{
  color: var(--Grayish-Blue-Text);

}
.price-plan p{
  margin-left: 10px;
}
.price-plan{
    display: flex;
  justify-content: center;
  align-items: center;
  
}
.range-price{
margin: 5px 0;
padding: 0 20px;
display: flex;
justify-content: center;
align-items: center;
width: 100%;

}
.range-price input{
  width: 100%;  
  -webkit-appearance: none;
  background: var(--Light-Grayish-Blue-Empty-Slider-Bar);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  position: relative;
}
/* custom thumb */
 .range-price input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  background: var(--trong-Cyan-Slider-Backround) url('images/icon-slider.svg') no-repeat center;
  background-size: 50%;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 255, 221, 0.5);
  cursor: pointer;
  position: relative;
  margin-top: -16px;

} 
/* progress track  */
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 5px;
}

 

.billing-pprice{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  padding: 0 20px;
}
.billing-pprice p{
  color: var(--Grayish-Blue-Text);
}
.choose-plan{
  background-color: var(--Light-Grayish-Blue-Toggle-Background);
  width: 100px;
  height: 50px;
  border-radius: 25px;
  margin:0 10px ;
  padding: 5px;
  position: relative;
}
.choose-plan div{
  border-radius: 50%;
  background-color: var(--Light-Grayish-Blue-Empty-Slider-Bar);
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: absolute;

}
.toggle-monthly{
    left: 5px;
}
.toggle-yearly{
  right: 5px !important;
  left: auto;
}
.background-yeaely{
  background-color: var(--Soft-Cyan-Full-Slider-Bar);
}
.discount{
  background-color: var(--Light-Grayish-Red-Discount-Background);
  color: var(--Light-Red-Discount-Text);
}
.aventages{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-top: 30px;
    padding: 20px;
}
.aventages::before{
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height:1px ;
  background-color: var(--Grayish-Blue-Text);
  margin: 10px 0;
}
.aventages .aventage-plan p{
  color: var(--Grayish-Blue-Text);

}
.aventages .aventage-plan p img{
 width: 15px;
 margin-right: 10px;
}
.aventages button{
  color: white;
  background-color: var(--Dark0Desaturated-Blue-Text-CTA-Background);
  padding: 14px;
  border-radius: 15px;
  border: none;
  font-weight: 800;
  width: 150px;
  cursor: pointer;

}
@media (max-width:570px) {
  .componnent{
    width: 400px;
  }
  .title{
    font-size: 25px;
  
  }
  .description{
    font-size: 18px;
    color: var(--Grayish-Blue-Text);
  }
  .total-price,
  .aventages{
    display: flex;
    flex-direction: column;
  }
  .aventage-plan{
    text-align: center;
  }
  .discount span{
    display: none;
  }
  .aventages button{
    margin-top: 20px;
    width: 150px;
  }
}