/*
 * Shared styles for sub-pages (team, privacy)
 * SVG mask prevents sub-pixel rendering artifacts that occur with
 * clip-path: ellipse() at certain viewport widths.
 * See: https://github.com/mannekenthink/frontend-corporate/issues/2
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  height: 100%;
}
body,
html {
  background: #dad7d7;
}
section {
  width: 100%;
}
.heading {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  background-color: #260040;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='-10' rx='100' ry='100' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cellipse cx='50' cy='-10' rx='100' ry='100' fill='white'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
.heading img {
  position: relative;
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(218,165,32,0.7));
}
.content {
  padding: 4rem 2rem;
  text-align: center;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}
.content div {
  margin: auto;
  max-width: 800px;
}
.content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
}
.content h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
}
.content p,
.content ul {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  line-height: 1.6;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.content ul li {
  margin-left: 1.5rem;
}
.team-member {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}
.team-member-photo-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid #daa520;
  flex-shrink: 0;
  overflow: hidden;
}
.team-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.team-member-info {
  flex: 1;
}
.team-member-info h3 {
  font-size: 1.5rem;
  color: #333;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  margin-bottom: 0.25rem;
}
.team-member-info .title {
  font-size: 1rem;
  color: #999;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  margin-bottom: 1rem;
}
.team-member-info .intro {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  text-align: justify;
  margin-bottom: 0.75rem;
}
.team-member-info .fingerprint {
  font-family: monospace;
  font-size: 0.85rem;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}
.team-member-info .fingerprint a {
  color: #daa520;
  text-decoration: none;
}
.team-member-info .fingerprint a:hover {
  text-decoration: dotted underline;
}
@media (max-width: 600px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .team-member-info h3 {
    text-align: center;
  }
  .team-member-info .intro {
    text-align: justify;
  }
  .team-member-info .title {
    text-align: center;
  }
  .team-member-info .fingerprint {
    text-align: center;
    font-size: 0.9em;
    max-width: 82vw;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.footer {
  background-color: #260040;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
.footer-brand-name {
  color: #daa520;
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
}
.footer-brand-name:hover {
  text-decoration: dotted underline;
}
.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-left {
  display: flex;
  flex-direction: column;
}
.footer-right {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.footer-privacy {
  margin-top: 1.5rem;
}
.footer p {
  font-size: 0.75rem;
  color: #666;
  margin: 0 0 0.3rem 0;
  font-family: Arial, sans-serif;
  font-style: normal;
}
.footer address {
  font-style: normal;
  margin-bottom: 1rem;
}
.footer p a {
  font-size: 0.75rem;
  color: #666;
  font-family: Arial, sans-serif;
  text-decoration: none;
}
.footer p a {
  position: relative;
}
.footer p a:hover {
  color: #daa520;
  text-decoration: dotted underline;
}
.footer p a::after {
  content: '\21E2';
  position: absolute;
  left: 100%;
  top: 0;
  padding-left: 0.3em;
  opacity: 0;
}
.footer p a:hover::after {
  opacity: 1;
}
@media (max-width: 600px) {
  .footer-columns {
    flex-direction: column;
    gap: 2rem;
  }
}
@media (min-width: 768px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }
  section {
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
}
