body {
    background-attachment: fixed;
    background-image: url(../img/bg-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
    max-height: 100vh;
    max-width: 100vw;
}

.site-title {

    /*
    background-image: url(../img/cover-1.jpg);
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
*/
    color: goldenrod;
    font-family: 'Playfair Display SC', serif;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 10px;
    /*    margin-bottom: 3rem;*/
    margin-top: -.5rem;
    padding: 6rem 0 0 0;
    text-align: center;
    text-shadow: 1px 2px 0 black;
    transition: color .3s ease;
}


h2 {
    color: goldenrod;
    font-family: 'Playfair Display SC', serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: bold;
    letter-spacing: 0;
    margin-top: -.5rem;
    margin-bottom: 2rem;
    padding-bottom: 5rem;
    text-align: center;
    text-shadow: 1px 2px 0 black;
    transition: color .3s ease;
}

a:link {
    text-decoration: none;
}

.site-title:hover {
    color: aliceblue;
}


/* --------- Landing Page Rules --------- */

.landing-page-header {

    align-items: center;
    background-image: url(../img/cover-1.jpg);
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 20vh;

}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    justify-items: center;
}

.thumbnail {
    border-radius: 10px;
    height: 50%;

}

.thumbnail img {
    border-radius: 10px;
    /*    height: 70%;*/
    max-width: 23rem;
    overflow: hidden;
    transition: filter .5s ease;
}

.thumbnail img:hover {
    filter: drop-shadow(-3px 3px 10px goldenrod);
}

figcaption {
    color: aliceblue;
    font-family: Baskerville, Cormorant Garamond, Georgia, serif;
    font-size: 1.5rem;
    font-style: italic;
    padding: 0.5rem 0 0 0;
    text-align: left;
}

footer p {
    color: white;
    font-family: Baskerville, Cormorant Garamond, Georgia, serif;
    line-height: 2;
    padding: 1rem 0 1rem 0;
    text-align: center;
}



/*
figure img {
    max-width: 25rem;
}

figcaption {
    color: aliceblue;
    font-family: Baskerville, Cormorant Garamond, Georgia, serif;
    font-size: 1.5rem;
    font-style: italic;
    padding: 0.5rem 0 0 0;
}

footer p {
    color: white;
    font-family: Baskerville, Cormorant Garamond, Georgia, serif;
    line-height: 2;
    padding: 1rem 0 1rem 0;
    text-align: center;
}
*/
/* --------- Movie Scene Page Rules --------- */

.movie-page-wrapper {
    display: grid;
    grid-gap: 15px;
    /*
    grid-template-columns: 3fr 1fr 1fr;
    grid-template-rows: 1fr 3fr 1fr .5fr;
*/
    grid-template-rows: 80px 1fr 300px 80px;
    grid-template-columns: 40% 1fr;
    grid-template-areas:
        "header header header"
        "review review pic"
        "links links links"
        "footer footer footer";
    min-height: height: 100vh;
    margin: 0 auto;
    max-width: 95vw;

}

.movie-page-header {
    align-items: center;
    font-weight: bold;
    /*
    display: grid;
    grid-area: header;
    grid-template-columns: 2fr 1fr;
    justify-items: center;
*/
    margin-bottom: -9rem;
    min-height: 20vh;
    text-align: center;
    text-shadow: 1px 2px 0 black;
}

.movie-page-header:hover {
    color: aliceblue;
}

.movie-page-figure {
    align-items: center;
    /*
    border-style: solid;
    border-color: darkgoldenrod;
*/
    display: flex;
    flex-direction: column;
    grid-area: pic;
    justify-content: center;
    margin: 0;
}

.movie-page-figure img {
    align-items: center;
    justify-content: center;
    height: 100%;
    /*    padding-left: 5rem;*/
    transition: opacity .5s ease-in-out;
    width: 100%;

}

.movie-page-figure img:hover {
    opacity: .6;
}

.movie-page-article {
    background-color: #3e4e52;
    color: white;
    display: grid;
    font-family: "Baskerville", "Cormorant Garamond", Georgia, serif;
    font-size: 1.1rem;
    grid-area: review;
    padding: 2rem;
}

.movie-page-title,
.director,
.producers-heading,
.producers,
.awards-heading,
.awards .scene {
    margin: 0;
}

.movie-page-title,
.director,
.producers-heading,
.producers,
.awards-heading,
.awards {
    padding-bottom: 1rem;
}


.movie-page-title {
    font-size: 2rem;
    font-style: italic;
    font-weight: 200;
    text-decoration: underline;
}

