
@import url(/fonts.css);

body {
    font-size: 15px;
    font-family: Literata, serif;
    line-height: 200%;
    -webkit-text-size-adjust: none;
}

#content {
    max-width: 1250px;
    margin: 0 auto;
}

a, a:visited, a:active {
    color: rgb(52, 52, 125);
    text-decoration-color: rgb(210, 210, 255);
}

strong {
    font-weight: 600;
}

header img {
    width: 100%;
    height: auto;
}

p, li {
    margin: 0;
    line-height: 165%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

ul {
    list-style-type: " · ";
    padding-left: 1em;
}

h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
}

h1 {
    font-family: Literata, serif;
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
}

h2 {
    font-family: Literata, serif;
    font-size: 18px;
    font-style: italic;
    line-height: 125%;
}

h3 {
    font-family: Literata, serif;
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 6px;
}

h4 {
    font-family: Literata, serif;
    font-style: italic;
    font-weight: 600;

    line-height: 135%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

section {
    margin-bottom: 24px;
}

#fact-sheet div {
    margin-top:    1.5em;
    margin-bottom: 1.5em;
}

#fact-sheet .me {
    font-weight: 600;
}

#fact-sheet h1 {
    margin-bottom: 0;
}

#fact-sheet {
    max-height: 410px;
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        #00000000,
        #00000010
    );
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid #ccc;
    mask-image: linear-gradient(#000000aa, transparent);
}

#fact-sheet h2 em {
    font-weight: normal;
}

#fact-sheet:focus, #fact-sheet:focus-within {
    max-height: fit-content;
    opacity: 1;
    overflow: auto;
    cursor: auto;
    border: 1px solid #eee;
    transform: none;
    mask-image: none;
}

#fact-sheet {
    padding: 10px;
}

#fact-sheet-guidance {
    color: #777777;
    text-align: center;
    text-transform: uppercase;
    font-family: 'D-DIN Exp DINExp-Bold';
}

#fact-sheet-container {
    padding-top: 15px;
    padding-bottom: 15px;
}

#full-explainer section {
    margin-top:    3.5em;
    margin-bottom: 3.5em;
}

.subsection {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

#gallery header a,
#gallery header a:active,
#gallery header a:visited,
.download-all {
    color: #777777;
    text-transform: uppercase;
    font-family: 'D-DIN Exp DINExp-Bold';
    text-decoration-color: #ccc;
}

#gallery header a,
#gallery header a:active,
#gallery header a:visited {
    font-size: 12px;
}

.gallery-bar {
    overflow: scroll;
    width: 100%;
    height: 32vh;
    height: calc(30vh + 45px);
    position: relative;
}

.carousel {
    position: absolute;
    top: 0; right: 0; left: 0; bottom: 0;
    overflow-y: hidden;
    overflow-x: scroll;
}

#gallery .carousel-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#gallery .carousel-content img {
    height: 30vh;
    margin-top: 7px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 5px;
    box-shadow: 0 0 5px #00000077;
}

#gallery .carousel-content p {
    font-size: 80%;
    font-weight: bold;
    font-style: italic;
    margin: 0;
    padding: 0;
    padding-top: 5px;
    width: 100%;
    text-align: center;
    height: 35px;
}

#gallery .carousel-item {
    padding-right: 5px;
}

main h1 {
    margin-bottom: 0.75em;
}

.post-scriptum {
    font-style: italic;
    font-size: 90%;
}

/* -- */

@media screen and (min-width: 768px) {
    
    main {
        display: flex;
        flex-direction: row;
    }

    main > * {
        margin: 25px;
    }

    #full-explainer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #full-explainer > * {
        width: 100%;
    }

    #attract {
        text-align: center;
        font-style: italic;
    }

    #gallery header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

/* -- */

@media screen and (max-width: 767px) {
    #fact-sheet {
        max-height: 15vh;
    }

    main {
        margin-left:  1vh;
        margin-right: 1vh;
    }
}