#hero{
  display: flex;
  justify-content: center;
  margin: 20px auto 20px auto;
  width: auto;
  height: auto;
}

#resources{

}
/* Gallery Carousel */
#gallery .carousel-container {
  position: relative;
  width: 80%; /* Adjust to your desired width */
  margin: 0 auto;
  overflow: hidden;
}

#gallery .carousel-track {
  display: flex;
  transition: transform 1s ease; /* Smooth transition */
}

#gallery .carousel-item {
  width: 100%; /* Each image takes up 100% of the container */
  object-fit: contain; /* Ensures images maintain their aspect ratio */
}

/* Sponsors Carousel */
#sponsors .carousel-container {
  position: relative;
  width: 50%; /* Adjust to your desired width */
  margin: 0 auto;
  overflow: hidden;
}

#sponsors .carousel-track {
  display: flex;
  transition: transform 1s ease;
}

#sponsors .carousel-item {
  width: 50%; 
  object-fit: contain; 
}


.carousel-item img {
  width: 20%; 
  height: auto; 
}

.carousel-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-button.left {
  left: 10px;
}

.carousel-button.right {
  right: 10px;
}

.carousel-container:hover .carousel-track {
  animation-play-state: paused; 
}



section{
  padding: 25px;
  font-family: Aldrich, serif;
}
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
  gap: 80px;
  justify-items: center;
  padding: 10px;
  margin: 0 auto; 
  width: 90%; 
}

.card-hackathon {
  background-color: rgba(231,236,255,1);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  width: 100%; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}


.image-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 800px; 
  margin: auto;
  position: relative;
}

.image-container .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.image-container img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px; 
}


/* Categories Section */
#categories {
  padding: 40px;
  background-color: rgba(231, 236, 255, 1);
  text-align: center;
}

.categories-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: center;
}

/* Make it responsive */
@media (max-width: 768px) {
  .categories-container {
    grid-template-columns: 1fr;
  }
}

.category-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.category-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.category-card p {
  font-size: 1em;
  color: #555;
}

/* Tentative Schedule Section */
#schedule {
  padding: 40px;
  background-color: #f4f4f4;
}

#schedule h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Individual Day */
.schedule-day {
  margin-bottom: 30px;
}

.schedule-day h3 {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 15px;
}

/* Table Styles */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.schedule-table th,
.schedule-table td {
  padding: 10px 15px;
  text-align: left;
  border: 1px solid #ddd;
}

.schedule-table th {
  background-color: #333;
  color: white;
  font-size: 1.1em;
}

.schedule-table td {
  background-color: #fff;
  font-size: 1em;
}

/* Table Row Alternating Colors */
.schedule-table tr:nth-child(even) td {
  background-color: #f9f9f9;
}


