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




@font-face {
  font-family: "LeJeunePoster-RegularItalic";
   src: url(https://mediainnovation.camd.northeastern.edu/2021/loveinthetimeofcovid/fonts/LeJeunePoster-RegularItalic.otf);
 }

 /* ----------------------  BASIC CSS FOR MY STORY ------------------------------ */

 * {
     box-sizing: border-box;
    
 }


h1{
  color:black;
  font-size:45px;
  text-align:center;
  font-family:"LeJeunePoster-boldItalic"
}
ul.nav{
    background-color: #2961c2;
    color: white;
    padding:5px;
    font-family: "GrotzecCond-Demibold","Impact",sans-serif;
    font-size: 2em;
    /*overflow: hidden;*/
    height:60px;
    list-style-type:none
}
ul.nav li{
  float:left;
}
ul.nav li.logo{
position:absolute;
left:44%;
}


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


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


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


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


}


ul.nav li.logo: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;
 }


span1 {
  float: left;
  width: 0.7em;
  font-size: 400%;
  font-family: "LeJeunePoster-Regular";
  line-height: 80%;
}
 div.main-photo {
  text-align: center;
}
.caption {
  font-size: 0.9em;
  margin-top: 6px;
}




body {
  margin: 0;
  font-family: "LeJeunePoster-Regular";
  line-height: 1.65;
  color: #1a1a1a;
  background: #f5f5f5;
}
 .article-header {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: left;
}
 
 .article-title {
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  font-weight: 700;
}
 .article-byline {
  font-size: 1.0rem;
  text-align:center;
  color: #555;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  font-size: 18px;
  background: auto;
  padding: 2rem 2.25rem;
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.03);
}

.article-body figure {
  margin: 2.25rem -2.25rem;
  background: #f0f0f0;
}
 .article-body img {
  display: block;
  width: 30%;
  height: auto;
  border-radius: 0.75rem;
}
 .article-body figure img {
  border-radius: 0;
}
 .article-body figcaption {
  font-size: 0.8rem;
  text-align:center;
  color: #555;
}
 .photo-pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
 .photo-pair figure {
  flex: 1 1 45%;
  max-width: 400px;
  margin: 0;
}
 .photo-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
 .photo-pair figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}
 .profile-paragraph {
display: flex;
align-items: flex-start;
max-width: 750px;
margin: 20px, auto;
font-family: LeJeunePoster-Regular;
font-size: 18px;
line-height: 1.6;


}


.profile-photo {
width: 80px;
height: auto;
border-radius: 8px;
margin-right: 20px;
}


.photo figcaption {
margin-top: 0.75rem;
font-size: 1.1rem;
font-weight: 500;
color: #444;
font-family: "Georgia", serif;
}


.photo-pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
 .photo-pair figure {
  max-width: 400px;
  margin: 0;
}
 .photo-pair img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
 .photo-pair figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}






@media (max-width: 700px) {
  .photo-pair {
    flex-direction: column;
    align-items: center;
  }
  .photo-pair figure {
    max-width: 100%;
  }
}




:root{
  --page-max: 1100px;
  --left-col: 340px;    
  --gap: 28px;
  --caption: #1f2937;
}
 .interactive-block-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
 .interactive-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ddd;
  border-radius: 0.85rem;
  overflow: hidden;
}

.article-footer {
  max-width: 780px;
  margin: 3.5rem auto 0;
  font-size: 0.75rem;
  color: #777;
  text-align: left;
}
.article-footer a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 960px) {
  .article-body {
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: 1rem;
  }
  .article-title {
    font-size: clamp(2.1rem, 8vw, 2.6rem);
  }
  .figure,
  .article-body figure {
    margin: 1.5rem -1.25rem;
  }
  .article-body figcaption {
    padding: 0.75rem 1.25rem 1rem;
  }
}
 @media (max-width: 560px) {
  .page {
    padding-inline: 0.75rem;
  }
  .article-body {
    padding: 1.25rem 1rem 1.5rem;
  }
  .article-body h2 {
    font-size: 1.45rem;
  }
  .article-body h3 {
    font-size: 1.1rem;
  }
  .article-meta {
    font-size: 0.8rem;
  }
}




@media (max-width: 768px) {
  .profile-photo {
    width: 100% !important;
    height: auto;
    margin-bottom: 10px;
  }
}




.main-photo img {
  width: 100%;
  height: auto;
  max-width: 1000px;
}


@media (max-width: 1024px) {
  .main-photo img {
    width: 100%;  
    max-width: 700px;
  }
}


@media (max-width: 768px) {
  .main-photo img {
    width: 100%;
    max-width: 500px;
  }
}








.profile-paragraph {
display: flex;
gap: 20px;
align-items: flex-start;
}


@media (max-width: 768px) {
.profile-paragraph{
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}


.profile-photo {
  width: 60%; 
  height: auto;
  margin-bottom: 10px;
}


.profile-paragraph {
  width: 100%;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
}
}




@media (min-width: 768px) {
article-body img {
  width: 100px;  
  max-width: none;
}
}
