/*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;
    width: 100vw;

}

p{
    font-family: redaction;
    font-size: 1em;
    color: firebrick;
    text-align: justify;
}

a{
    color: firebrick;
}

q{
    font-style: italic;
}

a:hover{
    color: steelblue;
}

h1{
    font-family: redactionI;
    font-size: 2em;
    font-weight: normal;
    color: firebrick;
    text-shadow: 0.25em 0.25em yellow, 0 0 1em black;
    text-align: center;
    position: sticky;
    top: 180px;
    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%;
    aspect-ratio: 16/9;
}





/*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: 100vw;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: 50vw 50vw;
    justify-items: center;
  
    border: 2px red solid;
}

#previews.side{
    display: none;
}

.preview{
    width: 60%;
    height: 260px;
    margin: 10px;
}

.previewtitle{
    font-size: 1em;
    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;
    top:140px;
    height: 300px;
    overflow-y: hidden;
}

#lariogifje{
    position: relative;
    float: right;
    margin: 1em;
    max-width: 150px;
    height: auto;
}

#backtooverview{
    position: absolute;
    z-index: 3;
    height: 1.3em;
    font-size: 0.75em;
    margin-left: 2em;
    box-shadow: 1vw 1vw 1vw rgba(0, 0, 0, 0.75);
    display: none;
}





/*ITEM WINDOWS*/

.itemwindow{
    top: 50px;
    margin: 2em;
    width: calc(100vw - 6em);
    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: flex;
    flex-direction: column;
    gap: 0.5em;
}

.itemlayout img{
    width:100%;
    height: 100%;
}

