h1 {
    text-decoration: underline;
    font-size: 2.5em;
}


.flex-supercontainer {
    display: flex;
    flex-direction: column;
    margin: 2em 0 0 0;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}



.flex-item {
    display: flex;
    margin: 0 1.5em 1.5em 0;
    width: 25%;
    height: 100%;
    justify-content: left;
    flex-wrap: wrap;
    /*align-items: center;*/
    flex-direction: row;
    position: relative;
    transition: transform 0.1s;
    flex: 20%;
}

.flex-content {
    width: 50%;
    margin: 0 1em 1em 0;
}

.flex-content h2 {
    margin-bottom: 0;
}

.flex-content p {
    margin: 0;
    font-style: italic;
    width: 100%;
}


/*!*BOX APPEAR ON HOVER OF IMG*!*/
/*.content {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    display: none;*/
/*    border: black solid 1px;*/
/*    padding: 2em;*/
/*    background: white;*/
/*    z-index: 10;*/
/*    margin-top: 2em;*/
/*}*/

/*.content h1,*/
/*.content p {*/
/*    margin: 0;*/
/*}*/

/*.flex-item img:hover + .content {*/
/*    display: block;*/
/*}*/
/*!*-------------------------------------*!*/

.flex-item:hover {
    transform: scale(1.05);
}

.flex-item h3 {
    font-weight: 900;
    margin: 0;
}

.flex-item h4 {
    text-decoration: underline;
    font-weight: 400;
    margin: 1.2em 0 1.2em 0;
}

.flex-item img {
    max-width:100%;
    float:left;
}

.flex-item h1 {
    font-size: 3em;
    margin: 0;

}

details {
    color: black;
}

summary {
    cursor: pointer;
    list-style: none;
}

summary img {
    max-width: 50%;
}

.detail-container-left {
    width: 300%;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: row;
    border: black dashed 0.2em;
    margin: 0.5em 0 0 0;
}

.detail-container-right {
    width: 300%;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: row;
    border: black dashed 0.2em;
    margin: 0.5em 0 0 0;
    right: 205%;
}

.detail-container-left img, .detail-container-right img {
    width: 50%;
    height: 100%;
}

/*SPREADS*/
#spreads .detail-container-left {
    width: 97%;
}

#spreads .flex-content {
    width: 100%;
    margin: 0 1em 1em 1em;

}

#spreads .flex-content h2 {
    margin-top: 0.5em;
}

#spreads .flex-item {
    flex: 40%;
}
/*---------------*/

/*BOOKS*/
#books .flex-item {
    flex: 30%;
}

#books .flex-item p {
    width: 100%;
    margin: 0 0 2em 0;
}

#books .flex-item h2 {
    margin: 0 0 0.5em 0;
    font-size: 2em;
}

#books .flex-item h3 {
    margin: 0 0 1em 0;
}

#books .flex-item:hover {
    transform: none;
}

/*#books img.flex-item {*/
/*    flex: 50%;*/
/*}*/

#books .cover-pics {
    flex: 60%;
}

#slideshow2 {
    width: 60%;
    margin: 0 0 1em 1em;
}

#slideshow3 {
    width: 60%;
    margin: 0 1em 1em 0;
    float: left;
}

#books .flex-item .book-content {
    flex: 30%;
}

#books .interior-content {
    display: block;
    margin: 1em 0 0 0;
}

#slideshow1 img {
    float: none;
}
/*-----------*/

/*BRANDING*/

#branding .flex-item:hover {
    transform: none;

}

#branding .cover-pics {
    flex: 55%;
}

#branding .flex-item h2 {
    margin-top: 0;
}

#tshirt-pics-desktop {
    display: flex;
    flex-wrap: wrap;
    flex: 70%;
}

#tshirt-pics-desktop img {
    width: 100%;
    height:100%;
    flex: 20%;
    margin: 0.5em;
}

#tshirt-words {
    flex: 20%;
}

#tshirt-pics-mobile {
    display: none;
}

