@font-face {
  font-family: 'TruenoBold';
  src: url('fonts/TruenoRoundBd.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Trueno';
  src: url('fonts/TruenoRound.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/static/Montserrat-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/static/Montserrat-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/static/Montserrat-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/static/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/static/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/static/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/static/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/static/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/static/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

body {
  font-size: 16px;
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
}

a {
  color: black;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#header {
  background-color: #70f;

  padding-top:    16px;
  padding-bottom: 16px;

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

#header-inset {
  margin-left: 20px;
  margin-right: 20px;

  display: flex;
  flex-grow: 1;

  max-width: 1200px;

  align-items: center;
  justify-content: space-between;
}

#logo {
  width: 175px;
  display: flex;
  align-items: center;
  gap: 3px;
  user-select: none;
  font-size: 22px;
  font-family: TruenoBold;
  font-weight: 400;
}

#logo:hover {
  text-decoration: none;
}

#header-inset a {
  color: white;
}

.big-logo {
  width: 48px;
  height: 48px;
}

@media only screen and (max-width: 790px) {
  #header-inset .links {
    display: none;
  }
}

#header-inset .links a {
  font-weight: bold;

  margin: 10px;
  padding: 10px;

  font-size: 14px;
}

#header-inset .links a:hover {
  text-decoration: underline;
}

#sign-up-container {
  width: 175px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

#header-inset a.sign-up {
  cursor: pointer;
  background-color: white;
  border-radius: 999px;
  color: black;
  padding: 11px;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 12px;
  font-weight: bold;
  border: 1pt black solid;
}

#header-inset a.sign-up:hover {
  transition: all 0.2s linear;
  color: #70f;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  text-decoration: none;
}

#landing {
  background-color: #70f;
  color: white;

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

  padding-top: 70px;
  padding-bottom: 70px;

  border-bottom: 5px solid black;

  overflow: hidden;
}

#hero {
  position: relative;
  z-index: 999;
  padding-left: 400px;
  padding-right: 400px;
  max-width: 700px;

  text-align: center;

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

  gap: 20px;
}

#hero h1 {
  font-size: max(min(50px, 5vw), 28px);
  font-weight: 900;
  margin: 0;
}

#hero-body {
  display: flex;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  font-family: Trueno;
}

#hero-body ul {
  padding-left: 0;
}

#hero-body li {
  list-style-position: inside;
  margin-top: 30px;
}

#hero-body a {
  color: white;
  text-decoration: underline;
}

#hero-body a:hover {
  text-decoration: underline;
  text-decoration-style: dashed;
}

#left-art {
  position: absolute;
  bottom: 0;
  left: -75px;
  width: 500px;
  height: auto;
  object-fit: cover;
  backface-visibility: hidden;
  transition: transform 0.5s ease-out;
}

#right-art {
  position: absolute;
  bottom: 0;
  right: -75px;
  width: 500px;
  height: auto;
  object-fit: cover;
  backface-visibility: hidden;
  transition: transform 0.5s ease-out;
}

@media only screen and (max-width: 1200px) {
  #hero {
    padding-left: 10px;
  }

  #hero {
    padding-left: 300px;
    padding-right: 300px;
  }
  #left-art  { width: 400px; }
  #right-art { width: 400px; }
}

@media only screen and (max-width: 900px) {
  #landing {
    padding-top: 40px;
  }

  #hero {
    padding-left: 10px;
  }

  #left-art {
    display: none;
  }

  #logo {
    width: unset;
  }

  #sign-up-container {
    width: unset;
  }
}

@media only screen and (max-width: 700px) {
  #landing {
    flex-direction: column;
    padding-bottom: 20px;
    padding-top: 30px;
  }

  #hero {
    padding-right: 10px;
  }

  #right-art {
    position: relative;
    margin-top: 0;
    right: unset;
    order: 2;
  }
}

#footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 20px solid black;

  margin-top: 50px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 30px;
  background-color: #70f;
  overflow: hidden;
}

#footer > div {
  width: 100%;
  max-width: 700px;
  margin-left: 15px;
  margin-right: 15px;
  box-sizing: border-box;
}

#footer #bottom-nav {
  box-sizing: border-box;
  justify-content: space-between;
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 10px;
  padding-right: 10px;
  border-bottom: 1px solid #ffffff;
  width: 100%;
  row-gap: 50px;
  column-gap: 150px;
}

