/*GENERAL*/

@font-face {
    font-family: "redactionI";
    src: url('../fonts/Redaction35Italic.otf');
}

@font-face {
    font-family: "redaction";
    src: url('../fonts/Redaction35.otf');
}

body{
    background: url('238.gif');
    overflow-y: visible;
}

#container{
    overflow-y: visible;
    overflow-x: hidden;
}

p{
    font-family: redaction;
    font-size: 1.25em;
    color: firebrick;
    text-align: justify;
}

a{
    color: firebrick;
}

q{
    font-style: italic;
}

a:hover{
    color: steelblue;
}

h1{
    font-family: redactionI;
    font-size: 5em;
    font-weight: normal;
    color: firebrick;
    text-shadow: 0.25em 0.25em yellow, 0 0 1em black;
    text-align: center;
    position: sticky;
    top: 0;
    margin: 0.25em 0 0.5em 0;
    z-index: 2;
}

h3, h4{
    font-family: redactionI;
    font-size: 1.5em;
    font-weight: normal;
    color: firebrick;
    letter-spacing: 3px;
    text-shadow: 0.1em 0.1em steelblue;
    margin: 0;
}

h4{
    font-size: 2.5em;
}

img{
    max-width: 100%;
}

iframe{
    width: 100%;
    height: 100%;
}





/*TOGGLE MENU*/

#topmenu{
    position: sticky;
    width: 1200px;
    margin: 0 auto;
    top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 1em;
    z-index: 2;
}

#topmenu.side{
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
}

.tab{
    padding: 0.5em;
    height: auto;
    box-shadow: 0 0 3em black;
    width: calc(100% - 10px);
    margin: auto;
    text-wrap: nowrap;
}

.tab h3{
    text-align: center;
}

.tab:hover{
    filter: brightness(70%);
}





/*PREVIEW MENU*/

#previews{
    width: 1250px;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
    padding: 0 1em 1em 1em;
}

#previews.side{
    position: absolute;
    right: 0;
    top: 143px;
    width: 300px;
    height: 700px;
    overflow-y: scroll;
    grid-template-columns: 1fr;
    padding: 2.5em 1em 0 1em;
}

.preview{
    width: 220px;
    height: 260px;
    margin: 1em;
}

.previewtitle{
    font-size: 1.3em;
    text-transform: uppercase;
    text-align: center;
    margin: 0.25em;
}

.previewtext{
    margin: 0.25em;
    text-align: center;
}

.active{
    filter: brightness(70%);
}





/*CONTENT*/

.paragraph, .preview, .tab{
    background: url('../global/paper.png');
}

.paragraph{
    position: relative;
    height: auto;
    box-shadow: 1vw 1vw 1vw black;
    padding: 1em;
}

#intro{
    margin: 3em 2em;
}

#lariogifje{
    position: relative;
    float: right;
    margin: 1em;
    max-width: 230px;
    height: auto;
}

#backtooverview{
    position: absolute;
    z-index: 3;
    height: 1.5em;
    margin-top: -10px;
    box-shadow: 1vw 1vw 1vw rgba(0, 0, 0, 0.75);
    display: none;
}





/*ITEM WINDOWS*/

.itemwindow{
    top: 50px;
    margin: 2em;
    width: 900px;
    height: 625px;
    overflow-y: scroll;
    overflow-x: hidden;
    display: none;
}

.itemwindow.show {
    display: block;
}

.iteminfo{
    font-size: 1.5em;
    margin: 0.25em 0;
}

.itemlayout{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    gap: 0.5em;
}

.itemlayout img{
    width:100%;
    height: 100%;
}

.layout-2x3{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

.width-2{
    grid-template-columns: 1fr 1fr;
}

.width-3{
    grid-template-columns: 1fr 1fr 1fr;
}

.width-4{
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.width-5{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.height-1{
    grid-template-rows: 1fr;
}

.height-2{
    grid-template-rows: 1fr 1fr;
}

.height-3{
    grid-template-rows: 1fr 1fr 1fr;
}

.height-4{
    grid-template-rows: 1fr 1fr 1fr 1fr;
}