.director {
    color: goldenrod;
    padding-top: 2rem;
    padding-bottom: 2rem;
}


.producers-heading {
    color: goldenrod;
    font-style: italic;
}

.producers {
    color: goldenrod;
}

.awards-heading {
    color: goldenrod;
    font-style: italic;
    margin-bottom: -1rem;
    margin-top: -2rem;
}

.awards {
    color: goldenrod;
    margin-top: -.2rem;
}


.scene {
    text-align: left;
    margin-bottom: -1rem;
}

.movie-page-aside {
    border-style: solid;
    border-color: aliceblue;
    border-image-outset: 10px;
    display: flex;
    grid-area: links;

}

.movie-links-heading {
    color: white;
    font-family: "Baskerville", "Cormorant Garamond", Georgia, serif;
    font-size: 1.3rem;
    text-align: right;
    margin-bottom: -.8rem;
    writing-mode: vertical-lr;
    ;
}


.movie-page-thumbnail {
    /*    align-items: center;*/
    display: flex;
    flex-direction: column;
    /*    justify-content: center;*/

}

.movie-page-thumbnail img {
    height: auto;
    opacity: 1;
    transition: filter 1s ease;
    /*    transition: opacity .5s ease-in-out;*/
    max-width: 100%;
    padding-top: .5rem;
}

.movie-page-thumbnail img:hover {
    filter: grayscale(100%);
    /*        opacity: .5;*/
}

.mvp-thumb-caption {
    color: white;
    font-family: "Baskerville", "Cormorant Garamond", Georgia, serif;
    font-size: 1.25rem;
    padding: .5rem 0 0 0;
    text-align: left;
}

.aside-links {
    /*
    border-radius: 10px;
    border-color: aliceblue;
*/
    border-spacing: 2px;
    flex-basis: 33.3%;
}

.movie-page-footer {
    background-color: #344a31;
    grid-area: footer;
    padding-bottom: 8rem;
}

.movie-page-footer p {
    background: none;
    color: white;
}


/*-------------MEDIA QUERIES------------------*/

/*smartphone*/

@media only screen and (min-width: 20rem) and (max-width: 29rem) {

    /*    ----landing page rules----*/

    .landing-page-header {
        background-size: cover;
        grid-template-columns: 1fr;
    }

    .site-title {
        display: grid;
        font-size: 1.9rem;
        letter-spacing: 0;
    }

    .gallery {
        grid-template-columns: 100%;
    }

    .thumbnail img {
        height: auto;
        max-width: 100%;
    }

    .thumbnail img:active {
        filter: drop-shadow(-3px 3px 10px goldenrod);
    }

    figcaption {
        text-align: center;
    }

    /*    -----movie topic page rules-----*/

    .movie-page-wrapper {
        display: grid;
        grid-gap: 15px;
        grid-template-columns: 1fr;
        grid-template-rows: .200fr .100fr .200fr .5fr 40px;
        grid-template-areas:
            "header"
            "review"
            "pic"
            "links"
            "footer";
    }

    .movie-page-article {
        margin-top: -3.5rem;
    }

    .movie-page-figure {
        height: auto;
        max-width: auto;
    }

    .movie-page-aside {
        flex-direction: column;
        /*        margin-top: -18.7rem;*/
    }

    .movie-links-heading {
        margin-top: 2rem;
        margin-bottom: -4rem;
        text-align: center;
        writing-mode: horizontal-tb;
    }

    .movie-page-thumbnail {
        display: flex;
        flex-direction: column;
    }

    .movie-page-thumbnail img {
        height: auto;
        max-width: auto;
        padding-top: 0;
    }

}

/*smartphone and tablet*/

@media only screen and (min-width: 30rem) and (max-width: 59rem) {

/*
    .gallery {
        grid-template-columns: 100%;
    }
*/

    .thumbnail img {
        max-width: 32rem;
    }
    
    figcaption {
        font-size: 2rem;
        padding-bottom: 1rem;
        text-align: center;
    }

    .movie-page-wrapper {
        display: grid;
        grid-gap: 15px;
        grid-template-columns: 1fr;
        grid-template-rows: .200fr .100fr .200fr .2fr 40px;
        grid-template-areas:
            "header"
            "review"
            "pic"
            "links"
            "footer";
    }

    .movie-page-thumbnail {
        margin: 1rem 0 0 0;

    }

    .movie-links-heading {
        margin: 2.5rem 0 -2rem 1rem;
    }

    .movie-page-footer {
        padding-bottom: 9rem;
    }

    .movie-page-footer p {
        font-size: 1.5rem;
        margin-top: .6rem;
    }


}
