/*  year of media 2026
    design notes:
        black:  #221D20
        grey:   #7D7D7D
        l-grey: #C4C4C4
    font attributions:
        ronzino:        Collletttivo, Luigi Gorlero <collletttivo@gmail.com>, Annunziato Pio Mazzaferro <collletttivo@gmail.com>
        fd beast:       fonderie.download
 */

/* TODO: mobile layout */

/* vars */
:root {
    --main-width: 75%;
    --black: #221D20;
    --grey: #7D7D7D;
    --light-grey: #C4C4C4;
    --font-size: 2em;
}

@media (orientation: portrait) {
    :root {
        --main-width: 90%;
        --font-size: 1.5em;
    }

    #return {
        visibility: hidden;
    }

    .float-l {
        height: 50%;
        width: auto;
    }
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    font-family: Ronzino, sans-serif;
    font-size: var(--font-size);
    text-align: justify;
    text-justify: inter-word;
    /* background: black; */
    filter: blur(1px);
}

#return {
    top: 0;
    left: 0;
    padding: 1.3em 2em 2em 2em;
    position: fixed;
}

#main {
    width: var(--main-width);
    background: white;
    margin-bottom: 10em;
}

#header {
    padding: 1em;
    margin: 1em 0 1em 0;
}

#date_sel {
    width: 100%;
    margin: 0;
    display: flex;
    border-style: dotted none dotted none;
    border-width: 0.125rem;
    border-color: var(--light-grey);
}

#date_sel div{
    padding: 0.25rem;
    flex-grow: 1;
    display: inline-flex;
    justify-content: center;
    border-style: none solid dotted none;
    border-width: 0 0.125rem;
    border-color: var(--light-grey);
}

h1 {
    flex-grow: 1;
    padding: 0.25em 0 0.25em 0.25em;
    border-bottom-style: dotted;
    border-width: 0.125rem;
    border-color: var(--light-grey);
}

h2 {
    padding: 0.5em 0 0 0.25em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

h3 {
    padding: 0 0 0 0.25em;
    margin: 0;
    color: var(--grey);
    display: inline;
    font-weight: lighter;
    font-style: italic;
    font-size: 1em;
}

p {
    padding: 0 0.25em 0 0.25em;
}

a {
    color: blue;
}

a:visited {
    color: blue;
}

.inactive {
    color: var(--grey) !important;
}

/* images */

.wide {
    width: 100%;
    margin-top: 1em;
}

.float-l {
    width: 50%;
    float: left;
    margin-top: 1em;
    margin-right: 1em;
}

.float-r {
    width: 50%;
    float: right;
    margin-top: 1em;
    margin-left: 1em;
}

.image-div {
    margin-top: 2.5em;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.image-div img {
    margin-top: 0; width: 100%;
}

.image-div h2 {
    padding-top: 0;
    padding-left: 0;
    margin-top: 0;
    margin-left: 0;
}

.image-div h3 {
    padding-left: 0;
    margin-left: 0;
}

.image-div p {
    padding-left: 0;
    margin-left: 0;
}

.img-attr {
    margin-top: 1rem;
    text-align: right;
    color: var(--light-grey);
    font-style: italic;
}

.item {
    width: 70%;
}

.item:first-child {
    margin: 0 1em 0 0;
    background-repeat: no-repeat;
    background-size: cover; /* Make the image cover the div */
    background-position: 50% /* Center the image inside the div */
}

.media-single {
    display: flex;
}

.media-single video {
    width: var(--main-width);
    flex-grow: 1;
}

/*.image-div img {
    float: left;
    margin-top: 1em;
    margin-right: 1em;
    object-fit: contain;
}*/




