@font-face {
  font-family: 'grotesk';
  src:url(content/GrotesqueMTStd-Bold.otf);
}

body{
  background-color: white;
  font-kerning: auto;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

  ::-moz-selection {
  color: #d3d3d3 /*664544*/; 
  background: #887733;
 /* Firefox */
}

  ::selection {
  color: #d3d3d3 /*664544*/; 
  background: #887733; 
/* Safari */
}
  a{
    text-decoration: none;
  }

  a:link {color: #d3d3d3;}       /*unvisited link */
  a:visited {color:#d3d3d3;}  /* visited link */
  a.parent{color: #d3d3d3;}
  a:hover{
    text-decoration: underline;
  text-underline-offset: 8px;
}

a.nohyphen{
-webkit-hyphens: none;
   -moz-hyphens: none;
        hyphens: none;
}


/* Mobile small */
@media only screen and (min-width: 320px){

p.xs{
  font-size: 10.5px;
  line-height: 140%;
  margin: 0;
  letter-spacing: 0.5px;
  color: black;
  font-family: 'grotesk', arial, helvetica;
  }

p.s{
  font-size: 16.5px;
  margin: 0;
  letter-spacing: 0.2px;
  color: black;
  font-family: 'grotesk', arial, helvetica;
}

p.m{
  font-size: 16.5px;
  line-height: 140%;
  margin: 0;
  letter-spacing: 0.2px;
  color: black;
  font-family: 'grotesk', arial, helvetica;
  text-indent: 20px;
}

p.l{
  font-size: 24px;
  line-height: 135%;
  margin: 0;
  letter-spacing: -0.2px;
  color: black;
  font-family: 'grotesk', arial, helvetica;
}

p.quote{
  font-family: times;
  text-align: center;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.6px;

}

.wrapper-text{
  margin: 6px;
  display: flex;
  flex-direction: column;
}

.bio{
  margin-bottom: 200px;
}

.body{
  margin-top: 80px;
        word-wrap: break-word;
  overflow-wrap: break-word;
-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
} 

.credit{
  column-count: 2;
  column-gap: 20px;
  margin-top: 25px;
  justify-content: center;
  align-items: flex-end;
}

.intro{
  margin-bottom: 100px;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/*#image1, #image2, #image3{
  margin-left: 6px;
  margin-right: 6px;
  position: relative;
  animation: fadeIn 1s;
  -webkit-animation: fadeIn 1s;
  -moz-animation: fadeIn 1s;
  -o-animation: fadeIn 1s;
  -ms-animation: fadeIn 1s;
  width: calc(100vw - 12px);
  z-index: 9;
}
*/
#image1, #image2, #image3, #image4, #image5{
  padding-left: 6px;
  padding-right: 6px;
  padding-bottom: 6px;
  position: relative;
  animation: fadeIn 1s;
  -webkit-animation: fadeIn 1s;
  -moz-animation: fadeIn 1s;
  -o-animation: fadeIn 1s;
  -ms-animation: fadeIn 1s;
  width: calc(100vw - 12px);
  z-index: 9;
}



/*#image-overlay{
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  pointer-events: none;
}

#image-overlay img{
  height: 100%;
}*/

#textbox,
#textbox-2,
#textbox-3{
  margin-left: 6px;
  margin-right: 6px;
  margin-bottom: 6px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;  
  width: calc(100vw - 13px);
  height: calc(100vw - 13px);
  background-color: white;
  border-color: black;
  border-style: solid;
  border-width: 1px;
  z-index: 10;
    }


img{
  width: 100%;
  height: auto;
}

video{
  width: 100%;
  height: auto;
}

}

/* desktop */
@media only screen and (min-width: 1024px){

p.l{
  font-size: 34px;
}

.wrapper-text{
  flex-direction: row;
}

.bio{
  flex: 0.5;
  margin-bottom: 0;
}

.intro{
  flex: 1;
  margin-bottom: 0;
}

.body{
  column-count: 3;
}
 
#image1, #image2, #image3, #image4, #image5{
  position: absolute;
  animation: fadeIn 1s;
  -webkit-animation: fadeIn 1s;
  -moz-animation: fadeIn 1s;
  -o-animation: fadeIn 1s;
  -ms-animation: fadeIn 1s;
  width: 26vw;
  z-index: 9;
}

#textbox, 
#textbox-2,
#textbox-3{
  width: 300px;
  height: 300px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  padding: 20px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;  
}


img{
  width: 100%;
  height: auto;
}

video{
  width: 100%;
  height: auto;
}
