@charset "utf-8";

/* ==============================
   HERO SLIDER
================================= */

.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

/* ==============================
   SLIDES
================================= */

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;
  z-index: 1;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

/* Active slide only */
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* ==============================
   SLIDE CONTENT
================================= */

.slide-content {
  position: absolute;
  bottom: 30%;
  left: 10%;
  z-index: 3;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

.slide-content h1 {
  font-size: 3rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.slide-content p {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 1rem;
}

/* ==============================
   EXPLORE BUTTON
================================= */

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #eb053b;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: #eb053b;
}

/* ==============================
   SLIDER NAVIGATION
================================= */

.slider-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;

  pointer-events: none;
}

.slider-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: none;
  border: 1px solid #eb053b;
  color: #eb053b;

  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;

  pointer-events: auto;

  transition: all 0.3s ease;
}

.slider-nav button:hover {
  background: #eb053b;
  color: #fff;
}

.prev {
  left: 1rem;
}

.next {
  right: 1rem;
}

/* ==============================
   MOBILE
================================= */

@media (max-width: 768px) {

  .hero-slider {
    height: 70vh;
  }

  .slide-content {
    left: 8%;
    right: 8%;
    bottom: 20%;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
  }

  .slider-nav button {
    font-size: 1.5rem;
    padding: 0.3rem;
  }

}