:root {
    /* -------------------------------------------------- */
    /* Color settings */    
    --font-size: 30px;
    --background: #ffffff;
    --color: #000000;

    --ratio: clamp(calc(var(--font-size) / 2.5), calc(var(--font-size) / 2.5), calc(var(--font-size) / 3));
}


@font-face {
    font-family: 'Regular';
    src: url('./fonts/NewEdge666-SemiBoldRounded.woff2') format('woff2'),
        url('./fonts/NewEdge666-SemiBoldRounded.woff') format('woff');
}

html, body, div, p, h1, h2, h3, h4, h5, h6, object, dl, dt, dd, ol, ul, li, table, thead, tbody, tfoot, tr, th, td, caption, pre, blockquote, address, iframe, applet, form, label, fieldset, legend, span, img, svg, a, big, small, strong, em, tt, sup, sub, b, u, i, center, abbr, acronym, dfn, del, ins, q, cite, s, strike, code, var, samp, kbd, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    font-family: inherit;
    font-variant: normal;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    font: inherit;
    background-color: transparent;
}

::selection {
    color: var(--background);
    background: var(--color);
}


*, *:before, *:after {
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


*:lang(nl) *, *:lang(nl){
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

body {
    font-family: "Regular";
    position: absolute;
        overflow-x: hidden;
    background: var(--background);
    color: var(--color);
    opacity: 0;

    transition: all .25s ease-in-out;
}
body.visible{
    opacity: 1 !important;
    transition: all .25s ease-in-out;
}
body.redirect{
    opacity: 0 !important;
    transition: all .25s ease-in-out;
}
/*
@keyframes reveal{
from{
opacity: 0;
}
to{
opacity: 1;
}
}
*/
a{
    color: inherit;
    text-decoration: none;
}
p a{
    hyphens: auto;
}

button{
    background: none;
    color: inherit;
    border: none; 
    padding: 0; 
    font: inherit;
    cursor: pointer; 
    outline: inherit;
    text-align: left;
}


small{
    font-size: 70%;
}


footer{
    position: fixed !important;
    bottom:0;
    left:0;
    width: 100%;
    z-index: 5;
}
footer button{
    cursor: pointer;
}
#footerButtons{
    display: flex;
    /*    justify-content: space-between;*/
}

header{
    width: 100vw;
    font-size: 7.95vw;
    padding: 1.5vw 2vw 0 2vw;
    line-height: 0.9;
    flex: 1;
}

nav#topNav{
    padding: 0 2vw 1.5vw 2vw;
}
nav#topNav ul{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: clamp(6svh,7.95vw,120px);
    line-height: 0.9;
}
nav a{
    font-size: clamp(6svh,6vw,12svh) !important;
    /*    font-size: clamp(6svh,7.95vw,120px);*/
    line-height: 1;
}
nav li{
    list-style: none;
}


#content{
/*    padding: 0 2vw 15svh 2vw;*/
    padding: 0 2vw 7.5svh 2vw;
    position: relative;
    width: 100vw;
}


body main img {
    /*
    background: var(--eventClr);
    background: var(--color);
    */
    /* Only render when in viewport */
    content-visibility: auto;
}
body main img[alt], img[alt] {
    font-size: 10px;
}
.slider{
    z-index: 3;
    position: relative;
    top: 0;
    height: calc(50svh + 7vw);
    width: 100%;
    overflow: hidden;
}
.slider figure{
    width: fit-content;
    height: auto;
    position: relative;
    margin: 0 auto;
    background: transparent;
    overflow: hidden;
    cursor: zoom-in;
}
/*
.slider figure.maximize{
width: 100vw;
height: 100svh;
position: fixed;
padding: 2vw;
margin: 0 auto;
overflow: hidden;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 3;
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
align-items: center;
cursor: zoom-out;
}
.slider figure.maximize .image-container{
width: 100%;
height: 80svh;
position: relative;
margin: 0 auto;
overflow: hidden;
background-position: center;
background-size: contain;
background-repeat: no-repeat;
}
*/
.slider figure figcaption {
    font-size: calc(var(--font-size) - var(--ratio));
    color: rgba(160, 160, 160, 1);
    padding: 2svh;
    text-align: center;
    height: auto;
    max-height: 9svh;
    line-height: 1;
}
.slider figure .image-container{
    width: fit-content;
    height: 50svh;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.slider figure.hidden{
    opacity: 0;
    height: 0;
}
.slider figure img{
    height: 100%;
    width: 100%;
    /*    filter: blur(5px);*/
    object-fit: contain;
    transition: .5s all ease-in-out;
}
.slider figure img.loaded{
    visibility: visible;
    opacity: 1;
    filter: blur(0px);
}


.image-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.8);
    z-index: 10;
}
.image-dialog img {
    max-width: 90%;
    max-height: 80vh;
}
.image-dialog figure {
    margin: 0;
}
.slider dialog{
    opacity: 0;
    position: fixed;
    inset-block-start: 0px;
    inset-block-end: 0px;
    max-height: 100svh;
    user-select: text;
    visibility: visible;

    overflow: hidden;
    overflow-y: auto;

    padding: $padding-s;
    border: 0px solid transparent;
    background: transparent;
    color: var(--color);


    transition: all 0.7s ease-out;

    display: none;
}
.slider dialog::backdrop {
    filter: invert(0);
    opacity: .95 !important;
}
.slider dialog.isVisible{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-evenly;
}
.slider dialog figure{
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.slider dialog figure img{
    filter: blur(0px);
}

#imageDialog img{
    cursor: zoom-out;
}





.buttons{
    position: absolute;
    top: 50svh;
    transform: translateY(-100%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2vw;
}

.buttons .button{
    opacity: 0.5;
    transition: .5s all ease-in-out;
    cursor: pointer;
    width: 25%;
    font-size: calc(var(--font-size) - var(--ratio));
}
.button::selection {
    color: var(--color);
    background: var(--background);
}
.buttons .button.next{
    text-align: right;
}

.buttons .button:hover, .buttons .button:active{
    opacity: 1;
}

.main-content p a:hover{
    text-decoration: underline;
}

.desktop{
    display: block;
}

.mobile{
    display: none;
}





/*   @media (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {*/
@media only screen and (min-width: 780px) and (max-width: 1020px),
    only screen and (min-device-width: 780px) and (max-device-width: 1020px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait)
{  
    nav a{
        font-size: 7.95vw !important;
    }
    .upcoming{
        font-size: clamp(4svh,6.95vw,110px) !important;
    }
    .contactInfos{
        flex-direction: column;
    }
    .card .image-container,.card figure {
        height: 45svh !important;
    }
}
