* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.slider {
  position: relative;
  overflow: hidden;
  height: 85vh;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.slide.current {
  opacity: 1;
}

.slide .content {
  position: absolute;
  bottom: 30px;
  right: 0px;
  opacity: 0;
  /* width: 600px; */
  background-color: rgba(195, 145, 30, 0.5); 
  color: #ffffff;
  padding: 10px 25px 10px 15px;
}

.slide .content h1 {
  margin-bottom: 0px;
  font-family: Marcellus;
  color: #ffffff;
  font-weight: 300;
  text-shadow: 0 0 2px #c3911e, 0 0 3px #000;            
}

.slide.current .content {
  opacity: 1;
/*  transform: translateX(500px);*/
  transition: all 0.7s ease-in-out 0.3s;
}

.buttons button#next {
  position: absolute;
  top: 50%;
  right: 15px;
}

.buttons button#prev {
  position: absolute;
  top: 50%;
  left: 15px;
}

.buttons button {
  /* border: 2px solid #fff; */
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 50%;
  outline: none;
  font-size: 32px;
  font-weight: normal;
  font-style: normal;
}

.buttons button:hover {
  /* background-color: #fff; */
  color: #dedede;
}
/* 
@media (max-width: 500px) {
  .slide .content {
    bottom: -300px;
    left: 0;
    width: 100%;
  }

  .slide.current .content {
    transform: translateY(-300px);
  }
} */





@media screen and (max-width: 1920px) {

  
.slide:first-child {
  background: url('../images/slider01.jpg') no-repeat
    center center/cover;
}
.slide:nth-child(2) {
  background: url('../images/slider04.jpg') no-repeat
    center center/cover;
}
.slide:nth-child(3) {
  background: url('../images/slider03.jpg') no-repeat
    center top/cover;
}
.slide:nth-child(4) {
  background: url('../images/slider04.jpg') no-repeat
    center top/cover;
}
.slide:nth-child(5) {
  background: url('../images/slider05.JPG') no-repeat
    center top/cover;
}
 
}


@media (min-width:100px) and (max-width:768px) {

  .slider {
    position: relative;
    overflow: hidden;
    height: 55vh;
    width: 100%;
  }
  
  .slide .content {
    bottom: 0; /* Adjust this value based on your design */
    left: 0;
    width: 100%;
    transform: translateY(0); /* Reset the transform for smaller screens */
  }
  
  .slide.current .content {
  transform: translateY(0); /* Reset the transform for smaller screens */
  }
    
  
  
  .slide .content {
    position: absolute;
    bottom: 10px;
    opacity: 0;
    color: #ffffff;
    padding:10px;
  }
  
    .content {
      display: block;
    }
  
  
    .slide .content h1 {
      margin-bottom: 5px;
      font-family: Marcellus;
      color: #ffffff;
      text-align: left;
      font-size: 16px;
      font-weight: 400;
      width: 85%;
    }
  
    
  .buttons button#next {
    position: absolute;
    top: 50%;
    right: 15px;
  }
  
  .buttons button#prev {
    position: absolute;
    top: 50%;
    left: 15px;
  }
  
  
  .buttons button {
    /* border: 1px solid #fff; */
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 50%;
    outline: none;
    font-size: 24px;
    font-weight: normal;
    font-style: normal;
  }
  
  .content-wrap {
    position: relative;
    padding: 20px 0;
  }


/*.slide:first-child {
  background: url('../images/slider01.webp') no-repeat
    center top/cover;
}
.slide:nth-child(2) {
  background: url('../images/slider02.jpg') no-repeat
    center top/cover;
}
.slide:nth-child(3) {
  background: url('../images/slider03.JPG') no-repeat
    center top/cover;
}
.slide:nth-child(4) {
  background: url('../images/slider04_1.jpg') no-repeat
    center top/cover;
}
.slide:nth-child(5) {
  background: url('../images/slider05.webp') no-repeat
    center top/cover;
}*/

/* .slide:nth-child(5) {
  background: url('mob/yoga-teacher-training-in-india.jpg') no-repeat
    center middle/cover;
}  */


  
  }
  