/* Reset für body */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

/* Hintergrund für die Hauptseite */
.home-bg {
    position: relative;
    min-height: 100vh;
    background-image: url('https://absolute-sweatlords.neocities.org/AS_Background.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: white;
    padding-top: 0;
}

/* Content-Bereich */
.content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px 20px 20px 20px;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin-top: 7cm;
    padding-top: 130px;
}

/* Kategorien Container */
.category-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;   /* <-- Nach links ausgerichtet */
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    transform: translateX(-19px); /* <-- ca. 3mm weiter links */
}

/* Einzelne Kategorie-Kachel */
.category {
    background-color: transparent;
    border: 2px solid #2e2e2e;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    margin: 20px 0;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s ease;
    cursor: pointer;
    color: white;
}

.category:hover {
    transform: scale(1.02);
}

.category p {
    font-size: 18px;
    margin: 5px 0 0 0;
}

/* Kategorie-Link */
.category-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
}

.category-link:hover {
    color: #1E90FF;                                                                              
    transform: scale(1.1);
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .home-bg {
        background-size: cover;
        background-position: top center;
        padding-top: 0;
        background-color: black;  /* Setze den Hintergrund auf schwarz */
    }

    .content {
        padding: 20px;
        margin-top: 3cm;
        padding-top: 60px;
    }

    .category-container {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        transform: none; /* auf Mobilgeräten nicht verschieben */
    }

    .category {
        width: 100%;
        max-width: 350px;
        margin: 10px auto;
        font-size: 20px;
    }

    .category p {
        font-size: 14px;
    }
}

/* Flexbox für die Setups auf Track Setups Seite */
.setup-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: left;
    position: relative;
    left: -4cm;
}

/* Überschrift Track Setups */
.setup-container h1 {
    text-align: left;
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Styling für jedes Setup */
.setup {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    max-width: 250px;
    min-width: 200px;
    text-align: center;
}

/* Styling für Download-Link */
.download-link {
    display: inline-block;
    background-color: #ff6347;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    margin-top: 10px;
}

.download-link:hover {
    background-color: #e53e2e;
}

/* Sidebar für Video-Thumbnails */
.sidebar {
    width: 25%;
    position: fixed;
    top: 0;
    right: 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    height: 100vh;
    overflow-y: auto;
}

/* Die Thumbnails der Videos */
.video-thumbnail {
    width: 100%;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.1);
}

/* Überschrift der Sidebar */
.sidebar h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

/* Paragraph unter den Thumbnails */
.sidebar p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

