@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: "pn1";
    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 {
    font-size: 1.5rem;
    text-align: center;
    color: #022851;
    font-family: "pn1";
}

h3 {
    font-size: 1.2rem;
    color: #022851;
    font-family: "pn1";
    text-decoration: underline;
}

h3 a {
  color: #022851;
}

h4 {
    font-size: 1.0rem;
    font-family: "pn3";
}

h3, h4 {
    margin: 0;
}


p, li {
    font-family: "pn1";
    font-size: 1.2rem;
    line-height: 1.5;
}


footer p {
    font-size: 1rem;
    text-align: center;
    color:#FFF9E5;
    font-family: "pn3";
}



/* 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.) */
}

nav a {
    color: #FFF9E5;
    text-decoration: none;
}

@media (any-hover: hover) {
  a:hover {
    color: #FFBF00;
    text-decoration: underline;
  }
}



/* main layout */
main {
    gap: 5px;
}

main, article {
    background-color: #FFF9E5; /*background-color of sections */
    padding: 0.5%;     /* space between each section */

}


h4 {
    margin-bottom: 50px;
}

article {
    margin-left: 50px;
    margin-right: 50px;
}

article p {
    margin-bottom: 10px;
}



.newsimg img {
    width: 200px;
    height: 200px;
}

.placeholder img {
    width: 100%;
    height: 400px;
}

/* footer */
footer {
    margin-top: 10px; /* divider */
}

