/* USER VARIABLES SECTION */

:root {
  --accent: #cc8869;
  --text: #333;
  --regular-text: 16px;
  --lineheight: 1.65;
  --userfont: roboto-st, sans-serif;
  --systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --transition: cubic-bezier(0.4, 0, 0, 1);
}

/* BOOTSTRAP SETTINGS SECTION */

/* gutter 20px (10px + 10px). Comment this code for default gutter start at 1.5rem (24px) wide. */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 0.625rem;
}
.row,
.row > * {
  --bs-gutter-x: 1.25rem;
}

/* FONTS LOAD SECTION */

@font-face {
  src: url("../fonts/roboto-regular-webfont.woff2") format("woff2");
  font-family: "roboto-st";
  font-weight: 400;
  font-style: normal;
}
@font-face {
  src: url("../fonts/roboto-italic-webfont.woff2") format("woff2");
  font-family: "roboto-st";
  font-weight: 400;
  font-style: italic;
}
@font-face {
  src: url("../fonts/roboto-bold-webfont.woff2") format("woff2");
  font-family: "roboto-st";
  font-weight: 700;
  font-style: normal;
}
@font-face {
  src: url("../fonts/roboto-bolditalic-webfont.woff2") format("woff2");
  font-family: "roboto-st";
  font-weight: 700;
  font-style: italic;
}
@font-face {
  src: url("../fonts/assassin.woff2") format("woff2");
  font-family: "assassin-st";
  font-weight: 700;
  font-style: italic;
}

/* GENERAL CSS SETTINGS */

::placeholder {
  color: #666;
}
::selection {
  background-color: var(--accent);
  color: #fff;
}
input,
textarea {
  outline: none;
}
input:focus:required:invalid,
textarea:focus:required:invalid {
  border-color: red;
}
input:required:valid,
textarea:required:valid {
  border-color: green;
}

body {
  font-family: var(--userfont);
  font-size: var(--regular-text);
  line-height: var(--lineheight);
  color: var(--text);
  min-width: 320px;
  position: relative;
  overflow-x: hidden;
}

body,
html {
  height: 100%;
}

.showcase {
  background-color: #000;
  height: 100%;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.showcase::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  box-shadow: inset 0 0 500px #000;
}
.showcase::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(../images/light.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center -60px;
  animation: k-light 3s ease-in-out infinite;
}
.showcase__carousel.swiper-wrapper {
  transition: var(--transition);
}
.showcase__content_wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 120px 0;
}
.showcase__content_wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(/images/glow.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: k-glow 1.8s ease-in-out infinite;
}
.showcase__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.showcase__header {
  text-align: center;
  position: absolute;
  width: 100%;
  z-index: 1;
  top: 40px;
  font-family: assassin-st, sans-serif;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.75);
}
.showcase__header span {
  color: var(--accent);
}

.showcase__carousel__item {
  position: relative;
  height: calc(100vh - 240px);
  text-align: center;
  opacity: 0.3;
  transform: scale(0.75);
  transition: opacity 1.8s var(--transition), transform 1.8s var(--transition);
}
.showcase__carousel__item::after {
  content: "";
  width: 90px;
  height: 0;
  position: absolute;
  box-shadow: 0 0 40px 10px #010101;
  bottom: 5px;
  left: calc(50% - 45px);
}
.showcase__carousel__item p {
  position: absolute;
  bottom: -75px;
  width: 100%;
  font-family: assassin-st, sans-serif;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: rgb(58, 78, 94) 0 0 10px;
}
.showcase__carousel__item.swiper-slide-active {
  opacity: 0.85;
  transform: scale(0.98);
}
.showcase__carousel__image-wrapper > * {
  position: absolute;
  width: 100%;
  height: 100%;
  perspective: 150px;
  transform-style: preserve-3d;
}
.showcase__carousel__image-left {
  perspective-origin: left center;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.showcase__carousel__image-right {
  perspective-origin: right center;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.showcase__carousel__image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.showcase__carousel__image-left .showcase__carousel__image {
  animation: k-left-side 2s ease-in-out infinite;
  animation-direction: alternate;
}
.showcase__carousel__image-right .showcase__carousel__image {
  animation: k-right-side 2s ease-in-out infinite;
  animation-direction: alternate;
}

/* Navigation */

.showcase-navigation {
  overflow: hidden;
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.showcase-navigation > * {
  height: 100%;
  width: 50%;
  position: absolute;
  outline: none;
  cursor: pointer;
}
.showcase-navigation-next {
  right: 0;
}
.showcase-navigation > *::before {
  content: "?";
  font-family: assassin-st, sans-serif;
  opacity: 0;
  transition: opacity 0.75s ease-out;
  position: absolute;
  transform: rotate(-90deg);
  left: 50px;
  top: 50%;
  font-size: 45px;
}
.showcase-navigation > *:hover::before {
  opacity: 0.35;
}

.showcase-navigation-next::before {
  transform: rotate(90deg);
  left: auto;
  right: 50px;
}
.showcase-navigation > *.swiper-button-disabled {
  display: none;
}
/* ANIMATIONS */

@keyframes k-light {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.2;
  }
}
@keyframes k-glow {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.6;
  }
}
@keyframes k-left-side {
  0% {
    transform: rotateY(-1deg) scaleX(0.92);
  }
  100% {
    transform: rotateY(0deg) scaleX(1);
  }
}
@keyframes k-right-side {
  0% {
    transform: rotateY(0deg) scaleX(1);
  }
  100% {
    transform: rotateY(1deg) scaleX(0.92);
  }
}
