/* 
    CSS RESET
 */

* {
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
    font-weight: normal;
    font-size: 100%;
}

ul,
ol {
    list-style: none;
}

img,
video {
    width: 100%;
}

a {
    color:black;
    text-decoration: none;
}

@font-face {
    font-family: "Office";
    src: 
        url(../fonts/OfficeCodePro-LightItalic.otf)
        
    }


/* 
    STYLING 
*/

:root {
    font-size: 16px;
}

body {
    background-color: rgb(6, 19, 22);
    padding: 24px;
}

main {
  height: auto;
  width: 100%;
}

div {
    display: flex;
    justify-content: center;
    position: fixed;
    width: 35%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    mix-blend-mode: difference;
    
  }

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    width: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    mix-blend-mode: difference;
}


.korn {
    width: 100%;
    mix-blend-mode: difference;
   
    
}

img {
    mix-blend-mode: difference;
}

ol {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
    position: absolute;
    width: calc(100% - 48px);
    top: 24px;
    left: 24px;
    
}

.special-korn {
    animation: rotate-animation 13s infinite linear;
    position: relative;
    width: 100%;
    mix-blend-mode: difference;
}

.gezählt {
    width: calc(100% / 16);
}

.special-gezählt {
    width: calc(100% / 16);
    
    position: relative;
    mix-blend-mode: difference;
}

.special-gezählt img {
    /* animation: rotate-animation 13s infinite linear; */
    mix-blend-mode: difference;
}

@keyframes rotate-animation {
	0% {
		transform: rotate(0deg);
  }
  50% {
		transform: rotate(180deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* .gezählt img:hover {
    transform: rotate(23deg);
} */


h2, p {
    color: white;
    font-family: "Office";
    font-size: 1.25rem;
}


@media only screen and (max-width: 900px) {
    .gezählt {
        width: calc(100% / 12);
    }
    
    .special-gezählt {
        width: calc(100% / 12);
        
        position: relative;
        mix-blend-mode: difference;}

    div {
        display: flex;
        justify-content: center;
        position: fixed;
        width: 50%;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%); 
        mix-blend-mode: difference;}
}

@media only screen and (max-width: 500px) {
    .gezählt {
        width: calc(100% / 8);
    }
    
    .special-gezählt {
        width: calc(100% / 8);
        
        position: relative;
        mix-blend-mode: difference;}

    div {
        display: flex;
        justify-content: center;
        position: fixed;
        width: 70%;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%); 
        mix-blend-mode: difference;}
}


@media only screen and (min-width: 1500px) {
    .gezählt {
        width: calc(100% / 18);
    }
    
    .special-gezählt {
        width: calc(100% / 18);
        
        position: relative;
        mix-blend-mode: difference;}

    div {
        display: flex;
        justify-content: center;
        position: fixed;
        width: 40%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); 
        mix-blend-mode: difference;}
}