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

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

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

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

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

/*-- ------------------ SOME BASIC SITE SPECS -------------------------- */
html,
body {
  margin: 0;
  padding: 0;
overflow-x: clip    
}
* {
  box-sizing: border-box;
}

/* ----------------------  HAMBURGER NAV and MENU --------------------------- */

a:link
{
  text-decoration: none;
  color: #d3222a;
  transition: color 0.3s ease;
}

a:visited
{
  text-decoration: none;
  color: #d3222a;
  transition: color 0.3s ease;
}

a:hover
{
  color: #d3222a;
    text-decoration: underline;
}

/*
 * Black bar with logo
 */

.essential-nav {   
    background-color: #ededed;
    height: 55px;
    background-image: url("https://mediainnovation.camd.northeastern.edu/2025/masters/images/masters25_logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 37px;
}

#menuToggle
{
  display: block;
  position: relative;
  top: 18px;
  left: 20px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 25px;
  height: 2px;
  margin-bottom: 5px;
  position: relative;
  
  background: #000;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 20%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}


#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background: #ededed;
    opacity: 0.9;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: solid 1px white;

}

#menu a {
      padding: 10px 0;
    font-size: 15px;
    line-height: 16px;
    font-family: "GrotzecCond-Demibold","Helvetica",sans-serif;
}

#menu span {
    font-size: 13px;
    display: inline;
    font-family: "GrotzecCond-Demibold","Helvetica",sans-serif;
    padding: 1px 3px;
    color:white;
    background-color: #d3222a;
      border-radius: 0px;


}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

.essential-nav  > a:link {
    font-family: "GrotzecCond-Demibold","Impact",sans-serif;
    font-size: 2em;
    line-height: 28px;
    text-transform: uppercase;
}


/* ----------------------  BASIC CSS FOR ARTCLES ------------------------------ */


.container {
  max-width:  800px;
}

@media (max-width:550px){
    .container {
        width: 95%;
        margin: 0 auto;
    }
}

@media (min-width:551px) {
    .container {
        width: 80%;
        margin: 0 auto;
    }
}

@media (min-width:960px){
    .container {
        width: 65%;
        margin: 0 auto;
    }
}

.header {
  text-align: center;
  font-family: "GrotzecCond-Demibold", "Helvetica", sans-serif;
    font-weight:300;
}

.header h1{
  text-align: center;
  font-family: "GrotzecCond-Demibold", "Helvetica", sans-serif;
  font-size: 5em;
  line-height: 85%;
    letter-spacing: -1px;
}

.header h2 {
      font-family: "Georgia-Italic", serif;
  font-size: 2em;
  line-height: 120%;
    text-align: center;
    font-weight: 100;
    padding: 0 10%;
}


.header h3{
  font-size: 1.3em;
  text-transform:uppercase;
  letter-spacing: 2px;
  text-align: center;
}

@media (max-width:550px) {
    .container p{
    font-family:"Georgia", serif;
    color: black;
    font-size: 1.2em;
    line-height: 1.7em;
    }
}

@media (min-width:551px) {
    .container p{
    font-family:"Georgia", serif;
    color: black;
    font-size: 1.3em;
    line-height: 2.3;
    }
}

img{
  width: 100%;
}

figure.mifigure {
    margin:0;
}

.mifigure figcaption {
    font-family: "Arial", sans-serif;
    color: #666;
    font-weight: bold;
    font-size: 1em;
    line-height: 1.6em;
    padding: 10px 0;
    border-bottom: 1px solid #666;

@media (max-width:1023px){
    .photogrid {
    display: grid;
    grid-template-columns: auto ;
    grid-column-gap: 30px;
}
}

@media (min-width:1024px){
    .photogrid {
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 30px;
}
    }

/* ----------------------  BASIC CSS FOR TEASERS ------------------------------ */

.teaserphoto {
    padding-left: 50px;
}

@media (max-width:550px){
    .teaser {
    height:100px;
    background-color: #ededed; 
    position: relative; 
    top: -120px; 
    width:90%; 
    opacity:.8;
    padding: 10px 30px;
      font-family: "GrotzecCond-Demibold", "Helvetica", sans-serif;
    text-transform: uppercase;
  line-height: 85%;
    letter-spacing: -1px;
    border-left: 10px solid black;
    margin-bottom:-80px;
}
}

@media (min-width:551px){
    .teaser {
    height:150px;
    background-color: #ededed; 
    position: relative; 
    top: -200px; 
    width:65%; 
    opacity:.8;
    padding: 5px 20px;
      font-family: "GrotzecCond-Demibold", "Helvetica", sans-serif;
    text-transform: uppercase;
  line-height: 85%;
    letter-spacing: -1px;
    border-left: 10px solid black;
    margin-bottom:-120px;
}
}

@media (max-width:550px){
    .teaser h1 {
    font-size: 1.4em;
    line-height: 85%;
    margin-top: -10px;
    }
}

@media (min-width:551px){
    .teaser h1 {
    font-size: 2.7em;
    line-height: 85%;
    margin-top: -10px;
    }
}

@media (max-width:550px){
.teaser h3 {
    font-size: 1.1em;
    color:firebrick;
    letter-spacing: 1px;
}
}

@media (min-width:551px){
.teaser h3 {
    font-size: 1.3em;
    color:firebrick;
    letter-spacing: 1px;
}
}

a.teaserlink:link .teaser {
    text-decoration: none;
}

a.teaserlink:hover .teaser {
    opacity:    1;
}

a.teaserlink:hover .visted {
    color:black;
    opacity:    1;
}

@media (max-width:550px) {
h2.masterintro {
    font-family: "LeJeunePoster-Regular","Georgia",serif;
    padding-left: 50px;
    margin-top: 50px;
    font-size: 135%;
    line-height: 150%;
    color:#666;
}
    }

@media (min-width:551px) {
h2.masterintro {
    font-family: "LeJeunePoster-Regular","Georgia",serif;
    padding-left: 50px;
    margin-top: 50px;
    font-size: 170%;
    line-height: 150%;
    color:#666;
}
}

a:link {
    color:#d3222a;
    text-decoration: none;
}

a:visited {
    color:#d3222a;
    text-decoration: none;  
}

a:hover {
    color:#d3222a;
    text-decoration: underline;
}





