:root{
    --me-1: #0A7E8C;
    --me-2: #7E8C0A;
    --women-1: #8C0A7E;
    --men-1: #8C3A0A;
    --scroll-track: rgba(0,0,0,0.28);
    --scroll-thumb: #0A7E8C;
    --scroll-thumb-dark: #03282D;
    --me-dur: 3s;
    --avg-dur: 3s;
    --gap: 0.25s;
    --vh: 100vh;
}

html, body {
    height: 100%;
    overflow: hidden;
    background: #1d2724;
    height: calc(var(--vh, 100dvh));
}

@media (max-width: 767px) {
  html, body {
    min-height: 100dvh;
  }
  .snap-wrap {
    scroll-snap-type: y mandatory;
  }
  .snap-wrap .page {
    padding: 0px 0;
  }
}

/* =========================
   HEADER
   ========================= */

header {
    margin: 50px 50px 50px 50px;
    text-align: center;
}

h1 {
    font-family: 'Somebody Else', Arial, fantasy;
    color: #FFFFFF;
    text-align: center;
    font-weight: bold;
    font-size: calc(45px + 0.390625vw);
    padding-top: 50px;
}

/* =========================
   TEXT
   ========================= */

h2, h3 {
    font-family: 'Somebody Else', Arial, fantasy;
    color: #0A7E8C;
    text-align: center;
    font-weight: bold;
    font-size: calc(22px + 0.390625vw);
}

h5 {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding-left: 10px;
    font-size: calc(12px + 0.390625vw);
}

a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 3px 3px 5px #3b3b3b;
}

p {
    color: #ffffff;
}

.pcenter {
    text-align: center;
    color: #ffffff;
    font-size: calc(14px + 0.390625vw);
}

.plimited {
    color: #ffffff;
    width: 65vw;
    display: block;
    align-self: center;
}

.pcurvy {
    color: #ffffff;
    width: 65vw;
    display: block;
    font-style: italic;
    align-self: center;
}

ul {
  display: block;
  width: fit-content;
  margin: 0 auto;
  max-width: 70vw;
  padding: 0 40px 0 60px;
  list-style-position: outside;
}

li {
  color: #ffffff;
  font-weight: bold;
  font-size: calc(12px + 0.390625vw);
  list-style-type: "★";
  padding-left: 8px;
}

.combinations {
    padding-bottom: 8px;
}

@font-face {
    font-family: 'Somebody Else';
    src: url('fonts/Somebody_Else.otf');
    font-style: normal;
}

/* =========================
   IMAGES
   ========================= */

img {
    max-width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

.snap-wrap.zoomed{
    scroll-snap-type: none;
}

.snap-wrap.zoomed .page{
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

/* =========================
   VIDEOS
   ========================= */

.video-wrapper {
  position: relative;
  width: 80%;
  max-width: 65vw;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

@media (max-width: 767px) {
    .video-wrapper {
    width: 100%;
    max-width: 90vw;
    }
}

/* =========================
   TOP BUTTON
   ========================= */

.top {
    position: fixed;
    bottom: 20px;
    padding: 10px 10px 10px 10px;
    background: var(--me-1);
    border-radius: 100px;
    font-size: calc(13px + 0.390625vw);
    box-shadow: 3px 3px 10px #000000;
    right: 35px;
    bottom: 15px;
    opacity: 0.2;
    z-index: 1000;
}

.top:hover {
  opacity: 1 !important;
}

/* =========================
   SECTIONS
   ========================= */

.snap-wrap {
    height: calc(var(--vh, 100dvh));
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.snap-wrap .page {
    height: calc(var(--vh, 100dvh));
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
    scroll-snap-stop: normal;
}

.snap-wrap .grid {
    display: block;
    padding-bottom: 0;
}

/* =========================
   SCROLL BARS
   ========================= */

.snap-wrap {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

.snap-wrap:active {
    scrollbar-color: #7E8C0A rgba(0,0,0,0.28);
}

.snap-wrap::-webkit-scrollbar {
    width: 12px;
}

.snap-wrap::-webkit-scrollbar-track {
    background: var(--scroll-track);
    border-radius: 12px;
}

.snap-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--scroll-thumb-dark) 0%, var(--scroll-thumb) 100%);
    border-radius: 12px;
    border: 3px solid rgba(0,0,0,0.25);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.snap-wrap::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #282D03 0%, #7E8C0A 100%);
}

/* =========================
   PROGRESS BARS
   ========================= */

.progress-bar,
.progress-bar-men,
.progress-bar-women {
    width: 85%;
    max-width: 400px;
    height: 20px;
    background-color: #202020;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px auto;
    position: relative;
}

.progress-fill,
.progress-fill-men,
.progress-fill-women {
    width: 0;
    height: 100%;
    background-color: #0A7E8C;
    transition: width var(--me-dur) ease-in-out;
}

.progress-fill-men {
    background-color: #8C180A;
}

.progress-fill-women {
    background-color: #590A8C;
}

.progress-label {
    position: absolute;
    color: #ffffff;
    top: 0;
    right: -45px;
    width: 80px;
    text-align: left;
    top: 2px;
    font-size: 14px;
    z-index: 2;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.65);
}

.progress-bar::before,
.progress-bar-me::before,
.progress-bar-men::before,
.progress-bar-women::before {
    content: "Me";
    position: absolute;
    left: 8px;
    top: 4px;
    color: #ffffff;
    font-size: 14px;
    z-index: 2;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.65);
}

.progress-bar-men::before{
    content: "Men Mean";
}

.progress-bar-women::before{
    content: "Women Mean";
}

/* ================================
   BELL CURVE (Big5)
   ================================ */

.bellCurve {
  width: 90%;
  max-width: 900px;
  height: 420px;
  margin: 26px auto 0;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 3px 3px 10px #000000;
}

@media (max-width: 767px) {
  .bellCurve {
    width: 95%;
    height: 320px;
  }
}
