/* Styling banner */
.banner img {
  display: block;
  width: 100%;
  height: 350px; /* Adjust as needed */
  object-fit: cover;
}

.banner {
  position: relative;
  min-width: 100%;
  z-index: 1;
  top: 90px;
  margin-bottom: 20px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
  z-index: 1; /* Ensure the overlay is above the image */
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%; /* Adjust the maximum width as needed */
  text-align: center;
  color: #fff;
  z-index: 2; /* Ensure the text is above the overlay */
}

.banner-text h2 {
  font-family: "Termina", sans-serif;
  font-weight: 900;
  line-height: 1.2;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.banner-text p {
  font-size: 1rem;
}

.join-button {
  margin-top: 1.25rem !important;
  display: inline-block;
  padding: 10px 20px;
  background-color: #1f9617; /* Green background color */
  color: #fff;
  font-family: "Termina", sans-serif;
  font-weight: 700;
  line-height: 2.375rem;
  text-decoration: none;
  border-radius: 3px; /* Rounded corners */
  transition: background-color 0.3s; /* Smooth transition */
}

.join-button:hover {
  background-color: #45a049; /* Brighter green color on hover */
}

/* Media query for small screens */
@media screen and (max-width: 768px) {
  .banner-text p {
    display:none;
  }
  .banner-text h2 {
    font-size: 2em; /* Adjust the font size for smaller screens */
  }

  .join-button {
    font-size: 0.8em; /* Adjust the font size for smaller screens */
  }
}
