/*//////////////  About page  //////////////*/

.animatedAnimals {
  width: calc(50% - 40px);
  padding: 20px;
  float: left;
}
  .coreMediums object {
    width: 100px;
    display: block;
    margin: 20px auto;
  }

  .animatedAnimals object {
    width: 160px;
    height: 180px;
    display: block;
    margin: 20px auto;
  }

  .animatedAnimals.heartbeats object {
    width: 100%;
    height: 100%;
    margin: 0;
  }
  
  .coreMediums h3, .animatedAnimals h3 {
    text-align: center;
    font-size: 0.9em;
  }

  .animatedAnimals h3 {
    color: #F5F4F5;
  }
  
  @media only screen and (max-width: 600px) {
    .animatedAnimals {
      width: calc(100% - 40px);
    }
  }

  .lattice {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/hero-background.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 10px 20px;
    max-height: auto;
  }

  @supports (-webkit-touch-callout: none) {
    .goatMessage {
      background-attachment: scroll;
      background-position: center center;
    }
  }
  
  .goatMessage object {
    width: 80px;
    display: block;
    margin: 20px auto 10px auto;
  }
  
  .testimonial, .testimonialName {
    font-size: 1.2em;
    margin: 0;
  }
  
  .testimonial::before, .testimonial::after {
    content: "";
    position: relative;
    width: 24px;
    height: 24px;
    margin: 0 5px;
    display: inline-block;
    background-size: 24px 24px;
    background-position: center center;
  }
  
  .testimonial::before {
    background-image: url(../images/global/quote-before.png);
  }
  
  .testimonial::after {
    background-image: url(../images/global/quote-after.png);
  }
  
  .testimonialName {
    font-size: 1em;
    margin-top: 5px;
    margin-bottom: 20px;
  }
  
 .listTwoRows {
    height: 360px;
    overflow: hidden;
  }

  @media only screen and (max-width: 600px) {
    .listTwoRows {
      height: 720px;
    }
  }

  
  .artists, .collaborations, .portfolio, .relatedPortfolio, .merchWrap, .garagesale {
    height: 140px;
    padding: 10px 0;
    margin: 10px;
    position: relative;
    border-radius: 4px;
  }

  .portfolio, .relatedPortfolio, .merch, .garagesale {
    width: 220px;
    height: 220px;
    float: left;
    padding: 0;
  }

  .garagesale {
    float: none;
    position: relative;
  }
  .garagesale::after{
    content: "";
    width: 30px;
    height: 30px;
    background: url(../images/photos.svg) no-repeat;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .garagesale:hover {
    opacity: 0.6;
    transition-duration: 300ms;
  }

  .merch {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    float: none;
    border-radius: 4px;
  }

  .merchWrap {
    float: left;
    width: 220px;
    height: 320px;
  }
  
  .collaborations {
    margin: 5px 10px;
  }
  
  .artists:hover, .collaborations:hover, .portfolio:hover, .relatedPortfolio:hover, .merch:hover {
    opacity: 0.6;
    transition-duration: 400ms;
  }
  
  .artists h3, .collaborations h3, .portfolio h3, .relatedPortfolio h3 {
    font-size: 1.1em;
    position: absolute;
    text-align: center;
    width: 80%;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
  }

  .garagewrapper {
    display: none;
  }
  
  .showGarage {
    display: flex;
  }

  .garagetext {
    width: calc(100% - 250px);
    margin-left: 20px;
    text-align: left;
    color: #222222;
  }
  .garagetext h3 {
    left: calc(100% + 20px);
    font-size: 1.4em;
    transform: none;
    bottom: unset;
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }
  .garagetext p {
    margin: 0;
  }
  .garagetext p b {
    color: #bbbbbb;
    font-weight: bold;
  }
  .notavailable {
    display: none;
  }
  .pink {
    color: #DA2D5E;
    font-weight: bold;
  }

  @media only screen and (max-width: 600px) {
    .garagewrapper {
      display: block;
      width: 100%;
      margin-top: 40px;
      border-bottom: #ccc 1px solid;
    }
    .garagesale {
      margin: 0 auto;
      width: calc(100vw - 40px);
      height: calc(100vw - 40px);
    }
    .garagetext {
      width: calc(100vw - 40px);
      margin-bottom: 30px;
    }
    .garagetext h3 {
      font-size: 1.2em;
    }
  }

  .merchWrap h3, .merchWrap p {
    color: #000000;
    margin: 10px;
  }

  .merchWrap h3 {
    margin-top: 16px;
  }

  .merchWrap p {
    font-size: 0.8em;
    opacity: 0.5;
  }

  .collaborations {
      background-color: #836767;
  }

  @media only screen and (max-width: 510px) {
    .portfolio, .merch {
      width: calc(50vw - 10px);
      height: calc(50vw - 10px);
      padding: 0;
      margin: 5px;
    }
    .relatedPortfolio {
      width: calc(50vw - 34px);
      height: calc(50vw - 34px);
      padding: 0;
      margin: 5px;
    }
    .merch {
      margin: 0;
    }
    .merchWrap {
      width: calc(50vw - 10px);
      padding: 0;
      margin: 5px 5px 10px 5px;
    }
    .merchWrap h3 {
      font-size: 1em;
    }
    .merchWrap h3, .merchWrap p {
      margin: 10px;
    }
  }
  @media only screen and (max-width: 400px) {
    .merchWrap {
      height: 300px;
    }
  }

  .profile-img {
    display: block;
    width: 300px;
    margin: 20px auto 40px auto;
    border-radius: 50%;
  }


  /*//////////////  Portfolio pages  //////////////*/

  .portfolioSubHead, .portfolioTitle {
    margin: 20px auto;
    width: max-content;
    max-width: 90%;
  }

  .portfolioTitle {
    position: relative;
  }
  
  .portfolioMovies {
      width: 700px;
      height: calc(700px * 0.56);
      display: block;
      margin: 0 auto;
      overflow: hidden;
    }

  .portfolioEmbed {
    width: 700px;
    height: 700px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }

  .fullscreenEmbed, .fullscreenWrap {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
  }

  .fullscreenEmbed {
    height: 100vh;
    display: block;
  }

  .fullscreenWrap {
    height: 100vh;
    z-index: 9000;
  }

  .endFullScreenBtn {
    height: 20px;
    width: calc(100vw - 40px);
    padding: 20px;
    background-color: #393939;
    position: fixed;
    bottom: 0;
  }

  .endFullScreenBtn h3 {
    margin: 0;
    font-weight: 400;
    font-size: 1.5em;
    color: #F5F4F5;
    text-align: center;
  }

  .fullScreenAble {
    position: relative;
  }

  .fullScreenAble::before {
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    background-color: #000000;
    position: absolute;
    right: 20px;
    top: 200px;
    z-index: 1000;
  }
    
  .portfolioImages {
    width: 100%;
  }

  .portfolioTwoImages {
    width: calc(50% - 14px);
    margin: 7px 5px;
    vertical-align: top;
  }

  .img-pos {
    width: 20px;
    height: 20px;
    margin: 0 5px -4px 0;
    padding: 0;
  }

  .bodyTextContainer iframe.squarePlaylist {
    width: 500px;
    height: calc(500px + 120px);
    display: block;
    margin: 0 auto;
    border: 0;
  }

  @media only screen and (max-width: 600px) {
    .portfolioTwoImages {
      width: 100%;
    }
    .bodyTextContainer iframe.squarePlaylist {
      width: 80vw;
      height: calc(80vw + 120px);
    }
    .img-pos {
      display: none;
    }
    .portfolioEmbed {
      width: 100%;
      height: 400px;
      position: relative;
    }
  }
  @media only screen and (max-width: 400px) {
    .bodyTextContainer iframe.squarePlaylist {
      width: 90vw;
      height: calc(90vw + 120px);
    }
  }

  .portfolioBtn {
    min-width: 200px;
    height: 40px;
    display: block;
    margin: 20px auto 0 auto;
    padding: 0 20px;
    font-size: 1em;
    background: none;
    border: 2px #222222 solid;
    border-radius: 4px;
  }

  .portfolioBtn:hover {
    background: #222222;
    color: #F5F4F5;
    transition-duration: 300ms;
  }

    @media only screen and (max-width: 870px) {
      .portfolioMovies {
        width: 80vw;
        height: 45vw;
      }
    .squarePlaylist {
      width: 80vw;
      height: calc(80vw + 120px);
      }
    }

    @media only screen and (max-width: 400px) {
      .portfolioMovies {
        width: 90vw;
        height: 50vw;
      }
      .squarePlaylist {
        width: 90vw;
        height: calc(90vw + 120px);
      }
    }

    .subHeading {
      font-weight: bold;
    }

    .subHeading a {
      display: inline-block;
      padding: 5px 10px;
      margin: 5px;
      font-size: 0.7em;
      border-radius: 4px;
      border: rgb(217, 3, 104) 1px solid;
      color: rgb(217, 3, 104);
    }

    .subHeading a:hover {
      background-color: rgb(217, 3, 104);
      color: #F5F4F5;
      transition-duration: 300ms;
    }

    .albumInfo {
      height: 180px;
      background-color: lightgrey;
      border-radius: 4px;
      color: #222222;
    }

    .albumInfo:hover {
      opacity: 0.6;
      transition-duration: 300ms;
    }
    
    .albumInfo div {
      float: left;
      padding: 20px 0 20px 20px;
    }

    .albumInfoCover, .albumInfoCover img {
      height: 140px;
    }

    .albumInfoCopy {
      text-align: left;
      width: calc(100% - 220px);
      position: relative;
      letter-spacing: 0.1em;
      margin: 0 30px 0 10px;
    }

    .albumInfoSubHead {
      width: calc(100% - 20px);
      background: #222222;
      color: lightgrey;
      padding: 5px 10px;
      margin: 10px 0;
    }

    .albumName {
      position: relative;
      margin: 16px 0 10px 0;
    }

    .albumName::before, .portfolioTitle::before {
      content: "";
      height: 2px;
      background: #222222;
      position: absolute;
    }

    .albumName::before {
      width: 100%;
      bottom: -6px;
    }

    .portfolioTitle::before {
      width: 140px;
      left: 50%;
      transform: translateX(-50%);
      bottom: -10px;
    }

    .albumByName {
      margin: 10px 0;
    }

    @media only screen and (max-width: 700px) {
      .albumInfo {
        height: 160px;
      }
      .albumInfoSubHead {
        font-size: 0.8em;
        margin: 0;
      }
      .albumInfoCopy {
        width: calc(100% - 180px);
        margin: 0 20px 0 0;
      }  
      .albumInfoCover, .albumInfoCover img {
        height: 120px;
      }
      .albumName {
        font-size: 1.4em;
        margin: 15px 0 10px 0;
      }
    }

    @media only screen and (max-width: 600px) {
      .albumInfo {
        height: auto;
      }
      .albumInfo div {
        float: none;
        padding: 20px;
      }
      .albumInfoCopy {
        width: max-content;
        max-width: calc(100% - 40px);
        margin: 0 20px;
      }  
      .albumInfoCover, .albumInfoCover img {
        height: 280px;
        max-height: calc(90vw - 40px);
      }
      .albumInfoCover, .albumInfoCopy {
        text-align: center;
        margin: 0 auto;
      }
      .albumName::before {
        content: "";
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
      }
    }

    .portfolioNav {
      width: 100%;
      height: 40px;
      background-color: lightgrey;
      margin: 0;
      padding: 0;
    }

    .portfolioNav div {
      width: max-content;
      height: 16px;
      margin: 0;
      padding: 12px;
      display: inline-block;
      color: #222222;
      position: absolute;
      font-size: 0.9em;
      cursor: pointer;
    }

    .portfolioNav div:hover {
      background-color: #DA2D5E;
      transition-duration: 200ms;
    }

    #pfnavPrev {
      left: 50px;
    }

    #pfnavAll {
      left: 50%;
      transform: translateX(-50%);
    }

    #pfnavNext {
      right: 50px;
    }

    @media only screen and (max-width: 600px) {
      #pfnavPrev {
        left: 20px;
      }
  
      #pfnavNext {
        right: 20px;
      }
    }

    .fourSquares {
      width: 220px;
      max-width: 45%;
      margin: 5px;
      display: inline-block;
    }

    .widerMargin {
      padding: 50px;
      width: 120px;
      max-width: 35%;
      margin: 5px auto;
    }

    .relatedProject {
      background: lightgrey;
      border-top: #222222 1px solid;
    }

    .relatedProjectList {
      height: 230px;
      overflow: hidden;
    }

    .darkHeader {
      color: #222222;
      margin: 24px auto 7px auto;
    }

    @media only screen and (max-width: 600px) {
      .relatedProjectList {
        height: 44vw;
      }
    }

    .codeView {
      background: lightgrey;
      padding: 20px;
      font-family: monospace;
      font-size: 1.2em;
    }

    body.fullscreenMode {
      overscroll-behavior-y: contain;
    }

      /*//////////////  Home page  //////////////*/

