@import url('https://fonts.googleapis.com/css2?family=Edu+SA+Hand:wght@400..700&family=Galindo&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0e1014;
    
    color: #f5f5f5;
    font-family: sans-serif;
}

.main {
    position: relative;
    min-height: 100vh;
}

.main::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url(images/Steam_Background_Lowp.jpg) fixed;
    background-size: 100%;
    opacity: 10%;
    z-index: -1;
    pointer-events: none;
}

.logo-header {
    width: min(700px, 94%);
    margin: auto;
    padding: 20px;

    border-radius: 18px;
}

.logo-header img {
    max-width: 250px;
}

h1 {
    text-align: center;
    margin: auto;
    color: rgba(255,255,255,0.6);
}

.hero {
    text-align: center;
    padding: 80px 20px 60px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.8rem);
    margin-bottom: 12px;
}

.hero p {
    color: #9098a4;
}

.games {
    width: min(700px, 94%);
    margin: 0 auto 100px;
}

.game {
    margin-bottom: 72px;
}

.game-info {
    margin-bottom: 18px;
}

.game-info h2 {
    font-family: "Galindo", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.game-info p {
    font-family: "Edu SA Hand", sans-serif;
    color: #9ca3af;
    line-height: 1.5;
    max-width: 700px;
}

.capsule {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 920px;
    aspect-ratio: 920 / 430;

    border-radius: 18px;

    text-decoration: none;
    color: #bbb;
    font-size: 1.1rem;

    background:
        radial-gradient(circle at top right,
            rgba(255,255,255,.08),
            transparent 35%),
        linear-gradient(135deg,#262b38,#171a21);

    border: 1px solid rgba(0,0,0,1);

    transition: .25s ease;
}

.capsule:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(0,0,0,0.3);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    background-size: contain;
}

footer {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 11px;
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-button {
    display: inline-block;
    padding: 12px 32px;
    background: #ffd900;
    color: #333 !important;
    font-weight: bold;
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.1s, transform 0.1s;
}

.contact-button:hover {
    background: #f7eba9;
    box-shadow:rgba(26, 42, 182, 0.08);
    transform: scale(1.05);
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 28px;
}

.social-links a {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 1;
}

#imprint {
    margin: auto;
    width: 700px;
    text-align: center;
    margin-top: 200px;
    margin-bottom: 200px;
    line-height: 2;
}

#imprint .container {
    margin: 20px;
}

#imprint li {
    list-style: none;
}

footer a {
    color: rgba(255,255,255,0.2);
    text-decoration: none;
}

@media (max-width: 850px) {

    .capsule {
        width: 100%;
        height: auto;
    }

}


.game:nth-child(1) .capsule {
    background: url(images/Header_Smalltown.png) center/cover;
}

.game:nth-child(2) .capsule {
    background: url(images/Header_Alpenbahn.png) center/cover;
}

.game:nth-child(3) .capsule {
    background: url(images/Header_Coaster.png) center/cover;
}