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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 20px;
}

a {
    color: #222;
}

/* Background Image Setup */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(8px);
    transform: scale(1.1);
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

nav {
    max-width: 800px;
    margin: 0 auto 10px auto;
    text-align: center;
}

.home-link {
    text-decoration: none;
    color: #ffffff;
    opacity: 0.6;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.home-link:hover {
    color: #03C03C;
    opacity: 1;
}

/* Container */
.container {
    width: 100%;              /* Fill available space up to the max */
    max-width: 1200px;         /* Prevents the layout from stretching too wide */
    margin: 30px auto;        /* Centers the container horizontally */
    background: rgba(255, 255, 255, .0);;

    display: flex;
    justify-content: center;  /* Centers .split inside the container */
    align-items: center;
}

/* LEFT SIDE (The Image) */
.art {
    width: 50%;
    max-width: 400px;      /* Stops the image from growing too large */
    display: flex;           /* Centers the image if it ever shrinks below 50% */
    justify-content: center;
}

.art img {
    width: 100%;
    display: block;        /* Removes inline spacing quirks */
}

/* RIGHT SIDE (The Wrapper) */
.content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
    background: rgba(255, 255, 255, .7);
    border-radius:20px;
    padding:10px;
}

.content-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, .9);
    border-radius:100px;
    max-width:800px;
}

/* TOP RIGHT (The Text) */
.info h1 {
    margin: 0;
    font-size: 2.4rem;
    color: #222;
    font-family: "Georgia", serif;
}

.info p {
    margin: 5px 0 0 0;
    font-size: 1rem;
    color: #666;
}

.title h1{
    margin: 0;
    font-size: 3rem;
    color: #222;
}

.title h2 {
    margin-top:-15px;
}

.split {
    display: flex;
    width: 100%;
    gap:20px;
}

/* Player - now reliably centered */
.player {
    display: flex;
    justify-content: center;
    width: 100%;
}

.player iframe {
    width:80%;
    border-radius:20px;
}

.links {
    margin-top:5px;
    justify-content:center;
    align-items:center;
}

.links img {
    max-width:40px;
    margin:0px 15px 0px 15px;

}

footer {
    justify-content: center;
    display:flex;
}


/* RESPONSIVE DESIGN - Stacks everything on mobile */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        border:none;
        margin-top:-35px;
    }

    .split {
        flex-direction: column;
        gap:10px;
        text-align: center;
    }

    .art {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .content-right {
        width: 100%;
        height: 100%;
    }

    .content-top {
        margin-top:10px;
    }

    .player iframe {
        width: 100%;
        margin:5px;
        border-radius:20px;
    }
}
