/* ---------- Global Settings ---------- */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(90deg,#2b1d31, #1b121d);
    color: white;
}

/* ---------- Sidebar ---------- */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background-color: rgba(49, 49, 49, 0.8);
    text-align: center;
    padding-top: 20px;
    transition: all 0.3s ease;
}

.logo {
    width: 60px;
    height: 60px;
}

.head {
    font-size: 160%;
    font-weight: bold;
    background: linear-gradient(90deg, #3fdadd, #176ece, #ae17ce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Navigation ---------- */
.nav {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 25px;
}

.nav_link {
    color: aliceblue;
    text-decoration: none;
    font-size: 16px;
    margin: 8px 0;
    transition: all 0.2s ease;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
}

.nav_link:hover {
    opacity: 0.7;
    transform: translateX(5px);
}

.nav_link_small {
    color: rgb(200, 200, 200);
    font-size: 13px;
    text-decoration: none;
    margin: 5px 0;
}

.nav_link_small:hover {
    opacity: 0.7;
}

/* ---------- Social Icons ---------- */
.socials img {
    width: 30px;
    margin: 0 8px;
    transition: transform 0.2s ease;
}

.socials img:hover {
    transform: scale(1.15);
}

.nav_bottom {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.nav_hr {
    width: 80%;
    border: none;
    height: 1px;
    background: #555;
    margin: 14px auto;
}

/* ---------- Main Content ---------- */
.main {
    margin-left: 260px;
    padding: 30px;
}

.title {
    font-size: 60px;
    animation: fadeIn 1s ease, moveDown 0.6s ease-out;
    text-align: center;
    color: rgb(238, 224, 255);
}

.title_line {
    width: 280px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    animation: fadeIn 1.2s ease;
    margin: 0 auto 30px;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes moveDown {
    from { transform: translateY(-10px); }
    to { transform: translateY(0); }
}

/* ---------- games Card ---------- */
.games,
.games_ {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    align-items: center;
    animation: fadeIn 0.8s ease;
}

/* Normal: Bild links, Text rechts */
.games {
    flex-direction: row;
}

/* Invertiert: Bild rechts, Text links */
.games_ {
    flex-direction: row-reverse;
}

.games_image {
    width: 45%;
    border-radius: 10px;
    transition: transform 0.5s ease, opacity 0.6s ease; /* für Slideshow-Fade */
    opacity: 1;
}

.games_image:hover {
    transform: scale(1.02);
}

.games_info {
    width: 50%;
}

.games_title {
    font-size: 37px;
    font-family: "Press Start 2P", system-ui;
}

.games_date {
    font-style: italic;
    color: rgb(180, 180, 180);
}

.games_text {
    line-height: 24px;
    font-size: 18px;
}

.games_space_line {
    width: 80%;
    height: 1px;
    background: gray;
    border: none;
    margin: 40px auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 850px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding-bottom: 15px;
    }

    .main {
        margin-left: 0;
        padding-top: 20px;
    }

    .games,
    .games_ {
        flex-direction: column; /* beide Varianten auf Mobile untereinander */
    }

    .games_image {
        width: 90%;
    }

    .games_info {
        width: 90%;
        text-align: center;
    }

    .nav_bottom {
        display: none;
    }

    .nav_hr {
        display: none;
    }
}

@media (min-width: 851px) {
    .nav_bottom_ {
        display: none;
    }
}

.footer {
    width: 100%;
    text-align: center;
    color: #ddd;
    padding: 20px 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 11px;
    opacity: 0.8;
    margin-top: 50px;
}
