* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

:root {
    --grey: rgb(245, 245, 245);
}

html {
    background-color: black;
    color: var(--grey);
    font-size: 1em;
    scroll-behavior: smooth;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

body,
.home {
    overflow: hidden;
}

#content {
    opacity:0;
    transition: opacity 2s ease;
    overflow-x:hidden;
}

#loading {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: warning 2s ease-out 0s infinite normal;
}

.menu {
    position: fixed;
    right: 0px;
    bottom: 5px;
    margin: 3%;
    z-index: 2;
}

.menu a {
    padding: 10px;
    color: var(--grey);
}

main {
    display: flex;
    flex-wrap: wrap;
    padding: 3%;
}

figure {
    width: 25%;
    width: calc(100%/16);
/*    width: calc(100%/8);*/
    height: auto;
    cursor: pointer;
    float: left;
    position: relative;
    transition: width 0.4s, position 0.4s ease;
}

figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gross {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-items: center;
    background-color: black;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    cursor:none;
}

.gross img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

figcaption {
    height: auto;
    width: auto;
    position: absolute;
    font-size: 1em;
    color: var(--grey);
    white-space: nowrap;
}

.eng {
    font-style: italic;
}

.num {
    margin-top: 20px;
}

footer {
    min-height: 100vh;
    width: 100%;
    color: black;
    background-color: var(--grey);
    font-size: 1em;
    position: absolute;
    z-index: 3;
}

footer a {
    color: black;
    text-decoration: underline;
}

#text {
    padding: 3%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto 1fr auto 1fr auto;
    gap: 20px 20px;
}

h1 {
    font-size: 2em;
    font-weight: 100;
}

h2 {
    font-size: 1em;
    font-weight: 100;
}

.impressum h2 {
    font-size: 1em;
    font-weight: 100;
    margin-bottom: 40px;
}

h3 {
    font-size: 1em;
    font-weight: 100;
    margin-bottom: 10px;
}

h4 {
    font-size: 1em;
    font-weight: 100;
    margin-bottom: 10px;
}

p {
    margin-bottom: 40px;
}

ul {
    list-style-position: outside;
    margin-left: 15px;
    margin-bottom: 20px;
}

.title {
    grid-column: 1 / span 1;
    grid-row: 1;
}

.beschreibungDE {
    grid-column: 1 / span 1;
    grid-row: 2;
}

.beschreibungEN {
    grid-column: 2 / span 1;
    grid-row: 2;
}

.website {
    grid-column: 4 / span 1;
    grid-row: 2;
}

.about {
    grid-column: 1 / span 1;
    grid-row: 3;
}

.infoDE {
    grid-column: 1 / span 1;
    grid-row: 4;
}

.infoEN {
    grid-column: 2 / span 1;
    grid-row: 4;
}

.impressumLink {
    grid-column: 4 / span 1;
    grid-row: 4;
}

.coolio {
    grid-column: 4 / span 1;
    grid-row: 5;
    align-self: flex-end;
}

.coolio a {
    text-decoration: none;
}

.start {
    grid-column: 4 / span 1;
    grid-row: 1;
    justify-self: end;
    align-self: center;
}

.start a {
    text-decoration: none;
    padding: 10px;
}

.impressum {
    background-color: var(--grey);
    color: black;
}

.impressum a {
    color: black;
    text-decoration: underline;
}

.back a {
    text-decoration: none;
}

.impressumGrid {
    width: 100%;
    display: grid;
    grid-template-columns: 10% 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px 20px;
}

.back {
    grid-column: 1 / span 1;
    grid-row: 1;
}

.impressumTitle {
    grid-column: 2 / span 1;
    grid-row: 1;
}

.links {
    grid-column: 2 / span 1;
    grid-row: 2;
}

.dsgvoTitle {
    grid-column: 3 / span 1;
    grid-row: 1;
}

.rechts {
    grid-column: 3 / span 1;
    grid-row: 2;
}

.break {
    overflow-wrap: break-word;
}

.warning {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    display:none;
}

.warning p {
    width: 200px;
}

@keyframes warning {
  10% {opacity: 1;}
  50% {opacity: 0.1;}
  90% {opacity: 1;}
}

@keyframes blink {
/*
  0% {opacity: 0;}
  100% {opacity: 1;}
*/
  0% {filter: brightness(0);}
  100% {filter: brightness(1);}
}

.blink {
    animation: blink 2s ease-out 0s 1 normal;
}




@media only screen and (max-width: 1366px) {

    header,
    .knochen,
    footer,
    #loading {
        display:none;
    }
    
    #content {
        opacity:1;
    }

.warning {
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: warning 5s ease-out 2s infinite normal;
}


}
