body {
  font: 14px "Noto Serif SC", serif;
  padding-bottom: 40px;
}

header {
  text-align: center;
}

header img {
  width: 250px;
}

h1 {
  font-weight: 700;
  font-size: 22px;
  margin-top: 10px;
}

h2 {
  font-size: 14px;
  font-weight: 500;
  text-shadow: 1px 1px 3px #e9e9e9;
  margin: 10px auto 35px;
  width: 80%;
}

ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration:none;
  color:#8709e1;
}

a:hover {
  text-decoration:underline;
}

/* a:visited {
  color: #9c0ae2;
} */

main {
  margin: 0 20px;
  text-align: left;
  font-weight: 500;
}

/*  LANDING PAGE STYLES */

.contact {
  margin-top: 25px;
}

.contact li,
nav li {
  display: inline-block;
  padding-right: 0px;
  line-height: 1.7em;
}

.contact li:after,
nav li:after {
  padding-left: 2px;
  content: '|';
  display: inline-block;
}

.contact li:last-child::after,
nav li:last-child::after {
  content: none;
}

.intro {
  margin-top: 20px;
}

.intro p {
  margin: 5px 0 0;
  line-height: 1.3em;
}

.projects p {
  margin-bottom: 0;
  font-weight: 600;
}

.projects li {
  line-height: 1.3em;
}

/* PORTFOLIO STYLES */

main.portfolio {
  margin: 30px auto;
  font-size: 14px;
}

.portfolio header p {
  font-weight: 600;
}

.portfolio hr {
  border: 1px solid rgba(156,10,226,0.1);
  height: 2px;
  border-width: 2px 0;
  width:85%;
  margin-bottom: 25px;
}

.videoBlock {
  margin:35px auto 20px;
  clear: both;
  min-height:360px;
}

.videoCaption {
  margin-bottom: 15px;
}

.iframeContainer {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.iframeContainer.scribd {
  height: 100%;
}

.iframeContainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.iframeContainer.scribd iframe {
  height: 300px;
}

.videoCaption p {
  margin: 5px 0 0;
}

.videoCaption h3 {
  margin: 0;
  font-size: 18px;
}

.videoCaption h3 em {
  display: block;
}

.videoCaption .epCredit {
  font-size: 12px;
}


/* NON-MOBILE SCREENS */

@media only screen and (min-width: 600px) {

  body {
    font-size: 10px;
    padding-bottom: 0;
  }

  header img {
    width: 320px;
  }

  h1 {
    font-size: 19px;
  }

  h2 {
    font-size: 13px;
    margin: 0 auto;
  }

  main.landing {
    width: 470px;
    margin: 0 auto;
  }

  .contact {
    margin-top: 20px;
  }

  .intro {
    margin-top: 10px;
  }

  .intro p {
    margin: 0;
  }

  .iframeContainer.scribd iframe {
    height: 500px;
  }

}

@media only screen and (min-width: 750px) {

  .videoBlock {
      width: 730px;
      /* margin:35px auto 70px; */
  }

  .videoCaption {
    float:left;
    width: 280px;
    margin-right: 10px;
  }

  .iframeContainer {
    position: static;
    padding: 0;
  }

  .iframeContainer iframe {
    position: static;
    width: 400px;
    height: 225px;
  }

  .iframeContainer.scribd iframe {
    height: 350px;
    width: 600px;
  }
}

@media only screen and (min-width: 1000px) {
  .videoBlock {
    width: 1000px;
    margin:35px auto 70px;
  }

  .iframeContainer iframe {
    width: 640px;
    height: 360px;
  }

  .iframeContainer.scribd iframe {
    height:500px;
  }
}