#footer #bottom-nav span {
  font-weight: 900;
  color: white;
}

#footer #bottom-nav ul {
  box-sizing: border-box;
  list-style-type: none;
  padding-left: 0;
  padding-right: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

#footer #bottom-nav li {
  padding-top: 5px;
  padding-bottom: 5px;
}

#footer #socials img {
  height: 20px;
}


#footer #socials ul {
  box-sizing: border-box;
  flex-wrap: wrap;
  list-style-type: none;
  padding-bottom: 20px;
  padding-left: 0;
  padding-right: 0;
  width: 100%;

  justify-content: center;
  display: flex;
  gap: 30px;
  border: none;
  padding: 0;
  padding-top: 20px;
  border-top: 1px solid #ffffff;
}

#footer #socials li {
  padding: 0;
}

#bottom-nav a {
  font-weight: 600;
  font-size: 15px;
}

#footer li:before {
  font-weight: 400;
  color: white;
}

#footer a {
  color: white;
}

.foss, .foss a {
  font-size: 11px;
  line-height: 20px;
  color: white;
}

#footer .logo {
  margin-top: 10px;
  margin-right: 25px;
  font-family: TruenoBold;
  font-size: 20px;
  color: white;
  user-select: none;
}

#footer-legal {
  display: flex;
  flex-direction: row;
}

#testimonials {
  flex-direction: column;
}

#testimonials-text-container {
  text-align: center;
}

#testimonials-text-container h2 {
  font-size: max(min(26px, 3vw), 20px);
}

#testimonials img {
  filter: unset;
  margin: 3px;
  object-fit: scale-down;
  max-width: 100%;
}

#image-container {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  background-color: #eef2ff;
}

#content {
  display: flex;
  align-items: center;
  justify-content: center;
}

#content-inset {
  margin-left: 20px;
  margin-right: 20px;

  flex-grow: 1;

  max-width: 1200px;

  position: relative;
}

#content-inset.club-search {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#content-inset.club-search ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#content-inset.club-search input, #content-inset.club-search ul {
  margin-left: 20px;
  margin-right: 20px;
  width: 100%;
  box-sizing: border-box;
  max-width: 600px;
}

#content-inset.club-search input, #content-inset.club-search li {
  display: flex;
  align-items: center;
  gap: 5px;
}

#content-inset.club-search input {
  border-radius: 999px;
  padding: 15px 25px;
  border-width: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 40px;
  outline: none;
}

#content-inset.club-search .club-name {
  border-color: rgba(0, 0, 0, 0.1);
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 15px;
  padding-right: 15px;
  margin-right: 5px;
  background-color: rgba(255, 255, 255, 0.3);
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 1;
  word-break: break-word;
}

#content-inset.club-search .club-count-members {
  color: black;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex: 1;
}

#content-inset.club-search a {
  margin-left: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 1;
}

#content-inset.club-search li.loading {
  align-self: center;
}

#content p {
  line-height: 26px;
}

#content li {
  line-height: 26px;
}

#content h1 {
  font-size: max(min(50px, 5vw), 28px);
  font-weight: 900;
  margin: 0;
  margin-top: 40px;
  margin-bottom: 15px;
}

#content h2 {
  font-size: max(min(26px, 3vw), 20px);
  margin: 0;
  margin-top: 40px;
  margin-bottom: 15px;
}

#content h3 {
  font-size: max(min(22px, 2vw), 16px);
  margin: 0;
  margin-top: 40px;
  margin-bottom: 15px;
}

#content img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  object-fit: scale-down;
  margin-top: 40px;
  margin-bottom: 40px;
}

.katex { font-size: 16px !important; }

#store-badges {
  display: flex;
  flex-wrap: wrap;

  width: 100%;
  max-width: 500px;

  justify-content: center;
}

#store-badges img {
  width: 100%;
}

.store-badge {
  width: 40vw;
  min-width: 150px;
  max-width: 250px;
}

.chart-flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background-color: #eee;
  border-radius: 5px;
  margin-bottom: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#content .chart-flex-container h4 {
  font-size: 14px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0;
}

.chart-container {
  flex: 1 1 300px;
  max-width: 300px;
  padding-top: 0;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 10px;
  box-sizing: border-box;
}

.chart {
  overflow: visible;
  height: 1px;
  background-color: #ccc;
  position: relative;
  margin-bottom: 20px;
  margin-top: 20px;
}

