body {
    display: block;
    margin: 0;
    padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: black;
  height: auto;
  color: white;
  margin-top: 0;
  padding-top: 0;
}

nav .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 80%;
}





.menu-toggle {
  display: none;
}









.bfMain {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.mainNav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  gap: 30px;
}

.bfMain a{
  color: white;
  text-decoration: none;
  font-style: none;
}

.mainNav h3 {
}

.instaIcon{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.aboutUsContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(227, 212,189, 1);
  width: 100%;
  padding: 0 0 70px 0;
}

.aboutUsContainer h1 {
  font-size: 3rem;
  font-weight: 400;
  text-align: center;
}

.aboutUsMain {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 80%;
}

#moreText {
  display: inline-block;
}

#toggleBtn {
  display: none;
}

.aboutUsMain div + div {
  padding-left: 30px;
  height: auto;
}

.aboutUsImg {
  width: 80%;
  min-width: 400px;
}

.aboutUsImg img {
  height: auto;
  width: 100%;
  box-shadow: 0 0 10px rgb(102, 87, 64);
}

.aboutUsRight {
  line-height: 1.7rem;
  font-size: 1.3rem;
  font-weight: 400;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
    background: rgba(227, 212,189, 1);
    padding-bottom: 70px;
}

main h1 {
  font-size: 3rem;
  font-weight: 400;

}

.ourClasses {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 80%;
}

.classes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.classes h3 a{
  font-size: 1.6rem;
  font-weight: 400;
  text-decoration: none;
  list-style: none;
  color: black;
}

.classes div {
  max-width: 400px;
  width: 100%;
}

.classes img {
  height: auto;
  width: 100%;
  box-shadow: 0 0 10px rgb(102, 87, 64);
}

.divider {
    height: 100px;
    width: 100%;
    background: black;
}

.class2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
    background: white;
}

.teachers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: max-content;
  width: 100%;
  background: rgba(227, 212,189, 1);
}

.teachers h1 {
  font-size: 3rem;
  font-weight: 400;
  /* color: rgb(255, 106, 0);
  text-shadow: 0 0 10px rgb(255, 106, 0); */
}

.aboutTeachers {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: inherit;
  width: 80%;
}

.containerTeacher {
  display: flex;
  flex-direction: column;
  justify-self: flex-start;
  align-items: center;
  height: inherit;
  width: 80%;
}

.containerTeacher h2 {
  text-align: center;
}

.containerTeacher img {
  height: auto;
  width: 400px;
  box-shadow: 0 0 10px rgb(102, 87, 64);
}

.containerTeacher p {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6rem;
  padding: 15px;
  width: 80%;
}


footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    height: 200px;
    width: 100%;
    color: white;
    padding-top: 20px;
    text-align: center;
}

@media (max-width: 767px) {
  .mainNav {
    flex-direction: column;
  }


  .menu-toggle {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    z-index: 200;
  }

  /* Slide-down nav */
  .mainNav {
    position: fixed;
    top: -100vh; /* Hidden above */
    left: 0;
    width: 100%;
    background-color: #222;
    flex-direction: column;
    gap: 20px;
    padding: 80px 20px 20px;
    transition: top 0.4s ease;
    z-index: 150;
    display: flex;
  }

  /* When active, slide down */
  .mainNav.active {
    top: 0;
  }

  .instaIcon {
    display: active;
    margin-top: -15px;
  }

  .menu-toggle {
    display: active;
    align-self: center;
  }

  .backimg img{
    width: 100%;
  }

  .aboutUsMain {
    flex-direction: column;
  }

  #moreText {
    display: none;
  }

  #toggleBtn {
    display: block;
    border-radius: 25px;
    font-weight: 400;
  }

  .aboutUsImg {
    min-width: 100%;
  }

  .ourClasses {
    flex-direction: column;
  }

  .aboutTeachers {
    flex-direction: column;
    justify-content: center;
  }

  .containerTeacher {
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .containerTeacher img {
    width: 100%;
    padding: 0;
    margin: 0;
  }
}
