/* --------------------------------------------------
   About / Contact page
-------------------------------------------------- */

.about-close {
  position: fixed;
  z-index: 1000;
  top: 1.75rem;
  right: 1.75rem;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  width: 40px;
  height: 40px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #ff5f57;
  color: #000;

  font-size: 27px;
  font-weight: 400;
  line-height: 1;

  text-decoration: none;
  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.about-close:hover,
.about-close:focus-visible {
  background: #ff5f57;
  color: #000;
  transform: scale(1.05);
}


/* ---------------------------------
   Page layout
---------------------------------- */

.about-page {
  width: 100%;
  max-width: 50rem;

  margin: 0 auto;
  padding: 4rem 2rem 6rem;

  text-align: center;
}


/* ---------------------------------
   Portrait
---------------------------------- */

.about-image {
  width: 26.4rem;
  max-width: 100%;

  margin: 0 auto 2.5rem;
}

.about-portrait {
  width: 100%;
  margin: 0;
}

.about-image img {
  display: block;

  width: 100%;
  height: auto;
}

.about-photo-credit {
  margin-top: 0.3rem;

  color: #555;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.25;

  text-align: left;
}


/* ---------------------------------
   Content
---------------------------------- */

.about-content {
  width: 100%;
  max-width: 34rem;

  margin: 0 auto;

  text-align: center;
}

.about-section {
  margin-bottom: 2rem;
}

.about-section p {
  margin: 0 0 1rem;
  text-align: center;
}

.about-section a:not(.about-link) {
  color: #3057c7;

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}


.about-section a:hover,
.about-section a:focus-visible {
  color: #3057c7;
}

/* ---------------------------------
   Links
---------------------------------- */

.about-link {
  display: inline-block;

  color: #3057c7;

  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;

  text-decoration: none;

  transform: none;

  transition:
    color 0.25s ease,
    font-weight 0.25s ease;

  animation: none;
}

.about-link:hover,
.about-link:focus-visible {
  color: #ff5f57;
  font-weight: 900;

  text-decoration: none;

  transform: none;
  animation: none;
}


/* ---------------------------------
   Imprint
---------------------------------- */

.about-imprint {
  margin-top: 5rem;

  font-size: 0.85rem;
  line-height: 1.5;

  text-align: center;
}


/* --------------------------------------------------
   Tablet / Mobile
-------------------------------------------------- */

@media (max-width: 800px) {

  .about-close {
    top: 1.25rem;
    right: 1.25rem;
  }

  .about-page {
    max-width: 100%;
    padding: 4rem 1.25rem 4rem;
  }

  .about-image {
    width: 38.5rem;
    max-width: 100%;

    margin: 0 auto 2rem;
  }

  .about-content {
    max-width: 100%;
  }

  .about-link {
    font-size: 1.3rem;
  }

  .about-imprint {
    margin-top: 4rem;
  }

}


/* --------------------------------------------------
   Small Mobile
-------------------------------------------------- */

@media (max-width: 480px) {

  .about-close {
    top: 1rem;
    right: 1rem;

    width: 38px;
    height: 38px;

    font-size: 25px;
  }

}


/* --------------------------------------------------
   Reduced Motion
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .about-close,
  .about-link {
    transition: none;
  }

  .about-close:hover {
    transform: none;
  }

}
