.hero-about {
  background-image: url("../img/about-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;

  position: relative;
  margin-bottom: 0;
  padding: 60px;
  isolation: isolate;
}

.hero-about::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #120b32;
  opacity: 0.5;
}

.hero-about>h2 {
  font-family: "RobotoCondensed", Sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
}

@keyframes pushUp {
  from {
    transform: translateY(80px);
    /* Initial position pushed down */
  }

  to {
    transform: translateY(0);
    /* Final position at normal height */
  }
}

.hero-about>h1 {
  color: #fff;
  font-family: "KorolevBold", Sans-serif;
  font-size: 55px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3em;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.76);
  text-align: center;
  animation: pushUp 1.5s ease-out;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.content-wrapper>* {
  width: 85%;
  /* Adjust the width as needed */
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-block: 2rem;
  margin-inline: 7rem;
  gap: 1rem;
}

.container-title {
  display: flex;
  flex-wrap: wrap;
}

.container-title>*:nth-child(1) {
  flex: 1 1 20%;
  min-width: 8ch;
  padding: 5px;
}

.container-title>*:nth-child(2) {
  flex: 1 1 80%;
}

.container-title>h2 {
  color: #1b325f;
  font-family: "KorolevBold", Sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.team-title {
  display: flex;
  flex-wrap: wrap;
}

.team-title>*:nth-child(1) {
  flex: 1 1 40%;
  min-width: 14ch;
  padding: 5px;
}

.team-title>*:nth-child(2) {
  flex: 1 1 60%;
}

.team-title>h2 {
  color: #1b325f;
  font-family: "KorolevBold", Sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.content>p {
  margin-bottom: 1.5em;
  color: #1b325f;
  font-family: "RobotoCondensed", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
}

.divider {
  display: flex;
  align-items: center;
  position: relative;
}

.line {
  width: 100%;
  position: relative;
  margin-right: 5px;
  border-bottom: 1px #1b325f solid;
}

.star {
  width: 1em;
  height: 1em;
  font-weight: 900;
  font-size: 20px;
  text-align: center;
  line-height: 1;
  color: #1b325f;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.team-container .img-wrapper {
  width: 80%;
  display: flex;
  align-items: center;
  aspect-ratio: 1 / 1;
}

.team-container .img-wrapper>img {
  object-fit: contain;
  height: 100%;
}

.card {
  background: rgb(232, 234, 239);
  padding: 2rem;
  margin: 10px;
  flex: 1 1 calc(33.333% - 40px);
  box-sizing: border-box;
}

.description {
  display: container;
  gap: 1rem;
}

.card-content>img {
  width: 44%;
  vertical-align: middle;
  display: inline-block;
  height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.card-content>h3 {
  color: #1b325f;
  font-family: "KorolevBold", Sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.description {
  display: container;
  gap: 1rem;
  text-align: left;
  color: #1b325f;
  font-family: "RobotoCondensed", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0px;
}

.description li {
  text-decoration: none;
  margin-left: 1rem;
}

.description a {
  color: #b53253;
  box-shadow: none;
  text-decoration: none;
}

@media (max-width: 800px) {
  .hero-about>h1 {
    font-size: 27px;
  }
}

@media (max-width: 768px) {
  .card {
    flex: 1 1 100%;
    margin-block: 10px;
    margin-inline: 0;
  }
}
