
/*---------------------------------------
  CUSTOM PROPERTIES (VARIABLES)
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #ff2f4f;
  --secondary-color: #ff427ebe;
  --section-bg-color: #030303;
  --custom-btn-bg-color: #BC6C25;
  --custom-btn-bg-hover-color: #DDA15E;
  --dark-color: #000000;
  --p-color: #717275;
  --border-color: #7fffd4;
  --link-hover-color: #E76F51;

  --game-gradient-color: #ff427ebe;
  --footer-bg-color: #181818;

  --body-font-family: 'Plus Jakarta Sans', sans-serif;

  --h1-font-size: 68px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 24px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --btn-font-size: 16px;
  --form-btn-font-size: 18px;
  --menu-font-size: 16px;

  --border-radius-large: 100px;
  --border-radius-medium: 10px;
  --border-radius-small: 5px;

  --font-weight-thin: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}


/*---------------------------------------
  GLOBAL STYLES
-----------------------------------------*/
body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}


/*---------------------------------------
  SECTION
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.section-overlay + .container {
  position: relative;
  z-index: 22;
}

/*---------------------------------------
  BUTTONS
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 12px 28px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.custom-border-btn:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}

/*---------------------------------------
  BADGES
-----------------------------------------*/
.badge {
  background-color: var(--primary-color);
  font-size: 12px;
  position: relative;
  bottom: 4px;
  padding-bottom: 6px;
}

.badge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--primary-color);
}


/*---------------------------------------
  NAVBAR
-----------------------------------------*/

/* Navbar positioning */
.sticky-wrapper {
  position: absolute;
  z-index: 999999;
  top: 0;
  right: 0;
  left: 0;
}

.navbar {
  background: transparent;
  z-index: 999999;
  padding-top: 0px;
  padding-bottom: 30px;
}

.navbar .container {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-medium);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 2px 30px;
}

/* Frosted background */
.frosted-background {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Brand */
.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--white-color);
}

.navbar-brand-image {
  width: 48px;
  height: auto;
  margin-right: 10px;
}

/* Navigation links */
.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-bold);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

/* Navbar buttons */
.navbar .custom-btn {
  padding: 10px 20px;
}

/* Burger button */
.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  ON DISPLAY
-----------------------------------------*/

/* Hero section */
.hero-section {
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  text-align: center;
}

.hero-section h1 {
  color: var(--white-color);
}

.hero-section .custom-border-btn {
  border-color: transparent;
}

.hero-section .container {
  position: relative;
  z-index: 9;
}

.small-text {
  color: var(--secondary-color);
}

/* SPLICE showcase */
.onDisplay-name {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
}

/* Game showcase container */
.new-game-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  cursor: pointer;
}

.new-game-wrap:hover .team-block-image {
  transform: scale(1.2);
}

.new-game-info {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px;
}

.team-block-image-wrap {
  width: 100%;
}

.team-block-image {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

/* Wishlist button */
.wishlist {
  backdrop-filter: blur(4px) saturate(3);
  border-radius: var(--border-radius-medium);
  object-fit: contain;
  width: 76vw;
  max-width: 500px;
}

.wishlist:hover {
  transform: scale(1.1);
}

/* Wishlist shimmer animation */
.linear-wipe {
  mask: linear-gradient(-86deg, #1eff00 44%, rgba(140, 255, 0, 0.225), #ffee00 55%) right/360%;
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  100% {
    mask-position: left
  }
}

/* Trailer video */
.trailer {
  height: 100%;
  position: absolute !important;
}

/* Trailer gradient */
.trailer-gradient {
  background-image:
    linear-gradient(to top, rgba(255, 255, 255, 0) 85%, var(--section-bg-color)),
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 80%, var(--section-bg-color)),
    linear-gradient(to left, rgba(255, 255, 255, 0) calc(95% - 5vw), var(--section-bg-color)),
    linear-gradient(to right, rgba(255, 255, 255, 0) calc(95% - 5vw), var(--section-bg-color));
  object-fit: none;
  width: 101%;
  height: 101%;
  position: absolute !important;
}


/*---------------------------------------
  FOOTER
-----------------------------------------*/
.site-footer {
  background-color: var(--footer-bg-color);
  padding-top: 1vh;
  padding-bottom: 1.4vh;
  border-top: solid 1px rgba(255, 255, 255, 0.75);
}

.site-footer strong {
  color: var(--white-color);
}

.site-footer p,
.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
}

