body.index {
    max-width: 660px;    
    margin: 0 auto;
}


body.photo-thumbnail {
    width: 100%;
    margin: 0;
}


nav {
    font-family: sans-serif;
    display: flex;
    width: min-content;
}

/* Thumbnail layout:
 *
 * Thumbnails are 200px wide images so I can use @media selectors to
 * make sure the left side of the <nav> line up with the left side
 * of the left column of the gallery.
 *
 */

@media only screen and (max-width: 483px) {
    nav.photo-thumbnail {
        width: 222px;           /* 20px smaller than section so border-left */
        margin:  10px auto;     /* lines up with figure borders below.      */
        border-left: 1px solid lightgrey;
    }
    section.photo-thumbnail {
        margin: 0 auto;
        width: 242px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (min-width: 484px) and (max-width: 725px) {
    nav.photo-thumbnail {
        width: 464px;
        margin:  10px auto;
        border-left: 1px solid lightgrey;
    }
    section.photo-thumbnail {
        margin: 0 auto;
        width: 484px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (min-width: 726px) and (max-width: 967px) {
    nav.photo-thumbnail {
        width: 706px;
        margin:  10px auto;
        border-left: 1px solid lightgrey;
    }
    section.photo-thumbnail {
        margin: 0 auto;
        width: 726px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (min-width: 968px) and (max-width: 1209px) {
    nav.photo-thumbnail {
        width: 948px;
        margin:  10px auto;
        border-left: 1px solid lightgrey;
    }
    section.photo-thumbnail {
        margin: 0 auto;
        width: 968px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (min-width: 1210px) and (max-width: 1451px) {
    nav.photo-thumbnail {
        width: 1190px;
        margin:  10px auto;
        border-left: 1px solid lightgrey;
    }
    section.photo-thumbnail {
        margin: 0 auto;
        width: 1210px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (min-width: 1452px) {
    nav.photo-thumbnail {
        width: 1432px;
        margin:  10px auto;
        border-left: 1px solid lightgrey;
    }
    section.photo-thumbnail {
        margin: 0 auto;
        width: 1452px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

nav.index {
    margin: 10px 0;
    border-left: 1px solid lightgrey;
}

div.video-nav {
    margin: 0 auto;
    width: 500px;
    justify-content: left;
}
    
nav.video-nav {
    border-left: 1px solid lightgrey;
}

a.navbar {
    padding: 10px;
    border-right: 1px solid lightgrey;
    text-decoration: none;
}

a.navbar:hover {
    color: white;
    background-color: lightgrey;
}

img.index {
    padding: 10px;
    border:   1px solid lightgrey;
}

section.video_section {
    width: 500px;
    margin: 10px auto;
    border:  1px solid lightgrey;
}

.video_desc {
    width: 480px;
    margin: 10px;
    text-align: left;
}

.video_content {
    align-self: center;
    text-align: center
}

.video_header {
    margin: 10px;
}

.quarter_hd_video {
    margin: 10px;
}

figcaption.photo-thumbnail {
    text-align: center;
}

figure.photo-thumbnail {
    margin: 10px;
    padding: 10px;
    border: 1px solid lightgrey;
    height: min-content;
    /* display: inline-block; */
}

figure.photo-thumbnail:hover {
    border: 1px solid darkgrey;
}
