/* ************************************ */
/* MOBILE NAVIGATION */
/* ************************************ */
.btn-nav-mobile {
  display: none;

  border: none;
  background: none;
  cursor: pointer;
}

.icon-nav-mobile {
  height: 3.2rem;
  width: 3.2rem;
  z-index: 999;
}

.icon-menu {
}

.icon-close {
  display: none;
}
/* ************************************ */
/* NAVIGATION */
/* ************************************ */

.header {
  position: relative;

  height: 8rem;
  padding: 0 3.2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: #f8edd2;
}

.header-logo-box {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
  margin-bottom: 0.8rem;
  transition: all 0.25s;
}

.header-logo-box:hover {
  transform: scale(1.1);
}

.header-heading-tertiary {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1e3842;
  font-size: 2rem;
}

.header-subheading {
  display: inline-block;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  color: #2a9d8f;
  margin-bottom: 0.2rem;
  letter-spacing: 0.75px;
  padding-left: 2.4rem;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.logo-link:link,
.logo-link:visited,
.logo-link:hover,
.logo-link:active {
  text-decoration: none;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #1e3842;
  font-size: 1.8rem;
  font-weight: 500;

  transition: all 0.25s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #2a9d8f;
  transform: scale(1.1);
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 10px;
  color: #1e3842;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 6.4rem;
  padding-top: 0;
  padding-bottom: 0;

  background-color: transparent;
  background-image: linear-gradient(to bottom, #f8edd2, #fbf3e1e4);

  z-index: 99;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.05);
}

.sticky .section-hero {
  margin-top: 8rem;
}

/* ************************************ */
/* HERO */
/* ************************************ */

.section-hero {
  background-color: #f8edd2;
  padding: 3.2rem 0 4.8rem 0;

  /* Added to padding in next section because of background color */
  /* margin-bottom: 9.6rem; */
}

.hero {
  position: relative;

  /* max-width: 130rem;
  margin: 0 auto; */
  display: grid;
  grid-template-columns: 1fr;
}

.hero::before {
  content: "";
  background-image: url("../img/Controller.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;

  width: 70rem;
  height: 70rem;

  position: absolute;
  bottom: 0;
  right: 0;

  opacity: 15%;

  transform: translate(20%, 5%) rotate(15deg);
}

.heading-primary:first-child {
  transform: translate(5%, 0);
}

.heading-primary:last-child {
  transform: translate(30%, 0);
}

.hero-text-box {
  grid-row: 1;
  display: grid;
  grid-template-columns: 5fr 1fr;
  margin-bottom: 4.8rem;
}

.hero-text {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.75;
  grid-row: 2;
  padding: 0 6.4rem;
  z-index: 1;
}

.hero-main-img {
  display: grid;
  grid-template-columns: 5fr 1fr;
  z-index: 1;
  justify-self: stretch;
}

.hero-img-panorama {
  height: auto;
  width: 80%;
  margin-left: 3.2rem;
  border-radius: 3px;
  transform: translate(-0%, -0%);
  transform: translateY(-10%);
  /* box-shadow: 0 2.4rem 8rem rgba(0, 0, 0, 0.1); */
}

/* .hero-side-imgs {
  top: 0;
  right: 0;
}

.hero-img-pangea {
  position: absolute;

  height: 20rem;
  border-radius: 3px;
  box-shadow: 0 2.4rem 8rem rgba(0, 0, 0, 0.1);
}

.hero-img-menu {
  position: absolute;

  height: 25rem;
  border-radius: 3px;
  box-shadow: 0 2.4rem 8rem rgba(0, 0, 0, 0.1);
} */

/* ************************************ */
/* FOCUS */
/* ************************************ */
.section-focus {
  padding-top: 9.6rem;
  padding-bottom: 8rem;
  background-color: #f8f9fa;
}

.focus {
  display: grid;
  grid-template-columns: 1fr 1fr;

  row-gap: 8rem;
  column-gap: 2.4rem;

  /* Replacement for Container because of custom values */
  max-width: 110rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.focus-text-box {
  align-self: center;
}

.focus-description {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.8;
}

.focus-media-box {
  /* pointer-events: none; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.focus-img {
  height: 30rem;
  border-radius: 10px;
}

.focus-video {
  /* pointer-events: none; */
  height: auto;
  width: 40rem;
  border-radius: 10px;
}

/* ************************************ */
/* SHOWCASE */
/* ************************************ */

.under-construction {
  filter: grayscale(1) !important;
  pointer-events: none;
  position: relative;
}

.under-construction::after {
  content: "Under construction!";
  font-size: 8rem;
  font-weight: 900;
  color: white;

  position: absolute;
  top: 0;
  left: 0;
  transform: translate(5%, 500px) rotate(30deg);
}

.section-showcase {
  /* background-color: #f8edd2; */
  padding-top: 9.6rem;
  padding-bottom: 9.6rem;
  transition: all 0.2s;
}

.showcase-heading-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-heading {
  justify-self: center;
  align-self: center;
}

.game-trailer-box {
  /* display: flex;
  justify-content: center; */

  width: 100%;
}

.game-trailer-box iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.game-trailer-box img {
  width: 100%;
}

.game-role-box {
  padding: 0 6.4rem;
}

.dev-role-list {
  margin-left: 3.6rem;
}

.game-learnings-box {
  padding: 0 6.4rem;
}

.learnings-list {
  margin-left: 3.6rem;
}

.dev-role,
.learnings-text {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.game-description-box {
  padding: 0 6.4rem;
}

.showcase-text {
  hyphens: auto;
  text-align: justify;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.game-post-mortem-box {
  padding: 0 6.4rem;
}

/* CAROUSEL */

.carousel {
  position: relative;
  max-width: 120rem;
  height: fit-content;
  margin: 0 auto;
}

.carousel-track-container {
  height: fit-content;
  position: relative;

  /* Height is set in js due to limitations through position: absolute */
  width: 90%;
  margin: 0 auto;
}

.carousel-track {
  list-style: none;
  position: relative;

  height: 100%;
  transition: transform 0.5s ease-in;
}

.carousel-item {
  /* background-color: #fbf3e1; */
  background-color: #e9c46a;
  padding: 3.2rem;
  border-radius: 10px;

  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.2);

  position: absolute;
  top: 0;
  bottom: 0;
  height: fit-content;

  display: flex;
  flex-direction: column;
  row-gap: 4.8rem;

  /* Important to ensure every item has the same width + the width of it's parent (carousel-track) */
  width: 100%;

  transition: all 0.5s ease-in;
  transform: scale(0.9);
  filter: saturate(40%);
}

.carousel-item.current-item {
  background-color: #e9c46a;
  transform: scale(1);
  filter: saturate(100%);
}

.carousel-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;

  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s;
  background-color: transparent;
  border: 0;

  background-color: #f4a3616f;

  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover,
.carousel-btn:active {
  background-color: #f4a361b6;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.2);
}

.carousel-btn-left {
  padding: 268px 8px 268px 0px;
  left: -1%;
}

.carousel-btn-right {
  padding: 268px 0px 268px 8px;
  right: -1%;
}

.carousel-btn svg {
  /* background-color: #f4a361ab; */
  fill: #1e3842;
  width: 50px;
  height: 50px;
  /* padding: 8px 4px; */
  /* border-radius: 100px; */
  /* cursor: pointer; */
  /* box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.1); */
}

.carousel-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* gap: ; */
  margin: 0 auto 3.2rem auto;
  max-width: 1080px;
}

.carousel-indicator {
  display: block;
  width: 25%;
  height: auto;
  background-color: #e9edee;
  border-radius: 10px;

  font-size: 1.4rem;
  letter-spacing: -0.4px;
  font-weight: 900;
  text-transform: uppercase;
  color: #93a3a9;
  border: none;
  padding: 2.4rem 1.2rem;

  transform: scale(0.9) translateY(0);

  cursor: pointer;
  transition: all 0.5s;
}

.carousel-indicator:hover,
.carousel-indicator:active {
  background-color: #d4dadd;
  transform: scale(0.95) translateY(0);
}

.carousel-indicator.current-item {
  background-color: #f4a261;
  color: #1e3842;
  font-size: 2.4rem;
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.1);

  width: 35%;
  transform: scale(1.1) translateY(0);
}

/* ************************************ */
/* ABOUT ME */
/* ************************************ */

.section-about-me {
  padding-top: 9.6rem;
  /* 128px + 48 */
  padding-bottom: 17.6rem;
  background-color: #f8f9fa;

  transition: all 0.2s;
}

.about-me-heading-box {
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.about-me-box {
  display: grid;
  grid-template-columns: 3fr 5fr;
  column-gap: 6.4rem;

  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.about-me-img-box {
}

.about-me-img {
  height: 40rem;
  width: 40rem;
}

.about-me-info {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;

  align-items: start;
  justify-content: start;
}

.about-me-info p {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.8;
}

.about-me-info ul {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.8;
  padding: 0 3.2rem;
  padding-bottom: 0.8rem;
}

.about-me-info ul li {
  margin-bottom: 0.8rem;
}

/* ************************************ */
/* FOOTER */
/* ************************************ */

.footer {
  background-color: #f8f9fa;
  padding-top: 9.6rem;
  padding-bottom: 4.8rem;
  border-top: 1px solid #d4dadd;
}

.footer-box {
  max-width: 120rem;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  /* grid-template-rows: 1fr 1fr 1fr; */
}

.header-row {
  grid-row: 1;
  /* grid-column: 1 / 3; */
  justify-self: start;
}

.copyright-col {
  grid-row: 2;
  grid-column: 1;
  display: flex;
  gap: 1.2rem;
  flex-direction: column;
  justify-content: end;
  align-items: start;
}

.footer-text.copyright {
  font-size: 1.4rem;
}

.contact-col {
  grid-row: 1 / 3;
  grid-column: 2;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;

  width: auto;
}

.footer-heading-tertiary {
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #1e3842;

  text-transform: uppercase;
  font-size: 3.6rem;
  line-height: 1.2;

  margin-bottom: 3.2rem;
}

.footer-heading-quaternary {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1e3842;

  font-size: 3rem;
  margin-top: 1.8rem;
  margin-bottom: 2.4rem;
}

.footer-subheading {
  display: block;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 500;
  color: #2a9d8f;
  margin-bottom: 0.2rem;
  letter-spacing: 0.75px;
  padding-left: 3.2rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}

.footer-text {
  font-size: 1.6rem;
  color: #677e87;
}

.footer-link:link,
.footer-link:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 1.6rem;
  color: #677e87;

  transition: all 0.2s;
}

.footer-link:hover,
.footer-link:active {
  color: #2a9d8f;
}
