* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: aliceblue;
    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 #EEE;
    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: #DDD;
    background-image: url(../images/ION_paper_800px.png);
    text-align: center;
    font-size: 2em;
    color: #222;
}

#hero {
    position: relative;
    aspect-ratio: 1000/400;
    overflow: hidden; /* hides any excess overflow from view */
    
    /* try to create 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 video is 50% from top of hero video frame */
    transform: translateY(-50%); /* moving the video upward by 50% of the height 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%,.8), hsla(0,100%,0%,.1));
}

.overlay-text {
    position: absolute; top: 15px; left: 15px;
    font-size: 2em;
    font-weight: bold;
    color: white;
    width: 40%;
    text-transform: capitalize;
}

div.hero-cta {
    position: absolute; bottom: 40px; right: 40px;
}

div.hero-cta a {
    border: 6px solid white;
    text-decoration: none;
    text-transform: uppercase;
    margin-right: 40px;
    font-size: .9em;
    color: white;
    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: bottom left;
    transition: background-size 200ms linear;
}

div.hero-cta a:hover {
    background-size: 100% 100%;
}

div.hero-cta a:last-child {
    background-color: white;
    color: black;
    border-color: black;
}

div.hero-cta a:last-child:hover {
    color: white;
    border-color: white;
}

div.hero-cta a:first-child:hover {
    color: black;
    border-color: black;
}