/**************************/
/* HEADER */
/**************************/

.header {
  /* display: flex; */
  position: relative;
  align-items: end;
  justify-content: center;
  /* place-self: center; */

  margin: 0 auto 0 auto;
  height: 10rem;
}

.header img {
  display: block;
  margin: 0.5rem;
  width: 45rem;
}

.header-logo {
  /* Using flexbox to get a border on focus */
  display: flex;
}

/**************************/
/* NAV SECTION */
/**************************/
.main-nav--container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-items: end;

  background-color: #000;

  height: 5.4rem;
  /* min-width: 100rem; */
}

.main-nav {
  height: 100%;
}

.main-nav-list {
  display: flex;

  list-style: none;

  height: 100%;
}

.main-nav-list li {
  display: flex;
  flex-direction: row;
  align-self: center;
  height: inherit;
}

.main-nav-item:link,
.main-nav-item:visited {
  height: 100%;
  /* Flexbox for correct focus */
  display: flex;
  /* flex-direction: column; */
  /* justify-content: center; */

  padding: 1.2rem 2rem;
  /* width: auto; */
  height: inherit;

  align-items: center;

  /* background-color: #000; */

  text-decoration: none;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s;
}

.main-nav-item:hover,
.main-nav-item:focus,
.main-nav-item:active {
  color: #000;
  background-color: #fff;
  outline: none;
  box-shadow: inset 0 0 0 0.3rem #111;
  /* box-shadow: inset 0 0 0 0.2rem red; */
}

.main-nav-socials {
  display: flex;
  flex-direction: row;

  margin-left: auto;
  padding: 0 2rem;
}
.main-nav-socials .icon {
  color: white;
  margin: 0.5rem;
}

.main-nav-socials .social-icon:focus {
  box-shadow: 0 0 0 2px #fff;
}

/* MOBILE NAVIGATION */
.mobile-nav--btn {
  /* position: relative; */
  display: none;
  align-items: center;
  justify-content: center;

  background-color: #000;
  cursor: pointer;
}

.mobile-nav--icon {
  color: #fff;
}

.mobile-nav--icon[name="close-outline"] {
  display: none;
}

/**************************/
/* GAMES SECTION */
/**************************/

.section-content--games {
  padding: 8.2rem 0 20rem 0;
  display: flex;
  flex-direction: column;
}

.game {
  justify-content: center;
  margin-top: 10rem;
}

.game.grid--2-cols {
  justify-content: center;
  align-items: center;
}

.game-img-section {
  display: flex;
  flex-direction: row;
  gap: 3.2rem;
  align-items: center;

  height: 100%;
  width: 100%;
  padding: 0rem 12rem 0 4rem;
}
/* .carousel {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.carousel-item {
  width: 9rem;
  height: 9rem;
  background-color: #000;
  color: #fff;
  text-align: center;
  line-height: 9rem;
  font-size: 6rem;
  font-weight: 800;
}
.carousel-item:hover,
.carousel-item:active {
  background-color: #51ee98;
  cursor: pointer;
} */

.game--thumbnail {
  height: auto;
  width: 80%;
  /* position: relative; */
  top: 0;
  left: 0;

  text-align: center;
}

.game--thumbnail img {
  height: 100%;
  width: 100%;
}

/* .layered-thumbnail {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
} */

.game--info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;

  padding-right: 4rem;
  /* width: 50rem; */
}

.game--info p {
}

.game--logo {
  width: 40%;
  padding-bottom: 2.4rem;
}

.info--cta {
  display: flex;
  flex-direction: row;
  gap: 2.4rem;

  padding-bottom: 2.4rem;
}

.info--cta a {
  display: flex;
  /* align-items: center; */

  text-decoration: none;
}

.slide:after {
  top: 0;
  z-index: -1;
  transform: translate3D(-101%, 0, 0);
}

.slide:hover:after {
  transform: translate3D(0, 0, 0);
  transition: all 0.5s;
}

.btn--info:link,
.btn--info:visited {
  font-size: 2.4rem;
  color: #fff;
  font-weight: 700;
  background-color: #111;
  text-transform: uppercase;
  padding-bottom: 1.2rem;
  text-decoration: none;

  border-radius: 0.5%;
  padding: 1.6rem;

  transition: all 0.2s;
}

.buttonfx {
  display: block;
  font-size: 2.4rem;
  color: #fff;
  font-weight: 700;
  background-color: #111;
  text-transform: uppercase;
  text-decoration: none;

  border-radius: 0.5%;
  padding: 1.6rem;
  margin: 0.2rem;
  /* z-index: 0; */

  background: transparent;
  position: relative;
  display: inline-block;
  overflow: hidden;
  transition: all 0.2s;
}

.buttonfx:before,
.buttonfx:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #8084e5; /* Hover */
  z-index: -1;
  transform: translate3D(-100%, 100%, 0%);
  transition: all 0.2s;
}

