@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Qwitcher+Grypen:wght@400;700&display=swap');

.heading-container{
    text-align: center;
}
.heading-container h2{
    margin: 0;     
    color: #666;
    font-family: "Great Vibes", cursive; 
}

.heading-container h1 {
    text-transform: uppercase;
    font-weight: bold;
    font-family: "Lora", Sans-serif;
    color: #4da391;
    padding: 0 5px;
    margin-top: 3em;
}


.carousel-indicators li{
    display: none;
}
.carousel-caption {
    display: grid;
     width: 90%;
     margin: auto; 
     color: #fff;
     position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
   }
       
   
   .carousel-caption p{
     text-transform: uppercase;
     font-size: 1.6em;
     text-align: center;
     padding: 0 10px;
     resize: none;
   }
   
   @media screen and (max-width: 1230px){
     
     .carousel-caption p{
       font-size: 1.6em;
     }
   
   }
   
   @media screen and (max-width: 768px){
   .carousel-caption p{
     font-size: 0.8em;
   }
   .carousel-inner img {
    height: auto;
    width: 100%;
    }
   }
/********* heading container2 *************/

.heading-container2 {
    margin: auto;
    text-align: center;
    padding: 50px 0;
}



.heading-container2 h2{
    font-weight: 400;
    padding: 0;
    font-family: "Lora", Sans-serif;
}


@media (max-width: 1600px) and (min-width: 768px) {
  .heading-container2{
    width: 60%;
  }
}
@media (max-width: 767px) {
  .heading-container2 h2{
    font-size: 22px;
    line-height: 1.4em;
  }
}

  /******** card ************/
  .aboutcontainer {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 15px;
}

.aboutcard  {
  width: 100%;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
}

.aboutcard  img{
  width: 100%;
}


.aboutcard  img {
  transition: 1s ease;
  }
  
  .aboutcard  img:hover{
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  transition: 1s ease;
  }
 
.aboutcard  h1{
  position: inherit;
  font-size: 22px;
  font-family: "Lora", Sans-serif;
  padding-top: 10px;
  margin-top: 10px;
}
.aboutcard  p{
  font-size: 17px;
  font-family: "Lora", Sans-serif;
  padding-top: 10px;
}

@media screen and (max-width: 768px){
  .aboutcontainer{
    flex-direction: column;
  }
  .aboutcard{
    padding: 0;
  }
}

/******** aboutname section *************/

.namecard {
  align-items: center;
  display: flex;
  flex-direction: row;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  
}
.name{
  text-align: center;
  margin-bottom: 30px;
  padding-left: 10px;
}

.image-container {
  width: 200px;
   height: 200px; 
  border-radius: 50%;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title {
  text-align: center;
  font-size: 34px;
  font-weight: bold;
  font-family: "Lora", Sans-serif;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  font-size: 34px;
  color: #4da391;
  font-family: "Lora", Sans-serif;
  padding-right: 20px;
  margin-bottom: 20px;
}
.subtitle2{
  text-align: center;
  font-size: 35px;
  font-family: "Great Vibes", cursive;
  padding-right: 90px;

}

.description {
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
  padding: 0 15px;
  font-family: "Lora", Sans-serif;
}
@media screen and (max-width: 768px){
  .namecard{
    flex-direction: column;
  }
  .name{
    margin-top: 20px;
    width: 100%;
  }
  .subtitle2{
    padding: 0;
  }
  .subtitle{
    padding: 0;
  }
}

