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


body {
  font-family: Merriweather-Light, system-ui, -apple-system, BlinkMacSystemFont;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fdfdfd;
  padding: 1em;          /* padding instead of fixed px for mobile */
  max-width: 800px;
  margin: auto;
}

nav {
  margin: 5px auto;
  padding: 9px;
  margin-bottom: 10px;
  background-color: #f6f6f6;
  border-top: 1px solid black;
  border-bottom: 1px solid;
  border-bottom-color: #e2e2e2;
  border-top-color: #e2e2e2;
  font-family: 'QuicksandRegular', sans-serif;
  border-radius: 10px;
}


#Tolkien {
  text-align: center;
  background-color: rgb(219, 241, 244);
  padding: 3px;
  border-radius: 10px;
}

.highlight {
  background-color: #e6d9f2;
  color: #2b1641; 
  padding: 0.2em 0.4em;
  border-radius: 7px;
}



/* HEADINGS */

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  font-weight: 600;
}



/* PARAGRAPHS */

p {
  margin-bottom: 1em;
}




/* LINKS */

a {
  color: #0077cc;
}
a:hover {
  color: #E78B13;
}





/* FOOTER */
 

hr {
  border: none;
  height: 1px;
  background: #ccc;
}
 
footer {
  text-align: center;
  padding: 20px;
  background-color: #f6f6f6;
  margin-top: 20px; 
  border-radius: 8px;
}

footer div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}


/* ----------------------------------------- */
/* ----------------------------------------- */
/* ----------------------------------------- */



/* LISTS */
ul, ol {
  margin: 1em 0;
  padding-left: 1.5em;
}




/* BUTTONS */


button {
  background: #0077cc;
  color: white;
  border: none;
  padding: 0.5em 1em;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}
button:hover {
  background: #005fa3;
}




/* FORMS */

input, textarea, select {
  border: 1px solid #ccc;
  padding: 0.5em;
  border-radius: 4px;
  width: 100%;           /* full width for mobile */
  margin-bottom: 1em;
  font-size: 1em;
}



/* IMAGES */

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
  border-radius: 10px;
}

/* TABLES */
table {
  border-collapse: collapse;
  width: 100%;           /* full width on mobile */
  margin: 1em 0;
}
th, td {
  border: 1px solid #ccc;
  padding: 0.5em;
  text-align: left;
}
th {
  background: #f0f0f0;
}

/* iPHONE SCREENS */

@media (max-width: 480px) {
  body {
    font-size: 14px;     /* slightly smaller font on phones */
  }
  h1 {
    font-size: 1.5em;
  }
  h2 {
    font-size: 1.3em;
  }
  h3 {
    font-size: 1.1em;
  }
  button {
    padding: 0.4em 0.8em;
  }
}



/* FONTS */



@font-face {
  font-family: 'Merriweather';
  src: url('/zap/fonts/merriweather/Merriweather-Regular.woff') format('woff'),
  url('/img/zap/merriweather/Merriweather-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Merriweather-Light';
  src: url('/zap/fonts/merriweather/Merriweather-Light.woff') format('woff'),
  url('/zap/fonts/merriweather/Merriweather-Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'QuicksandRegular';
  src: url('/zap/fonts/Quicksand/Regular.woff2') format('woff2'),
     url('/zap/fonts/Quicksand/Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'Livingstone';
  src: url('/zap/fonts/Livingstone.woff2') format('woff2'),
     url('/zap/fonts/Livingstone.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* LOVE */
@font-face {
  font-family: 'Fantasia';
  src: url('/zap/fonts/Fantasia.woff2') format('woff2'),
     url('/zap/fonts/Fantasia.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* meh */
@font-face {
  font-family: 'KellsSD';
  src: url('/zap/fonts/KellsSD.woff2') format('woff2'),
     url('/zap/fonts/KellsSD.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FunkyBird';
  src: url('/zap/fonts/FunkyBirdRegular.woff2') format('woff2'),
     url('/zap/fonts/FunkyBird.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}



