/* ====== FONT SETUP ====== */
@font-face {
  font-family: 'Sd';
  src: url('Sd.ttf') format('truetype');
}
@font-face {
  font-family: 'Kingjola';
  src: url('Kingjola.ttf') format('truetype');
}
@font-face {
  font-family: 'AliceInWonderland';
  src: url('AliceInWonderland.ttf') format('truetype');
}

/* ====== BODY ====== */
body {
  background: black url('meow.gif') repeat;
  color: #ffffff;
  font-family: 'AliceInWonderland', cursive;
  margin: 0;
  padding: 0;
}

/* ====== PAGE CONTAINER ====== */
.container {
  width: 950px;
  margin: 40px auto;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.88);
  border: 6px dashed red;
  box-shadow: 0 0 20px red;
  position: relative;
}

/* ====== HEADER AND BOWS ====== */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

h1 {
  font-family: 'SD', serif;
  font-size: 4em;
  color: #ff003c;
  text-shadow: 2px 2px #fff;
  text-align: center;
  z-index: 2;
}

.bow {
  width: 170px;
  height: auto;
  position: absolute;
  top: -200px;
  z-index: 1;
}

.bow.left {
  left: -20px;
}

.bow.right {
  right: -20px;
}

/* ====== SUBHEADER ====== */
.subheader {
  font-family: 'Kingjola', cursive;
  font-size: 2.6em;
  text-align: center;
  color: #E8DBC5;
  margin-bottom: 60px;
  text-shadow: 2px 2px #3A121D;
}

/* ====== NAVIGATION ====== */
nav {
  text-align: center;
  margin-bottom: 20px;
}

nav button {
  font-family: 'AliceInWonderland', cursive;
  background: black;
  color: white;
  border: 2px dashed #ff003c;
  padding: 10px 15px;
  margin: 0 5px;
  cursor: pointer;
  font-size: 2em;
}

nav button:hover {
  background: #ff003c;
  color: black;
}

/* ====== MAIN CONTENT SECTIONS ====== */
main section {
  display: none;
  border: 2px dashed white;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  margin-top: 15px;
}

main section.active {
  display: block;
}

/* ====== BIGGER TEXT IN SECTIONS ONLY ====== */
main section p,
main section li {
  font-size: 25px;
  line-height: 1.6;
}

/* ====== IMAGE STYLING ====== */
img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border: 2.2px dashed white;
  padding: 5px;
  background: black;
}

.caption {
  font-size: 1.5em;
  font-style: italic;
  color: #ccc;
  text-align: center;
  margin-top: 10px;
}

/* ====== LINKS ====== */
a {
  color: #ff003c;
  text-decoration: underline;
}

a:hover {
  color: white;
  text-shadow: 0 0 5px red;
}