.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
  transition: all 0.3s;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--menu-font-size);
  text-align: center;
}

.copyright-text a {
  color: rgba(255, 200, 160, 0.75);
}


/* myGames.js generation */
.team-block-wrap {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  max-height: 450px;
  cursor: pointer;
}

.team-block-info {
  background-image:
    linear-gradient(to top, rgba(255, 255, 255, 0) 70%, var(--section-bg-color)),
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 64%, var(--section-bg-color)),
    linear-gradient(to left, rgba(255, 255, 255, 0) 72%, var(--section-bg-color)),
    linear-gradient(to right, rgba(255, 255, 255, 0) 72%, var(--section-bg-color));
  position: absolute;
  top: 0;
  right: 0;
  bottom: -28px;
  left: 0;
  padding: 30px;
}

.team-block-info .badge {
  margin: auto;
  top: 2px;
  bottom: 0;
}


/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/

/* Desktop */
@media screen and (min-width: 991px) {
  .hero-section {
    height: 100vh;
  }
}

/* Large screens */
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 62px;
  }
}

/* Tablets */
@media screen and (max-width: 991px) {

  /* Typography */
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  /* Sections */
  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-section {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  /* Navbar */
  .navbar-brand,
  .navbar-brand:hover {
    font-size: var(--h5-font-size);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
    margin-bottom: 0;
  }

  .navbar .custom-btn {
    margin-bottom: 10px;
  }

  /* Booking */
  .booking-form {
    padding: 45px;
  }

  /* Contact */
  .contact-section .container {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
    padding: 35px;
  }

  /* Cat */
  .cat {
    display: none;
    height: 225px;
  }

  /* Timeline */
  /* .timeline::after {
    left: 31px;
  }

  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-container::before {
    left: 58px;
    border: medium solid white;
    border-width: 20px 20px 20px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::after,
  .timeline-container-right::after {
    left: 6px;
  }

  .timeline-container-right {
    left: 0%;
  }*/
} 


/* Small tablets and large phones */
@media screen and (max-width: 767px) {
  .custom-btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  .menu-block-wrap,
  .reviews-block-image-wrap,
  .reviews-block-info {
    padding: 20px;
  }
}


/* Phones */
@media screen and (max-width: 578px) {
  .navbar .container,
  .sticky-wrapper.is-sticky .container {
    margin-right: 10px;
    margin-left: 10px;
  }
}


/* Small phones */
@media screen and (max-width: 480px) {

  /* Typography */
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  /* Hero */
  .hero-section::after {
    width: 200px;
    height: 200px;
  }

  /* Booking */
  /* .booking-form {
    padding: 35px;
  } */

  /* Opening hours */
  /* .opening-hours-list li {
    font-size: 12px;
  } */

  /* Reviews */
  /* .reviews-block-image-wrap {
    flex-direction: column;
  }

  .reviews-block-image {
    margin-bottom: 15px;
  } */

  /* Timeline */
  /* .timeline-container {
    padding-left: 55px;
  }

  .timeline-container::before {
    left: 44px;
    border: medium solid white;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::before,
  .timeline-container-right::before {
    top: 13px;
  } */
}


/* Very small phones */
@media screen and (max-width: 400px) {
  .navbar .container {
    border-radius: var(--border-radius-medium);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 0px 12px;
  }
}


/*---------------------------------------
  NAVBAR DROPDOWN (UNUSED IN HTML)
-----------------------------------------*/
.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--menu-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}
