/* Grundlegende Stile */
body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hintergrundstil */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    background-image: url('2022-10-14_17.46.28.png'); /* Ersetze 'dein-bild.jpg' durch den Pfad zu deinem Bild */
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 0.1s ease-out;
}

/* Inhaltstil */
.content {
    position: relative;
    color: white;
    text-align: center;
    top: 45%;
    transform: translateY(-45%);
    z-index: 1;
}

button{
    position: relative;
    top: -70px;  
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    border: 2px solid rgb(255, 255, 255);
    color: white;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.377);
    transition: all .2s ease-in-out;
}

button:hover{
    cursor: pointer;
    background-color: transparent;
}

h2{
    position: relative;
    top: -70px;
    font-size: 25px;
    font-weight: 200;
}

h1:hover{
    cursor: default;
}

h2:hover{
    cursor: default;
}

h1 {
    font-size: 100px;
    font-weight: 900;
}

.shimmer {
    text-align: center;
    color: rgba(255, 255, 255, 0.455);
    background: -webkit-gradient(linear, left top, right top, from(#ffffff), to(#ffffff), color-stop(0.5, #ff0000));
    -webkit-background-size: 125px 100%;
    -webkit-background-clip: text;
    -webkit-animation-name: shimmer;
    -webkit-animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-color: #ffffff;
}

@-moz-keyframes shimmer {
    0% {
            background-position: top left;
    }
    100% {
            background-position: top right;
    }
}

@-webkit-keyframes shimmer {
    0% {
            background-position: top left;
    }
    100% {
            background-position: top right;
    }
}

@-o-keyframes shimmer {
    0% {
            background-position: top left;
    }
    100% {
            background-position: top right;
    }
}

@keyframes shimmer {
    0% {
            background-position: top left;
    }
    100% {
            background-position: top right;
    }
}

@media only screen and (max-width: 768px) {
    body, html {
        overflow: auto; /* Scrollen erlauben auf kleineren Geräten */
    }

    .background {
        width: 100%;
        height: 100%;
        background-size: cover;
    }

    .content {
        top: 50%;
        transform: translateY(-50%);
        padding: 0 10px;
    }

    h1 {
        font-size: 60px; /* kleiner für Handy */
    }

    h2 {
        font-size: 18px;
        top: -40px;
    }

    button {
        top: -40px;
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 16px;
    }
}