
@font-face {
    font-family: "Tribalium";
    src: url(fonts/TribaliumNeue-Poster.woff) format("woff");
    font-style: "Poster";
}

@font-face {
    font-family: "Garamond";
    src: url(fonts/GaramondBE-Swash.woff2) format("woff2");
    font-feature-settings: "liga" 1;
}

body{
    margin:0;
    font-family: "Garamond";
    -webkit-font-smoothing: antialiased;
    cursor:default;
}
header{
    height:19vh;
    display:flex;
    align-items:center;
    padding: 0 10px;
    justify-content:space-between;
}
header h1{
    font-family: "Tribalium";
    color: rgb(140, 0, 255);
    font-size:4em;
    line-height:19.6vh;
    position:relative;
    font-weight: 300;
    padding-right: 10px;

}

nav {
    top:.12em;
}

a{
    display: block;
    text-decoration: none;
    color: rgb(140, 0, 255);
}

li:hover{
    text-decoration: underline;
}

li.pastille {
    color: rgb(140, 0, 255);
    list-style-type: none;
    text-align: center;
    position: relative;
    font-size: 1.2vw;
    font-weight: 600;
    transform: rotate(-10deg)
}


main {
    display: flex;
    flex-direction: row;
    width: 100%;
}
article {
    display: flex;
    flex-direction:column;
    border-right: dashed 1px rgb(140, 0, 255);
    padding: 10px;
    position: relative;
    min-width: 0;
    overflow: hidden;
}

article:last-child {
    border-right: none;
}

article h1 {
    word-break: break-all;
    font-size: 2.5vh;
    line-height: 1;
    display:block;
    margin-left: 4vw;
}

figure {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 4vw;
    margin-inline-end: 4vw;
}
figcaption{
    font-size: 1em;
}

img{
    width: 80%;
    overflow: clip;
    filter: grayscale(1);
}

img:hover{
    filter: grayscale(0);
}

footer{
    font-size: 0.8em;
    height:10vh;
    display:flex;
    align-items:center;
    justify-content:center;
}

@media screen and (max-width: 1000px) {
    header h1{
        font-size:2.2em;
    } 
}

 @media screen and (max-width: 860px) {
    header{
        height: 10vh;
        align-content:space-between;
    }

    li.pastille{
        font-size: 1em;
        top: 4vh;
        left: 10px;
        font-weight: 600;
    }
    main {
        flex-direction: column;
        }
    article {
        flex-direction:column;
        border-top: dashed 1px rgb(140, 0, 255);
        border-right: none;
        overflow-x: scroll;
}
    article:last-child {
        border-right: none;
}
    footer{
    height:5vh;
    padding: 10px;
    font-size: 0.5em;
    text-align: center;
}

 }
