@font-face {
    font-family: 'PixelFont';
    src: url('../fonts/Audiowide-Regular.ttf') format('truetype');
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

button {
    font-family: 'PixelFont', Arial, sans-serif;
    font-size: 17px;
    padding: 10px 20px;
    color: white;
    background-color: #ff4e50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    z-index: 10;
}

.reload{
    z-index: -10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body{
    font-family: 'PixelFont', Arial, sans-serif;
    font-size: 17px;
    margin: 20px;
    text-align: center;
    background: linear-gradient(270deg, #1e3c72, #ff4e50, #1e3c72);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    margin: 0;
}

.game{
    background: local;
}

.klein {
    font-size: 15px;
}

.link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    
}
.link:hover {
    color: rgba(255, 255, 255, 0.582);
}



.background{
    background-image: url('../Assets/BG Ice.png'); /* Bild des Hintergrunds */
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    position: relative; /*widhtig für bewegten Hintergrund*/
    right: 0px;         /*widhtig für bewegten Hintergrund*/
}

.character {
  /* border: 1px  solid black; STRG + # */
  position: absolute;
  bottom: 125px;
  left: 0px;
  height: 185px;
  width: 185px;
  object-fit: cover;
  object-position: -40px;
  z-index: 1;

}

.klick {
    position: absolute; /* wichtig für z-index */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    background-size: cover;
    background-position: center;
}