#about-page hr {
  border: 0.01rem black solid;
  width: 97vw;
  margin-left: 1.5vw;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

article a,
article {
  color: black;
}

.about-header {
  padding: 1.5rem;
  gap: 7vw;
}

.about-title {
  font-size: 4.5vw;
  line-height: 80%;
  width: 100%;
  text-transform: uppercase;
  margin: 0;
  font-family: "diatype";
  padding: 0;
  font-weight: 900; /* Black/Bold */
  -webkit-text-stroke: 0.12vw;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  grid-template-rows: 1fr;
  gap: 7vw;
  padding: 0rem 1.5rem 1.5rem 1.5rem;
}

.about-image {
  display: block;
  width: 45vw;
  max-width: 75vh;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image-credits {
  margin-top: 0.5rem;
  display: block;
  font-size: 1rem;
}

.about-text {
  width: 90%;
  max-width: 92vw;
  font-size: 1.4rem;
  margin-top: -1rem;
  margin-bottom: 2rem;
  hyphens: auto;
}

/* about record list */

.about-record-entries {
  transition: 0.4s ease-in-out;
  z-index: 10;
}

.about-record-title {
  text-transform: uppercase;
  border: black solid 0.1rem;
  border-radius: 1rem;
  padding: 0.7rem;
  display: flex;
  width: 40vw;
  background-color: white;
  transition: transform 0.3s ease-in-out !important;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transform-origin: center;
  align-items: center;
  transform: scale(1) !important;
}

.about-record-title:hover {
  filter: invert(1);
  transition: 0.1s ease-in-out !important;
  transform: scale(1.015) !important;
}

.about-record-entries:hover .about-record-title:not(:hover) {
  transform: scale(0.99) !important;
  transition: 0.1s ease-in-out !important;
}

.about-record-entry.open:hover .about-record-title:not(:hover) {
  transform: scale(1) !important;
  transition: 0.1s ease-in-out !important;
}

.about-record-title img {
  width: 1.5rem;
  transition: 0.3s ease !important;
  transform-origin: center;
  transform: rotate(0deg) !important;
}

.about-record-list {
  display: none;
  opacity: 0;
  margin-bottom: 2rem;
  width: 100%;
  transition: transform 0.7s;
}

.about-record-entry.open .about-record-title {
  display: flex !important;
}

.about-content:has(.open) .about-record-entries {
  margin-top: 0;
}

.about-record-entry.open img {
  transform: rotate(90deg) translateY(0) !important;
  padding-left: 0;
  transform-origin: center;
}

.about-scroll-top {
  border: solid 0.09rem black;
  background-color: white;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem;
  width: 1.8rem;
  margin: auto;
  cursor: pointer;
  transform: translateX(calc(100% - 1.8rem)) rotate(180deg) !important;
  transition: 0.1s ease-in-out !important;
}

.about-scroll-top:hover img {
  transform: rotate(90deg) scale(1) !important;
  transition: 0.2s ease-in-out !important;
}

.about-scroll-top:hover {
  filter: invert(1);
}

@media (max-width: 1080px) {
  .about-image {
    width: calc(100vw - 2.5rem);
    padding: 1vw;
  }

  .about-record-title {
    width: calc(95vw - 2.5rem);
  }

  .about-title {
    font-size: 10vw;
    flex-wrap: wrap;
    -webkit-text-stroke: 0.17vw;
  }

  .about-scroll-top {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 0.65rem;
    z-index: 100;
    transform: translateX(0%);
    cursor: pointer;
    margin: 0;
    justify-content: start;
    opacity: 1;
    padding: 0.4rem !important;
  }
  .about-scroll-top:hover {
    filter: invert(0);
  }
}

@media (max-width: 768px) {
  .about-content {
    gap: 1vw;
    padding: 3vw;
  }

  .about-text {
    margin-top: 1rem;
    width: 100%;
    max-width: 94vw;
  }

  .about-header {
    padding: 3vw;
  }

  .about-record-title {
    width: 88.5vw;
    padding: 2.5vw;
    border-radius: 3vw;
  }

  .about-record-title img {
    width: 1.1rem;
  }

  .about-image {
    width: 94vw;
    padding: 0;
  }

  .about-text {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  #about-page hr {
    margin-top: 0rem;
    margin-bottom: 0.5rem;
  }
}
