@font-face {
    font-family: 'CMMCoda-MonoSans';
    src: url('../seite2fonts/CMMCoda-MonoSans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    background-color: #ffffff;
    font-family: 'CMMCoda-MonoSans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: black;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.slot-machine {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px;
    width: 1200px;
    height: max-content;
    position: relative;
}

.slot-machine::before {
    left: 0px;
}

.slot-machine::after {
    right: 0px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: absolute;
    left: 50wh;
    
}


.column {
    width: 550px;
    height: 1000px;
    overflow: hidden;
    position: relative;
    background-color: white;
    border: solid #000;
    border-width: 0.2ch;
    border-style:solid;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    padding: 10px;
}

.column p {
    color: black;
    font-family: 'CMMCoda-MonoSans', sans-serif;
    font-size: 18px;
    margin: 30px 0;
    text-align: center;
    opacity: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
    background-color: transparent;
    border-bottom: 2px solid black;  /* Horizontale Trennlinie */
    width: auto;
    max-width: 90%;
    word-wrap: break-word;
    white-space: normal;
    animation: rollAnimation 1s ease-in-out 1;
    display: block;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.column .author {
    font-family: 'CMMCoda-MonoSans', sans-serif;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    position: relative;
    letter-spacing: 6px;
    margin-top: 30px;
    margin-bottom: 40px;
    z-index: 0,5;
    animation: hfbkGlitch 1.3s infinite steps(2, end), flicker 0.2s infinite alternate;
    list-style-type: none;
}

/* Glitch-Effekt */
@keyframes hfbkGlitch {
    0% {
        text-shadow: -3px 0px 0px #fff, 3px 0px 0px #000;
        transform: skewX(-10deg) translateX(-2px);
    }
    20% {
        text-shadow: 2px -2px 0px #fff, -2px 2px 0px #000;
        transform: skewX(5deg) translateX(1px);
    }
    40% {
        text-shadow: -2px 2px 0px #fff, 2px -2px 0px #000;
        transform: skewX(-5deg) translateX(-1px);
    }
    60% {
        text-shadow: 3px -3px 0px #fff, -3px 3px 0px #000;
        transform: skewX(10deg) translateX(2px);
    }
    80% {
        text-shadow: -4px 4px 0px #fff, 4px -4px 0px #000;
        transform: skewX(-7deg) translateX(-2px);
    }
    100% {
        text-shadow: 3px 0px 0px #fff, -3px 0px 0px #000;
        transform: skewX(5deg) translateX(1px);
    }
}

/* Flicker-Effekt */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}



/* Animation für Zitate */
@keyframes rollAnimation {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    20% {
        transform: translateY(10%);
        opacity: 0.5;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    80% {
        transform: translateY(-10%);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.fixed {
    font-weight: bold;
    color: black;
    text-decoration: none;
    opacity: 1;
    animation: none;
}

.column p {
    margin: 0 10px;
    animation: none;
    opacity: 1;
}


button {
    width: 15vw;
    height: 15vw;
    max-width: 150px;
    max-height: 150px;
    min-width: 80px;
    min-height: 80px;
    background-color: white;
    border: 1px solid black;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 0 1px black;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  
    position: fixed;
    right: 8vw;
    top: 50hw;
  }
  
  @media (max-width: 600px) {
    button {
      right: 50%;
      transform: translateX(50%);
    }
  }
  

/* Hover-Effekte */
button:hover {
    background-color: #73ff00;
    color: white;
    border-color: #000000;
    box-shadow: 0 0 10px #39ff14;
    transform: scale(1.05);
}

/* Active-Effekte */
button:active {
    transform: translateY(3px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Responsivität */
@media (max-width: 768px) {
    button {
        width: 120px;
        height: 120px;
        top: 250px; /* Button etwas höher auf kleineren Bildschirmen */
    }
}

@media (max-width: 480px) {
    button {
        width: 100px;
        height: 100px;
        top: 200px; /* Button weiter nach oben verschieben */
    }
}


#backButton {
    width: 100px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    font-size: 20px;
    font-weight: bold;
    font-family: 'YourFont', sans-serif; /* Setzt deine Schriftart */
    text-align: center;
    line-height: 50px;
    border: 2px solid black;
    border-radius: 0; /* Setzt die Ecken auf eckig */
    outline: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Responsivität */
@media (max-width: 768px) {
    #backButton {
        width: 80px;
        height: 40px;
        font-size: 16px;
        line-height: 40px;
    }
}

@media (max-width: 480px) {
    #backButton {
        width: 60px;
        height: 30px;
        font-size: 14px;
        line-height: 30px;
    }
}

#backButton:hover {
    background-color: #000000;
    color: white;
    border-color: #000000;
    box-shadow: 0 0 10px #39ff14;
}


.highlighted {
    position: relative;
    font-weight: bold;
    letter-spacing: 0.05em; /* Leichter Abstand zwischen den Buchstaben */
    animation: blink 0.8s infinite alternate; /* Blinkeffect */
}

.highlighted {
    position: relative;
    font-weight: bold;
    letter-spacing: 0.05em; /* Leichter Abstand zwischen den Buchstaben */
    animation: blink 0.8s infinite alternate; /* Blinkeffekt */
    display: inline-block;
    padding: 5px 10px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.highlighted:hover {
    color: transparent; /* Text verschwindet */
    text-shadow: none; /* Kein Schatten mehr */
    background-color: black; /* Schwarzes Quadrat bleibt sichtbar */
}