.about-container {
  position: relative;
  width: 100%;
  height: auto;
}

.about-main-image-container {
  position: relative;
  text-align: center;
  display: flex;
  width: 100%;
  height: 85vh;

  background-image: url('../assets/images/about_main.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: black;
}

.about-main-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  clip-path: polygon(0 78%, 100% 92%, 100% 100%, 0 100%);
}

.about-card {
  position: absolute;
  top: 440px;
  left: 235px;
  width: 40rem;
  height: 30rem;
  background-color: rgb(0, 0, 0);
  z-index: 2;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid rgb(252, 180, 47);
}

.about-card h1 {
  font-weight: 800;
  font-size: 2.5rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  user-select: none;
  text-align: end;
  margin-bottom: 3.5rem;
  margin-right: 4rem;
  color: rgb(252, 180, 47);
}

.about-card-content {
  width: 70%;
  margin-right: 4rem;
}

.about-card-content p {
  font-weight: 500;
  font-size: 1rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  user-select: none;
  color: white;
  line-height: 2rem;
}

/* ------------------------MEDIA------------------------ */
@media (max-width: 500px) {
  .text-image-rows-container {
    margin: 0 !important;
  }
  .about-main-image-container {
    height: 50vh;
  }

  .about-main-image-container::after {
    content: none;
  }

  .about-card {
    position: unset;
    width: 100%;
    max-width: fit-content;
    height: fit-content;
    display: flex;
    border: none;
  }

  .about-card-content {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-card-content p {
    padding: 0 2rem;
  }
}

@media (501px <= width <= 1000px) {
  .about-main-image-container::after {
    content: none;
  }

  .about-card {
    position: unset;
    width: 100%;
    max-width: fit-content;
    height: fit-content;
    display: flex;
    border: none;
  }

  .text-image-rows-container {
    margin: 0 !important;
  }
}
