body {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f0e6;
}

#canvas-container {
  background: #fffdfd;
}

#canvas {
  height: min(80vh, calc(100vw * (1527 / 1080)));
  margin-bottom: 1em;
  transition: all 0.5s ease-in-out;
}
  #canvas.landscape {
    height: min(80vh, calc(100vw * (1080 / 1527)));
  }
    #canvas.landscape iframe {
      transform: rotate(90deg) scale(1.4142135);
      box-shadow: 10px -10px 10px rgba(0,0,0,0.5);
    }


  #canvas iframe {
    transition: all 0.5s ease-in-out;
    display: block;
    margin: 0 auto;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
  }


#toggle-orientation {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
}

h1, h3, h4, h5 {
  font-family: 'Amatic SC', cursive;
}
h1 {
  font-size: 6em;
  text-align: center;
}
h2 {
  text-align: center;
  font-size: 2.1em;
}
h3 {
  margin: 1em 0 0.5em;
  font-size: 1.9em;
  font-weight: bold;
}
h4 {
  margin: 1em 0 0.5em;
  font-size: 1.6em;
  font-weight: bold;
}

p {
  font-size: 1.3em;
  line-height: 1.4em;
}

ul li {
  margin-bottom: 0.75em;
  font-size: 1.1em;
  line-height: 1.2em;
}

a {
  color: #6c757d;
}
  a:hover {
    color: #a5b5c3;
  }


#examples img {
  width: 240px;
  max-width: 100%;
  height: auto;
}

.irl {
  position:relative;
  padding-bottom: 21%;
}
  .irl img {
    position: absolute;
    height: auto;
    width: 80%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
  }


@keyframes crossfade {
  0% { opacity:1; }
  45% { opacity:1; }
  55% { opacity:0; }
  100% { opacity:0; }
}
#irl2 {
  animation-name: crossfade;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 6s;
  animation-direction: alternate;
}

.soldout {
  position: relative;
}

  .soldout:before {
    content: 'Minted out';
    position: absolute;
    color: #b30606;
    font-family: Rockwell, Courier Bold, Courier, Georgia, Times, Times New Roman, serif;
    font-size: 20px;
    transform: rotate(16deg);
    text-shadow: 0px 1px 10px rgb(255 255 255 / 50%);
    text-transform: uppercase;
    left: 60%;
    top: 9%;
    opacity: 0.85;
    text-align: center;
  }
