* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #e5d47c url(bg.png) repeat-x top center;
  scroll-behavior: smooth;
}

b { color:#68a347 }

i { color: #ff8567; }

u { color: #353535;}

main {
  flex: 1;
  width: min(100%, 1200px);
  margin: auto;
  container-type: inline-size;
  background-color: #e5d47c;
}

header, main, footer { position: relative; }

main { flex: 1; }

header {
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 1200 / 600;
  margin: 0 auto;
  background: url('banner.png') no-repeat top center / contain;
}

nav {
  font-family: "Fira Sans", sans-serif;
  font-weight: bold;
  font-size: 1em;
  position: absolute;
  left: 10%;
  bottom: 20%;
  display: flex;
  gap: clamp(10px, 2vw, 18px);
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 14px;
  border-radius: 30px;
  background: #46804e;
}

.nav-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.82rem, 0.65rem + 0.5vw, 1.02rem);
  color: rgba(255,255,255,0.92);
  padding: 8px 10px;
  border-radius: 10px;
  transition: transform 160ms ease, background 200ms ease, color 200ms ease;
}

.nav-link:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.nav-link.is-active {
  background: rgba(255,255,255,0.22);
  outline: 2px solid rgba(255,255,255,0.22);
}

.content a {
  font-family: "Tahoma", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  color: #f6866a;
  text-shadow: 2px 2px 0 #fff;
}

.content a:hover{
background: #ffccc2;
}

.content {
  font-family: "Libre Baskerville", serif;
  font-family: .9em;
  color: #585858;
  width: min(1100px, 92vw);
  margin: 22px auto 34px;
  line-height: 1.5;
  flex: 1;
}

section {
  background: #fff4be;
  border-radius: 18px;
  padding: clamp(18px, 2.5vw, 28px);
}

h1 {
  font-family: "Petit Formal Script", cursive;
  color: #ff4451;
  margin: 0 0 10px;
  font-size: 3em;
}

h2 {
  font-family: "Fira Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #007113;
  margin: 0 0 10px;
  font-size: 1.5em;
}

p {
  margin: 0 0 18px;
  line-height: 1.6;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2em;
}

.card {
  background: #28b66c50;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 16px;
}

.card h2 {
  background-color: #00711380;
  color: #fff;
  margin: 0 0 6px;
  padding: 10px;
  border-radius: 15px;
  font-size: 1.05rem;
}

.card a {
  color: #fff;
  text-shadow: none;
}

.strike {
  text-decoration: line-through;
}

.card p {
  margin: 0;
  opacity: 0.9;
}

footer {
  width: 100%;
  margin-top: auto;
  padding: 18px 0 26px;
}

.footer-inner {
  font-family: "Fira Sans", sans-serif;
  text-transform: uppercase;
  font-size: .75em;
  letter-spacing: 3px;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 14px;
  text-align: center;
  background: #46804e;
  color: #fff;
}

.footer-inner .dot { margin: 0 8px; opacity: 0.8; }

@media (max-width: 720px) {
  header {
  margin-bottom: 2em;
}

  nav {
    left: 5%;
    right: 5%;
    bottom: -15%;
    justify-content: center;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }
}
