@import url("https://fonts.googleapis.com/css2?family=Arya:wght@400;700&display=swap");

/* Full-screen section */
.event-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: hidden;
}

/* Background with blur */
.event-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1511754863001-18d44abd0a93?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    center/cover no-repeat;
  filter: blur(4px);
  transform: scale(1.05); /* avoid edges showing after blur */
  z-index: -1;
}

/* Foreground content */
.event-content {
  position: relative;
  font-family: "Arya";
  text-align: center;
  color: rgb(49, 2, 9);
  padding: 20px;
  background-color: rgba(244, 200, 173, 0.75);
  border: 0px solid white;
  border-radius: 20px;
}

/* Trophy image */
.event-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

/* Title */
.event-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Details */
.event-detail {
  font-size: 1.3rem;
  margin: 6px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .event-title {
    font-size: 1.8rem;
  }
  .event-detail {
    font-size: 1.1rem;
  }
  .event-icon {
    width: 90px;
  }
}

@media (max-width: 480px) {
  .event-title {
    font-size: 1.5rem;
  }
  .event-detail {
    font-size: 1rem;
  }
  .event-icon {
    width: 75px;
  }
}

.container {
  display: flex;
  width: 100vw;
  flex-wrap: wrap;
  margin: auto;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
}

.container > img {
  display: block;
  max-width: 300px;
  width: 80vw;
  height: auto;
  border-radius: 18px;
  padding: 8px; /* inner space (acts like inner border) */
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border: 4px solid rgba(190, 228, 242, 0.9);
  margin: 8px;
}

@media screen and (min-width: 800px) {
  .container > img {
    max-width: 400px;
  }
}

.title {
  text-align: center;
  max-width: 80vw;
  margin: auto;
  margin-top: 30px;
  color: #790404;
}

#ramanujEvent {
  display: flex;
  justify-content: center;
  /* margin: 20px; */
}

#ramanujEvent > img {
  width: 50vw;
}

@media screen and (max-width: 790px) {
  #ramanujEvent > img {
    width: 100vw;
  }
}
