@font-face {
  font-family: Aeogo Pixellated Regular;
  src: url(../fonts/AeogoPixellated-Regular.ttf);
}
@font-face {
  font-family: DPComic Regular;
  src: url(../fonts/dpcomic.ttf);
}
@font-face {
  font-family: Medodica Regular;
  src: url(../fonts/MedodicaRegular.otf);
}
@font-face {
  font-family: November;
  src: url(../fonts/novem___.ttf);
}

:root {
  scroll-behavior: smooth;
  --primary-bg-color: lightcoral;
  --primary-bg-header-color: lightsalmon;
  --primary-bg-footer-color: #664c93;
  --primary-footer-color: #d2fb8e;
}

header {
  background-color: lightsalmon;
  width: 100%;
  padding: 0 10%;
  box-sizing: border-box;
  border-bottom: 5px groove chocolate;
  margin-bottom: 1em;
}
footer {
  background-color: #664c93;
  width: 100%;
  border-top: 5px ridge plum;
  margin-top: 1em;
  color: #d2fb8e;
  box-sizing: border-box;
  font-family: Medodica Regular,  Calibri, 'Trebuchet MS', sans-serif;
  font-weight: bold;
  font-size: 24px;
  padding: 0 10%;
}
.skip-link {
  display: block;
  position: absolute;
  left: -999px;
  top: -999px;
  font-family: November, Calibri, 'Trebuchet MS', sans-serif;
  font-size: 20px;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  border: plum outset 3px;
  color: darkmagenta;
}
.skip-link:focus {
  left: 0;
  top: 0;
  padding: 3px;
  background-color: lightpink;

}


body {
  background-color: var(--primary-bg-color);
  margin: 0;
}
.body-container {
  margin: auto 10%;
}

hgroup {
  padding: 10px 20px 10px;
}
h1 {
  font-family: Aeogo Pixellated Regular, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
  font-size: 3.8rem;
  overflow: hidden;
  margin: 0.2em 0 0.2em;
}
h2 {
  font-family: DPComic Regular, 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 3rem;
  color: lab(0.2444 0 328.2);
  margin: 0.2em 0 0.2em;
}
h3 {
  font-family: DPComic Regular, 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 2.4em;
  margin: 0.2em 0 0.2em;
}
h4 {
  color: oklab(0.5 0 0);
  font-family: DPComic Regular, 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 1.6em;
  margin: 0.2em 0 0.2em;
}
p {
  font-family: Calibri, 'Trebuchet MS', sans-serif;
  font-size: 1.2em;
  margin-bottom: 0;
}
a {
  cursor: pointer;
}
address > a:link {
  color: #f4fabe;
}
address > a:visited {
  color: peru;
}
address > a:hover {
  color: navajowhite;
}
address > a:active {
  color: orange;
}
abbr {
  cursor: help;
}
nav {
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: stretch;
}
nav > a {
  background-color: lightpink;
  margin: 0;
  padding: 10px;
  font-family: November, Calibri, 'Trebuchet MS', sans-serif;
  font-size: 20px;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  border: plum outset 3px;
  text-decoration: none;
  color: darkmagenta;
}
nav > a:hover {
  background-color: wheat;
  border-color: sandybrown;
  color: orchid;
}
nav > a:active {
  background-color: burlywood;
  border-color: sandybrown;
  border-style: inset;
  color: rebeccapurple;
}
li {
  font-family: Calibri, 'Trebuchet MS', sans-serif;
  font-size: 16px;
}
main, 
section {
  background-color: wheat;
  border-radius: 50px;
}
address {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  margin: 0;
  padding: 20px;
}
footer > address {
  display: block;
}

hr {
  border-width: 1px;
  border-style: solid;
  margin: 0 10px;
}

img {
  margin: 30px;
}

caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}
table {
  margin: 1em;
  border-collapse: collapse;
  border: 2px solid black;
  font-family: sans-serif;
  font-size: 1em;
  letter-spacing: 1px;
}
td {
  border: 1px solid black;
  padding: 8px 10px;
  text-align: center;
}
th {
  border: 1px solid black;
  padding: 8px 10px;
  background-color: plum;
}
tr:nth-child(even) td {
  background-color: whitesmoke;
}
tr:nth-child(odd) td {
  background-color: gainsboro;
}

button {
  cursor: pointer;
  margin: 0;
}

.pdf {
  /*margin: 20px;*/
  width: 100%;
  height: 600px;
}

@media only screen and (max-width: 800px) {
  .body-container {
    margin: auto 3%
  }

  section {
    border-radius: 30px
  }

  nav > a {
    font-size: 12px;
  }
}