body {
  font-family: "Oswald", sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #333;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header {
  background: #3962AD;
  color: #fff;
  padding: 10px 0;
}
header .logo {
  height: 60px;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
header nav a {
  color: #fff;
  text-decoration: none;
}
header nav a:hover {
  text-decoration: underline;
}

/* Desktop defaults */
#navbar ul {
  display: flex;
  gap: 20px;
}/* added ^ */

.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.content {
  text-align: center;
}

.content h1 {
  color: #3962AD;
  font-size: 3rem;
  margin: 0;
  padding: 0;
}

.content span {
  font-family: "Fugaz One", sans-serif;
   text-decoration-line: underline;
   font-size: 5rem;
}


.content .tagline {
  font-family: "Pattaya", sans-serif;
  color: black;
}

.content .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #f5c400;
  color: #002147;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  border-radius: 5px;
}
.content .btn:hover {
  background: #d4a900;
}
.section {
  padding: 40px 0;
}
.section.alt {
  background: #f4f4f4;
}
h2 {
  color: #3962AD;
}
.event-list {
  list-style: none; /* Removes default bullet points */
  padding: 20px;
}

.event-list li {
  margin-bottom: 8px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.event-list h3 {
  margin-top: 0;
  color: #333;
  padding: 16px;
}

.event-list div {
  padding: 4px;
}

.event-list div p {
  font-size: 0.9em;
  color: #666;
  margin: 0;
}

.event-list div p:last-of-type {
  margin-top: 8px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
input,
textarea,
button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
button {
  background: #3962AD;
  color: white;
  border: none;
  cursor: pointer;
}
button:hover {
  background: #003366;
}
footer {
  background: #3962AD;
  color: white;
  text-align: center;
  padding: 15px 0;
}
footer .logo {
  height: 140px;
}

.board-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 4;
}
.board-list li {
  margin: 1rem;
}
.board-list label {
  font-weight: bold;
  color: #3962AD;
  display: block;
}

/* FACEBOOK */
.facebook {
  margin: 0 auto;
}

.facebook a {
  color: white;
}

.facebook a:hover {
  color: #ccc;
}

#legacy #legacy-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  list-style: none;
}

#legacy #legacy-links li {
 margin-bottom: .2rem;
 text-align: center;
 
}


#legacy #legacy-links a {
  background-color: #3962AD;
  color: white;
  padding: .5rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 15px;
}

#legacy #legacy-links a:hover {
   background-color: white;
   color: #d4a900;
}

#legacy #legacy-tagline {
  text-align: center;
  font-style: italic;
  font-size: 2rem;
}



/* Mobile */
@media (max-width: 768px) {
  #navbar ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #3962AD;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border-radius: 5px;
  }
  #navbar ul.show {
    display: flex;
  }
  .hamburger {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  } 
  .board-list {
    columns: 3;
  }
  #hero h1 {
    font-size: 2rem;
  }
  #legacy #legacy-links {
  flex-direction: column;

}
}
