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


body {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 150%;
    display: grid;
    grid-template-columns: 20% 80%;
    grid-template-areas:
        'header header'
        'sidebar videos'
        'footer footer';
    background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgb(149, 62, 149));
    color: whitesmoke;
    position: relative;
}

header {
    grid-area: header;
    display: flex;
    align-items: center;
    /* background-color: rgb(195, 0, 255); */
    border-bottom: 3px solid purple;
    color: whitesmoke;
    margin-bottom: 20px;
    font-family: "Playwrite IE", cursive;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-size: 260%;
}

header img {
    border-radius: 50vh;
    padding: 1em;
}

#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: rgb(23, 93, 198);
    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: rgb(23, 93, 198);
}

section {
    max-width: 75%;
    margin: 0 auto;

}

main {
    grid-area: videos;
}

#cornerBtn {
    display: none;
    position: fixed;
    padding: 5px;
    right: 75px;
    bottom: 75px;
    z-index: 9999;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    transition: all ease-in-out 300ms;
    
}


#cornerBtn:hover {
    background-color: rgb(23, 93, 198);
}

footer {
    grid-area: footer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 3px solid black;
    padding: 1.5em;
    font-size: 150%;
}

/* *************************************************************** vid 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%;
}

.caption {
    margin-top: 10px;
    border-left: 25px solid #2c43ba;
    padding-left: 10px;
    max-width: 75%;
    margin-bottom: 30px;
}

article h4 {
    font-size: 200%;
}


@media (max-width: 767px) {
    #nav_list {
        display: none;
    }

    body {
        grid-template-columns: 1fr;
        grid-template-areas:
            'header'
            'videos'
            'footer';
    }

    header{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 100%;
    }
    

    section {
        max-width: 95%;
    }
}