/* ----------------------  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; }

body {
 background-image: url("images/scalergb.png"); 
  background-repeat:no-repeat;
  background-size: cover;
  background-position: center;
 background-color: #F5F2E8;
  font-family: "Georgia", "Times", serif;
  line-height: 1.35;
  color: #111;
}

.content-section {
  background-color: #F5F2E8; 
  padding: 50px;
  min-height: 100vh; 
}

@media only screen and (max-width:380px){
h1 {
  color: darkgoldenrod;
  font-size: 70px;
  text-align: center;
  font-family: "LeJeunePoster-Regular","Georgia", serif;
}
}

@media only screen and (min-width:381px){
h1 {
  color: darkgoldenrod;
  font-size: 90px;
  text-align: center;
  font-family: "LeJeunePoster-Regular","Georgia", serif;
}
}

.sparkle-letter {
  display: inline-block;
  color: darkgoldenrod;
  animation: slowSparkle 2.5s ease-in-out infinite;
}

/* Slow, smooth glow cycle */
@keyframes slowSparkle {
  0% {
    text-shadow: 
      0 0 2px rgba(255, 255, 255, 0.4),
      0 0 4px rgba(255, 215, 0, 0.3);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.9),
      0 0 22px rgba(255, 215, 0, 0.7),
      0 0 32px rgba(255, 225, 150, 0.6);
    transform: scale(1.08);
  }
  100% {
    text-shadow: 
      0 0 2px rgba(255, 255, 255, 0.4),
      0 0 4px rgba(255, 215, 0, 0.3);
    transform: scale(1);
  }
}


h2 {
  font-size: 35px;
  text-align: center;
  font-family: "LeJeunePoster-RegularItalic","Georgia", serif;
  } 

  h3.byline { 
  font-size: 30px;
  text-align: center;   
  text-transform: uppercase;
  font-family: "GrotzecCond-Demibold","GrotzecCond-DemiboldItalic", serif;
  letter-spacing: 1.5px;
  margin-top: 20px;
}

a:link { 
  color: saddlebrown; 
  text-decoration: none; 
  
}

a:visited { 
  color: goldenrod;
  }
  
a:hover { 
  text-decoration: underline;
  }
  
a:active { 
  color: yellow; 
  
}

.header-figure {
  text-align: center;
  margin: 20px auto 25px auto;
}

.header-img {
  display: block;
  margin: 0 auto;
  width: 80%;
  max-width: 900px;
  height: auto;
}

.header-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

p {
  font-size: 20px;
  line-height: 1.35;
  margin: 1.2rem auto;
} 

a:link { color: saddlebrown; text-decoration: none; }
a:visited { color: goldenrod; }
a:hover { text-decoration: underline; }
a:active { color: yellow; }

.dropcap::first-letter {
  float: left;
  font-size: 6.2rem;       
  line-height: 0.85;
  font-family: "Georgia", serif;
  font-weight: bold;
  padding-right: 0.35rem;
  color: #8B5A2B;
}

@media only screen and (max-width:500px) { /*for mobile */
  div.article {
    width: 90%;
      margin: auto;
  }
   } 

@media only screen and (min-width:501px) {
  div.article {
    width: 50%;
      margin: auto;
  }
   } 

.hero {
  display: block;
  margin: 1rem auto 2rem auto;
  max-width: 90%;
  height: auto;
  border-radius: 8px;
}


.float-img figcaption {
  font-size: 0.9rem;
  text-align: center;
  color: #555;
  margin-top: 0.35rem;
}


@media only screen and (max-width:500px) { /*for other versions */
  float.image {
    width: 100%;
  }
   } 

@media only screen and (max-width:500px) {
  figure.float-img.left {
width:100%;  }
   } 

@media only screen and (min-width:501px) {
  figure.float-img.left {
    width: 50%;
    margin-right: auto;
  }
   } 

.clear { clear: both; }

.article::after {
  content: "";
  display: block;
  clear: both;
} 

ul.nav {
background-color: saddlebrown;
color: white;
padding:5px;
font-family: "GrotzecCond-Demibold", "Impact", sans-serif;
font-size: 2em;
overflow: hidden;
list-style-type: none;
} 

ul.nav li{
  float: left;
} 

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

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

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

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

div.dropdowncontent {
  display:none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 grey;
  z-index: 1;
} 
/* comment  here */
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;

}

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;

}

body, html {
  height: 100%; /* Important for full-screen background */
  margin: 0;
  padding: 0;
}

@media only screen and (max-width:500px){
.sidebyside {
  display: block;
   box-sizing: border-box;
   border-radius: 10px;
}
}

@media only screen and (min-width:501px){
.sidebyside {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 20px;
   box-sizing: border-box;
   border-radius: 10px;
}
}

float-img {
  width:100%;
   border-radius: 10px;
}

img {
  width:100%;
}
@media only screen and (max-width:500px){ /* MOBILE */
figure.float-img {
  width:100%;
}
}

@media only screen and (min-width:501px){ /*BIGGER SCREENS */
figure.float-img {
  float:left;
  width:40%;
  margin-right:30px;
}
}










