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

html, body {
  height: 100%;
  font-family: 'Edu NSW ACT Foundation', cursive;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url('paperbackground.jpeg');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.top-bar {
  background-color: #c8e7e2;
  padding: 10px 0;
  text-align: center;
}

.top-bar h1 {
  font-size: 2.5rem;
  color: #16787a;
  margin: 0;
}

nav {
  margin-top: -40px;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.nav-list a {
  display: inline-block;
  width: 212px;
  height: 46px;
  background-image: url('Nav.png');
  background-repeat: no-repeat;
  background-size: 480px 240px;
  text-indent: -9999px;
  font-family: 'Edu NSW ACT Foundation', cursive;
  border: none;
  outline: none;
}

.nav-list li:nth-child(1) a { background-position: 0 0; }
.nav-list li:nth-child(2) a { background-position: 0 -62px; }
.nav-list li:nth-child(3) a { background-position: 0 -124px; }
.nav-list li:nth-child(4) a { background-position: 0 -186px; }

.nav-list li:nth-child(1) a:hover { background-position: -261px 0; }
.nav-list li:nth-child(2) a:hover { background-position: -261px -62px; }
.nav-list li:nth-child(3) a:hover { background-position: -261px -124px; }
.nav-list li:nth-child(4) a:hover { background-position: -261px -186px; }

.intro {
  text-align: center;
  padding: 30px 50px;
  position: relative;
  z-index: 1;
}

.intro h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  z-index: 2;
}

.intro h2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 110%;
  height: 130%;
  background: url('highlighter.png') no-repeat center;
  background-size: contain;
  z-index: -1;
}

.highlighted {
  background-color: #ffee99;
  padding: 5px 20px;
  border-radius: 5px;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.intro p {
  max-width: 700px;
  margin: 0 auto;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.polaroid-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.polaroid-img.small {
  width: 444px;
  height: auto;
  margin-top: -30px;
}

.polaroid-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 40px;
}

.polaroid-img {
  width: 333px;
  height: auto;
}

.polaroid-img:nth-child(2) {
  transform: rotate(2deg);
  margin-top: -10px;
  margin-left: -10px;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

footer {
  background-color: #c8e7e2;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  color: #444;
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
}

.intro-list {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.essentials-title {
  text-align: center;
  font-size: 2em;
  margin-top: 60px;
  margin-bottom: 10px;
}

.essentials-list {
  list-style-type: none;
  padding-left: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.essentials-list li {
  margin: 8px 0;
  font-size: 1.1em;
  line-height: 1.6;
}

.essentials-list li a {
  text-decoration: none;
  color: #3a4c72;
  transition: all 0.2s ease;
}

.essentials-list li a:hover {
  color: #d065c2;
  font-weight: bold;
  text-decoration: underline;
}

.item-photo {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
}