@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600;1,800&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all .4s linear;
    box-sizing:border-box;
}

*::selection{
    background:rgb(207, 106, 106);
    color:#fff;
}

html{
    font-size: 60%;
    overflow-x: hidden;
    scroll-padding-top:5rem;
    scroll-behavior: smooth;
}


.home {
  padding: 0;
}

.home .slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 60rem;
    background-size: cover !important;
    background-position: center !important;
  }
  
  .home .slide .content {
    width: 50rem;
  }
  
  .home .slide .content h3 {
    font-size: 5rem;
    text-transform: capitalize;
    color: rgb(245, 10, 120);
  }
  
.home .slide .content a {
    font-size: 3rem;
    line-height: 2;
    color: #eee;
    padding: 1rem 0;

}

.home .slide .content a:hover{
    color:rgb(245, 10, 120);
    text-decoration: underline;
}

.container-fluid h2{
  color:rgba(10, 39, 134, 0.925);
  font-weight: bold;
  font-size: xx-large;
  text-align: center;
  justify-content: center;
  margin-bottom: 20px;
}

.accordion{
  max-width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  overflow:hidden;  
}

.accordion_label, .accordion_content{
  padding: 14px 20px;
}

.accordion_label{
  display: block;
  color: black;
  font-weight: 500;
  font-size: medium;
  cursor: pointer;
  position: relative;
  margin-bottom: 2px;
  transition: background 0.1s;
  border:0.25rem solid rgba(172, 193, 218, 0.897);
  background: linear-gradient(90deg,rgba(177, 194, 216, 0.897),rgba(219, 235, 253, 0.897) ,#fff);
}

.accordion_label:hover{
  background: rgba(0, 0, 0, 0.1);
}

.accordion_label::after{
  content:"";
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  right: 20px;
  width:12px;
  height:6px;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="50" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 100,0 50,50" style="fill:%23DA97E099;" /></svg>');
  background-size: contain;
  transition: transform 0.3s;
}

.accordion_content{
  color: black; 
  background: #fff;
  line-height: 3rem;
  font-size: 1.5rem;
  display:none;
}

.accordion_input{
  display: none;
}

.accordion_input:checked ~ .accordion_content{
  display:block;
}

.accordion_input:checked ~ .accordion_label::after{
  transform: translateY(-50%) rotate(0.5turn);
}

.bmi{
  /*width: 500px;*/
  width:75rem;
  position: relative;
  margin-top: 40px;
  left: 50%;
  background-color: #fff;
  transform: translate(-50%); 
  padding: 20px;
  border-radius: 10px;
  box-shadow: 1px 1px 20px rgb(255, 167, 196); 
}
.bmi h2{
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  color:rgba(10, 39, 134, 0.925);
}
.bmi .text{
  color:rgba(10, 39, 134, 0.925);
  margin-top: 10px;
  text-align: left;
  font-size: medium;
  font-weight: 500;
}
.bmi #weight, .bmi #height{
  color: #222f3e;
  text-align: left;
  font-size: 15px;
  font-weight: 200;
  outline: none;
  border: none;
  background: none;
  border-bottom: 1px solid rgba(10, 39, 134, 0.925);
  width: 200px;
}
  .bmi #weight:focus, .bmi #height:focus{
    border-bottom: 0.2rem solid rgba(10, 39, 134, 0.925);
    width: 300px;
    transition: 0.5s;
  }
  .bmi #result{
    margin-top: 5px;
    font-size: medium;
    color: rgba(10, 39, 134, 0.925);
  }
  .bmi #btn{
    justify-content: center;
    margin-top: 15px;
    border: none;
    color: rgba(10, 39, 134, 0.925);
    font-size: medium;
    background: linear-gradient(45deg,rgb(172, 208, 248),rgb(255, 167, 196)); 
    width: 200px;
    padding: 10px;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    margin-top: 10px;
  }
  .bmi #btn:hover{
    box-shadow: 1px 1px 10px rgba(10, 39, 134, 0.925);
  }
  .bmi #info{
    font-size: medium;
    margin-top: 15px;
    color:rgba(10, 39, 134, 0.925);
  }



 

@media (max-width: 1200px) {

    section {
      padding: 3rem 5%;
    }
  }
  
  @media (max-width: 990px) {

    section {
      padding: 3rem 2rem;
    }
  }
  
  @media (max-width: 768px) {
       html{
      font-size: 45%;
    }
    .home .slide .content h3 {
      font-size: 4rem;
    }
    .home .slide .content a {
        font-size: 2rem;
      }
       .bmi{
        width:50rem;
    }
      .bmi #weight:focus, .bmi #height:focus{
    border-bottom: 0.2rem solid rgba(10, 39, 134, 0.925);
    width: 240px;
    transition: 0.5s;
      }

  }

  
@media(max-width:450px){

    html{
      font-size: 30%;
    }
  
    .bmi #weight:focus, .bmi #height:focus{
    border-bottom: 0.2rem solid rgba(10, 39, 134, 0.925);
    width: 220px;
    transition: 0.5s;
      }
 
  
}
  
  
