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 for news items */
.news-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


/* Individual news item styling */
.news-item {
  box-sizing: border-box;
  padding: 10px;
  margin: 10px;
  border-radius: 3px;
  width: 100%; /* Full width on small screens */
  text-align: center; /* Center text */
  background-color: #262726; /* Background color for contrast */
}

/* Flexbox for images within news items */
.news-item .image-container {
  display: flex; /* Use flexbox for images */
  justify-content: center; /* Center images */
  flex-wrap: wrap; /* Allow wrapping */
}


/* Responsive image within news items */
.news-item img {
  max-width: 45%; /* Responsive image */
  height: auto; /* Maintain aspect ratio */
  margin: 5px; /* Space between images */
}


/* Text color styling for news items */
.news-item h3,
.news-item p {
  color: white; /* White text color */
}


/* Media query: stack images vertically on small screens */
@media (max-width: 600px) {
  .news-item {
    width: 100%; /* Full width on small screens */
  }
  .news-item .image-container {
    flex-direction: column; /* Stack images vertically */
    align-items: center; /* Center images */
  }
  .news-item img {
    max-width: 100%; /* Full width for images on small screens */
  }
}

/* Button styling */
.emailbutton {
  color: #ffffff; /* White text color */
  background-color: #323232; /* Button background color */
  width: 80%; /* Button width */
  max-width: 300px; /* Optional: set a max width */
  border: none; /* Remove border */
  padding: 12px 20px; /* Padding for larger button */
  border-radius: 30px; /* Rounded corners */
  margin-bottom: 20px;
  font-size: 18px; /* Font size */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s, transform 0.2s; /* Smooth transition */
  display: inline-block; /* Ensure it behaves like a block element */
  text-align: center; /* Center text */
}

/* Hover effect for buttons */
.emailbutton:hover {
  background-color: #262726; /* Darker background on hover */
  transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Active effect for buttons */
.emailbutton:active {
  transform: scale(0.95); /* Slightly shrink when clicked */
}

/* Quick news heading styling */
.quick-news h2 {
  color: white; /* White text color */
  text-align: center; /* Center text */
  text-decoration: underline; /* Underline text */
  font-size: 48px; /* Font size */
}

/* Footer styling */
.footer {
  text-align: center; /* Center text */
  font-size: 20px; /* Default font size */
  margin-top: 100px; /* Space above footer */
  color: white; /* White text color */
}

/* Footer paragraph styling */
.footer p {
  color: white; /* White text color */
}

/* Responsive font sizes for footer */
@media only screen and (max-width: 1700px) {
  .footer {
    font-size: 18px; /* Smaller font size */
  }
}

@media only screen and (max-width: 768px) {
  .footer {
    font-size: 16px; /* Smaller font size */
  }
}

@media only screen and (max-width: 480px) {
  .footer {
    font-size: 14px; /* Smaller font size */
  }
}

@media only screen and (max-width: 320px) {
  .footer {
    font-size: 12px; /* Smaller font size */
  }
}








.image-instructions {
  text-align: center;
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
  font-size: 0.95em;
  opacity: 0.9;
}

.news-images {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.image-wrapper {
  position: relative;
  width: 48%;
}

.image-wrapper img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  transition: all 0.6s ease-in-out;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 1;
}

/* Hover (desktop) */
.image-wrapper img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Expanded image */
.image-wrapper img.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: auto;
  height: 90vh;
  max-width: 95vw;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  z-index: 9999;
  transition: all 0.6s ease-in-out;
}

/* Dim background */
.image-wrapper img.expanded::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}

/* Back button styling */
.back-btn {
  display: none;
  position: fixed;
  top: 25px;
  right: 25px;
  padding: 10px 20px;
  background: #222;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.back-btn.show {
  display: block;
  opacity: 1;
}

@media (max-width: 700px) {
  .image-wrapper {
    width: 100%;
  }

  .image-wrapper img {
    height: 180px;
  }
}