main {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  margin: 0;
  padding: 40px;
  padding-bottom: 0px;
  padding-top: 0;
  background-color: rgb(185, 185, 185);
}

.showcaseImage {
  margin: 0;
  padding: 0 0 0 40px;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.background-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 0px;
  animation: slideImages 20s linear infinite;
  opacity: 0;
}

.background-slide:nth-child(1) {
  background-image: url("/images/event1.png");
  animation-delay: 0s;
}

.background-slide:nth-child(2) {
  background-image: url("/images/event2.png");
  animation-delay: 4s;
}

.background-slide:nth-child(3) {
  background-image: url("/images/event3.jpg");
  animation-delay: 8s;
}

.background-slide:nth-child(4) {
  background-image: url("/images/event4.png");
  animation-delay: 12s;
  background-position: center -400px;
}

.background-slide:nth-child(5) {
  background-image: url("/images/event5.png");
  animation-delay: 16s;
  background-position: center -400px;
}

@keyframes slideImages {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  1% {
    transform: translateX(0%);
    opacity: 1;
  }

  20% {
    transform: translateX(0%);
    opacity: 1;
  }

  25% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.eventOverview {
  width: 100%;
  height: 100%;
  background-color: #00000051;
  z-index: 1;
  position: absolute;
  left: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcaseImage h1 {
  text-align: start;
  color: orangered;
  font-size: 40px;
}

.showcaseImage span {
  font-size: 20px;
  color: #0000ff;
}

.events {
  width: 100vw;
  display: flex;
  padding-top: 10px;
  padding-bottom: 40px;
  flex-direction: column-reverse;
  align-items: center;
}

h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 5px;
  color: #4014a1;
}

h3 {
  text-align: center;
  color: #9cba0d;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.visit-container {
  width: 90vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #dedede;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.visit-content {
  width: 100%;
  padding: 20px 30px 10px 20px;
  flex: 1;
}

.visit-container:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, #1ed686, #d0ff9b, #939ba0);
  background-size: 300% 300%;
  animation: shine 4s ease infinite;
}

@keyframes shine {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.visit-content h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #0d47a1;
}

.visit-content .location {
  color: #2e7d32;
  font-weight: 500;
}

.visit-content .date {
  color: #e65100;
  font-weight: bold;
  margin-bottom: 10px;
}

.visit-content p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.flex {
  display: flex;
}

.wrap {
  flex-wrap: wrap;
}

.justify-center {
  justify-content: center;
}

.item-center {
  align-items: center;
}

#cardContainer {
  padding: 20px;
}

.card {
  background-color: rgb(255, 255, 255);
  color: rgb(14, 13, 13);
  padding: 7px;
  font-weight: 400;
  border-radius: 10px;
  margin: 10px;
  box-shadow: 3px 5px 12px 4px rgba(0, 0, 0, 0.15);
}

.card:hover {
  background-color: rgb(143, 143, 143);
  color: whitesmoke;
  cursor: pointer;
}

.imgBox {
  overflow: hidden;
  margin-bottom: 5px;
}

.card img {
  width: 250px;
  height: 200px;
  border-radius: 10px;
}

.card img:hover {
  transform: scale(1.15);
  transition: transform 0.3s ease-in-out;
}

hr {
  margin: 40px auto;
  width: 80%;
  border: none;
  border-top: 1px solid #ccc;
}

.totalEvents {
  width: 100vw;
  height: 50vh;
  background-image: url('/images/event2.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center -200px;
  position: relative;
  background-attachment: fixed;
}

.divlist {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: #00000085;
}

.justify-around {
  justify-content: space-around;
}

.divlist span {
  font-size: 35px;
  color: #ffffff;
}

@media (max-width : 800px) {
  .totalEvents {
    background-position: center center;
  }

  .divlist span {
    font-size: 25px;
  }
}