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

body {
    display: grid;
    grid-template-columns: 20% 80%;
    grid-template-areas: 
    'header header'
    'sidebar videos'
    'footer footer';
    background-image: linear-gradient(to bottom, black, blue);
    color: cornsilk;
    position: relative;
    font-family: "Amarante", serif;
    font-weight: 400;
    font-style: normal;
}
header {
    grid-area: header;
    display: flex;
    align-items: center;
    /* background-color: blue; */
    border-bottom: 3px solid blue;
    color: whitesmoke;
    margin-bottom: 20px;
}
header img {
    border-radius: 50vh;
    padding: 1em;
    max-width: 200px;
}
#nav_list {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
}
#nav_list ul {
    position: sticky;
    top: 20px;
}
#nav_list li {
    margin-bottom: 20px;
}
#nav_list a {
    display: block;
    background-color: cornsilk;
    color: black;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all ease-in-out 200ms;
}
#nav_list a:hover {
    background-color: black;
    color: cornsilk;
}
section {
    max-width: 75%;
    margin: 0 auto;
}
#main {
    grid-area: videos;
}
footer {
    grid-area: footer;
}

/* Video Settings */
.videowrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin: 0 auto;
    border: none;
}
.videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.caption {
    margin-top: 10px;
    border-left: 25px solid #258308;
    padding-left: 10px;
    max-width: 75%;
}
article h4 {
    font-size: 200%;
    margin: 15px;
}

/* .btn {
    display: inline-block;
    align-self: center;
    margin-top: 1em;
    padding: 1em 2em;
    background-color: green;
    color: aliceblue;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 2px 2px 6px 2px gray;
    transition: all ease 200ms;
    position: fixed;
} */

/* set font family */


/* media queries */
@media (max-width: 767px) {
    #nav_list {
        display: none;
    }
    body {
        grid-template-columns: 1fr;
        grid-template-areas: 
        'header'
        'videos'
        'footer';
    }
    section {
        max-width: 100%;
    }
}