* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
  }
  
  body {
    background-color: #EEE;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
  }
  
  #container {
    width: clamp(390px, 100%, 1440px); /* used to set a minimum, normal, and maximum */
    min-height: 700px;
    border: 10px solid #DDD;
    margin: 4px auto;
    padding-bottom: 80px;
  }
  
  #topbar {
    height: 60px; background-color: hsl(0, 0%, 29%);
    color: #EEE;
    text-align: center;
    font-size: 2em;
  }
  
  #navbar {
    height: 80px; background-color: #FFF; 
    background-image: url(../images/starfield-bg.png);
    text-align: center;
    font-size: 2em;
    color: #222;
  }
  
  #hero {
    position: relative;
    aspect-ratio: 1000/400;
    overflow-y: hidden; /*overflow: hidden;  hides the excess stuff that spills out */
    box-shadow: 0px 20px 0px hsl(353, 70%, 46%),
                0px 40px 0px hsl(15, 73%, 54%),
                0px 60px 0px hsl(38, 60%, 61%),
                0px 80px 0px hsl(216, 44%, 33%);  
  }
  
  #hero video {
    position: absolute; top: 59%; /*video is 50% from top of hero frame*/
    transform: translateY(-50%); /*moves video upwardby 50% of the video*/
    left: 0; width: 100%;
    aspect-ratio: 1000/562;
      
  }
  
  .gradient-overlay {
    position: absolute; top: 0; left: 0; width: 100%;
    aspect-ratio: 1000/400;
    background-image: linear-gradient(90deg, hsla(0,100%,0%,.9), hsla(0,100%,0%,.1));
  }

  p.overlay-text {
    position: absolute; top: 20px; left: 20px;
    font-size: 2em;
    font-weight: bold;
    color: #FFF;
    width: 40%;
    text-transform: capitalize;
  }

  div.hero-cta {
    position: absolute; bottom: 80px; right: 40px;

  }

  div.hero-cta a {
    border: 4px solid white;
    text-decoration: none;
    text-transform: uppercase;
    margin-right: 40px;
    color:#FFF;
    font-size: .9em;
    font-weight: bold;
    padding: 27px 15px 10px 30px;
    display: inline-block;
    width: 260px;
    text-align: right;
    background-image: url(../images/blue.png);
    background-repeat: no-repeat;
    background-size: 100% 0%;
    background-position: left bottom;
    transition: background-size 210ms linear;
  }

  div.hero-cta a:hover {
    background-size: 100% 100%;

  }

  div.hero-cta a:last-child {
    background-color: #FFF;
    color: #000;
      }
      
  div.hero-cta a:last-child:hover {
    color:white;
  }
