.mission {
  width: 100%;
  margin: 20px auto;
  padding: 10px 80px;
}
.mission .missionTitle {
  width: 100%;
  margin-bottom: 20px;
}

.mission .missionTitle h1 {
  font-size: 40px;
  color: #4c4949;
}

.mission .missionTitle p {
  font-size: 20px;
  color: #4c4949;
}

.mission .missionTitle strong {
  font-size: 20px;
  color: #4c4949;
}

.missionContent {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0px;
}

.overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #00000038;
  z-index: 1;
}

.aboutCard {
  max-width: 30%;
  flex-basis: 30%;
  margin-bottom: 2%;
  margin-left: 2%;
  width: 24rem;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  color: #fff;
  box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
}
.aboutCard img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.9;
  transition: opacity 0.2s ease-out;
}
.aboutCard h2 {
  position: absolute;
  inset: auto auto 30px 30px;
  margin: 0;
  transition: inset 0.3s 0.3s ease-out;
  font-weight: normal;
  text-transform: uppercase;
  z-index: 10;
}
.aboutCard p {
  position: absolute;
  opacity: 0;
  max-width: 80%;
  transition: opacity 0.3s ease-out;
  color: #fff;
  inset: auto auto 60px 30px;
  z-index: 10;
}

.aboutCard:hover h2 {
  inset: auto auto 300px 30px;
  transition: inset 0.3s ease-out;
}
.aboutCard:hover p {
  opacity: 1;
  transition: opacity 0.5s 0.1s ease-in;
}
.aboutCard:hover img {
  transition: opacity 0.3s ease-in;
  opacity: 1;
}

.material-symbols-outlined {
  vertical-align: middle;
}

@media only screen and (max-width: 600px) {
  .mission {
    flex-direction: row;
  }
  .aboutCard {
    max-width: 100%;
    flex-basis: 100%;
    margin-bottom: 2%;
    margin-left: 0%;
  }
}
@media only screen and (min-width: 600px) {
  .mission {
    flex-direction: row;
  }
  .aboutCard {
    max-width: 100%;
    flex-basis: 100%;
    margin-bottom: 2%;
    margin-left: 0%;
  }
}
@media only screen and (min-width: 768px) {
  .mission {
    flex-direction: row;
  }
  .aboutCard {
    max-width: 45%;
    flex-basis: 45%;
    margin-bottom: 2%;
    margin-left: 2%;
  }
}

@media only screen and (min-width: 992px) {
  .mission {
    flex-direction: row;
  }
  .aboutCard {
    max-width: 30%;
    flex-basis: 30%;
    margin-bottom: 2%;
    margin-left: 2%;
  }
}
@media only screen and (min-width: 1200px) {
  .mission {
    flex-direction: row;
  }
  .aboutCard {
    max-width: 30%;
    flex-basis: 30%;
    margin-bottom: 2%;
    margin-left: 2%;
  }
}
