
*,*::before, *::after{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  --color-text: #ffffff;
  --color-bg: 	#FAF9F6;
  --color-link: #0375bc;
  --color-link-hover: #0375bc;
  --color-reveal: var(--color-bg);
  --color-title: #ffffff;
  --color-nav: #000;
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  background-color: #000;
  position: relative;
}

/* Preloader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #050505;
  z-index: 9999;
  height: 100%;
  width: 100%;
  display: table;
}

#loader {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.line-scale-pulse-out > div {
  background-color: #0375bc;
  width: 4px;
  height: 35px;
  border-radius: 2px;
  margin: 2px;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  display: inline-block;
  -webkit-animation: line-scale-pulse-out 0.9s -0.6s infinite cubic-bezier(0.85, 0.25, 0.37, 0.85);
  animation: line-scale-pulse-out 0.9s -0.6s infinite cubic-bezier(0.85, 0.25, 0.37, 0.85);
}

.line-scale-pulse-out > div:nth-child(2),
.line-scale-pulse-out > div:nth-child(4) {
  -webkit-animation-delay: -0.4s !important;
  animation-delay: -0.4s !important;
}

.line-scale-pulse-out > div:nth-child(1),
.line-scale-pulse-out > div:nth-child(5) {
  -webkit-animation-delay: -0.2s !important;
  animation-delay: -0.2s !important;
}

@-webkit-keyframes line-scale-pulse-out {
  0% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }

  50% {
    -webkit-transform: scaley(0.4);
    transform: scaley(0.4);
  }

  100% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }

}

@keyframes line-scale-pulse-out {
  0% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }

  50% {
    -webkit-transform: scaley(0.4);
    transform: scaley(0.4);
  }

  100% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }

}


/* Header */

header{
  position: absolute;
  width: 100%;
  min-height: 8vh;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: end;
  background-image: linear-gradient(#393939, #ffffff00);
  z-index: 100;
}

#jalaj-logo{
  display: none;
}
.logo-text{
	margin-left: 12px;
}
.logo-text hr{
  border: none;
	height: 3px;
  width: 200px;
  background-color: var(--color-link);
  margin: 0 0 4px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.jalaj-logo-title{
	color: var(--color-link);
	letter-spacing: 1.5rem;
	margin: 0;
	font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.jalaj-logo-subtitle{
	font-size: 0.52rem;
	color: var(--color-link);
	display: block;
	margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.logo-stack img {
  width: auto;
  height: 50px;
}

.wrapper{
  padding: 0 2rem;
}

.slide1 #jalaj-logo {
  display: none;
}

/* swiper */

.slide1 { background-image: url('/images/slider/slide_1.jpg'); background-size: cover; background-position: center;}
.slide2 { background-image: url('/images/slider/slide_2.jpg'); background-size: cover; background-position: center;}
.slide3 { background-image: url('/images/slider/slide_3.jpg'); background-size: cover; background-position: center;}
.slide4 { background-image: url('/images/slider/slide_4.jpg'); background-size: cover; background-position: center;}

.swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7); 
}

.container {
  width: 100%;
  height: 100%;
}

.tiles{
  position: relative;
  display: grid;
  grid-template-columns: 60% 40%;
  place-items: center;
  /* gap: 1.5rem; */
  overflow: hidden;
  padding: 5rem 2.5rem; 
}

.slide3 {
  position: relative;
  display: grid;
  grid-template-columns: 40% 60%;
  place-items: center;
  /* gap: 1.5rem; */
  overflow: hidden;
  padding: 5rem 2.5rem;
}


.content{
  font-family: "Montserrat", sa;
  font-weight: 450;
  position: relative;
  text-align: center;
  padding: 20px;
}

.swiper-slide {
  height: 100vh;
}

/* images slideshow */

.slideshow-container {
  width: 450px;
  height: 330px;
}

.slideshow-container img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.fade {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade.active {
  opacity: 1;
}


/* carousel */

.carousel-container {
	margin: 4% auto;
	width: 210px;
	height: 140px;
	position: relative;
	perspective: 1000px;
}

#carousel{
	width: 100%;
	height: 100%;
	position: absolute;
	transform-style: preserve-3d;
	animation: rotation 20s infinite linear;
}
#carousel:hover{
	animation-play-state: paused;
}
#carousel figure{
	display: block;
	position: absolute;
	width: 150px;
	height: auto;
	left: 10px;
	top: 10px;
	overflow: hidden;
	border: solid 5px transparent;
  border-radius: 20px;
}

#carousel figure:nth-child(1) { transform: rotateY(0deg) translateZ(288px);}
#carousel figure:nth-child(2) { transform: rotateY(40deg) translateZ(288px);}
#carousel figure:nth-child(3) { transform: rotateY(80deg) translateZ(288px);}
#carousel figure:nth-child(4) { transform: rotateY(120deg) translateZ(288px);}
#carousel figure:nth-child(5) { transform: rotateY(160deg) translateZ(288px);}
#carousel figure:nth-child(6) { transform: rotateY(200deg) translateZ(288px);}
#carousel figure:nth-child(7) { transform: rotateY(240deg) translateZ(288px);}
#carousel figure:nth-child(8) { transform: rotateY(280deg) translateZ(288px);}
#carousel figure:nth-child(9) { transform: rotateY(320deg) translateZ(288px);}

#carousel img{
	cursor: pointer;
	transition: all .5s ease;
}
#carousel img:hover{
  transform: scale(1.2,1.2);
}

