:root {
  /* gray navbar
  --navbg: #f4f4f4;
  --navfg: #333;
  --navborder: #ddd;
  --navhighlight: #fcfcfc;
  */
  /* navy blue
  --navbg: #1e3a5f;
  --navfg: #ffffff;
  --navborder: #284b79;
  --navhighlight: #3b5c8f;
  */
  --navbg: #2d6a4f;
  --navfg: #ffffff;
  --navborder: #3a7d5e;
  --navhighlight: #4f9c75;
  --nav-donate: #1e3a5f;
  --nav-donate-highlight: #3b5c8f;
  /* --nav-donate-highlight: gray; */

  --bft-green: #035503;
  --bft-blue: #011e3e;

  --c-green: var(--navbg);
  --c-blue: var(--nav-donate);

  /* numbers */
  --container-min: min(100%, 400px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: public-sans, sans-serif;
  max-width: 100%;
  width: 1280px;
  margin: 0 auto;
}

@font-face {
  font-family: public-sans;
  src: url("/fnt/PublicSans.ttf");
  font-display: swap;
}

.green { color: var(--bft-green); }
.blue { color: var(--bft-blue); }
.c-green { background-color: var(--c-green); }
.c-blue { background-color: var(--c-blue); }

.headerbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.logo {
  width: 64px;
  height: 64px;
}

/* nav bar */
nav {
  width: 100%;
  background: var(--navbg);
}
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  flex: 1;
  border-left: 1px solid var(--navborder);
}

nav ul li a {
  display: block;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  color: var(--navfg);
  background-color: var(--navbg);
  transition: ease 0.3s;
  font-size: min(1rem, 4vw);
}

nav ul li a:hover {
  background-color: var(--navhighlight);
}

.nav-donate { background-color: var(--nav-donate); }

.nav-donate:hover { background-color: var(--nav-donate-highlight); }

/* main site content */
h1 {
  font-size: min(2.5rem, 8vw);
  font-weight: bold;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--navbg);
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

main {
  padding: 20px;
  width: 100%;
}

.info-parent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}

.info-container {
  flex: 1 1 calc(50% - 20px);
  padding: 40px;
  color: white;
  /*text-align: center;*/
  min-width: var(--container-min);
}

.info-container ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  list-style-type: disc;
  line-height: 1.6;
  font-size: 1rem;
}

.info-container li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 0.25rem;
}

.sponsors {
  color: black;
}

.sponsors img {
  max-width: 140px;
  max-height: 80px;
  margin: 0.5rem 1rem;
  vertical-align: middle;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.absc {
  max-width: 164px !important;
}

.sponsors img:hover {
  transform: scale(1.05);
}

.iframe-container {
  flex: 1 1 calc(50% - 20px);
  /*min-width: var(--container-min);*/
  min-height: 300px;
  display: flex;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* contact section */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  background: #f8f9fa;
  border-top: 2px solid var(--navborder);
}

.contact-info, .contact-form {
  flex: 1 1 400px;
  max-width: 500px;
}

.contact-info h2, .contact-form h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--navbg);
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  background: var(--navbg);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--navhighlight);
}


/* slideshow */
.slideshow-container {
  position: relative;
  max-width: 100%;
  height: 400px;
  margin: auto;
  overflow: hidden;
  margin: auto;
  background-color: black;
}

.slide {
  display: none;
  height: 100%;
}

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

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.fade {
  animation-name: fade;
  animation-duration: 0.5s;
  background-color: black;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  background-color: white;
  padding: 8px 16px 8px 8px;
  width: fit-content;
  border-radius: 20px;
  text-decoration: none;
}

.instagram {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  color: white;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.instagram:hover {
  background: linear-gradient(45deg, #ffdb4d, #ff3d89, #7b39e0);
  box-shadow: 0 0 10px rgba(238, 42, 123, 0.5);
  transform: scale(1.05);
}


.social-btn img {
  width: 32px;
  height: 32px;
}

@keyframes fade {
  from {opacity: .5}
  to {opacity: 1}
}
