:root {
    --color: #a2bdd2;
    --link: #73a8d0;
    --font: "Pixelify Sans", system-ui;
    --boxes: #495970;
    --boxes-opacity: rgba(73, 89, 112, 0.85);
    --hover: #ffffff;
    --lines: #ffffff;
    --bg: #18191d;
    --font-labels: "Alegreya", sans-serif;
    --font-text: "Alegreya", sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--link);
}

a:hover {
    color: var(--hover);
}

body {
    background: var(--bg);
    height: 100vh;
    width: 100vw;
}

footer {
    position: fixed;
    height: 2em;
    top: 1em;
    left: 0.5em;
    transform-origin: top left;
    transform: rotate(90deg) translateY(-100%);
    color: var(--color);
    padding: 5px;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#main-container {
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 800px;
    height: 650px;
    justify-content: center;
}

#etc {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
    color: white;
    font-size: 2em;
    z-index: 10;
    text-orientation: mixed;
    cursor: pointer;
}

#title {
    z-index: 10;
    display: flex;
    align-items: center;
    height: 150px;
    width: 500px;
    text-align: center;
    color: var(--hover);
    font-family: var(--font);
    font-size: 2rem;
    padding: 0.5em;
}

.item,
.item-thin {
    z-index: 10;
    display: inline-block;
    width: 250px;
    position: relative;
}

.item {
    height: 250px;
}

.thin {
    height: 150px;
}

img {
    z-index: 20;
    width: 250px;
    height: 250px;
}

.thin img {
    height: 150px;
}

#project-info {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--boxes-opacity);
    color: white;
    width: 100%;
    height: 100%;
    z-index: 100;
    padding: 1em;
    border: 5px solid black;
    overflow: scroll;
}

#header-info {
    position: sticky;
    width: 100%;
    text-align: right;
    font-family: var(--font);
    font-size: 2em;
}

.img-label {
    z-index: 11;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    color: var(--link);
    font-family: var(--font-labels);
}

.visibleItem img {
    opacity: 0.3;
}

h2 {
    text-align: left;
    padding: 0.5em;
    margin-left: 1em;
    text-transform: uppercase;
    font-family: var(--font);
    font-weight: 300;
    font-size: 2em;
}

.project-image {
    text-align: center;
    padding: 0.5em;
}

.project-image img {
    width: auto;
    height: 350px;
}

article {
    font-size: 1.2em;
    padding: 1em;
    text-align: right;
    font-family: var(--font-text);
}

p {
    padding: 0.5rem;
}

.credits {
    font-size: 1.2em;
    padding: 0.5em;
    margin-left: 2em;
    margin-right: 2em;
    text-align: left;
    //border-bottom: 2px dotted var(--lines);
    margin-bottom: 2em;
    font-family: var(--font-text);
}

.quote {
    width: 500px;
    margin: 2em auto;
    text-align: center;
    border-bottom: 2px dotted var(--lines);
    border-top: 2px dotted var(--lines);
    margin-bottom: 2em;
    padding-top: 3em;
    padding-bottom: 3em;
    font-family: var(--font-text);
}

.main-quote {
    font-size: 1.5em;
    font-style: italic;
    padding: 0.5em;
}

.reference {
    display: block;
    padding: 1em;
}

.gallery {
    width: 60%;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery img {
    float: none;
}

.gallery p,
.project-image p {
    text-align: center;
    font-size: 0.75em;
}

.thumbnailVideo {
    position: relative;
    z-index: 10;
    width: 250px;
    height: 250px;
}

.thumbnailVideoThin {
    position: relative;
    z-index: 10;
    width: 250px;
    height: 150px;
}

video {
    height: 350px;
    margin: auto;
    display: block;
}

ul {
    list-style-type: none;
}

li {
    margin-left: 2em;
    margin-right: 2em;
    padding: 0.25em;
    font-size: 0.85em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.listYear {
    font-family: var(--font);
    text-align: left;
    padding-right: 1em;
}

.listProject {
    font-family: var(--font);
    text-align: right;
    padding-right: 1em;
}

.listPlace {
    font-weight: 200;
    text-align: right;
}
