/* W3Schools fullpage layout + automatic slider styles
   Place at: assets/templates/autoslider/css/slider.css */

body, html {
  height: 100%;
  margin: 0;
  font-family: "Lato", sans-serif;
  color: #fff;
}

.bgimg {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100%;
  transition: background-image 1s ease-in-out;
}

.caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
}
.caption span.border {
  background-color: #111;
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
  display: inline-block;
  transition: opacity 0.6s ease-in-out;
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}
.slider-nav button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.slider-nav button.active { background: #fff; }

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 5;
  user-select: none;
}
.arrow:hover { background: rgba(0,0,0,0.7); }
.arrow.prev { left: 20px; }
.arrow.next { right: 20px; }

.content {
  color: #777;
  background-color: #fff;
  padding: 50px 80px;
  text-align: justify;
}
h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 20px "Lato", sans-serif;
  color: #111;
}

@media only screen and (max-device-width: 1024px) {
  .bgimg { background-attachment: scroll; }
}