.chart-marker {
  height: 10px;
  width: 10px;
  position: absolute;
  top: -5px;
}

.chart-marker span {
  position: absolute;
  bottom: -20px;
  font-size: 12px;
  background-color: #eeeeeebb;
  left: -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.chart-male {
  background-color: #5179cf;
}

.chart-female {
  background-color: #ff788f;
  border-radius: 999px;
}

.chart-question {
  flex: 1 1 200px;
  padding: 10px;
}

.trait-extrema {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center;
}

.trait-extrema > div {
  background-color: #eee;
  border-radius: 10px;
  padding-left: 20px;
  padding-right: 20px;
  flex: 1;
}

@media only screen and (max-width: 500px) {
  .trait-extrema {
    flex-direction: column;
  }
}

#content.promotional-text {
  z-index: 999;
  margin-bottom: -80px;
  background-color: #70f;
  color: white;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  font-size: 14px;
  margin-top: 50px;
  border-top: 20px solid black;
  position: relative;
  box-sizing: border-box
}

#content.promotional-text > #content-inset {
  max-width: 700px;
  border-bottom: 1px solid white;
  padding: 10px;
  box-sizing: border-box;
}

#content.promotional-text h2 {
  text-align: center;
}

#num-active-users {
  transition: background-color 0.5s ease, color 0.5s ease, width 0.5s ease;
  color: white;
  background-color: transparent;
}

#num-active-users.skeleton {
  display: inline-block;
  background: linear-gradient(90deg, #70f, #fff, #70f);
  background-size: 400% 100%;
  animation: skeleton-loading 4s linear infinite;
  color: transparent;
  border-radius: 6px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media only screen and (max-width: 700px) {
  #right-art {
    animation: floatUpDown 3s ease-in-out infinite alternate;
  }

  /* Keyframes for a gentle “hover” in the Y-axis */
  @keyframes floatUpDown {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-14px);
    }
  }
}

summary h3 {
  display: inline;
}

div.faq-details-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 50px;
}

div.faq-details-container a {
  color: white;
}

summary {
  cursor: pointer;
}

.lyrics {
  padding-left: 10px;
  font-style: italic;
  border-left: 3px solid black;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.map-container {
  width: 80vw;
  max-width: 600px;
  aspect-ratio: 16 / 10;
}

.map-container svg {
  width: 100%;
  height: 100%;
}

.states {
  stroke: #ffffff;
  stroke-width: 1px;
}

.legend {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}

.legend-box {
  width: 200px;
  height: 15px;
  background: linear-gradient(to left, #08306b, #deebf7);
}

#map-container-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 50px;
}

#map-container-container input {
  align-items: center;
  border-radius: 999px;
  border-width: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: flex;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  margin-left: 20px;
  margin-right: 20px;
  max-width: 600px;
  outline: none;
  padding: 15px 25px;
  width: 100%;
  text-align: center;
}

#map-container-container ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 20px;
  margin-right: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
  align-items: center;
}

#map-container-container li {
  display: flex;
  align-items: center;
  opacity: 0.3;
  text-align: center;
}

#map-container-container li:has(b) {
  opacity: 1;
}

.not-enough-data {
  display: flex;
  align-items: center;
  gap: 10px;
}

.not-enough-data .legend-box {
  width: 15px;
  height: 15px;
  background: black;
}

#reviews-text-container {
  text-align: center;
  padding: 60px 3vw;
  gap: 3vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

#reviews-text-container p {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 0;
}

#reviews-text-container .review {
  flex: 1;
  border-radius: 20px;
  background-color: white;
  border-width: 3px;
  border-color: black;
  border-style: solid;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;

  flex:1 1 320px;   /* grow, shrink, but start at ~320 px */
  max-width:400px;  /* stop them getting silly‑wide on desktop */
}

#reviews-text-container .review div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#reviews-text-container .quote {
  font-style: italic;
  text-align: justify;
  color: black;
  font-weight: 400;
}

#reviews-text-container .attribution {
  float: right;
  text-align: right;
}

#reviews-text-container .attribution a {
  color: black;
  font-weight: 700;
  text-decoration: underline;
}

#reviews-text-container .attribution a:hover {
  text-decoration: none;
}

#reviews-text-container img {
  height: 80px;
  width: 80px;
}

#reviews-text-container img.avatar {
  border-radius: 999px;
}
