/* ----------------------  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;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0px;
  background-color: black;
}
h1 {
  color: rgb(156, 204, 213);
  font-size: 10rem;
  text-align: left;
  font-family: "GrotzecCond-DemiboldItalic";
  letter-spacing: 5px;
  margin-bottom: 10px;
}

h2 {
  font-size: 20px;
  text-align: left;
  font-family: "GrotzecCond-DemiboldItalic";
  margin-left: 5px;
  color: #ffffff;
}

h3.byline {
  text-align: left;
  color: #ffffff;
  font-family: "GrotzecCond-DemiboldItalic";
  line-height: 2.5;
  margin-left: 5px;
  font-size: 15px;
}

h4 {
  color: rgb(156, 204, 213);
  font-family: "GrotzecCond-DemiboldItalic", "Georgia", serif;
  text-align: left;
  font-size: 2.5rem;
  line-height: 2.5;
  margin-left: 5px;
}

header {
  margin: 0 35px 35px 35px;
}

main {
  display: flex;
  gap: 20px;
}

p {
  font-family: "Georgia", "Times", serif;
  font-size: 20px;
  line-height: 130%;
  margin-bottom: 30px;
  margin-left: 5px;
  text-align: justify;
  color: white;
}

a:link {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

a:visited {
  color: red;
}

a:hover {
  text-decoration: underline;
  background-color: rgb(156, 204, 213);
}

a:visited {
  color: #ffffff;
}

.article {
  width: 65%;
    margin: 0 5%;
  border-top: 1px solid rgb(255, 255, 255);
  padding-top: 20px;
  flex: 2;
}

.aside {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.aside img {
  position: sticky;
  top: 20px;
  width: 65%;
}

blockquote {
  font-weight: bold;
  font-size: 30px;
}

figure.coverpicture {
  width: 100%;
}

figcaption {
  color: white;
  margin-top: 5px;
  text-align: center;
}



figure.anyarapicture {
  width: 45%;
  margin-left: 20px;
  max-height: 500px;
  float: inline-end;

}

figure.girlontiktokpicture {
  width: 60%;
}

img {
  width: 100%;
  object-fit: contain;
}

.quote-content {
  border-radius: 10px;
  padding: 10px;
  background-color: #d59cccd3;
}

.quote-source {
  font-size: 1rem;
  margin-top: 20px;
}
.toc {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-family: "Georgia", "Times", serif;
  border-bottom: 1px solid rgb(255, 255, 255);
  padding-bottom: 20px;
}

.toc ul {
  margin-left: 50px;
  list-style-position: inside;
  color: white;
}

.toc li {
  margin-bottom: 5px;
}

.toc h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 20px;
  font-family: "Georgia", "Times", serif;
  background-color: #d59cccd3;
  display: inline-block;
  border-radius: 10px;
  padding: 10px;
}

ul.nav {
  background-color: #d59cccd3;
  color: white;
  padding: 5px;
  font-family: "GrotzecCond-DemiboldItalic";
  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 a:link {
  text-decoration: none;
  color: white;
}

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

div.dropdowncontent {
  display: none;
  position: absolute;
  background-color: rgb(255, 255, 255);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px grey;
  z-index: 1;
}

ul.nav li.logo a:hover {
  text-decoration: none;
  letter-spacing: 3px;
  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: 0.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: 0.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;
}

@media (max-width: 810px) {
  h1 {
    font-size: 7rem;
  }
  h2 {
    font-size: 1rem;
  }
  .toc h2 {
    font-size: 1.5rem;
  }
  ul li {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1rem;
  }
  p {
    font-size: 1rem;
  }
  h4 {
    font-size: 1.5rem;
    line-height: 2.5;
  }
  h5 {
    font-size: 1.5rem;
  }
  h6 {
    font-size: 1.5rem;
  }
  blockquote {
    font-size: 1rem;
  }
}

@media (max-width: 580px) {
  h1 {
    font-size: 5rem;
  }
  .toc h2 {
    font-size: 1.2rem;
  }
  ul li {
    font-size: 1rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  h4 {
    line-height:2.5;
  }
  p {
    font-size: 1.2rem;
  }
  blockquote {
    font-size: 1.2rem;
  }
  figcaption {
    font-size: 1rem;
  }
  main {
    flex-direction: column;
    align-items: center;

  }
  .article {
    width: 100%;
  }
}

@media (max-width: 460px){
  h1 {
    font-size: 3rem;
  }
  h4 {
    line-height:2.5;
  }
}
