body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 1000;
}

header a:link {
  text-decoration: none;
  color: initial
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  /*text-decoration: none;*/
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 21px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 5px;
}

.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 0;
}

.hero-text p {
  font-size: 1.2rem;
  color: #ddd;
}

.hero-caption {
  padding: 1rem 2rem;
  text-align: left;
}

.hero-caption p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.hero-caption a {
  color: #007BFF;
  text-decoration: none;
}

.hero-caption a:hover {
  text-decoration: underline;
}

.content {
  padding: 2rem;
  text-align: center;
}

/*
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.gallery-item p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #333;
  text-align: left;
}

.gallery-item a {
  color: #007BFF;
  text-decoration: none;
}

.gallery-item a:hover {
  text-decoration: underline;
}
*/
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #fff;
    border-top: 1px solid #ddd;
    z-index: 1000;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: flex;
  }
}

.glow {
  font-size: 80px;
  color: #fff;
  text-align: center;
  animation: glow 5s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #1b1515, 0 0 20px #fff, 0 0 30px #e69600, 0 0 40px #e67b00, 0 0 50px #e69900, 0 0 60px #e66000, 0 0 70px #e67700;
  }

  to {
    text-shadow: 0 0 20px #0c0505, 0 0 30px #ff4d4d, 0 0 40px #ff4d4d, 0 0 50px #ff4d4d, 0 0 60px #ff4d4d, 0 0 70px #ff4d4d, 0 0 80px #ff4d4d;
  }
}

.footer {
  padding: 1rem 2rem;
  text-align: left;

  /*position: absolute;*/
  bottom: 0%;
  /*width: 100vw;*/
}

.event-card {
  max-width: 800px;
  /* Set a max width to keep them compact */
  width: 100%;
  /* Allow them to shrink on smaller screens */
  margin: 0 auto;
  /* Center the cards */
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.event-header {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.event-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 5px;
}

.event-date {
  font-size: 1rem;
  color: #777;
}

.event-details {
  margin-top: 20px;
  line-height: 1.6;
  color: #555;
}

.event-hardfacts {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #777;
}

.hardfact-item {
  margin-bottom: 5px;
}

/*
@media (min-width: 768px) {
  .event-card {
      flex-direction: row;
      justify-content: space-between;
  }
  .event-header {
      width: 100%;
      border-bottom: none;
      padding-bottom: 0;
  }
  .event-details {
      width: 65%;
      padding-left: 30px;
  }
      */

.container {
  max-width: 1200px;
  /* Set a max width for the entire container */
  width: 100%;
  /* Allow it to adjust for smaller screens */
  margin: 0 auto;
  /* Center the container */
  padding: 20px;
}

.portfolio-item {
  max-width: 800px;
  /* Set a max width to keep them compact */
  width: 100%;
  /* Allow them to shrink on smaller screens */
  margin: 0 auto;
  /* Center the cards */
  background-color: #fff;
  border-radius: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
  padding: 20px;
}

.portfolio-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
}

.portfolio-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.featured-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 0px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.image-description {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 20px;
  text-align: center;
}

.thumbnail-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  /* Ensure thumbnails wrap on small screens */
}

.thumbnail {
  width: 100px;
  height: 60px;
  overflow: hidden;
  border-radius: 0px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.portfolio-description {
  margin-top: 20px;
  color: #555;
  line-height: 1.6;
  text-align: center;
}

.source-info {
  font-size: 0.85rem;
  color: #999;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .thumbnail {
    width: 60px;
    height: 40px;
  }

  .container {
    padding: 10px;
  }

  .portfolio-item {
    padding: 15px;
  }
}

.text-box {
  max-width: 600px;
  /* Set a max width to keep them compact */
  width: 100%;
  /* Allow them to shrink on smaller screens */
  margin: 0 auto;
  /* Center the cards */
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.0);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
}