/******************************

SLIDER

*******************************/

.mySlides {
  display: none;
}

.slideshow-container {
  width: 100%;
  height: 650px !important;
  position: relative;
  margin: 88px auto;
  border-bottom: 2px solid var(--color-primary);
}

.logo-fade-loop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.logo-fade-loop img {
  width: 190px;
  opacity: 0.7;
}

.slide {
  width: 100%;
  height: 650px !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle, rgba(250, 169, 48, 0.4) 0%, rgba(65, 170, 224, 0.4) 100%);
  pointer-events: none;
}

.slideshow-container .prev, .slideshow-container .next {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-one);
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: 0.3s;
  z-index: 2;
}

.slideshow-container .prev:hover, .slideshow-container .next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slideshow-container .prev {
  left: 10px;
}

.slideshow-container .next {
  right: 10px;
}

.fade {
  animation-name: fade;
  animation-duration: 2.5s;
}

@keyframes fade {
  from {opacity: 0} 
  to {opacity: 1}
}

.caption {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 62px;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  animation: fadeInCenter 2.5s ease forwards;
  z-index: 1;
}

.caption h1,
.caption h2,
.caption h3 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--color-two);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.caption p {
  font-size: 18px;
  color: #fefefe;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

@keyframes fadeInCenter {
  from {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.section-page {
  position: relative;
  margin: 120px auto;
  padding: 20px 0px 0px 0px;
  background-color: #f6f6f6;
}

.section-page h1 {
  text-align: center;
  font-size: 28px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-page span {
  color: var(--color-primary);
}

.section-page h5 {
  text-align: center;
  width: 90%;
  margin: auto;
  font-size: 18px;
  font-weight: 400;
  opacity: 0.5;
}

.section-page h5 span {
  font-weight: 700;
  color: #222;
}

.section-page h6 {
  text-align: center;
  width: 90%;
  margin: auto;
  font-size: 18px;
  font-weight: 400;
  opacity: 0.5;
  color: #f0f0f0;
}

.section-page .bor {
  background: var(--color-primary);
  height: 2px;
  width: 280px;
  margin: -20px auto;
  position: relative
}

.section-page .bor-2 {
  background: var(--color-primary);
  height: 2px;
  width: 220px;
  margin: 30px auto;
  position: relative
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 1%;
  background-color: var(--color-primary) !important;
  width: 380px !important;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.popup-content {
  text-align: center;
  font-size: 16px;
  color: #000;
}

.waves {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 90px;
z-index: 1;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

@media only screen and (max-width: 1080px) {

  .slideshow-container {
    height: 360px !important;
  }
  
  .slide {
    height: 360px !important;
  }
}

@media only screen and (max-width: 767px) {

  .slideshow-container {
    height: 360px !important;
	background-color: #fff !important;
	border-bottom: none !important;
  }
  
  .slide {
    height: 260px !important;
  }
  
  .slide::before {
	height: 260px !important;
  }

  .caption {
	bottom: -140px;
	margin: 0px 0px 50px 0px;
    left: 2%;
    right: 2%;
    transform: none !important;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
    animation: none !important;
  }
  
  .caption h1,
  .caption h2,
  .caption h3 {
    font-size: 18px;
  }
  
  .caption p {
    font-size: 16px;
  }
  
  .previous_btn {
    left: 50px;
  }
  .next_btn {
    right: 50px;
  }
  
  .popup {
    width: 320px !important;
  }
  
  .waves {
	  display: none;
  }

}