/* heavier headers */
@font-face {
  font-family: rubik;
  font-style: normal;
  src: url('/fonts/Rubik-VariableFont_wght.ttf');
}

@font-face {
  font-family: teko;
  font-style: normal;
  src: url('/fonts/Teko-Variable.ttf');
}

/* nav points */

@font-face {
  font-family: bebas;
  font-style: normal;
  src: url('/fonts/BebasNeue-Regular.ttf');
}

/* normal text */

@font-face {
  font-family: supreme;
  font-style: normal;
  src: url('/fonts/Supreme-Variable.ttf');
}

@font-face {
  font-family: inter;
  font-style: normal;
  src: url('/fonts/Inter-VariableFont_opsz,wght.ttf');
}

body {
  margin: 0;
  background-color: #151d28;
}

.nav {
  position: fixed;
  background-color: #333;
  top: 0;
  width: 100%;
  height: 4.5rem;
  display: flex;
  align-items: center;
  color: #fff;
  
  /*justify-content: space-between;*/
}

.sqdgIcon {
    width: 3.7rem;
    height: 3.7rem;
}

.nav__logo_link {
  text-decoration: none;
  color: #fff;
}

.nav__logo {
  display: flex;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 1.5rem;
  margin-right: 2rem;
}

.nav__studio {
  font-family: rubik;
  font-weight: 800;
  font-size: 1.5rem;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.nav__studio__text {
  font-family: teko;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: -0.4rem;
  margin-bottom: -0.4rem;
  margin-left: 0.0rem;
  margin-right: 0.0rem;
}

.nav__menu {
  width: 100%;
}

.nav__menu ul {
  margin: 0;
  padding: 0;
  display: flex;
}

.nav__menu ul li {
  list-style: none;
}

.nav__menu ul li a {
  text-decoration: none;
  font-family: bebas;
  font-weight: 200;
  font-size: 1.25rem;
  color: #fff;
  padding: 1rem;
  display: block;
}

.nav__menu__link_right {
  margin-left: auto;
}

.nav__hamburger {
  width: 1.875rem;
  height: 1.313rem;
  display: none;
  flex-direction: column;
  justify-content: space-around;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.nav__hamburger__line {
  height: 0.188rem;
  width: 100%;
  background-color: #fff;
  border-radius: 0.625rem;
  transition: all ease-in-out 0.2s;
}

.content {
  color: white;
  margin-top: 5.0rem;
  margin-left: 2.0rem;
  margin-right: 2.0rem;
}

.content h1 {
  color: yellow;
  font-family: teko;
  font-weight: 400;
}

.content p {
  font-size: 11pt;
  font-family: supreme;
  font-weight: 400;
}

.content li {
  font-size: 11pt;
  font-family: supreme;
  font-weight: 400;
}

.foot {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
}

.foot_layout {
  width: 100%;
  padding-left: 5rem;
  padding-right: 5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 0.25rem auto auto;
  grid-template-areas:
  "foot_bar foot_bar foot_bar"
  "sqdog_foot_logo social social"
  "sqdog_foot_logo foot-legal foot-legal";
}

.foot_p {
  font-family: supreme;
  font-weight: 400;
  color: white;
}

.foot_line {
    height: 100%;
    width: 100%;
    grid-area: line;
    place-self: center;
    background-color: yellow;
    border-width: 0;
    margin-bottom: 3rem;
}

.social_area {
  display: flex;
  align-items: center;
}

.social_text {
  padding-right: 1rem;
  font-family: teko;
  font-weight: 400;
  font-size: 1.5rem;
  color: yellow;
}

.social_icon {
  width: 1.5rem;
  height: 1.5rem;
}

.game_tile {
  width: 70%;
  max-width: 40em;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: solid 2px #de950d;
}

.section-tile-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 50px;
  justify-content: center; /* Center items if needed */
}

.section-tile {
  flex: 1; /* Makes tiles equal width */
  max-width: 6em;
  aspect-ratio: 1 / 1; 
  background-color: #de950d;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically */
  font-family: bebas;
  font-weight: 200;
  font-size: 1.5rem;
  color: #151d28;
}

.ss-container {
  display: grid;
  grid-template-rows: 9fr 0.8fr 0.2fr 1.5fr;
  max-width: 90vw;
  max-height: 85vh;
  aspect-ratio: 16 / 11.5;
  margin-left: auto;
  margin-right: auto;
}

.ss-main-image {
  display: flex;
  width: 100%;
  height: 100%;
}

.ss-caption-row {
  display: flex;
  justify-content: center; /* Horizontally centers content */
  align-items: center;     /* Vertically centers content if height is set */
  text-align: center;
  font-size: 9pt;
  font-family: supreme;
  font-weight: 400;
  background-color: #333;
  color: white;
}

.ss-carousel-container {
  display: flex;
  height: 100%;
  column-gap: 20px;
  overflow: hidden; /* Hides the rest of the images */
  transition: transform 0.8s ease-in-out;
}

.ss-carousel-image-selected {
  border: solid 2px #de950d;
}

/* MEDIA QUERIES */

@media screen and (max-width: 650px) {
  .nav__hamburger {
    display: flex;
  }
  .nav__menu {
    position: absolute;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    top: -18rem;
    width: 100%;
    transition: all ease-in-out 0.4s;
  }
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav__menu ul {
    flex-direction: column;
    width: 100%;
    padding: 3rem 0 0.6rem;
  }
  .nav__menu ul li {
    text-align: center;
  }
  .nav__menu ul li a {
    padding: 0.5rem;
  }
  .nav__menu__link_right {
    margin-left: 0;
  }
  .nav__menu {
    z-index: -1;
  }
  .nav__menu.active {
    top: 0;
  }
  .nav__hamburger.active :nth-child(1) {
    transform: rotate(45deg) translate(0.45rem, 0.1875rem);
  }

  .nav__hamburger.active :nth-child(2) {
    opacity: 0;
  }

  .nav__hamburger.active :nth-child(3) {
    transform: rotate(-45deg) translate(0.45rem, -0.1875rem);
  }
}
