*{
    margin: 0;
    padding: 0;
}
html{
    border: 5px solid rgb(0, 62, 132);
 }

.hero{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background: #333; */
    background: rgba(0,0,0,0.5);
    color: white;
    /* margin-bottom: 100px; */
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
}

.video-bg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100vw;
    height: auto;
    object-fit: cover;
    z-index: -1;
}





.top-nav {                                  /* top-nav is the row holding the */
    max-width: 100vw;                      /* navigation areas               */
    margin: 0 auto;
    width: 100%;
    /* background-color: rgba(255, 255, 255, 1.0); */
    /* color: #CCCCCC; */
    font-family: "conc-c4-r";
    font-feature-settings: "ss02";
    font-size: 80%;
    position: fixed;
    bottom: 0;
    left: 0;
}
 
.nav-wide {                                 /* nav-wide navigation buttons */
    display: inline-block;
    float: left;
    height: 30px;
    padding-top: 18px;
    text-decoration: none;
    text-align: center;
    /* border-bottom: 1px solid #CCCCCC; */
    border-right: 1px solid #CCCCCC;
}
.nav-wide { width: 49%; }                   /* nav-wide is 20% of top-nav */
 
.nav-wide:last-child { border-right: 0; align-self: right;}   /* remove right border on last area */
 
.nav-wide:link,                             /* navigation link options */
.nav-wide:visited {
    color: #cccccc;
    transition: background-color 0.2s, color 0.2s;
}
.nav-wide:hover,                            /* navigation hover options */
.nav-wide:active {
    color: #686868;
    background-color: #f8f8f8;
}
 
.top-nav-text {
    visibility: visible; 
    font-size: 20px;
}
 
/* .top-nav-icon {
    font-family: "icon-ps-r";
    margin-left: 5px;
    margin-right: 5px;
} */


/* Animation properties */
.spirit {
    animation: star 4.47s ease-out; /* 4.22s orig, infinite */
  }
  .mountain {
    animation: wars 4.47s ease-out;
  }
  .byline span {
    animation: spin-letters 4.47s linear;
  }
  .byline {
    animation: move-byline 4.47s linear;
  }
  
  /* Keyframes */
  @keyframes star {
    0% {
      opacity: 0;
      transform: scale(1.5) translateY(-0.75em);
    }
    20% {
      opacity: 1;
    }
    89% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
      /* opacity: 0;
      transform: translateZ(-1000em); */
    }
  }
  
  @keyframes wars {
    0% {
      opacity: 0;
      transform: scale(1.5) translateY(0.5em);
    }
    20% {
      opacity: 1;
    }
    90% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
        opacity: 1;
      transform: scale(1);
      /* opacity: 0;
      transform: translateZ(-1000em); */
    }
  }
  
  @keyframes spin-letters {
    0%, 10% {
      opacity: 0;
      transform: rotateY(90deg);
    }
    30% {
      opacity: 1;
    }
    70%, 86% {
      transform: rotateY(0);
      opacity: 1;
    }
    95%, 100% {
      opacity: 0;
    }
  }
  
  @keyframes move-byline {
    0% {
      transform: translateZ(5em);
    }
    100% {
      transform: translateZ(0);
    }
  }
  
  /* Make the 3D work on the container */
  .spirit-mountain {
    perspective: 800px;
    transform-style: preserve3d;
  }
  
  /* General styles and layout */
  .spirit-mountain {
    height: 15em;
    left: 50%; /* orig 50% */
    position: absolute;
    top: 53%;
    transform: translate(-50%, -50%);
    width: 30em;
    align-items: center;
    display: flex;
    justify-content: center;
  }
  
  .byline span {
    display: inline-block;
  }
  
  img {
    width: 100%;
  }
  
  .spirit, .mountain, .byline {
    position: absolute;
  }
  
  .spirit {
    top: -0.75em;
  }
  
  .mountain {
    bottom: -0.5em;
  }
  
  .byline {
    color: #fff;
    font-family: "ITC Serif Gothic", Lato;
    font-size: 2.25em;
    left: -2em;
    letter-spacing: 0.4em;
    right: -2em;
    text-align: center;
    text-transform: uppercase;
    top: 29%;
  }