canvas {
    display: block;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
  }

body#bgp5 canvas {
  position: fixed;
}
  
.heroText {
  height: max-content;
    min-height: 90px;
    width: calc(100vw - 40px);
    position: absolute;
    bottom: 0;
    background: rgba(245, 244, 245, 0.8);
    padding: 20px;
  }

  .artistInfo {
    text-align: left;
    letter-spacing: 0.1em;
    float: left;
  }

  .artistInfo h1, .artistInfo h5 {
    margin: 7px;
    width: max-content;
  }
  .artistInfo h5 {
    color: rgb(41, 47, 54);
  }
  .artistInfo h5 span {
    font-style: italic;
  }

  .underlined {
    position: relative;
    width: inherit;
  }

  .underlined::after {
    content: "";
    width: 100%;
    height: 4px;
    background-color: rgb(41, 47, 54);
    position: absolute;
    bottom: -6px;
    left: 0;
  }

.heroName {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.7em;
  color: rgb(217, 3, 104);
  font-weight: bold;
  letter-spacing: 0.03em;
}

.creditHero {
  float: right;
  text-align: right;
  padding-top: 5px;
  margin-right: 90px;
  width: 320px;
  max-width: calc(100vw - 100px);
}

.creditHero h4 {
  margin: 10px;
}

