/* latin-ext */
@font-face {
  font-family: 'Grenze';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/grenze/italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Grenze';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/grenze/italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Grenze';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/grenze/normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Grenze';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/grenze/normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Satisfy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/satisfy/normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --purple: #9f44b4;
}

body {
  font-family: 'Grenze', sans-serif;
  padding: 2rem;
  margin: 0;
}

button {
  font-family: 'Grenze', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}
h3, h4, h5, h6 {
  font-weight: 400;
}
h1 {
  font: normal 4rem 'Satisfy', serif;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 1rem;
}
h2 {
  line-height: 1;
}
h3 {
  color: var(--purple);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.short-tag {
  display: none;
}
@media (max-width: 600px) {
  .full-tag {
    display: none;
  }
  .short-tag {
    display: inline;
  }
}

video {
  /* width: 50.625vh; */
  height: 90vh;
  aspect-ratio: 9 / 16;
}

#video_container {
  display: grid;
  grid-template-columns: min(calc((100vh - 10rem) * 0.5625), 50vw) 1fr;
  gap: 2rem;
}

@media (max-width: 600px) {
  #video_container {
    gap: 1rem;
  }
}

#player_col {
  max-height: calc(100vh - 10rem);

  /* These mimic the VideoJS style for .vjs-fluid before VideoJS initializes. */
  #video_player {
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-top: 177.77777777777777% !important;

    &.vjs-fluid {
      max-height: 100vh;
      height: auto;
      aspect-ratio: 9 / 16; /* Change to match your vertical video's actual aspect ratio */
    }

    &.vjs-fullscreen {
      height: 100vh !important;
      width: 56.25vh !important;
    }

    .vjs-tech {
      max-height: 100vh !important;
    }
  }
}

#list_col {
  max-height: calc(100vh - 10rem);
  overflow: auto;

  .video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;

    .video-button {
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 6.75rem;
      background: transparent;
      padding: 0;
      border: none;

      img {
        height: 12rem;
      }

      .video-title {
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  }
}

@media (max-width: 600px) {
  #list_col {
    .video-list {
      .video-button {
        width: 2.8125rem;

        img {
          height: 5rem;
        }
      }
    }
  }
}
