:root {
  --accent: #004080;
  --muted: #666;
}

textarea {
  width: 100%;
  min-height: 150px; /* taller box */
  resize: vertical;  /* lets them drag to resize */
}

.formatted {
  white-space: normal;
  line-height: 1.5;
}
.formatted ul { margin: 0.5em 0 0.5em 1.2em; }
.formatted a { color: var(--accent); text-decoration: underline; }

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: url('../images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #222;
  position: relative;
  z-index: 0;
}

/* ✨ overlay for readability */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.84); /* lighter tint so text is readable */
  z-index: -1;
}

header {
  background: var(--accent);
  color: #fff;
  padding: 1rem;
  text-align: center;
}

nav a {
  color: #fff;
  margin: 0 .5rem;
  text-decoration: none;
}

main {
  padding: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}


.card {
  background: #fff;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

form label {
  display: block;
  margin: 0.5rem 0;
}

input, textarea {
  width: 100%;
  padding: .4rem;
  margin-top: .25rem;
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: .6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

footer {
  padding: 1rem;
  text-align: center;
  background: #eee;
  margin-top: 2rem;
}

.socials a {
  text-decoration: none;
  margin: 0 .3rem;
}

header h1 {
  margin: 0;
}

.page-label {
  background: var(--muted);
  color: #fff;
  padding: 0.5rem;
  text-align: center;
}

.page-label h2 {
  margin: 0;
}
