@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Roboto:wght@300;400;500&display=swap");

#events-carousel * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#events-carousel {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  overflow: hidden;
}

#events-carousel .swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

#events-carousel .swiper-slide {
  width: 370px;
  height: 500px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  filter: blur(1px);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
}

@media (max-width: 580px) {
  #events-carousel .swiper-slide {
    width: 300px;
    height: 400px;
  }
}

#events-carousel .swiper-slide-active {
  filter: blur(0px);
}

#events-carousel .swiper-pagination-bullet,
#events-carousel .swiper-pagination-bullet-active {
  background: #fff;
}

#events-carousel .swiper-slide span {
  text-transform: uppercase;
  color: #fff;
  background: #1b7402;
  padding: 7px 18px 7px 25px;
  display: inline-block;
  border-radius: 0 20px 20px 0px;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-family: "Open Sans", sans-serif;
}

#events-carousel .swiper-slide--one span {
  background: #62667f;
}

#events-carousel .swiper-slide--two span {
  background: #087ac4;
}

#events-carousel .swiper-slide--three span {
  background: #b45205;
}

#events-carousel .swiper-slide--four span {
  background: #087ac4;
}

#events-carousel .swiper-slide h2 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 15px;
  padding: 25px 45px 0 25px;
}

#events-carousel .swiper-slide p {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  display: flex;
  align-items: center;
  padding: 0 25px 35px 25px;
}

#events-carousel .swiper-slide svg {
  color: #fff;
  width: 22px;
  height: 22px;
  margin-right: 7px;
}

#events-carousel .swiper-slide--one {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url(https://i.postimg.cc/yYZRVCcy/4.jpg)
      no-repeat 50% 50% / cover;
}

#events-carousel .swiper-slide--two {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url(https://i.postimg.cc/G3NYwm8p/6.jpg)
      no-repeat 50% 50% / cover;
}

#events-carousel .swiper-slide--three {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url(https://i.postimg.cc/fRQ9yqvn/8.jpg)
      no-repeat 50% 50% / cover;
}

#events-carousel .swiper-slide--four {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("https://i.postimg.cc/WzQJM5LZ/2.jpg")
      no-repeat 50% 50% / cover;
}

#events-carousel .swiper-slide--five {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("https://i.postimg.cc/bvYBcwvr/5.png")
      no-repeat 50% 50% / cover;
}

#events-carousel .swiper-slide--six {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("https://i.postimg.cc/rwGtrGhd/10.jpg")
      no-repeat 50% 50% / cover;
}

#events-carousel .swiper-3d .swiper-slide-shadow-left,
#events-carousel .swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

.register-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.register-btn-container #registerBtn{
  align-items: center;
  background: #0f2027;
  padding: 5px;
  font-size: 16px;
  margin-bottom: 20px;
}

.register-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3d3d418f;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.register-btn:hover {
  background-color: #e91e63;
}

/* Zoom-in and zoom-out animations */
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

.zoom-in {
  animation: zoomIn 1s forwards;
}

.zoom-out {
  animation: zoomOut 1s forwards;
}
