/*  Reset */

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
ul, li{
    list-style-type: none;
}
iframe{
    border: 0;
}
input {
    border-radius: 0;
    -webkit-appearance: none;
}
:focus{
    border: 0px;
    outline: none;
}


/*  Typography */

@font-face {
    font-family: 'venezia';
    src: url('fonts/venezia-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
body, html, h1, h2, h3, h4, ::placeholder, input, button, small{
    font-family: 'venezia', Arial, Helvetica, sans-serif;
	font-size: 40px;
	line-height: 1.2em;
    font-weight: normal;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.small{
    font-size: 0.5rem;
    line-height: 1.3em;
}
.huge{
    font-size: 1.5rem;
    line-height: 1.2em;
}
.black{
    color: black;
}

a{
	color: initial;
    text-decoration: none;
}
a:hover{
	color: initial;
	text-decoration: none;
}
p{
    padding: 0 0 1em 0;
    margin: 0;
}
/*  Header */
h1{
    display: none;
}
header{
    padding: 0.5em 0.5em 1em 0.5em;
}
header nav li{
    display: inline-block;
    padding-right: 0.75em;
}
header nav li span::before{
    content: ' ';
    display: inline-flex;
    height: 0.75em;
    width: 0.75em;
    border: 2px black solid;
    border-radius: 50%;
    position: relative;
    top: 0.02em;
    margin-right: 0.25em;
}
header nav li.active span::before{
    background-color: black;
}
[data-link] span{
    pointer-events: none !important;
}

/* Footer */
.cookies-modal{
    font-size: 0.5em;
    line-height: 1.2em;
    position: fixed;
    bottom: 1em;
    left: 2em;
    width: calc(100% - 4em);
}

/* About */
.text{
    padding:0.5em 0.5em 0.75em 0.5em;
}
.columns{
    padding:0.5em;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.columns div{
    font-size: 0.7rem;
    line-height: 1.2em;
}

/*  Blocks */
.images{
    display: flex;
    flex-wrap: wrap;
    line-height: 0;
}
.images figure{
    width: 100%
}
.images[images-count="2"] figure{
    width: 50%;
    position: relative;
}
figure img{
    width: 100%;
}
.video{
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    background: #000;
}
.video iframe{
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    cursor: pointer;
}
.video .caption, figcaption{
    color: white;
    position: absolute;
    bottom: 1em;
    left: 1em;
}
.paragraph{
    padding: 0.5rem 0.5rem 3rem 0.5rem;
}

[data-infinte-scroll]{
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
[data-infinite-scroll-loaded] article{
    animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
[data-scroll-top]{
    position: fixed;
    bottom: 1em;
    right: 1em;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    pointer-events: none;
}
[data-scroll-top].visible{
    opacity: 1;
    pointer-events: all;
}
/*  Media Query */
@media only screen and (max-width: 768px) {
    body, html, h1, h2, h3, ::placeholder, input, button, small{
        font-size: 20px;
    }
    header nav li span::before{
        border: 1px black solid;
    }
 }
