.ibm-plex-mono-thin {
  font-family: "IBM Plex Mono", serif;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-mono-extralight {
  font-family: "IBM Plex Mono", serif;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-mono-light {
  font-family: "IBM Plex Mono", serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-mono-regular {
  font-family: "IBM Plex Mono", serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-mono-medium {
  font-family: "IBM Plex Mono", serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-mono-semibold {
  font-family: "IBM Plex Mono", serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-mono-bold {
  font-family: "IBM Plex Mono", serif;
  font-weight: 700;
  font-style: normal;
}

.ibm-plex-mono-thin-italic {
  font-family: "IBM Plex Mono", serif;
  font-weight: 100;
  font-style: italic;
}

.ibm-plex-mono-extralight-italic {
  font-family: "IBM Plex Mono", serif;
  font-weight: 200;
  font-style: italic;
}

.ibm-plex-mono-light-italic {
  font-family: "IBM Plex Mono", serif;
  font-weight: 300;
  font-style: italic;
}

.ibm-plex-mono-regular-italic {
  font-family: "IBM Plex Mono", serif;
  font-weight: 400;
  font-style: italic;
}

.ibm-plex-mono-medium-italic {
  font-family: "IBM Plex Mono", serif;
  font-weight: 500;
  font-style: italic;
}

.ibm-plex-mono-semibold-italic {
  font-family: "IBM Plex Mono", serif;
  font-weight: 600;
  font-style: italic;
}

.ibm-plex-mono-bold-italic {
  font-family: "IBM Plex Mono", serif;
  font-weight: 700;
  font-style: italic;
}

.bbh-bartle-regular {
  font-family: "BBH Bartle", sans-serif;
  font-weight: 400;
  font-style: normal;
}

* {
  font-family: "IBM Plex Mono";
  color: white;
  text-decoration: none;
}


body {
    background-color: black;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
  font-family: "BBH Bartle";
  color: white;
  text-decoration: none;
  font-size: 13.5vw;
  margin-bottom: 0px;
  margin-top: -2.5vw;
  letter-spacing: -2vw;
}

h2 {
  font-family: "BBH Bartle";
  color: white;
  text-decoration: none;
  font-size: 3vw;
  margin-bottom: 0px;
  margin-top: -0.5vw;
  letter-spacing: -0.3vw;
}

h3 {
  font-family: "BBH Bartle";
  color: white;
  text-decoration: none;
  font-size: 3rem;
  margin-bottom: 0px;
  margin-top: 10px;
  letter-spacing: -0.2vw;
}

h4 {
  margin: 0px;
  margin-bottom: 5px;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

button {
  background-color: rebeccapurple;
  cursor: pointer;
  border-radius: 5px;
  border-color: white;
  border-style: solid;
  border-width: 1px;
  border-radius: 10px;
  padding: 5px;
}

input {
  background-color: white;
  color: black;
  border-color: white;
  border-style: solid;
  border-width: 1px;
  border-radius: 10px;
  padding: 5px;
}

select {
  background-color: black;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    position: sticky;
    top: 0;
    z-index: 998;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overscroll-behavior-y: contain;
}

p {
  margin: 5px;
  margin-left: 0px;
}

.page_content {
    flex: 1;
}

.bar_item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.main_title {
  height: 100%;
}

.logo_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    margin: 0px;
}

.nav_toggle_btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;  /* Above the nav menu (z-index 1000) */
    -webkit-tap-highlight-color: transparent;  /* Kills grey tap flash on mobile */
}

.nav_toggle_btn svg {
    width: 36px;
    height: 36px;
    overflow: visible;  /* Prevents bars being clipped during rotation */
    flex-shrink: 0;     /* Prevents button shrinking/shifting */
}

/* Hamburger -> X animation */
.nav_toggle_btn svg .bar {
    transform-origin: 12px 12px;  /* Rotate around the SVG centre point */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav_toggle_btn svg.is-open .bar-top {
    transform: translateY(5px) rotate(45deg);
}

.nav_toggle_btn svg.is-open .bar-mid {
    opacity: 0;
    transform: scaleX(0);
}

.nav_toggle_btn svg.is-open .bar-bot {
    transform: translateY(-5px) rotate(-45deg);
}

.links_container {
  display: flex;
  flex-direction: column;
  margin-top: 25px;
  margin-bottom: 40px;
}

.poster {
  width: 95px;
  height: 142.5px;
  border-color: white;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
}

.footer_links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.jmgk_credit {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    margin-bottom: 30px;
    padding-top: 30px;
}

.jmgk_link {
    background: linear-gradient(270deg, #14d500, #7600ff, #00d0ff);
    background-size: 600% 600%;
    -webkit-animation: AnimationName 30s ease infinite;
    -moz-animation: AnimationName 30s ease infinite;
    animation: AnimationName 30s ease infinite;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

.link {
  text-decoration: underline;
}

/* Interactive states ----------------------------------- */

/* Nav menu links */
#nav_menu a {
    transition: opacity 0.2s ease;
    display: inline-block;
}

#nav_menu a:hover {
    opacity: 0.6;
}

#nav_menu a:active {
    opacity: 0.4;
    transform: scale(0.97);
}

/* Nav menu buttons (Log Out) */
#nav_menu button[type="submit"] {
    background: none;
    border: none;
    padding: 0;
    transition: opacity 0.2s ease;
}

#nav_menu button[type="submit"]:hover {
    opacity: 0.6;
}

#nav_menu button[type="submit"]:active {
    opacity: 0.4;
    transform: scale(0.97);
}

/* General buttons */
button {
    transition: filter 0.2s ease, transform 0.1s ease;
}

button:hover {
    filter: brightness(1.2);
}

button:active {
    filter: brightness(0.8);
    transform: scale(0.97);
}

/* Hamburger button - override general button hover */
.nav_toggle_btn:hover {
    filter: none;
    background: none;
}

.nav_toggle_btn:active {
    filter: none;
    background: none;
    transform: scale(0.95);
}

/* Interactive states END ----------------------------------- */

/* Nav menu fade */
#nav_menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#nav_menu.is-open {
    opacity: 1;
    visibility: visible;
}

#nav_backdrop {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#nav_backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1000px) {
  h1 {
    margin-left: -5px;
  }
}

@media (max-width: 600px) {

  h3 {
      font-size: 2rem;
      margin-top: 0px;
  }

  p {
    font-size: 0.8rem;
  }

  .nav_toggle_btn svg {
      width: 28px;
      height: 28px;
  }

}