@font-face {
    font-family: 'skulking';
    src: url('./items/Skulking-Regular.woff'), format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'altehaas';
    src: url('./items/VG5000-Regular_web.ttf'), format('ttf');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 16px;
}

@media (max-width: 900px) {  
    html {    
        font-size: 14.4px;
    }
}

@media (max-width: 1550px) {  
    html {    
        font-size: 15.2px;
    }
}

body {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    width: 100vw;
    height: fit-content;
    background-color:rgb(255, 208, 0);
}

#headertop {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    margin: calc(1rem + 2%) 4.25%;
    width: calc(87.25% - 1.75rem);
    padding: 0;
    box-sizing: border-box;
    z-index: 1;
    height: fit-content;
}

#about{
    margin: 0;
    font-size: 1.5rem;
}

.hoofdtitel {    
    margin: 0;
    width: 100%;
    padding: 0;
    text-align: left;
    font-size: 1.75rem;
    color: black;
    box-sizing: border-box;
    font-weight: bold;
    display: block;
}

.type {
    display: block;
    margin: -1px 0 0 0;
    line-height: 1.35;
}

#header {
    position: fixed;
    z-index: 2;
    right: 0;
    top: 0%;
    margin: 0;
    padding: 3.25% 4.25%;
    box-sizing: border-box;
    width: 15%;
    height: 100vh;
    border-left: 1px solid black;
    display: none;
}

#flexcontainer {
    display: flex;
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    padding-top: 5%;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    margin: 0;
}

a {
    color: black;
    text-decoration: none;
}

.flexitem {
    position: fixed;
    margin: auto;
    padding: 16.5vh 5%;
    display: flex;
    flex-flow: row wrap;
    height: 100vh;
    width: 100%;
    left: 0;
    top: 0;
    border: 0px solid black;
    box-sizing: border-box;
}

.ratioflex {
    top: 1px;
}

.centering{
    display: flex;
    flex-flow: column nowrap;
    height: fit-content;
    width: min-content;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.images {
    margin: 0;
    margin-bottom: 8px;
    padding: 0;
    height: calc(67vh - 1px);
    width: fit-content;
    max-width: 100%;
    display: block;
    /* display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start; */
    box-sizing: border-box;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: 1rem;
    scroll-behavior: smooth;
}

img{
    display: block;
    height: calc(67vh + 1px);
    width: auto;
    max-width: 90vw;    
    margin: -1px auto 3px;
    border: 1px solid black;    
    object-fit: contain;
    box-sizing: border-box;
}

video{
    display: block;
    height: auto;
    width: auto;
    max-width: 90vw;    
    margin: -1px auto 3px;
    border: 1px solid black;    
    object-fit: contain;
    box-sizing: border-box;
}

.shorts{
    background-color:black;

}

.zoomSize {
    width: calc(33.333% - 2px);
}

.skulking{
    font-family: "skulking";
    font-size: 2rem;
}

.descriptions {
    text-align: left;
    width: 100%;
    height: fit-content;
    max-height: 16.5vh;
    line-height: 1.35rem;
    display: block;
    margin: 0;
    padding-top: 3px;
    box-sizing: border-box;
    justify-content: flex-start;
    overflow-y: scroll;
}

.single, .duo {
    width: calc(50% - 2px);
}

.singlehorizon {
    width: calc(100% - 2px);
}

.single {
    margin-top: 0;
    margin-bottom: 0;
}

.title {
    font-size: 1rem;
    height: fit-content;
    position: relative;
    margin: 0;
    width: 100%;;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.kop {
    font-weight: bold;
    font-style: normal;
    font-size: 1.5rem;
}

.hidden {
    display: none;
}

.show {
    display: block;
}

#kruisje {
    width: 1.75rem;
    height: 1.75rem;
    position: fixed;
    cursor: grab;
    right: 0;
    top: 0;
    display: block;    
    z-index: 20;
    margin: calc(1rem + 2% + 2px) 4.25%;
    box-sizing: border-box;
    border-width: 0px;
}

#overkruisje:hover, #overkruisje2:hover, #kruisje:hover {
    cursor: grab;
    transform: scale(0.75)

}

.leftalign{
    justify-content: flex-start;
}

.opague {
    opacity: 0.0;
}

.noborder {
    border-width: 0px;
}

.notopborder {
    border-top-width: 0px;
}

.last {
    margin: -1px auto -3px;
    border-bottom: 0px solid black;
}

.addToBiggerImg {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.beschrijving {
    padding: 0;
    width: 100%;
    height: 100%;
    white-space: normal;
    display: block;
    margin: 0;
    top: 0;
    text-align: left;
    position: relative;
}


/* screenwidths */
@media (max-width: 450px) {  
    .flexitem {
        top: calc(4rem + 1px);
        height: calc(100vh - 4rem - 1px);
        margin: 0;
        padding: 32px;
    }

    #headertop {
        margin: 32px;
        width: calc(91.5vw - 64px - 1.75rem);
    }

    #kruisje {
        margin: 35px 32px;
    }

    .descriptions {
        max-height: 25vh;
    }

    .descriptions.portrait {
        max-height: 16.5vh;
    }
}


@media (orientation: portrait) {
    img {
        max-width: unset;
    }

    .addToPortrait {
        width: calc(85vw - 64px);
    }
  }


@media (min-width: 760px) and (orientation: portrait) {  
    .addToPortrait {
        width: calc(65vw - 64px)
    }
}

@media (max-height: 500px) and (orientation: landscape) {  
    img {
        height: 50vh;
    }

    .addToBiggerImg {
        height: auto;
    }

    .images {
        height: 50vh;
    }

    .centering {
        margin-top: 8.25vh;
    }
}