/*--------------*/


#photo {
    margin-left: 1em;
    object-fit: contain;
    width: 100%;
}

#finalmicro {
    margin-left: 2em;
    margin-bottom: 3em;
}

.finalul {
    padding-right: 2em;
}

.width-75 {
    width: 75%;
}

.width-100 {
    WIDTH: 100%;
}

.clips-final {
    width: 50%
}

.line {
    border-bottom: 0.25em black dashed;
    width: 100%;
    margin: 3em 0 1em 0;
}








@media (max-width: 1000px) {
    .flex-container {
        flex-direction: row;
        width: 100%;
    }

    #books .flex-container {
        flex-direction: column;
    }

    .flex-item {
        WIDTH: 100%;
        justify-content: left;
        margin-bottom: 2em;
        margin-right: 1em;
        padding: 0;
        flex-direction: row;
        flex: 40%;
    }

    .detail-container-left {
        width: 200%;
    }

    .detail-container-right {
        width: 200%;
        right: 105%;
    }

    .investigations, .clips {
        WIDTH: 100%;
        flex-direction: row;
    }

    .clips-final {
        width: 50%
    }


    #photo-box {
        display: none;
    }


    .flex-supercontainer {
        display: flex;
        flex-direction: column;
    }

    .flex-minorcontainer {
        padding: 0;
    }

    #books .interior-content {
        display: flex;
        margin: 1em 0 0 0;
    }

    #books .flex-item img {
        width: 100%;
    }

    #slideshow2 {
        width: 100%;
        margin: 0 0 1em 0;
    }

    #slideshow3 {
        width: 100%;
        margin: 0 0 1em 0;
    }

    #branding .cover-pics {
        flex: 100%;
    }

    #brochure-pics {
        order: 1;
    }

    #brochure-words {
        order: 2;
    }

    #tshirt-pics-desktop {
        order: 3;
    }

    #tshirt-words {
        order: 4;
    }

    #tshirt-pics-desktop {
        flex: 100%;
    }


}




@media (max-width: 600px) {
    .flex-container {
        flex-direction: column;
        width: 100%;
    }

    .flex-item {
        WIDTH: 100%;
        justify-content: left;
        margin-bottom: 2em;
        /*padding-right: 1em;*/
        flex:100%;
    }

    .detail-container-left, .detail-container-right {
        width: 97%;
        right: 0;
    }

    .detail-container-left img, .detail-container-right img {
        display: none;
    }

    .detail-container-left .flex-content, .detail-container-right .flex-content {
        width: 100%;
        margin: 1em;
    }

    .detail-container-left h2, .detail-container-right h2 {
        margin: 0;
    }

    .investigations, .clips {
        WIDTH: 100%;
        flex-direction: column;
    }

    #photo-box {
        display: none;
    }

    .flex-supercontainer {
        display: flex;
        flex-direction: column;
        margin: 6em 0 0 2em;
        width: 80%;
    }

    .flex-minorcontainer {
        padding: 0;
    }

    .body {
        max-width: 100%;
        margin-top: 2em;
        padding: 0;
    }

    header {
        flex-direction: column;
        align-items: center;
        margin: 2em auto auto auto;
        padding-left: 0.5em;
    }

    #spreads .detail-container-left {
        width: 97%;
    }

    #slideshow2 {
        width: 100%;
        margin: 0 0 1em 0;
    }

    #slideshow3 {
        width: 100%;
        margin: 0 0 1em 0;
    }

    #books .interior-content {
        margin-bottom: 2em;
    }

    #brochure-pics {
        order: 1;
    }

    #brochure-words {
        order: 2;
    }

    #tshirt-pics-mobile {
        order: 3;
        display: flex;
    }

    #tshirt-words {
        order: 4;
    }

    #tshirt-pics-desktop {
        display: none;
    }

}

@media (max-width: 495px) {
    .flex-supercontainer {
        margin: 2em 0 0 2em;

    }
}