.creditHero h4 span {
  font-size: 0.7em;
}

#startBtn, #pauseBtn {
  height: 80px;
  display: inline-block;
  position: absolute;
  bottom: 30px;
  right: 20px;
  cursor: pointer;
}

#pauseBtn {
  display: none;
}

@media only screen and (max-width: 600px) {
  #startBtn, #pauseBtn {
    height: 60px;
    right: unset;
    left: 20px;
    bottom: 20px;
  }
  .creditHero {
    float: left;
    text-align: left;
    margin-top: 10px;
    margin-right: unset;
    margin-left: 70px;
  }
  .creditHero h4 {
    margin: 0;
  }
}

      /*//////////////  Contact page  //////////////*/

.exLinks {
  height: 80px;
  width: 300px;
  background: #836767;
  border-radius: 4px;
  margin: 10px auto;
  text-align: center;
  cursor: pointer;
}

.exLinks p {
  display: block;
  margin-top: 28px;
  margin-left: 150px;
  transform: translateX(-50%);
  position: absolute;
}

.patternbasedBtn, .saatchBtn, .etsyBtn, .amazonBtn {
  background: #cccccc;
  background-repeat: no-repeat;
  background-size: 70% 50%;
  background-position: center center;
}

.patternbasedBtn {
  background-image: url(../images/PatternBased_Logo_DA2D5E.svg);
}

.saatchBtn {
  background-image: url(../images/sa-logo.svg);
}

.etsyBtn {
  background-image: url(../images/Etsy_logo.svg);
}