/* ----------------------  LOAD FONTS FROM SERVER ------------------------------ */

@font-face {
 font-family: "GrotzecCond-Demibold";
  src: url(https://journalismdesign.camd.northeastern.edu/clean/fonts/GrotzecCond-Demibold3.woff2);
}  

@font-face {
 font-family: "GrotzecCond-DemiboldItalic";
  src: url(https://journalismdesign.camd.northeastern.edu/clean/fonts/GrotzecCond-DemiboldItalic.woff2);
}  

@font-face {
 font-family: "LeJeunePoster-Regular";
  src: url(https://journalismdesign.camd.northeastern.edu/clean/fonts/LeJeunePoster-Regular.woff2);
} 

@font-face {
 font-family: "LeJeunePoster-RegularItalic";
  src: url(https://journalismdesign.camd.northeastern.edu/clean/fonts/LeJeunePoster-RegularItalic.woff2);
}

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

h1 {
  color:#3c00ff;
  font-size:80px;
  text-align:center;
  font-family:"LeJeunePoster-Regular","Georgia",serif;
}

h2{
  color:#00a6ff;
  font-size:48px;
  text-align:center;
}

img {
  width:100%;
}

h3.byline {
  color:#fff600;
  text-align: center;
  text-transform: uppercase;
  font-family: "GrotzecCond-DemiboldItalic","impact","demibold";
  letter-spacing: 1.2px;
  margin-top: 20px;
}

h4 {
  font-size:30px;
  text-align-last: left;
  font-family:"LeJeunePoster-Regular","Georgia",serif;
  margin-top: 30px;
  margin-bottom: 8px;
  background-color: azure
}

figure.campus-photo {
  width: 100%; 
margin: 0 auto;
}

figure.campus-photo img {
width:100%;
}


figure.smallest-photo {
  width: 47%; 
  float:left;
  margin-right: 20px;
  margin-bottom: 30px;
}

div.sidebyside {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-column-gap: 18px;
  margin-bottom: 20px;
}
figcaption {
  text-align: center;
  padding-top: 10px;
  font-weight: bold;
  color: darkblue
}

div.alado {
  display: grid;
  grid-template-columns: 37% 67%;
  grid-column-gap: 18px;
  margin-bottom: 20px;
}
@media only screen and (max-width:500px) {
div.said,div.alado,div.sidebyside {
 display: block;
  margin-bottom: 20px; 
}
}

@media only screen and (min-width:501px) {
div.said {
 display: grid;
  grid-template-columns: 67% 37%;
  grid-column-gap: 18px;
  margin-bottom: 20px; 
}
}

p{
  font-family:"Georgia","Times",serif;
  font-size: 16px;
    line-height: 130%;
  margin-bottom: 25px;
}
@media only screen and (max-width:500px) {

div.article {
  width: 90%;
  margin: 0 auto 0 auto;
}
}

@media only screen and (min-width:501px) {

div.article {
  width: 70%;
  margin: 0 auto 0 auto;
}
}
a:link {
  color:red;
  text-decoration: none;
}

a:visited {
  color:#00b5ff;
}

a:hover {
  text-decoration:underline;
  background-color:yellow;
}

a:active {
  color:purple;
}


/* -----------------------  NAV BAR ---------------------------------------- */

ul.nav {
    background-color: #2961c2;
    color:white; /* Type color */
    padding: 5px;
    font-family: "GrotzecCond-Demibold","Impact",sans-serif;
    font-size: 2em;
    overflow: hidden; /* Forces the ul to be height of type */
    list-style-type:none; /* Hides the bullets that usually come with lists */
}

ul.nav li {
    float: left;  
}

ul.nav li.logo {
    position: relative;
    left: 40%;
}

ul.nav li a:link {
        text-decoration: none;
        color:white;
}

ul.nav li a:visited {
        color:white;
}


div.dropdowncontent {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px grey;
  z-index: 1;
}

ul.nav li.logo a:hover {
        text-decoration: none;
        background-color: #2961c2;
        letter-spacing: 2px;
        transition: letter-spacing 0.3s ease-in;
}
li.dropbutton:hover div.dropdowncontent {
  display: block;
}
li.dropbutton:hover div.dropdowncontent a:link {
    color: #666;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
    font-size: .6em;
    border-bottom: 1px solid #666;
}

li.dropbutton:hover div.dropdowncontent a:visited { /* The same as above */
    color: #666;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
    font-size: .6em;
    border-bottom: 1px solid #666;
}

li.dropbutton:hover div.dropdowncontent a:hover {
    color: white;
    background-color: #666;
    transition: background-color 0.2s ease-in;

}
