*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero-instructors {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
  background-image: url(/assets/images/poleStudio2.jpeg);
  background-position: center;
  background-size: cover;
}
.title-instructors {
  border: solid white;
  border-radius: 10px;
  color: white;
  padding: 1rem;
  text-shadow: -8px -4px 3px #040404;
  box-shadow: 0 0 5px 5px #151414;
}
.main-instructors {
  padding: 3rem 2rem;
  display: flex;
}
.top-main {
  font-weight: bold;
}
.title-top-main {
  color: pink;
  margin-bottom: 1rem;
}
.subtitle-top-main {
  font-size: 24px;
  margin-bottom: 2rem;
}
.button-top-main {
  background-color: pink;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 20px 20px 20px 0;
  margin-bottom: 1rem;
}

.card-container {
  display: flex;
  justify-content: center;
  padding: 2rem;
  align-items: center;
}
.card-instructor {
  border: solid;
  font-weight: bold;
  width: 300px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-instructor:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
}
.card-image {
  height: 400px;
  background-image: url(/assets/images/sara-dancer.png);
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: white;
}
.card-image-second {
  background-image: url(/assets/images/instructor.jpeg);
}
.card-image-3 {
  background-image: url(/assets/images/serenne.jpg);
}
.card-image-4 {
  background-image: url(/assets/images/andrea.png);
}
.card-image-5 {
  background-image: url(/assets/images/shan.jpeg);
}
.card-blur {
  background-image: url(/assets/images/sara-teacher.png);
  filter: blur(22px);
}
.card-title {
  margin-bottom: 1.5rem;
}
.card-footer {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background-color: #f4f4f4;
  /* border-bottom: dotted pink 5px; */
}
.box-text-icon {
  display: flex;
  margin-bottom: 1rem;
}
.box-subtitles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-text {
  width: 80%;
}
.card-icon {
  cursor: pointer;
  background-color: pink;
  border: solid 2px black;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2rem;
  width: 2rem;
}

.hidden-text {
  padding: 1rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
  font-weight: 400;
  line-height: 1.5rem;
  color: #666;
  font-size: 14px;
}
.hidden-text.show {
  opacity: 1;
  max-height: 500px;
}

@media (min-width: 768px) {
  .hero-instructors {
    font-size: 1.5rem;
    padding: 2rem;
  }
  .main-instructors {
    padding: 3rem;
  }
  .subtitle-top-main {
    width: 90%;
    font-size: 32px;
  }
  .box-text-icon {
    justify-content: space-around;
  }
  .box-subtitles {
    width: 60%;
  }
  .card-instructor {
    width: 80%;
    max-width: 700px;
  }
  .card-image {
    width: 80%;
    height: 250px;
    background-position: center;
  }
  .card-title {
    font-size: 24px;
  }
  .container-picture-image {
    display: flex;
    justify-content: center;
    background-image: linear-gradient(to bottom, pink, white);
  }
  .card-image-second {
    background-position: top;
  }
  .card-image-third {
    background-position: center;
  }
  .card-footer {
    padding: 1.5rem 1rem 0;
  }
  .footer-text {
    text-align: center;
  }
}
@media (min-width: 1024px) {
  .hero-instructors {
    font-size: 2rem;
    padding: 20rem 3rem 10rem;
  }
  .main-instructors {
    padding: 6rem;
  }
  .top-main {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .subtitle-top-main {
    font-size: 40px;
  }
  .button-top-main {
    height: 4rem;
    font-size: 18px;
    font-weight: bold;
  }
}
