* {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
}
.slider {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tint{
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.568);
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s ease;
}

.current {
  opacity: 1;
}

/* ================================================= 
                    slide content
==================================================*/

.slider .content {
  padding: 10px 25px;
  width: 40%;
  line-height: 1.6;
  font-size: 14px;
  border-radius: 5px;
  z-index: 2;
  opacity: 1;
  color: #f1f1f1;
  text-align: center;
  transition: all 0.7s ease-in-out 0.3s;
}

.content h1 {
  font-size: 3em;
  margin-bottom: 5px;
}

/* ================================================= 
                    buttons
==================================================*/

.buttons {
  z-index: 3;
  display: none;
  position: absolute;
  right: 0;
  bottom: 2px;
}
.next-btn,
.prev-btn {
  width: 70px;
  height: 70px;
  border: 1px solid #f1f1f1;
  color: #f1f1f1;
  font-size: 30px;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
}
/* .next-btn {
  position: absolute;
  right: 15px;
}
.prev-btn {
  position: absolute;
  left: 15px;
} */
.next-btn:hover,
.prev-btn:hover {
  background: #f1f1f1;
  color: black;
}
/*================================================ 
               background images
==================================================*/

.slide:first-child {
  background: url("images/1.jpeg") no-repeat center center/cover;
}
.slide:nth-child(2) {
  background: url("images/2.jpg") no-repeat center center/cover;
}
.slide:nth-child(3) {
  background: url("images/3.jpg") no-repeat center center/cover;
}
.slide:nth-child(4) {
  background: url("images/4.jpg") no-repeat center center/cover;
}
.slide:nth-child(5) {
  background: url("images/5.jpg") no-repeat center center/cover;
}
.slide:last-child {
  background: url("images/6.jpg") no-repeat center center/cover;
}

/* ================================================= 
                    responsive 
==================================================*/
@media screen and (max-width: 768px) {
  .slider .content {
    padding: 10px 0px;
    width: 90%;
}
}
