*{margin:0;padding:0;box-sizing:border-box;font-family:Arial;}

html, body{height:100%;}

.slider{
  width:100%;
  height:100vh;
  position:relative;
  overflow:hidden;
}

.slide{
  width:100%;
  height:100%;
  position:absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity:0;
  transition:opacity 0.5s ease;
  background-color:#000;
}

.slide.active{
  opacity:1;
}


.content{
  position:absolute;
  bottom:40px;
  right:40px;
  left:auto;
  top:auto;
  transform:none;
  background:rgba(0,0,0,0.6);
  padding:25px 35px;
  border-radius:10px;
  color:#fff;
  text-align:right;
  animation:fadeUp 1s;
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(20px);}
  to{opacity:1;transform:translateY(0);}
}

.btn{
  background:#ff9800;
  color:#fff;
  padding:10px 25px;
  text-decoration:none;
  border-radius:5px;
  display:inline-block;
  margin-top:10px;
}


/* Arrows */
.prev,.next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.5);
  color:#fff;
  border:none;
  font-size:25px;
  padding:10px 15px;
  cursor:pointer;
  z-index:10;
}
.prev{left:20px;}
.next{right:20px;}

/* Dots */
.dots{
  position:absolute;
  bottom:20px;
  width:100%;
  text-align:center;
}
.dot{
  height:12px;
  width:12px;
  background:#bbb;
  border-radius:50%;
  display:inline-block;
  margin:0 5px;
  cursor:pointer;
}
.dot.active{background:#ff9800;}

.slider{
  min-height: 500px;
  display: block;
}

.slide{
  min-height: 500px;
}

.bg-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-img{
  filter: blur(5px);
  transition: filter 0.5s ease;
}

.bg-img.loaded{
  filter: blur(0);
}

