/* PROJECT 22 — BIOBARBIE
   Keep the .project hook for slideshow.js, while making the page
   use the exact same outer geometry as the normal .main pages. */

.project22-project {
    width: 100vh !important;
    float: left !important;
    margin-left: 22vh !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 3em !important;
    box-sizing: border-box !important;
    object-fit: scale-down;
}

.project22-project img,
.project22-project iframe,
.project22-project video,
.project22-project canvas,
.project22-project .slide,
.project22-project .slideshow,
.project22-project .slideshow-container {
    display: block !important;
    width: 100% !important;
    max-width: 800px !important;
    box-sizing: border-box !important;
}

.project22-project img,
.project22-project iframe,
.project22-project video,
.project22-project canvas {
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0.5rem !important;
}

footer {
    float: none !important;
    text-align: left !important;
    height: 4em !important;
    font-family: Akkurat, sans-serif !important;
    line-height: 1em !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: black !important;
    padding-left: 0 !important;
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
    clear: both !important;
}

footer p { margin: 0 !important; }

@media (max-width: 756px) {
    .project22-project {
        width: 350px !important;
        max-width: calc(100vw - 4em) !important;
        box-sizing: border-box !important;
        padding-left: 2.5em !important;
        padding-right: 2.5em !important;
        padding-top: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 0 !important;
        float: none !important;
        clear: both !important;
    }

    .project22-project img,
    .project22-project iframe,
    .project22-project video,
    .project22-project canvas,
    .project22-project .slide,
    .project22-project .slideshow,
    .project22-project .slideshow-container {
        width: 100% !important;
        max-width: 100% !important;
    }
}
