@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@1,600&family=Gilda+Display&family=Oxygen&display=swap');

body {
    display: flex;
    flex-direction: column;
    max-width: 1450px;
    font-family: 'Oxygen', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.85px;
    color: hsl(231, 32%, 12%);
    background-color: hsl(209, 64%, 75%);
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}



img {
    max-width: 100%;
    height: auto;
    display: block;
}

/***************TYPOGRAPHY***************/

h1, h2, #divider {
    margin: 0.5rem auto;
    text-align: center;
    text-transform: uppercase;
    max-width: 366px;
}

h1 {
    font-size: 3.7rem;
    line-height: .7em;
    font-weight: 200;
}

#these_walls {
    font-size: 2.3rem;
    font-weight: 200;
}

#divider {
    margin: 1rem auto;
}

h2 {
    font-size: 1.3rem;
    font-weight: 400;
}

h1, h2, h3 {
    font-family: 'Gilda Display', serif;
    letter-spacing: normal;
}

h3 {
    font-size: 2rem;
    margin: 1rem 0;
    text-transform: uppercase;
}
.director_producer {
    margin: 1.6rem 0 .5rem 0;
    font-size: 1.6rem;
    text-transform: uppercase;
}

nav li {
    text-transform: uppercase;
    font-size: 0.9rem;
}

h4 {
    font-family: 'Crimson Text';
    font-size: 1.2rem;
    margin: 0 0 .5rem 0;
    font-style: italic;
    font-weight: 600;
}

.film_title {
    font-style: italic;
}

/***************LAYOUT***************/
#title_move {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
}

#divider {
    width: 200px;
    height: 1px;
    background-color:hsl(225, 26%, 21%);
}

#diamond_box {
    width: 150px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    transform: translateY(-40%);
}

.diamond {
    width: 7px;
    height: 7px;
    background-color: hsl(225, 26%, 21%);
    transform: rotate(45deg);
}

p {
    max-width: 500px;
}

header {
    min-height: calc(100vh - 1rem);
    background-color: hsl(197, 24%, 94%);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-image: url(images/bg_wallangle.jpg);
    background-blend-mode: color-burn; 
    /*luminosity is greyscale, color-burn lightens */
    background-size: cover;
    background-repeat: no-repeat;
}

header, 
main {
    max-width: 556px;
    margin: 0 auto;
}

header img {
    max-width: 90%;
    height: auto;
    margin:  0.5rem auto;
}


header p {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 5rem;
}

nav {
    background-color: hsl(225, 26%, 21%);
}
nav ul, nav a, nav a:visited {
    color: hsl(15, 50%, 97%);
    text-decoration: none;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: .5em 1em;
}

nav a:hover,
nav a:focus {
    color: hsl(47, 94%, 52%)
}

#bg_info {
    text-align: center;
    position: relative;
    padding-top: .5em;
    padding-bottom: 0.5em;
    color: hsl(197, 24%, 94%);
    background-color: rgba(39, 45, 75, 0.75);
    text-shadow: 0 0 5px gray;
}
#bg_info p {
    margin-top: 0;
    margin-bottom: 1em;
}

main {
    display: flex;
    flex-direction: column;
}


#movie {
    margin: 0 0 2rem 0;
}

#movie_container
{
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 1em;
}

iframe
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	margin:auto;
}

#artists,
#murals,
#films {
    padding: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    background-color:hsl(197, 24%, 94%);
}


#buy {
    padding: 1rem;
}

.credits span {
    font-style: italic;
}

.film_credits { 
    text-align: center;
}

.credits,
.tech_details {
    margin-top: 0.5em;
    margin-bottom: 0.25em;
}

.more_tech_details {
    margin-top: 1rem;
}

.more_tech_details a,
.lorentz a {
    color: hsl(230, 33%, 15%);
    font-style: italic;
}

footer {
    order: 3;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.2em;
    margin-top: 1.5em;
}

footer p:last-of-type {
    margin-top: .8em;
}



@media only screen and (min-width: 900px) {
     body {
        flex-direction: row;
        justify-content: space-around;
        max-height: calc(100vh - 1rem);
        max-width: 1350px;
        margin: 0.5rem auto;
    }

    h1 {
        padding-top: 2rem;
    }


    header {
        min-width: 399px;
        max-width: 400px;
        overflow: hidden;
        margin-right: 1rem;

    }

    main {
        overflow: auto;
        scrollbar-color: hsl(197, 24%, 94%) hsl(209, 64%, 75%);
        margin-left: 0;
        max-width: 800px;

    }

    main,
    #artists {
        padding-top: 0;
        margin-top: 0;
    }

    #movie {
        margin: 2rem 1.5rem 1.5rem;
    }
    
    .artists_img {
        max-width: 250px;
        object-fit: cover;
        margin-right: 1rem;
    }

    .artists_middle {
        margin: 1.5rem 0 1rem;
    }

    .opening_image {
        margin-top: 1rem;
    }

    .main_img_large {
        max-width: 550px;
        height: auto;
        margin: 1rem auto 1.5rem;
    }

    #artists,
    #murals,
    #buy {
        margin-bottom: 0;
    }

    #murals,
    #film {
        margin-top: 0;
    }

    #artists,
    #murals,
    #buy,
    #films {
        display: flex;
        flex-direction: column;
        padding-left: 1rem;
    }

    #buy {
        align-items: center;
    }

    

    .name_photo,
    .bio {
        margin-bottom: .5rem;
    }

}


@media only screen and (min-width: 1060px) {
    h1, h2 {
        max-width: 100%;
    }
    h1 {
        font-size: 5.5rem;
        line-height: .5em;
        transform: scaleY(1.05);
        padding-top: 3rem;
    }
    #these_walls {
        letter-spacing: .3em;
        word-spacing: .4em;
        margin-left: .3em;

    }

    h2 {
        font-size: .8rem;
        letter-spacing: 2.5px;
        max-width: 280px;
    }

    #movie {
        margin: 4rem 3rem 2rem;
    }

    h3 {
        align-self: center;
    }
    .bio {
        display: flex;
        justify-content: space-between;
    }

    .portrait {
        min-width: 250px;
    }

    .dafford,
    .films_info {
        max-width: 500px;
    }

    .films_info {
        align-self: center;
    }

    #murals p {
        max-width: 600px;
        padding: 1rem 0;
    }

    .lorentz {
        align-self: center;
        padding-left: 1rem;
    }

    .dir_prod_port {
        max-width: 300px;
    }

    footer {
        margin: 1rem auto;
    }
}

@media only screen and (min-height: 800px) {
    header {
        display: inline-block;
    }
    
    #logo_img,
    #bg_info {
        margin-top: 3rem;
        margin-bottom: 6rem;
    }
}
