
/* Below is the reset rule */
* {
    margin: 0; 
    padding: 0; 
    border: 0; 
    box-sizing: border-box; /* this makes it so 500px is truly 500px all around */
  

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

#container{
    width: clamp(390px, 100%, 1440px); /* used to set a minomum normal and maxmum*/
    min-height: 700px;
    border: 10px solid #DDD;
    margin: 4px auto;
    padding-bottom: 80px;
}

#topbar{
    height: 60px; background-color: grey;
    color: whitesmoke;
    text-align: center;
    font-size: 2em;
}

#navbar{
    height: 80px; background-color: #DDD;
    background-image: url(https://www.adorama.com/alc/wp-content/uploads/2023/05/Untitled-design-4-3.jpg);
    text-align: center;
    font-size: 2em;
    color: #9f2d2d;
}

#hero{
    position: relative;
    aspect-ratio: 1000/400;
    overflow: hidden;
    box-shadow: 0px 24px 0px hsl(0, 100%, 50%),
                0px 48px 0px hsl(0, 97%, 38%),
                0px 72px 0px hsl(0, 97%, 24%),
                0px 96px 0px hsl(0, 96%, 10%);
}

#hero video{
    position: absolute; top: 50%;
    transform: translateY(-45%);
    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));
}

.overlay-text{
   
    position: absolute; top: 20px; left: 20px;
    font-size: 3em;
    font-weight: bold;
    color: #ff0000;
    width: 40%;
    text-transform: capitalize;
}

div.hero-cta {
    position: absolute; bottom: 80px; right: 80px;
}

div.hero-cta a{
    border: 4px solid rgb(160, 160, 162);
    text-decoration: none;
    text-transform: uppercase;
    margin-right: 40px;
    color: #DDD;
    font-size: .9em;
    font-weight: bold;
    padding: 28px 15px 10px 30px;
    display: inline-block;
    width: 260px;
    text-align: right;
    background-image: url(https://www.rrphillips.ninetyfive.dev/cis195/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: #ff0000;
    color: black;
}

div.hero-cta a:last-child:hover{
    color: #fff;
}