* {
  margin: 0;
  border: none;
  outline: none;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --padding: 100px;
}

body {
  background-color: #080c11;
  width: calc(100vw - (100vw - 100%));
  height: 100vh;
  overflow-x: hidden;

  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: max-content max-content min-content;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 15px;
  grid-row-gap: 0px;
  padding: 30px var(--padding) 30px var(--padding);
  background-color: #080c11;
}

.nav-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  column-gap: 15px;
  width: 100%;
}

.nav-links > a[active] {
  color: #ebf1f3;
  font-weight: 500;
}

.nav-links > a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav-links > a {
  color: #b2c0c6;
  font-family: 'Roboto', sans-serif;
  font-family: 18px;
  text-decoration: none;
  font-weight: 400;
}

#join-game {
  background-color: #2d97e7;
  border-radius: 6px;
  padding: 10px 30px 10px 30px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  line-height: 1rem;
  text-transform: capitalize;
  font-size: 16px;
  cursor: pointer;
  color: #fff;
}

.intros {
  background-color: #080c11;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.nav-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1rem;
}

@media only screen and (max-width: 1000px) {
  .nav-title-wide {
    display: none;
  }
  .nav-title-short {
    display: unset !important;
  }
  nav {
    grid-template-columns: 100px 1fr;
  }
}

@media only screen and (max-height: 800px) {
  .hero > h1 {
    font-size: 32.5px !important;
  }
}

@media only screen and (max-width: 650px) {
  .nav-title-short {
    display: none !important;
  }
  nav {
    grid-template-columns: 50px 1fr;
  }
}

@media only screen and (max-width: 550px) {
  nav {
    grid-template-columns: 1fr;
    grid-template-rows: 50px 1fr;
    background-color: #080c11;
  }
  .nav-title-wide {
    display: unset;
  }
  .nav-title {
    justify-content: space-between;
  }
  .nav-links {
    justify-content: space-between;
    column-gap: 10px;
  }
  .nav-links > * {
    font-size: 14px;
  }
  #join-game {
    font-size: 15px;
  }
}

@media only screen and (max-width: 450px) {
  .nav-title {
    font-size: 20px;
  }
  #join-game {
    padding: 10px 25px 10px 25px;
    text-indent: -999px;
  }
  #join-game::before {
    content: 'Join';
    text-indent: 0;
    float: left;
  }
  .nav-title-wide {
    display: none;
  }
  .nav-title-short {
    display: unset !important;
  }
}

@media only screen and (max-width: 400px) {
  #join-game {
    padding: 10px 20px 10px 20px;
  }
}

@media only screen and (max-width: 750px) {
  :root {
    --padding: 50px;
  }
}

.nav-title > img {
  max-height: 40px;
  max-width: 40px;
  margin-right: 12.5px;
}

footer {
  width: 100%;
  background-color: #05080b;
  height: fit-content;
  min-height: 200px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 35px;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
}

footer > span {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #4d638096;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  user-select: none;
  opacity: 0.75;
  margin-bottom: 5px;
}

footer > span > a {
  padding-left: 5px;
  color: #4d638096;
  opacity: 0.85;
  text-decoration: none;
}

footer > span > a:hover {
  text-decoration: underline;
}

footer > div {
  display: grid;
  grid-template-columns: 1fr calc(165px * 3);
  grid-template-rows: 1fr;
  grid-column-gap: 15px;
  grid-row-gap: 0px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 12.5px;
  grid-row-gap: 0px;
}

.footer-text {
  padding-left: var(--padding);
  padding-right: var(--padding);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  color: #ddd;
  font-family: 'Roboto', sans-serif;
}

.footer-text > span {
  font-weight: 500;
  color: #fff;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  row-gap: 1.5px;
}

.footer-links > div > a {
  font-family: 'Montserrat', sans-serif;
  color: #4d638096;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 85%;
}

.footer-links > div > a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 1px;
}

@media only screen and (max-width: 950px) {
  footer > div {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    grid-row-gap: 0px;
  }
  .footer-links {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-row-gap: 1.5px;
  }
  .footer-links > div {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-left: var(--padding);
    padding-right: var(--padding);
    column-gap: 10px;
  }
  .footer-links > div > a {
    word-spacing: 0px;
  }
  footer {
    padding-top: 15px;
  }
}

@media only screen and (max-width: 500px) {
  .footer-links > div {
    justify-content: center;
  }
}

@media only screen and (max-width: 400px) {
  .footer-links > div {
    padding-left: calc(var(--padding) / 1.5);
    padding-right: calc(var(--padding) / 1.5);
  }
}

.staff-list-container {
  width: 100%;
  background-color: #080c11;
  min-height: 100px;
  padding-left: var(--padding);
  padding-right: var(--padding);
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  row-gap: 25px;
}

.staff-list-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1rem;
}

.staff-list {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.staff-list-item {
  width: 200px;
  max-width: 200px;
  min-height: 230px;
  border-radius: 6px;
  background-color: #10182398;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 200px 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.staff-list-item-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 200px;
}

.staff-list-item-image {
  height: calc(100% - 20px);
  width: calc(100% - 20px);
  border-radius: 5px;
  user-select: none;
  max-width: 200px;
}

.staff-list-item-username-container {
  min-height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  flex-wrap: nowrap;
  transform: translateY(-5px);
  padding-top: 5px;
  padding-bottom: 5px;
}

.staff-list-item-username {
  display: inline-block;
  line-height: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #fff;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 200px;
  overflow-wrap: break-word;
  font-size: 18px;
  line-height: 20px;
}