.buttonfx:before {
  background: #000; /* Default */
  z-index: -2;
  transform: translate3D(0, 0, 0);
}

.buttonfx:hover,
.buttonfx:active {
  color: #fff;
  outline: none;
  text-decoration: none;
}

.buttonfx:hover:after {
  transform: translate3D(0, 0, 0);
  transition: all 0.25s;
}

/**************************/
/* ABOUT SECTION */
/**************************/
.section-about {
  background-color: #000;
  color: #fff;
  box-shadow: 0px 20px 60px #979797, 0px -20px 60px #979797;
  margin-bottom: 15rem;
}

.section-content--about {
  max-width: 120rem;
  padding: 0rem 10rem 15rem 10rem;
  margin: 0rem auto 0rem auto;

  /* display: grid;
  grid-template-columns: 1fr;
  justify-content: center; */
  /* background-color: #000; */
}

.about-text {
  text-align: justify;
  color: #fff;
}

/**************************/
/* CTA SECTION */
/**************************/
.section-cta {
  padding: 0rem 0rem 7.2rem 0rem;
}

.section-content--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 25% 6.4rem 25%;
}

.cta {
  display: flex;
  flex-direction: column;
}

.social-media-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 2.2rem auto 0 auto;
}

.social-media-icons {
  display: flex;
}

.social-media-icons .icon {
  margin: 0.5rem;
}

/* .social-media-icons img:last-child {
  margin: 0;
} */

.cta-text-box {
  padding: 3.2rem 0rem 3.2rem 0rem;
}

.cta .heading-secondary {
  color: #000;
  margin-bottom: 3.2rem;
}

.cta-text {
  text-align: center;
  color: #000;
  padding-top: 0;
}

.cta-btn {
  /* Important for ability to click the button */
  display: inline-block;
  position: relative;

  max-width: 40rem;
  margin: auto;
  text-align: center;

  /* border: none; */
  /* border-radius: 0.5%; */
  padding: 1.6rem;

  font-size: 2.4rem;
  text-transform: uppercase;
  font-weight: 700;
  /* text-decoration: none; */

  /* transition: all 0.3s; */
  background-color: #000;
  color: #fff;
}

.cta-btn:hover .hover-highlight {
  background-color: white;
  color: #000;
}

.cta-btn .tooltiptext {
  text-transform: none;
  font-weight: 400;
  background-color: #000;
  color: #fff;

  padding: 0.75rem;
  bottom: 103%;
  left: 39%;
}

/* .cta-btn:link,
.cta-btn:visited {
  border: none;
  border-radius: 0.5%;
  padding: 1.6rem;

  font-size: 2.4rem;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;

  transition: all 0.3s;
  background-color: #000;
  color: #fff;
} */

/**************************/
/* BACK TO TOP */
/**************************/
.back-to-top {
  margin: 4.8rem auto 4.8rem auto;
}

.back-to-top .btn {
  height: 6.4rem;
  width: 6.4rem;

  border: none;
  border-radius: 0.5%;
  background-color: #111;

  cursor: pointer;
  margin: 0.2rem;
}

.back-to-top .btn:hover {
  box-shadow: inset 0 0 0 5px #111;
  background-color: #fff;
}

.back-to-top .btn:hover .btn--icon {
  color: #111;
}

/**************************/
/* GAME SITE */
/**************************/
.section-content--game-hero {
  display: flex;
  flex-direction: column;
  margin: auto;
  height: 100vh;
  margin-bottom: 12rem;
}

.section-content--presskit {
  padding: 0 0 12rem 0;
}
.section-content--presskit .heading-secondary {
  padding-bottom: 1.2rem;
}

.presskit--subsection {
  padding-bottom: 3.2rem;
}

.grid--presskit {
  display: grid;
  justify-content: center;
  align-content: center;

  grid-template-columns: repeat(2, 1fr);
  row-gap: 4.8rem;

  width: 100rem;
  margin: auto;
}

.grid--presskit .fill {
  grid-column: 1/-1;
}

.game--main-image {
  height: 80rem;
  width: 80rem;

  margin: auto;
}

.game--main-image img {
  height: 100%;
  width: 100%;
}

.presskit--banner {
  height: 20rem;
  width: 100%;
}

.presskit--banner img {
  height: auto;
  width: 100%;
}

.presskit--screenshot-container {
  gap: 3.6rem;
}

.presskit--screenshot img {
  display: block;

  width: 100%;
  height: auto;
}

.presskit--logo-container {
  gap: 3.6rem;
  padding-right: 2.4rem;
  align-items: center;
}

.presskit--logo img {
  display: block;

  width: 100%;
  height: auto;
}

.presskit--link:link,
.presskit--link:visited {
  text-decoration: none;
  color: #111;
  font-size: 2.4rem;
  line-height: 3.6rem;
}

.presskit--link:hover,
.presskit--link:focus {
  text-decoration: underline;
}

.presskit--video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.presskit--video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
