/* ---------- Font ---------- */
@font-face {
  font-family: 'MyFont';
  src: url('../fonts/MyFonts/hemihead.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ---------- Global Styles ---------- */
body {
  font-family: Arial, sans-serif; /* fallback for body text */
  margin: 0;
  padding: 0;
  color: #333;
  position: relative;
  background-color: #080000; /* default plain background for pages without image */
}

/* ---------- Background Image Layer ---------- */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(2,2,2,0.6), rgba(8,0,0,0.6)),
              url('../images/bg.jpg') no-repeat center center;
  background-size: 35% auto;
  background-position: center 115px;
  background-attachment: fixed;
  opacity: 0.9;  /* optional: adjust to make content readable */
  z-index: 0;
}

/* ---------- Content wrapper above background ---------- */
.content {
  position: relative;
  z-index: 1; /* ensures all page content is above the background */
}

/* ---------- Back Button ---------- */
.back-button {
  position: fixed;
  top: 80px;
  left: 10px;
  background: #fdfeff;
  color: #0073e6;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000;
}

.back-button:hover {
  background: #001fcc;
}

/* ---------- Header ---------- */
header {
  background-color: #070707;
  color: blue;
  text-align: center;
  padding: 1rem;
  position: relative;
  z-index: 1; /* above background */
}

header h1, header h2 {
  font-family: 'MyFont', sans-serif;
  margin: 0;
}

header h1 {
  font-size: 2rem;
}

header h2 {
  font-size: 1.2rem;
  color: blue;
}

/* ---------- Main / Form List ---------- */
main#form-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  position: relative;
  z-index: 1; /* above background */
  gap: 10px;
}

/* ---------- Responsive: two columns on larger screens ---------- */
@media (min-width: 768px) {
  main#form-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  main#form-list .form-item {
    width: 45%;
    margin: 5px;
  }
}

/* ---------- Buttons ---------- */
button.form-item {
  font-family: 'MyFont', sans-serif;
  font-size: 1rem;
  padding: 12px 25px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  background-color: #0073e6;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transition: background 0.3s ease, transform 0.1s ease;
  display: block;
  width: 200px;
}

button.form-item:hover {
  background-color: #005bb5;
  transform: translateY(-2px);
}

/* ---------- Links inside buttons (for email or other links) ---------- */
a button.form-item {
  display: inline-block;
  text-align: center;
}

/* ---------- Info Page / Content Styling ---------- */
main {
  padding: 1rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

h3, h4 {
  margin-top: 1.5rem;
  color: #0078D7;
}

/* ---------- Top Right Info ---------- */
#top-right-info {
  position: fixed;
  top: 80px;
  right: 10px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #0078D7;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Hide top-right info on small screens */
@media (max-width: 768px) {
  #top-right-info {
    display: none;
  }
}
