body {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  font-family: 'EB Garamond'
}

#landing {
  background: url("img/dm_sketch.png");
  background-size: cover;
  background-position: center center;
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

#landing2 {
/*  height: 100vh;*/
/*  max-height: 100vh;*/
  width: 100vw;
  padding-top: -5%;
/*  overflow: hidden;*/
}

#landing #color-bg {
  background: url("img/dm_color.png");
  background-size: cover;
  background-position: center center;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s;
}

.landing-img {
  width: 100%;
  margin-top: -5%;
/*  height: 100vh;*/
/*  object-fit: cover;*/
/*  object-position: center center;*/
}

#landing-bw {
  position: relative;
  
}

#landing-color {
  position: absolute;
  top: 0;
  left: 0;
}

.readyToFadeIn {
  opacity: 0;
  pointer-events: none;
}

.fadeIn {
  transition: opacity 0.25s linear;
  opacity: 1;
  pointer-events: all;
}

#landing-color.fadeIn {
  pointer-events: all;
  cursor: s-resize;
}

#blurb {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
/*  text-shadow: 0 0 16px #000;*/
/*  color: transparent;*/
  
  font-size: 2em;
  line-height: 1.5;
  
  transition: text-shadow 0.25s linear;
  
  text-align: center;
}

#blurb:hover {
/*  text-shadow: 0 0 4px #000;*/
}

/*
#blurb span {
  text-shadow: 0 0 0 #000;
  transition: text-shadow 0.25s linear;
}

#blurb span:hover + span {
  text-shadow: 0 0 16px #000;
}
*/

/*
#blurb span:hover {
  text-shadow: 0 0 0 #000;
}
*/

span.connectors {
  color: #aaa;
}

span.em {
/*  text-shadow: 0 0 8px #FFA0B0;*/
  font-style: italic;
/*  color: white;*/
}

/*
span#dm {
  cursor: n-resize;
}
*/

span#what {
/*  color: #004988;*/
}

a.emlink {
  font-style: italic;
/*  border-bottom: 1px solid #000;*/
  text-decoration: none;
/*  border-bottom: 1px solid #000;*/
  color: inherit;
}

a.emlink:hover {
/*  text-shadow: 0 0 100px #004988;*/
/*  text-shadow: 0 0 200px #00f;*/
/*  color: white;*/
/*  text-decoration-color: white;*/
}

span.betweenlinespoint {
  position: relative;
}

span.betweenlines {
/*  color: #888888;*/
  text-shadow: 0 0 8px #888888;
  position: absolute;
  bottom: -1em;
/*  left: 0;*/
  right: 0;
  z-index: 2;
  
  font-size: 0.33em;
  line-height: 1;
  white-space: nowrap;
/*  width: 400px;*/
  
/*  border-right: 1px solid #888888;*/
  margin-right: -0.5em;
  padding-top: 1em;
  padding-right: 0.25em;
  
  transition: text-shadow 0.25s linear;
}

span.betweenlines:hover {
  text-shadow: 0 0 0px #888888;
}

span.more-info {
  color: #aaa;
  font-style: italic;
  cursor: pointer;
}

span.more-info:hover {
  text-decoration: underline;
}

span.extended-info {
  display: none;
}

span.extended-info.displayed {
  display: inline;
}

span.outline {
  font-size: 0.5em;
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}


section.work-sample {
  width: 100%;
  max-width: 800px;
  margin: 96px auto;
  padding: 24px;
  box-sizing: border-box;
}

.work-preview {
  width: 100%;
/*  max-height: 386px;*/
  overflow: hidden;
  box-shadow: 0 0 48px #ccc;
  position: relative;
  object-fit: contain;
}

.work-preview a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: alias;
}

.work-preview-img {
  width: 100%;
  display: block;
}

#taichi-pink_preview:hover {
  box-shadow: 0 0 48px #ffa0b0;
}

#img_efcc-back {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.work-description {
  margin-top: 24px;
}




section#footer {
  background: url(img/dm_footer2.jpg);
  background-size: cover;
  background-position: center top;
/*  background-position: center center;*/
/*  object-fit: contain;*/
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1em;
  padding: 96px 24px;
  
/*  text-shadow: 0 0 1px #00f;*/
/*  color: transparent;*/
/*  color: #00f;*/
}

#footer-img {
  width: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
}



@media screen and (min-width: 0) and (max-width: 640px) {
  body {
    font-size: 16px;
  }
  
  
  
  #blurb {
    font-size: 2em;
  }
  
  section#footer {
/*    font-size: 1em;*/
  }
  
  section.work-sample {
  margin: 48px auto;
}
}



#loading-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  pointer-events: none;
}

#loading-marker {
  width: 100%;
  max-width: 512px;
  position: relative;
}

#loading-marker img {
  width: 100%;
  transform-origin: center center;
  animation: ROTATE45 4s infinite;
  animation-timing-function: linear;
  position: absolute;
  top: 50%;
  margin-top: -50%;
  left: 50%;
  margin-left: -50%;
}

@keyframes ROTATE45 {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


