/*********************************************

Styling for the project pages

**********************************************/

/*********************************************
1/6 smartphones, iPhone, portrait 480x320 phones
**********************************************/

@media screen and (min-width: 0px) {

    /* Header */
    #project-header {
        text-align: left;
        /* margin: 0px 20px; */
        /* margin-top: 100px; */
        margin-bottom: 50px;
    }

    #project-title {
        font-size: 3.5em;
        line-height: 1.2em;
    }

    #project-subtitle {
        font-size: 1.1em;
        /* text-transform: uppercase; */
        font-weight: 500;
        margin-top: 15px;
    }

    .illustrations-title {
        margin-top: 100px;
        text-align: center;
    }

    /* Text */
    .content-wrapper {
        text-align: center;
        max-width: 900px;
    }

    .content-wrapper p {
        text-align: left;

        line-height: 1.5em;
        font-size: 1em;

        margin-bottom: 50px;
        /* &:not(:last-child) {
            margin-bottom: 50px;
        } */
    }

    .content-wrapper h2 {
        margin-bottom: 20px;
        /* font-family: var(--heading-font); */
        /* font-style: italic; */
        /* text-transform: uppercase; */
        font-size: 1.5em;
        text-align: left;
    }

    .content-wrapper h3 {
        margin-bottom: 4px;
        text-align: left;
    }

    .main-content {
        background: white;
        margin-top: 100vh;
        padding-top: 10px;
    }

    .subtitle-description {
        text-align: center;
        max-width: 800px;
        margin: auto;
        margin-bottom: 50px;
        padding: 50px 50px;
        line-height: 1.4em;
    }

    .label {
        display: flex;
        width: auto;

        margin-bottom: 16px;
    }

    .label span {
        text-align: center;
        display: flex;
        font-size: 0.8em;
        letter-spacing: 0.05em;
        text-transform: uppercase;

        border-radius: 10px;
        background: #d6d6d6;
        padding: 5px 10px;

        margin-right: 5px;
    }

    .list-indented {
        margin-left: 50px;
        margin-bottom: 50px;
    }

    .list-indented p {
        margin-bottom: 20px;
    }

    #project-description {
        line-height: 1.5em;
    }


    /* Figures */
    #hero-figure {
        /* margin-top: 100px; */
        position: fixed;
        top: 0px;
        left: 0px;
        z-index: -1;

        width: 100%;
        height: 100vh;
    }

    #hero-figure img,
    #hero-figure video {
        width: 100%;
        height: 100%;
        /* width: auto; */
        object-fit: cover;
        transform: translate(-50%, -50%);
        position: absolute;
        top: 50%;
        left: 50%;

        z-index: -1;
    }

    /* .figure-group {
        position: relative;
        background: green;
        width: 100%;
        display: flex;
        flex-flow: column;
    } */


    .center-image img {
        width: 80vw;
        max-width: 1100px;
        /* margin-bottom: 150px; */
    }

    .center-image {
        display: flex;
        justify-content: center;
        flex-flow: row wrap;
    }

    .left-image img,
    .right-image img {
        max-width: 100vw;
    }

    .left-image {
        width: 100%;
        margin-bottom: 0px;
    }

    .right-image {
        display: flex;
        justify-content: right;
        align-items: end;

        margin-bottom: 50px;
    }

    .half-half-image {
        /* display: grid;
        grid-template-columns: 1fr 1fr; */
        /* grid-auto-rows: minmax(100px, auto); */

        display: flex;
        flex-flow: row wrap;
        width: 100%;

        background: white;
    }

    .half-half-image img {
        width: 100%;
        object-fit: cover;
    }

    .image-gallery {
        columns: auto 1;

    }

    .image-gallery img,
    .image-gallery video {
        width: 100%;
        height: auto;
        object-fit: cover;
        /* background: green; */
    }

    .video-small,
    .image-small {
        max-width: 1200px;
        margin: 0px;
    }

    .video-small video,
    .image-small img {
        width: 100%;
        margin-bottom: 0px;
    }

    /* iframe (vimeo specifically for green days) */
    .center-iframe {
        /* display: flex;
        justify-content: center; */
    }

    .center-iframe .video-small {
        margin: auto;
    }

    .video-small iframe {
        /* width: 100%; */
        display: flex;
        /* margin-bottom: 50px; */
    }


    /* Video with a border */
    .video-bordered {
        border: 0.5px black;
        border-style: solid none solid none;
    }

    /* Credits grid */
    #credits-header {
        text-align: left;
    }

    .credits-container {
        display: flex;
        flex-flow: column;
        margin-top: 40px;
    }

    .credits-container .column {
        margin-bottom: 40px;
    }

    .credits-container .column h1 {
        text-align: left;
        margin-bottom: 10px;

        font-family: var(--body-font);
        font-size: 1em;
        text-transform: uppercase;
        font-weight: 700;
        font-style: normal;
    }

    .credits-container .column p {
        margin-bottom: 8px;
        line-height: 1.2em;
        font-size: 0.9em;
    }


    /* Next project */
    #next-project {
        background: var(--light-green);
        height: 400px;
        max-height: 70vh;
        /* display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center; */
        text-align: center;
    }

    #more-work {
        margin-bottom: 24px;
    }

    #next-project a {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        text-align: center;

        text-decoration: none;
        color: black;
        width: 100%;
        height: 100%;

        transition: all 0.2s;
    }

    #next-project a:hover {
        /* light green */
        background: #C9EFA9;

        font-weight: bold;

    }

    #next-project p {
        margin: 0 20px;
        font-size: 3em;
        line-height: 1em;
    }


    /* Footer */
    footer {
        /* background: #FFF3E4; */
        /* background: white; */
        /* height: 80vh;
        position: relative; */
    }

}


