/*gallery start*/
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.gallery {
  padding: 20px;
  text-align: center;
}

h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 10px;
}

.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.image-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.image-item:hover img {
  transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  text-align: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  margin-top: 3%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ccc;
}

/* gallery end */

* {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-flow: column nowrap;
  background: #999;
}

.slide-container {
  position: relative;
  width: 35vw;
  height: 35vw;
  margin: 17vmin auto;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .5);
  background: url() no-repeat center/cover;
  transition: all .3s;
}

.slide-container .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 8vw;
  height: 8vw;
  margin-top: -4vw;
  margin-left: -4vw;
  background: url() no-repeat center/cover;
  border-radius: 50%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
  cursor: pointer;
  transform: scale(1);
  opacity: .9;
  transition: all .3s;
}

.slide[data-slide-no="1"] {
    background: url(../img/gopal.jpg);
}

.slide[data-slide-no="2"] {
   background: url(../img/gopal1.png);
   }

.slide[data-slide-no="3"] {
  background: url(../img/gopal2.jpg);
}

.slide[data-slide-no="4"] {
  background: url(../img/gopal3.jpg);
}

.slide[data-slide-no="5"] {
  background: url(../img/krishna.jpg);
}

.slide[data-slide-no="6"] {
   background: url(../img/krishna1.jpg);
}

.slide[data-slide-no="7"] {
   background: url(../img/gopal4.jpg);
}

.slide[data-slide-no="8"] {
  background: url(../img/gopal5.jpg);
}

.slide[data-slide-no="9"] {
  background: url(../img/gopal6.jpg);
}

.slide[data-slide-no="10"] {
  background: url(../img/gopal7.jpg);
}

.slide[data-slide-no="11"] {
  background: url(../img/gopal8.jpg);
}

.slide[data-slide-no="12"] {
  background: url(../img/gopal9.jpg);
}

.slide.active,
.slide:hover {
  transform: scale(1.3);
  opacity: 1;
  z-index: 100;
}

.button-wrap {
  margin-top: auto;
  display: flex;
  flex-flow: row nowrap;
}

.button-wrap .btn {
  display: block;
  flex: 1 1 auto;
  line-height: 50px;
  text-align: center;
  background: #333;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  transition: all .3s;
}

.button-wrap .btn:hover {
  background: #fea116;
}

.button-wrap .btn-prev {
  border-right: 1px solid #fea116;
}

@media all and (max-width: 1024px) {
  .slide-container {
    width: 55vw;
    height: 55vw;
  }
  
  .slide-container .slide {
    width: 13vw;
    height: 13vw;
    margin-top: -6.5vw;
    margin-left: -6.5vw;
  }
}

@media all and (max-width: 720px) {
  .slide-container {
    width: 65vw;
    height: 65vw;
  }
  
  .slide-container .slide {
    width: 15vw;
    height: 15vw;
    margin-top: -7.5vw;
    margin-left: -7.5vw;
  }
}