*{
    margin: 0;
    padding: 0;
    font-family: poppins;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #c8e8e9;
    
}
a{
    text-decoration: none;
}

#navbar{
    display: flex;
    align-items: center;
    position: sticky;
    top: 0px;
}

#navbar::before{
    content: "";
    background-color: #5029bc;;
    position: absolute;
    top:0px;
    left:0px;
    height: 100%;
    width:100%;
    z-index: -1;
    opacity: 0.7;
}

#navbar ul{
    display: flex;
    font-family: 'Baloo Bhai', cursive;
}

#navbar ul li{ 
    list-style: none;
    font-size: 1.3rem;
}

#navbar ul li a{
    color: white;
    display: block;
    padding: 3px 22px;
    border-radius: 20px;
    text-decoration: none;
}

#navbar ul li a:hover{
    color: black;
    background-color: white;
}

.re{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.re2{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;

}
.review{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 80%;


}
.review-heading{
    letter-spacing: 1px;
    margin: 30px 0px; 
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.review-heading h1{
   font-size: 2.rem;
   font-weight: 500;
   background-color:#3e2093;
   color: #ffffff;
   border-radius: 5px;
   padding: 10px;
   

}
.review-heading span{
    font-size: 2.8rem;
    color: #151517;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: underline;
    
}
.review-box-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    /* border: 2px solid black; */
}
.review-box{
width: 500px;
box-shadow: 2px 2px 30px rgba(0,0,0,0.1);
background-color: #ffffffcf;
padding: 20px;
margin: 15px;
cursor: pointer;
border-radius: 10px;
}
.review-box:hover{
    transform: translateY(-10px);
    transition: all ease 0.3s;
}
.profile-img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}
.profile-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

}
.profile{
    display: flex;
    align-items: center;
}
.name-user{
    display: flex;
    flex-direction: column;
}
.name-user strong{
    color: #3d3d3d;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.name-user span{
    color: #979797;
    font-size: .8rem;
}
.reviews{
    color:#f9d71c;
}
.box-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.comments p{
    font-size: .9rem;
    color: #4b4b4b;

}
.wrap{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    background-color: rgba(154, 163, 209, 0.308);
    font-size: 1.3rem;
  
  }
.wrap label{
    color: #3e2093;
}
.wrap h1{
    font-size: 2.5rem;
    font-weight: 400;
     text-decoration: underline;
     color: #3e2093;
   
}

.color{
    margin-top: 20px;
    background-color: rgba(154, 163, 209, 0.308);
    border-radius: 30px;
}
.txt{
     width: 15rem;
     height: 2.2rem;
     border-radius: 8px;
     
}
.txt2{
    width: 15rem;
    height: 6rem;
    border-radius: 8px;
    
}
td{
    padding: 10px 20px 0 0;
    
}
.wrap input,
.wrap textarea{
    width: 100%;
    padding: .5rem;
    
}
.form-group input{
    height: 100%;
    width: 60%;
    border: none;
    outline: none;
    font-size: 16px;
    background: #F0F1F8;
    border-radius: 6px;
    padding: 0 15px;
    resize: none;
    
}
.button1{
    display: flex;
    
    justify-content: center;
    align-items: center;
}
.button1 button{
    margin: 20px 20px;
    padding: 8px;
    width: 30%;
    border-radius: 10px;
    font-size: 1.4rem;
    background-color: #3e2093;
    color: #fff;
    cursor: pointer;
}

.button1 button:hover{
  background: #5029bc;
}
#tex{
  display: flex;
  flex-direction: column;
}
#tex textarea{
  width: 60%;
}
#special  label,a{
    color: #3e2093;
    
}
#special input{
  cursor: pointer;
}
.container{
width: 80%;
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  
  margin-top: 100px;
  margin-left: 10%;
  margin-bottom: 50px;
  
}
.container .content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(154, 163, 209, 0.308);
  
  border-radius: 30px;
}
.container .content .left-side{
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  position: relative;
}
.content .left-side::before{
  content: '';
  position: absolute;
  height: 70%;
  width: 2px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #afafb6;
}
.content .left-side .details{
  margin: 14px;
  text-align: center;
}
.content .left-side .details i{
  font-size: 30px;
  color: #3e2093;
  margin-bottom: 10px;
}
.content .left-side .details .topic{
  font-size: 18px;
  font-weight: 500;
}
.content .left-side .details .text-one,
.content .left-side .details .text-two{
  font-size: 14px;
  color: #afafb6;
}
.container .content .right-side{
  width: 75%;
  margin-left: 75px;
}
.content .right-side .topic-text{
  font-size: 23px;
  font-weight: 600;
  color: #3e2093;
}
.right-side .input-box{
  height: 50px;
  width: 100%;
  margin: 12px 0;
}
.right-side .input-box input,
.right-side .input-box textarea{
  height: 100%;
  width: 60%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #F0F1F8;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}
.right-side .message-box{
  min-height: 110px;
}
.right-side .input-box textarea{
  padding-top: 6px;
}
.right-side .button{
  display: inline-block;
  margin-top: 12px;
}
.right-side .button input[type="button"]{
  color: #fff;
  font-size: 18px;
  outline: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  background: #3e2093;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button input[type="button"]:hover{
  background: #5029bc;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
}
footer{
    background: #3e2093;
    color: white;
    padding: 9px 20px;
}

@media (max-width: 950px) {
  .container{
    width: 90%;
    padding: 30px 40px 40px 35px ;
  }
  .container .content .right-side{
   width: 75%;
   margin-left: 55px;
   
}
.form-group textarea{
  width: 70%;
  
}
}
@media (max-width: 820px) {
  .container{
      height: 100%;
      margin-left: auto;
      margin-right: auto;
     
  }
  .container .content{
    flex-direction: column-reverse;
    padding: 20px;
  }
 .container .content .left-side{
   width: 100%;
   flex-direction: row;
   margin-top: 40px;
   justify-content: center;
   flex-wrap: wrap;
 }
 .container .content .left-side::before{
   display: none;
 }
 .container .content .right-side{
   width: 100%;
   margin-left: 0;
 }
 .wrap{
  padding: 20px;
 }
}
@media (max-width: 600px) {

    #navbar {
        flex-direction: column;
    }
    
    #navbar ul li a{
        font-size: 1rem;
        padding: 0px 7px;
        padding-bottom: 8px;
    }
}
@media  (max-width: 540px ){
    #navbar::before{
        width: 100%;
    }
    .button1 button{
      width: 40%;
    }
    .color{
      margin: 50px;
      width: 95%;

    }


}
