.about {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  background: white;
  isolation: isolate;
}

/* =========================
   About Text Block
   ========================= */
.about-text {
  text-align: center;
  width: 100%;
  padding-top: clamp(6vh, 10vh, 12vh);
  padding-left: clamp(1rem, 5%, 5rem);
  padding-right: clamp(1rem, 5%, 5rem);
}

.about-text h5 {
  color: black;
}

.about-text h2 {
  color: black;
}

.about-text p {
  color: black;
  margin-top: clamp(12px, 2vw, 20px);
  padding-bottom: clamp(6vh, 12vh, 18vh);
  text-align: center;
}

/* =========================
   Cards
   ========================= */
.about-cards {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: clamp(6vh, 10vh, 15vh);
}

.about-card {
  width: clamp(280px, 40%, 520px);
  padding: 0.75em;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  background-color: transparent;
  color: black;
  box-sizing: border-box;
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-card-img {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  will-change: transform, filter;
}

.about-card-img img {
  width: 100%;
  height: 108%;
  display: block;
  object-fit: cover;
}

.about-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  text-align: center;
}

.about-card-content .about-code {
  text-transform: uppercase;
  font-family: "sohne-bold";
  font-size: clamp(17px, 1.6vw, 21px);
  color: black;
}

.about-card-content .about-description {
  display: none;
}



.right-card {
  margin-left: auto;
}

@media (max-width: 600px) {
  .about-card {
    width: 82%;
  }
}

/* =========================
   About Code hover label
   ========================= */
.about-code {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-align: center;
}

.code-visible,
.code-animated {
  display: inline-block;
  will-change: transform;
}

.code-animated {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}