
@property --addwidth {
    syntax: "<length>";
    initial-value: 0;
    inherits: false;  
}

@font-face {
    font-family: "qubiko";
    src: url("fonts/qubiko.otf") format("opentype");
}

@font-face {
    font-family: "shineseiya";
    src: url("fonts/shineseiya.otf") format("opentype");
}

* {
    margin:0;
    border: 0;
    padding: 0;
    
    box-sizing: border-box;
    
    scrollbar-width: none;
}

p {
    font-family: arial;
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}

a {
    font-size: 50px;
    font-family: shineseiya;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 200;
    
    color: deepskyblue;
}

/*********************************************************************/

time {
    font-size: 16px;
    font-family: courier new;
    margin-left: auto;
    margin-right: auto;
}

.gallerytitle {
    display: block;
    margin-top: 40px;
    font-size: 50px;
    font-family: shineseiya;
    width: 600px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.gallerydisplay1 {
    display: grid;
    width: 1920px;
    justify-content: center;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.gallerydisplay1 img {
    width: 1700px;
    margin-top: 20px;
    margin-bottom: 50px;
}


.gallerydisplay2 img {
    width: 620px;
}

.gallerytext {
    font-family: arial;
    font-size: 20px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 120px;
}

.gallerytext a {
    font-family: arial;
    font-size: 20px;
    letter-spacing: 0;
}




/*********************************************************************/

body {
    background-color: black;
    
    color: white;
}

#top {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-family: qubiko;
    color: white;
    text-align: center;
    font-size: 120px;
}

.z {
    font-size: 160px;
    color: #0098ff;
}

.viewentiregallery {
    margin-top: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    text-align: center;
    font-family: shineseiya;
}

#bottom {
    margin-top: 30px;
    margin-bottom: 30px;
}

#middle {
    display: flex;
    overflow: hidden;
    
    width: 100%;
    
    position: relative;
    justify-content: center;
    
    
    /*cursor: pointer;*/
    font-size: 0;
}

.movingboxes {
    display: flex;
    
    width: max-content;
    --addwidth: 0px;
    
    animation: animation 120s linear infinite;
    transition: --addwidth 0.2s;
}

.movingboxes span:hover {
    width: 660px;
    --addwidth: -180px;
}

.movingboxes span {
    display: flex;
    overflow: hidden;
    
    margin-left: -30px;
    margin-right: -30px;
    
    width: 480px;
    height: 680px;
    
    justify-content: center;
    
    clip-path: polygon(60px 0%, 100% 0%, calc(100% - 60px) 100%, 0% 100%);
    transition: width 0.6s;
}

/*********************************************************************/
/*


falls ich mal was hier reinschieben muss LOL



*/
/*********************************************************************/

@keyframes animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-3360px + var(--addwidth))); /*1920 - (4* -60margin)*/
    }
}


@media screen and (max-width: 400px) {
    body {
        background-color: black;
    }
    .movingboxes span {
    height: 580px;
    }
    a {
        font-size: 14px;
    }
}