body, html {
  height: 100%;
  margin: 0;
  font-family: 'Arial';
    background-color: #323232;
    overflow-x: hidden;
    font-weight: lighter;
    -webkit-transition: opacity 2s ease-in;
    -moz-transition: opacity 2s ease-in;
    -o-transition: opacity 2s ease-in;
    -ms-transition: opacity 2s ease-in;
    transition: opacity 2s ease-in;
}

.hero-image {
  background-image: linear-gradient(rgba(255, 255, 255, 0), #262726), url("IMG_Hero_Image.jpg");
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  border-color: white;
  padding: 10px 10px;
  font-weight: 100;
}

@keyframes swipe {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
    }
    
}
.hero-text h1 {
    font-size: 50px;
    animation: swipe 0.6s;
}

.hero-text p {
  animation: swipe 0.6s;
}
.opening {
    width: 80%;
    font-size: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 5%;
    color: white;
}

@media (max-width: 1000px) {
    .opening {
        width: 75%;
    }   
    
}

@media (max-width: 650px) {  
    .hero-text h1 {
        font-size: 40px;
    }
}

@media (max-width: 500px) {  
    .hero-text h1 {
        font-size: 30px;
    }
}

@media (max-width: 400px) {  
    .hero-text h1 {
        font-size: 20px;
    }
}




.container {
  max-width: 100%;
  margin: auto;
  background: #262726;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5em;
  margin: 0;
  color: white;
  text-align: center;
}

h3 {
  font-size: 1.2em; /* Font size for h3 */
  color: white; /* White color for h3 */
  margin: 10px 0; /* Margin for spacing */
  text-align: center; /* Center text */
}

p {
  font-size: 1.2em; /* Font size for paragraphs */
  color: #fff; /* White color for paragraphs */
  text-align: center; /* Center text */
  margin: 5px 0; /* Margin for spacing */
}

.events {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
  gap: 20px;
}

.event {
  background: #323232;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  justify-content: space-between; /* Space out children */
}

.event img {
  width: 100%;
  height: 1200px; /* Consider using auto for responsive images */
}

.event-info {
  padding: 15px;
  display: flex;
  flex-direction: column; /* Stack text vertically */
  align-items: center; /* Center text */
}

.event-info h2 {
  margin: 0;
  font-size: 1.5em;
  color: white;
}

.event-info h3 {
  margin: 0;
  color: white; /* Ensure h3 is white */
}

.event-info a {
  color: white;
  text-decoration: none;
  background-color: #262726;
  border-radius: 25px;
  padding: 20px 20px;
}

.date, .time, .location, .welcome {
  margin: 5px 0;
  font-size: 1.2em;
  color: #fff;
  text-align: center;
}

@media (max-width: 768px) {
  h1 {
      font-size: 2em;
  }

  h3 {
      font-size: 1.1em; /* Smaller h3 size for medium screens */
  }

  .event img {
    width: 100%;
    height: auto; /* Make images responsive */
  }

  p {
      font-size: 1em; /* Smaller paragraph size */
  }

  .event-info h2 {
      font-size: 1.3em;
  }

  .date, .time, .location, .welcome {
      font-size: 0.9em;
  }

  .events {
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
  }
}

@media (max-width: 480px) {
  h1 {
      font-size: 1.8em;
  }

  h3 {
      font-size: 1em; /* Even smaller h3 size for small screens */
  }

  p {
      font-size: 0.9em; /* Smaller paragraph size */
  }

  .events {
      grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }

  .event-info h2 {
      font-size: 1.2em;
  }

  .date, .time, .location, .welcome {
      font-size: 0.8em;
  }
}




.footer {
  text-align: center;
  font-size: 20px;
  margin-top: 100px;
  height: auto;
  color: white;
}

.footer p {
  color: white;
}

@media only screen and (max-width: 1700px) {
  .footer {
    font-size: 18px;
  }
}

@media only screen and (max-width: 768px) {
  .footer {
    font-size: 16px;
  }
}

@media only screen and (max-width: 480px) {
  .footer {
    font-size: 14px;
  }
}

@media only screen and (max-width: 320px) {
  .footer {
    font-size: 12px;
  }
}


