/* ==========================================================================
   General Styles
   ========================================================================== */

/* Color Palette */

:root {
  --color-primary: #ff0c0c;
  --color-secondary: #f7bf38;
  --color-white: #fff;
  --color-black: #000000;
  --color-gray: #c0ccd1;

  --color-messageError: #ec5f27;
  --color-messageSuccess: #00ff80;
  --color-fieldError: #ff0c0c;

  --font-title: "Barlow Condensed", sans-serif;
  --font-text: "Source Code Pro", sans-serif;
}

/* Main */

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  font-family: var(--font-text);
  background: var(--color-black);
  color: var(--color-white);
  margin: 0;
}

body {
  width: 100%;
}

/* Titles */
h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-weight: 500;
  font-family: var(--font-title);
  text-transform: uppercase;
  color: var(--color-white);
}

h1 {
  font-size: 72px;
  line-height: 78px;
  margin-bottom: 20px;
}

h2 {
  font-size: 54px;
  line-height: 62px;
  margin-bottom: 20px;
}

h3 {
  font-size: 48px;
}

h4 {
  font-size: 42px;
  margin-bottom: 46px;
}

p {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 1px;
  margin-top: 0px;
}

a {
  text-decoration: none;
  color: var(--color-white);
  transition: 0.3s all;
}

.bold {
  font-size: 18px;
  font-weight: 700;
  margin-top: 0px;
}

.big-type {
  font-size: 24px;
  line-height: 28px;
}

.loading {
  background: var(--color-black);
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  z-index: 99999;
}

.loading img {
  width: 150px;
  animation: pulse 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.color-primary {
  color: var(--color-primary);
}

/***********************
        HEADER
***********************/

header {
  position: absolute;
  top: 0;
  padding: 14px 0px;
  width: 100%;
  z-index: 9999;
  background: #00000050;
}

header .logo {
  float: left;
  width: 120px;
  transition: 0.3s all;
}

header .logo img {
  max-width: 200px;
  width: 100%;
  transition: 0.4 all;
}

header .nav {
  list-style: none;
  float: right;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

header .nav li {
  display: inline-block;
  font-size: 18px;
}

header .nav li a {
  position: relative;
  transition: all 0.3s;
  height: 32px;
  display: block;
  padding: 10px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-title);
  transition: 0.4s all;
}

header .nav li a img {
  max-width: 32px;
}

#nav-icon {
  display: none;
  width: 40px;
  height: 45px;
  position: absolute;
  right: 20px;
  top: 20px;
  margin: 0 auto;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
  z-index: 2;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-white);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0;
}

#nav-icon span:nth-child(2) {
  top: 12px;
}

#nav-icon span:nth-child(3) {
  top: 24px;
}

#nav-icon.open span:nth-child(1) {
  top: 18px;
  transform: rotate(135deg);
}

#nav-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon.open span:nth-child(3) {
  top: 18px;
  transform: rotate(-135deg);
}

.nav-logo {
  display: none !important;
}

section {
  height: 100vh;
}

.w-50 {
  width: 50% !important;
}

.underline {
  text-decoration: none;
  position: relative;
}

.underline::after {
  position: absolute;
  content: "";
  height: 40px;
  bottom: -30px;
  margin: 0 auto;
  left: -20%;
  right: 0;
  width: 100%;
  background: url(/images/underline.png) no-repeat;
  background-size: contain;
}

header .logo:hover,
.social-header a:hover {
  transform: scale(0.9);
  filter: drop-shadow(0px 0px 8px white);
}

.scroll-down {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
}

.scroll-down p {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-down a {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
  padding: 0;
  transition: all 0.3s ease-in-out;
}

.scroll-down a span {
  display: block;
  width: 4px;
  height: 4px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  margin-left: -2px; /* This centers the dots horizontally */
  top: -10px;
  opacity: 1;
  border-radius: 50%;
  animation: scroll-down 2s infinite;
}

.scroll-down a span:nth-child(2) {
  top: 0px;
  left: 50%;
  margin-left: -2px;
  animation-delay: -0.4s;
}

.scroll-down a span:nth-child(3) {
  top: 10px;
  left: 50%;
  margin-left: -2px;
  animation-delay: -0.8s;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes scroll-down {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(15px);
  }
}

.sound-button {
  position: fixed;
  bottom: 20px;
  right: 40px;
  z-index: 9;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: 0.3s all;
}

.sound-button:hover {
  filter: drop-shadow(0px 0px 5px #ffffffe8);
}

.sound-wave {
  display: inline-block;
  width: 5px;
  height: 15px;
  margin-right: 4px;
  background-color: #fff;
  border-radius: 4px;
  transition: 0.3s all;
  animation: sound-wave 1s ease-in-out infinite;
}

.sound-wave:nth-child(2) {
  animation-delay: 0.2s;
}

.sound-wave:nth-child(3) {
  animation-delay: 0.4s;
}

.sound-button.playing .sound-wave {
  animation-play-state: running;
}

.sound-button:not(.playing) .sound-wave {
  animation-play-state: paused;
  background-color: #424242;
}

@keyframes sound-wave {
  0% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.5);
  }
  100% {
    transform: scaleY(1);
  }
}