@keyframes rotation{
	from{
		transform: rotateY(0deg);
	}
	to{
		transform: rotateY(360deg);
	}
}

.content, .image-container {
  position: relative;
}

.content p {
  font-family: inherit;
  font-size: clamp(1rem, 1.25vw, 2.5rem);
  text-align: justify;
  pointer-events: none;
  color: var(--color-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.content h1 {
  text-align: left;
  font-family: 'Helvetica';
  font-size: clamp(2rem, 3.5vh, 4.5rem);
  color: var(--color-title);
  line-height: 1.3;
  margin-bottom: 30px;
  pointer-events: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.swiper-slide .content h1{
  transform: translateY(-40px);
  opacity: 0;
  transition-duration: 1s;
  transition-delay: 0.6s;
}

.swiper-slide .content p {
  transform: translateY(-30px);
  opacity: 0;
  transition-duration: 1s;
  transition-delay: 1.2s;
}

.image-container {
  transform: translateX(40px);
  opacity: 0;
  transition-duration: 1s;
  transition-delay: 1.2s;
}

.swiper-slide-active .content h1,
.swiper-slide-active .content p,
.swiper-slide-active .image-container {
  transform: none;
  opacity: 1;
}

.content .coming-soon-text {
  text-align: center;
  font-size: clamp(2rem, 10vw, 3rem);
}

h1 span {
  /* height: 5rem; */
  display: block;
  color: var(--color-link);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#fading-effect {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.swiper-button-next, .swiper-button-prev {
  color: #ffffff;
}

.image-container img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

/* counter */

.counter-wrapper {
  padding: 2rem;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 1rem;
}

.coming-soon {
  display: grid;
  gap: 1.5rem;
  overflow: hidden;
  padding: 5rem 2.5rem; 
}

.coming-soon h1, 
.coming-soon p {
  text-align: center;
  color: var(--color-title);
}

.coming-soon p {
  padding: 2% 10%;
}

.counter {
  width: 28vmin;
  height: 28vmin;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 0.5em;
  border-bottom: 10px solid var(--color-title);
  text-align: center;
}

.counter i {
  color: var(--color-title);
  font-size: clamp(1.5rem, 4vh, 4rem);
}

span.num {
  color: var(--color-link);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 450;
  font-size: clamp(1.5rem, 6vh, 6rem);
  line-height: 0;
  padding: 0.5rem 0;
}

span.text {
  color: var(--color-title);
  font-size: clamp(0.8rem, 2.5vh, 2.5rem);
}

/* media icons */

.media-icons {
  z-index: 888;
  position: absolute;
  right: 1rem;
  bottom: 5rem;
  display: flex;
  flex-direction: column;
  transition: 0.5s ease;
}

.media-icons a {
  color: var(--color-title);
  font-size: clamp(1rem, 1vw, 1.5rem);
  transition: 0.3s ease;
}

.media-icons a:not(:last-child) {
  margin-bottom: 20px;
}

.media-icons a:hover {
  transform: scale(1.3);
  color: var(--color-link-hover);
}


/* footer */

footer{
  position: absolute;
  width: 100%;
  bottom: 0;
  /* min-height: 5vh; */
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  background-image: linear-gradient(to top,#393939, #ffffff00);
  z-index: 100;
}

.footer-text {
  font-size: clamp(0.5rem, 0.8vw, 1.2rem);
  color: var(--color-text);  
}

footer p {
  text-align: center;
  padding: 5px 5px 0;
  font-size: clamp(0.8rem, 1vw, 1.5rem);
  color: var(--color-text);
}

footer a {
  color: var(--color-text);
}

/* responsive */

@media screen and (min-width: 78rem) {
  

}

@media screen and (max-width: 78rem) {
  .slideshow-container {
    width: 400px;
    height: 293px;
  }

}

@media screen and (max-width: 68rem) {
  .tiles {
    grid-template-columns: 100%;
  }
  .content {
    order: 1;
  }
  .swiper-slide {
    height: auto;
  }
  .slideshow-container {
    width: 400px;
    height: 293px;
  }
  .media-icons {
    flex-direction: row;
    bottom: 3rem;
    justify-content: space-evenly;
    margin: auto;
    width: 100px;
    left: 50%;
    margin-left: -50px;
  }

}

@media screen and (max-width: 48rem) {
  .swiper-slide {
    height: auto;
  }
  header{
    flex-direction: column;
    align-items: center;
  }
  .tiles{
    padding: 8rem 2.5rem; 
  }
  .logo-stack img {
    width: auto;
    height: 35px;
  }
  .content {
    order: 1;
  }
  .coming-soon {
    padding: 8rem 2.5rem; 
  }
  .slideshow-container {
    width: 400px;
    height: 293px;
  }

}

@media screen and (max-width: 39rem) {
  #fading-effect {
    min-height: 5.1rem;
  }
}

@media screen and (max-width: 36rem) {
  .swiper-slide {
    height: auto;
  }
  .tiles{
    padding: 8rem 2.5rem; 
  }
  .coming-soon {
    padding: 8rem 2.5rem; 
  }
  .slideshow-container {
    width: 350px;
    height: 257px;
  }
  .counter i {
    font-size: 1.5rem;
  }
  span.num {
    font-size: 1.5rem;
  }
  span.text {
    font-size: 0.8rem;
  }
  .counter {
    width: 25vmin;
    height: 25vmin;
  }
  .counter-wrapper {
    align-items: center;
    flex-direction: column;
  }

}
