.first-h3 {
    background-color: rgb(247, 247, 155);
    /* width: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.main-top{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
        padding: 50px;
    margin: 20px 20px;
    border-radius: 15px;
}
h3{
    background-color: rgb(131, 229, 154);
    padding: 50px;
    margin: 20px 20px;
    border-radius: 15px;
}

h3 {
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
}

/* h3 span{
    display: block;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s ease;
} */


/* h3:hover span{
    opacity: 1;
    transform: translateY(0);
}

h1 span:nth-child(1)
{transition-delay: 0.1s;}
h1 span:nth-child(2)
{transition-delay: 0.3s;}
h1 span:nth-child(3)
{transition-delay: 0.5s;}
h1 span:nth-child(4)
{transition-delay: 0.7s;} */


/* manaige */
.ax{
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}
.ax img{
max-width: 100%;
}
.ax1 , .ax12 , .ax2 ,.ax3, .ax4 ,.ax5 ,.ax6{
  width: 300px;
  font-family: "B Nazanin","Tahoma", sans-serif;
  font-weight: bold;
}
.manage1{
  margin-top: 20px;
    background-color: #b2dbbf;
  padding:50px 10px;
    box-shadow: var(--box-shadow-main);
  transition: all 0.3s ease-in-out;
   height: auto;
  width: 100%;
  display: flex;
  transform: translateX(100deg);
  }  
.manag1:hover {
  box-shadow: var(--box-shadow-hover);
  
}
.person{
  align-items: center;
  text-align: center;
  justify-content: center;
  display: flex;
}

.pmanag{
  color: rgb(0, 0, 0);
}
.p{
  margin-top: -45px;
  display: flex;
  text-align: center;
  color: rgb(0, 0, 0);
  width: 80%;
  font-size: 15px;
  padding: 30px;
/* font-size: larger; */
}
.teachers1{
  border-radius: 50px;
  background-color: rgb(249, 249, 198);
  height: auto;
  padding: 50px;
  margin: 20px 20px;

}
.title h {
  display: block;
  margin-top: 0px;
  text-align: right;
}
.ax{
  text-align: center;
}
.teachers2{
  border-radius: 50px;
  background-color: rgb(190, 244, 196);
  height: auto;
        padding: 50px;
    margin: 20px 20px;
}
/* .ax2{
  text-align: center;
  display: flex;
} */
 .title h2 {
  display: block;
  margin-top: 0px;
  text-align: right;
} 
.teachers{
  border-radius: 30px;
  background-color: #d0f6b4;
  height: auto;
  padding: 50px;
  margin: 20px 20px;
}

@media (max-width: 1024px) {
  .ax{
display: flex;

  }
}


.box{
  border: 1px solid black;
  width: 85%;
  text-align: center;
  align-items: center;
  margin-right: 7%;
  margin-top: 10px;
}
.imgfooter{
  width: 70px;
  padding-top: 15px;
}

@media (min-width: 500px) {
  .nnn{
display: flex;
/* gap: 10px; */
margin-left: 35px;
margin-right: 5px;
  }
  .box{
    width: 90%;
  }
}