@font-face {
  font-family: "pn1";
  src: url(./fonts/ProximaNovaBold.otf);
}

@font-face {
  font-family: "pn2";
  src: url(./fonts/ProximaNovaExtrabold.otf);
}

@font-face {
  font-family: "pn3";
  src: url(./fonts/ProximaNovaRegular.otf);
}

html {
    font-family: ucdavis;
    font-size: 20px;
    background-color: #022851; /*background color of the noncontent */
}

body {
    width: 100%; /*squishes the content */
    margin: 0 auto;
    min-width: 900px;
}

/* typography */
h1 {
    font-size: 1.5rem;
    text-align: left;
    margin-left: 25px;
    color: #FFBF00;
    font-family: "pn2";
}

nav li {
    color: #FFF9E5;
}

h2, h3 {
  font-family: "pn1";
}

h2 {
    font-size: 1.7rem;
    color: #022851;
}

h3 {
    font-size: 1.4rem;
    color: #022851;
}

p, li {
    font-family: "pn1";
    font-size: 1.2rem;
    line-height: 1.5;
}

section h3 {
    text-align: center;
    text-decoration: underline;
    font-weight: bold;
}

section p {
    color: #022851;
    font-family: "pn3";
}

footer p {
    font-size: 1rem;
    text-align: center;
    color:#FFF9E5;
    font-family: "pn3";
}

nav a {
    color: #FFF9E5;
    text-decoration: none;
}

@media (any-hover: hover) {
  a:hover {
    color: #FFBF00;
    text-decoration: underline;

  }
}


/* header layout */
nav ul {
    padding: 0;
    list-style-type: none; /* removes stinky bullet points */
    display: flex; /*flexible box horizontal alignment*/
}

nav li {
    text-align: center;
    flex: 1; /* flex length for the list (home, districts, etc.) */
}


/* main layout */
main {
    gap: 5px;
}

main, article, section {
    background-color: #FFF9E5; /*background-color of sections */
    padding: 0.5%;     /* space between each section */

}

section, article {
    margin-left: 50px;
    margin-right: 50px;
}

article h3 {
    margin-left: 50px;
}

article p {
    text-indent: 100px;
    font-family: "pn3";
}

.placeholder img {
    width: 100%;
    height: 400px;
}

/* footer */
footer {
    margin-top: 10px; /* divider */
}

