* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scrollbar-width: none;
  scroll-behavior: smooth;
}
body {
  background: black;
  overflow-y: scroll;
  font-family: "SUSE", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: white;
  text-align: start;
}
body > div:nth-child(1) {
  width: 100vw;
  height: 100vh;
}
.eventsContainer {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("/images/pc_bg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* padding: 100px 50px; */
  height: 100vh;
  width: 100vw;
  /* overflow-y: scroll; */
  overflow-y: auto;
  overflow-x: hidden;
  color: #ffffff;
}
.eventsContainer {
  overflow: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.eventsContainer::-webkit-scrollbar {
  display: none; /* WebKit browsers */
}
.eventTitleBar h2,
p {
  text-align: center;
}
.eventTitleBar h2 {
  font-size: 35px;
}
.eventTitleBar p {
  margin-top: 20px;
}
.childContainer {
  margin: 50px 0px 0px 0px;
  padding: 0px 50px;
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 70px;
  justify-items: center;
  align-items: center;
}
.eventsContainer a {
  text-decoration: none;
  color: white;
}
.eventCard {
  cursor: pointer;
  padding: 20px;
  border-radius: 20px;
  border: 10px solid rgba(128, 128, 128, 0.361);
  border: 2px solid rgb(147, 147, 3);
  background: rgba(114, 114, 3, 0.478);
  height: 400px;
  width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  animation: moveright 1s linear forwards;
  opacity: 0;
}
@keyframes moveright {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
.eventCard:nth-child(1) {
  animation-delay: 0s;
}
.eventCard:nth-child(2) {
  animation-delay: 0.1s;
}
.eventCard:nth-child(3) {
  animation-delay: 0.2s;
}
.eventCard:nth-child(4) {
  animation-delay: 0.3s;
}
.eventCard:nth-child(5) {
  animation-delay: 0.4s;
}
.eventCard:nth-child(6) {
  animation-delay: 0.5s;
}
.eventCard:nth-child(7) {
  animation-delay: 0.6s;
}
.eventCard:nth-child(8) {
  animation-delay: 0.7s;
}
.eventCard:nth-child(9) {
  animation-delay: 0.8s;
}
.eventCard:nth-child(10) {
  animation-delay: 0.9s;
}
.eventCard:nth-child(11) {
  animation-delay: 1s;
}

.eventCard:hover {
  box-shadow: 5px 5px 10px rgb(97, 97, 1), -5px -5px 10px rgb(97, 97, 1);
}
.eventCard img {
  height: 180px;
  width: 100%;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 0, 0.586);
}

@media only screen and (max-width: 600px) {
  .childContainer {
    grid-template-columns: 1fr;
  }
  .eventTitleBar h2 {
    font-size: 25px;
  }
  .eventTitleBar p {
    font-size: 10px;
  }
}
