*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body { 
      margin:0; padding:0;
      overflow-x:hidden;
      font-family: 'Lato', Helvetica, arial, sans-serif;
      /* color: #eee; */
      color: rgba(255,255,255,.85);
  }

  .home {
    height: 100vh;
    position: relative;
  }

  .home-content {
    /* width: 600px; */
    margin: 0 auto;
    position: relative;
    top: 1rem;
    color: #fff;
    align-items: center;
    z-index: 3;
  }
  
  .home-content h1 {
    font-family: Playfair Display, serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 2.5em;
    line-height: 1.1;
  }
  
  .home-content h2 {
    font-family: Playfair Display, serif;
    text-align: center;
    font-size: 2em;
  }

  #myVideo {
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
  }
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    /* background: rgba(0,0,0,0.6); */
  }

  .exchangeformat {
    margin-top: 2rem;
    border: #fff;
    align-items: center;
    color: white;
    align-self: center;
    font-size: 15em;
    text-align: center;
  }

  .adv {
      min-width: 5vw;
      max-width: 15rem;
      min-height: 5vw;
      max-height: 15rem;
      padding-top: 0.5rem;
      margin-left: 0.5rem;
      margin-bottom: 0.5rem;
  }

  .logo {
    margin-top: 1rem;
    margin-right: 1rem;
   
  }

  #content {
      max-width: 43em;
      padding:10px;
      margin: 0 auto;
  }
  h1 {
      font-size: 2em;
      font-weight: 100;
      text-transform: uppercase;
      margin: 0;
  }
  h3 {
      margin-top: 10rem;
      font-size: 1.2em;
      font-weight: 300;
      line-height: 1.5;
  }
  p, li {
      font-size: 1.7em;
  }
  a {
      font-weight: 700;
      text-decoration: none;
      color: #fff;
  }
  a:hover {
      text-decoration: underline;
  }
  p#pleft {
      max-width:20em;
      float:left;
  }
  p#pright {
      max-width:20em;
      float:left;
  }
  ul {
      clear:both;
  }
  
.foot {
    position: absolute;
    bottom: 1rem;
    z-index: 4;
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    font-style: normal;
  }
.foot a:link {
        color: white;
}

.foot a:visited {
    color:rgba(0, 255, 255, 0.3)
}

.foot a:hover {
    color:rgba(255,   0, 0, 0.3)
}
  
  
  /* PYRAMID CODE */
  .stage {
    -webkit-transform:scale(1.85);
    transform:scale(0.85);
    float:right;
    margin-right:160px;
    margin-top:70px;
    width:0px; height:0px;
    
    position:relative;  
    -webkit-perspective:1200px;
    -webkit-perspective-origin:50% 50%;
    perspective:1200px;
    perspective-origin:50% 50%;
  }
  .pyramid3d {
    position:relative;
    /* width:150px;
    height:150px; */
    width:150px;
    height:150px; 
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateX(75deg) rotate(65deg);
    transform: rotateX(75deg) rotate(65deg);
    -webkit-animation: turnPyramid 10s linear infinite;
    animation: turnPyramid 10s linear infinite;
  }
  .triangle {
    -webkit-transform-style:preserve-3d;
    transform-style:preserve-3d;
    width:0; height:0;
    background:none;
  }
  .triangle:before{
    content:"";
    position: absolute;
    height: 0; width: 0;
    border-style: solid;
    border-width: 176px 75px 0 75px;
  }
  .side1 { -webkit-transform: translatex(0) rotatey(115.2deg) rotatez(90deg); transform: translatex(0) rotatey(115.2deg) rotatez(90deg); }
  .side2 { -webkit-transform: translatex(150px) rotatez(90deg) rotatex(64.8deg); transform: translatex(150px) rotatez(90deg) rotatex(64.8deg); }
  .side3 {  -webkit-transform: translatez(0) rotatex(64.8deg); transform: translatez(0) rotatex(64.8deg); }
  .side4 { -webkit-transform: translatey(150px) rotatex(115.2deg); transform: translatey(150px) rotatex(115.2deg); }
  .side1:before{ border-color: rgba(115, 115, 0, 0.3) transparent transparent transparent; }
  .side2:before{ border-color: rgba(20, 90, 225, 0.3) transparent transparent transparent; }
  .side3:before{ border-color: rgba(255,   0, 0, 0.3) transparent transparent transparent; } 
  .side4:before{ border-color: rgba(0, 255, 255, 0.3) transparent transparent transparent; }
  
  
  @-webkit-keyframes turnPyramid { 100% { -webkit-transform: rotateX(75deg) rotate(425deg); } }
  @keyframes turnPyramid { 100% { transform: rotateX(75deg) rotate(425deg); } }
  
  @media (max-width: 300px) {
      html { font-size: 70%; }
      .stage { -webkit-transform:scale(0.05); transform:scale(0.05); }
  }
  @media (max-width: 440px) {
      h1 { line-height:55px; }    
  }
  @media (max-width: 460px) { 
    .stage { position:absolute; top:25px; left:50%; margin-left:-45px; } 
    h1 { margin-top:50px; text-align:center; }
  }
  @media (max-width:600px) { .stage { -webkit-transform:scale(0.55); transform:scale(0.55); margin-right:60px; } }
  @media (min-width: 600px) {
      html { font-size: 80%; }
      .stage { -webkit-transform:scale(0.68); transform:scale(0.68); margin-right:80px; }
  }
  @media (min-width: 880px) {
      html { font-size: 120%; }
      p, li { font-size: 1em; }
      p#pright { margin-left:3em; }
      .stage { -webkit-transform:scale(0.85); transform:scale(0.85); margin-right:120px; }
  }