/***********************
        SECTION 1
***********************/

.hero {
  max-width: 1920px;
  margin: 0px auto;
}

.hero-title .btn {
  margin-top: 5vh;
}

.hero-video {
  position: absolute;
  top: -10vh;
  z-index: 1;
}

.powered {
  position: absolute;
  bottom: 5%;
  left: 10%;
  z-index: 5;
}

.powered a img {
  transition: 0.3s all;
}

.powered a:hover img {
  transform: scale(0.9);
}

/***********************
        SECTION 2
***********************/

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/***********************
        SECTION 3
***********************/

.reveal-content {
  height: 80vh;
  cursor: pointer;
  width: 90%;
}

#top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/images/dark-bg.jpg) var(--color-black) no-repeat;
  background-size: cover;
  color: var(--color-black);
  text-align: center;
}

#bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/light-bg.png") var(--color-white) no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--color-black);
  z-index: 1;
  text-align: center;
}

#bottom h3 {
  color: var(--color-black);
}

.spider {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

.prisoner,
.guard {
  cursor: pointer;
}

.prisoner:hover img,
.guard:hover img {
  animation: shake-bottom 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
}

@keyframes shake-bottom {
  0%,
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
  }
  10% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }
  20%,
  40%,
  60% {
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
  }
  30%,
  50%,
  70% {
    -webkit-transform: rotate(4deg);
    transform: rotate(4deg);
  }
  80% {
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
  }
  90% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }
}

/***********************
        SECTION 4
***********************/

.fourth {
  background: url(/images/slider-bg.png) no-repeat;
  background-size: cover;
  background-position: bottom;
  position: relative;
}

.slider-container {
  display: flex;
}

.slide {
  display: flex !important;
  align-items: center;
  max-width: 100%;
  height: 100vh;
  margin: 0px auto;
}

.arrows {
  position: absolute;
  height: 100px;
  left: 10%;
  bottom: 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.slick-arrow {
  font-size: 0;
  padding: 0;
  width: 92px;
  height: 92px;
  border: none;
  border-radius: 0;
  transition: 0.2s all;
  cursor: pointer;
}

.slick-arrow:hover {
  transform: scale(0.9);
  filter: drop-shadow(0px 0px 5px white);
}

.pp2 {
  background: url("/images/arrow-left.png") no-repeat center;
  background-size: contain;
}

.nn2 {
  background: url("/images/arrow-right.png") no-repeat center;
  background-size: contain;
}

.pagingInfo {
  font-family: var(--font-title);
  font-size: 42px;
  text-align: center;
  margin: 0px 20px;
}

.slider-highlight {
  width: 100%;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.feature img {
  margin-bottom: 20px;
  transition: 0.3s all;
  filter: grayscale(1) brightness(4);
}

.feature .big-type {
  transition: 0.3s all;
}

.feature:hover img {
  transform: scale(0.95);
  filter: none;
  animation: swing-in-top-fwd 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.feature:hover .big-type {
  color: var(--color-primary);
  text-shadow: 0px 0px 10px var(--color-primary);
}

@keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
    transform: rotateX(-100deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-origin: top;
    transform-origin: top;
    opacity: 1;
  }
}

.slider-img {
  position: relative;
}

.slider-img img:first-child {
  position: absolute;
  left: calc(50% - 200px);
  top: calc(50% - 200px);
  transform: scale(1.2);
  opacity: 0;
  transition: 0.9s all;
}

.slick-active .slider-img img:first-child {
  animation: jello-vertical 0.6s both;
  opacity: 1;
}

@keyframes jello-vertical {
  0% {
    transform: scale3d(1, 1, 1);
  }
  40% {
    transform: scale3d(0.95, 1.05, 1);
  }
  60% {
    transform: scale3d(1.05, 0.95, 1);
  }
  80% {
    transform: scale3d(0.95, 1.05, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.rats {
  width: 250px;
  height: 160px;
  position: absolute;
  bottom: 40px;
  left: 0;
  z-index: 3;
}

.rats img {
  width: 100%;
  object-fit: contain;
}

/***********************
        SECTION 5
***********************/

.fifth {
  position: relative;
}

.window {
  position: absolute;
  top: 10%;
  left: 10%;
  max-width: 250px;
}

.window img {
  width: 100%;
  object-fit: cover;
}

.bars {
  width: 100%;
  height: 100vh;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
}

.bars img {
  width: 50%;
  object-fit: cover;
  position: absolute;
}

.bar-left {
  left: 0;
}

.bar-right {
  right: 0;
}

.active .bar-left {
  animation: slide-left 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.active .bar-right {
  animation: slide-right 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-80%);
  }
}

@keyframes slide-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(80%);
  }
}

.newsletter {
  z-index: 3;
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.newsletter h4 {
  margin-bottom: 0;
  font-size: 28px;
  margin-right: 20px;
  width: 30%;
}

.newsletter form {
  width: 60%;
}

.newsletter input {
  width: 50%;
}

.newsletter .btn {
  width: 50%;
}

.copyright a {
  transition: 0.3s all;
}

.copyright a:hover {
  color: var(--color-primary);
}
