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

body {
    background-color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#container {
    width: clamp(390px, 100%, 1440px); /* used to set a minimum, normal, and maximum */
    min-height: 700px;
    margin: 0 auto;
    border: 10px solid yellowgreen;
    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.png);
    text-align: center;
    font-size: 2em;
    color: #222;
}

#hero {
    position: relative;
    aspect-ratio: 1000/400;
    overflow: hidden; /* hides any excess overflow from view */
    /* create the illustion of multiple borders */
    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: 50%; /* top of vid is 50% from top of hero video frame */
    transform: translateY(-50%); /* moving the vid upward by 50% of the height of the vid */
    left: 0; width: 100%;
    aspect-ratio: 1000/562;
  
  }

.gradient-overlay {
    position: absolute; top: 0%; left: 0; width: 100%;
    aspect-ratio: 1000/562;
    background-image: linear-gradient(90deg, hsla(0,100%,0%,.5), hsla(0, 100%,0%,.1));
}

p.overlay-text {
    position: absolute; top: 40px; left: 40px;
    font-size: 3em;
    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 #fff;
    text-decoration: none;
    text-transform: uppercase;
    margin-right: 40px;
    color: #fff;
    font-size: .9em;
    font-weight: bold;
    padding: 28px 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 200ms 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: #fff;
}


/* 20 pts extra credit
Reproduce the nav menu hover effect like at https://bethesda.net/en/game/starfield
I'm looking for 4 colored bars that rise at different intervals on  hover. 
Due Sunday evening, the 12th.
hint: pseudo elements will be used.
hint: transition*/