body {
    background-image: url('background.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom left;
    overflow: hidden;
    background-size: cover;
}

.right {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.left {
    position: absolute;
}

/* positionierung der Zeilen */
.separate {
    display: flex;
    flex-wrap: wrap;
}
.layer {
    position: sticky;
    width: 100%;
}


/* Macht, dass sich die Boxen nebeneinander anordnen */
.left > div > * {
    float: left;
}
.right > div > * {
    float: right;
    align-self: flex-end;
}

/* Schatten der Zellen */
.left .cell {
    box-shadow: inset 3px 3px 30px -7px rgba(0, 0, 0, 0.75), 3px 3px 10px -3px rgba(0, 0, 0, 0.4);
    margin: 5px;
}
.right .cell {
    box-shadow: inset -3px -3px 30px -7px rgba(0,0,0,0.75), -3px -3px 10px -3px rgba(0, 0, 0, 0.4);
    margin: 5px;
}

/* Zellenformatierung */
.background > * > * > *,
.background > * > * > * > * {
    width: 100px;
    height: 100px;
}

.background_img {
    object-fit: revert;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}


.cornershadow {
    z-index: -1;
    position: absolute;
    box-shadow: 0 0 10000px 400px rgba(0, 35, 60, 0.5)
}

.cornershadow.lt {
    left: 10px;
    top: 10px;
}
.cornershadow.rb {
    right: 10px;
    bottom: 10px;
}

.background .logoarea:hover {
    background: rgba(85, 85, 85, 0.9);
}

.background .cell4 {
    background: rgba(10, 27, 65, 0.95);
    transition: 1s;
}
.background .cell3 {
    background: rgba(9, 29, 59, 0.8);
}
.background .cell2 {
    background: rgba(16, 27, 54, 0.69);
}
.background .cell1 {
    background: rgba(11, 26, 49, 0.5);
}

/* Bildformatierung */
img.logo {
    padding: 10px;
    width: 80px;
    height: 80px;
    filter: grayscale(100%) brightness(50%);
    transition: 1s;
    box-sizing: initial;
}
img.logo:hover {
    filter: grayscale(1%) brightness(50%);
}

.logoarea > a {
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: 0.2s;
}
.logoarea > a:hover {
    color: rgba(19, 79, 133, 0.15);
    background: rgba(0, 142, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 143, 255, 0.15), 0 0 60px rgba(0, 141, 255, 0.15), 0 0 100px rgba(0, 143, 255, 0.15);
}
.logoarea > a > span {
    position: absolute;
    display: block;
}

.logoarea > a > span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2196f3);
}
.logoarea > a:hover > span:nth-child(1) {
    left: 100%;
    transition: 1s;
}
.logoarea > a > span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #2196f3);
}
.logoarea > a:hover span:nth-child(2) {
    top: 100%;
    transition: 1s;
    transition-delay: 0.25s;
}
.logoarea > a > span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #2196f3);
}
.logoarea > a:hover > span:nth-child(3) {
    right: 100%;
    transition: 1s;
    transition-delay: 0.5s;
}
.logoarea > a > span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #2196f3);
}
.logoarea > a:hover span:nth-child(4) {
    bottom: 100%;
    transition: 1s;
    transition-delay: 0.75s;
}

/*---------------------*/

.foreground {
    display: flex;
    justify-content: center;
    width: 0;
}

.foreground > div.display {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    background: #eeeeee;
    width: min-content;
    border-radius: 10px;
    transition: 0.5s;
    box-shadow: 0 0 30px 20px rgba(255,255,255,0.1), inset 0 0 26px 4px #AAAAAA;
}
.foreground > div.display:hover {
    border-radius: 30px;
    box-shadow: 0 0 200px 20px rgba(255,255,255,0.4);
}

.shop_box * {
    margin: 10px;
    font-family: Calibri, sans-serif;
    font-size: 18pt;
    transition: 0.5s;
}
.shop_box:hover > * {
    box-shadow: 0 0 20px 5px #BADAFF, inset 0 0 111px 5px #BADAFF;
}
.foreground .img_box {
    display: flex;
    flex-direction: column;
    float: left;
}
.img_box > * {
    align-self: center;
    line-height: 1rem;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.foreground .prev_img {
    width: 200px;
    height: 200px;
    box-shadow: 4px 4px 10px 1px rgba(0, 0, 0, 0.3);
}

/*Impressum*/
.imprint {
    font-family: Calibri, sans-serif;
    font-size: 10pt;
    line-height: 100px;
    text-align: center;
    color: rgb(57, 134, 253);
    text-decoration: none;
}
.imprint:hover {
    font-size: 15pt;
    color: rgb(180, 180, 180);
    transition: 1.5s;
    text-shadow: 3px 2px 3px rgba(255, 255, 255, 0.2);
}

.row > * {
    max-width: fit-content;
}

@media (min-width: 562px) {
    .foreground > div.display {
        width: max-content;
    }
}