/*********************************************
2/6 portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide.
**********************************************/
@media screen and (min-width:481px) {

    /* Text */
    .content-wrapper p {
        /* text-align: center; */
    }

    .content-wrapper h2 {
        /* text-align: center; */
    }

    #project-title {
        font-size: 4em;
    }

    .center-image {
        flex-flow: row;
    }

    .video-small video,
    .image-small img {
        margin-bottom: 50px;
    }

    /* Credits grid */
    .credits-container .column h1 {
        text-align: left;
        ;
    }

    .credits-container .column p {
        text-align: left;
    }

    /* Next project */
    #next-project {
        height: 700px;
    }

    #next-project p {
        font-size: 4em;
    }
}


/*********************************************
3/6 portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones
**********************************************/
@media screen and (min-width:641px) {

    /* Header */
    #project-header {
        /* margin-top: 100px; */
    }


    #project-title {
        font-size: 5em;
    }

    #project-subtitle {
        font-size: 1.2em;
        /* margin-top: 30px; */
    }

    /* Figures */
    .left-image img,
    .right-image img {
        max-width: 80vw;
        height: auto;
    }

    .left-image {
        margin-bottom: 50px;
    }

    .image-gallery {
        columns: auto 2;
    }

    .image-gallery img,
    .image-gallery video {
        margin-bottom: 12px;
    }

    .half-half-image {
        flex-flow: row;
    }


    .half-half-image img {
        width: 50%;
        object-fit: cover;
    }

    /* Credits grid */
    .credits-container {
        display: flex;
        flex-flow: row;
        column-gap: 40px;
        justify-content: space-between;
    }

}


/*********************************************
4/6 tablet, landscape iPad, lo-res laptops ands desktops
**********************************************/
@media screen and (min-width:961px) {

    /* Figures */
    .video-small,
    .image-small {
        margin: 30px;
    }
}

/*********************************************
5/6 big landscape tablets, laptops, and desktops
**********************************************/
@media screen and (min-width:1025px) {

    /* Figures */
    .image-gallery {
        columns: auto 3;
    }

    /* Video with a border */
    .video-bordered {
        border: 3px solid black;
    }
}


/*********************************************
6/6 hi-res laptops and desktops 
**********************************************/
@media screen and (min-width:1281px) {

    /* Header */
    #project-header {
        /* margin-top: 200px; */
    }
}