@import url('https://fonts.googleapis.com/css2?family=Blinker:wght@100;200;300;400;600;700;800;900&family=Luckiest+Guy&display=swap');

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

body {
    font-family: 'Blinker', sans-serif;
    overflow-x: hidden;
    height: 100%;
    font-size: 1.5rem; /* Relative Einheit für bessere Skalierung */
    font-weight: 600;
}

/* Parallax-Bereiche */
.parallax {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.5; /* Startet unsichtbar */
    transition: opacity 1s ease; /* Sanfter Übergang */
}

/* Unterschiedliche Hintergründe für die Sektionen */
.parallax1 {
    background-image: url('https://s3-eu-central-1.amazonaws.com/www-staging.esports.com/WP%20Media%20Folder%20-%20esports-com//var/app/current/web/app/uploads/2021/06/Header-GTA-5-Rockstar-Games-min-1.jpg');
}

.parallax2 {
    background-image: url('https://letsplays.b-cdn.net/wp-content/uploads/2015/04/gtavreviewheader.jpg');
}

.parallax3 {
    background-image: url('https://i.wpimg.pl/1280x/filerepo.grupawp.pl/api/v1/display/embed/77e49b91-daf4-4805-a639-e07cb53165eb');
}

.parallax4 {
    background-image: url('https://rockstarintel.com/wp-content/uploads/2022/04/Pestcontrol-GTAV.webp');
}

/* Sichbare Parallax-Bereiche */
.parallax.visible {
    opacity: 1;
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transition: opacity 1s ease, transform 1s ease;
    position: relative;
    z-index: 1;
    background-color: rgb(0 0 0 / 85%); /* Leicht transparenter Hintergrund */
    padding: 20px; /* Padding hinzufügen für bessere Lesbarkeit */
    text-align: center;
}

/* Standard-Button-Stil */
button {
    padding: 1rem 2rem; /* Relative Einheiten */
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
	font-family: 'Blinker';
	font-weight: 600;
    transition: background-color 0.3s;
    margin: .5rem; /* Relative Einheiten */
}

button:hover {
    background-color: #0056b3;
}

p {
    width: 100%; /* Vollständig breiter Textblock */
    max-width: 800px; /* Maximale Breite für große Bildschirme */
    margin: 0 auto; /* Zentrieren */
    color: #fff;
	text-align: justify;
	text-shadow: 0px 0px 5px black
}

a {
    color: #fff;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.link1 {
	color: #32e1ff;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

a .link1:hover {
    color: #00b6d5;
	text-decoration: underline;
}

#xy {
	background-color: #00c52a;
    padding: 1.3rem;
    border-radius: 5px;
	transition: background-color 0.3s;
	font-size: .9rem;
}

#xy:hover {
	background-color: #007519;
}

/* Medienabfragen für verschiedene Bildschirmgrößen */
@media (max-width: 768px) {
    .section {
        padding: 10px; /* Weniger Padding für kleinere Bildschirme */
    }

    button {
        padding: 0.8rem 1.5rem;
    }

    a {
        padding: 0.4rem 0.8rem;
    }

    p {
        font-size: 0.9rem; /* Kleinere Schriftgröße */
    }
}

@media (max-width: 480px) {
    p {
        font-size: 0.8rem; /* Noch kleinere Schriftgröße */
    }

    button {
        padding: 0.6rem 1rem;
    }

    a {
        padding: 0.3rem 0.6rem;
    }
}