﻿/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap'); /* Importing a similar bold font */

:root {
    --color-primary: rgba(76, 161, 175, .8);
    --color-primary-hover: rgba(76, 161, 175, 1);
    --color-background: #272e3d;
    --color-text: #f5f5f5;
}

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

.background1 {
    background-image: url('/image_proxy.php?image=background1');
}

.background2 {
    background-image: url('/image_proxy.php?image=background2');
}

.background3 {
    background-image: url('/image_proxy.php?image=background3');
}

.background4 {
    background-image: url('/image_proxy.php?image=background4');
}

.background5 {
    background-image: url('/image_proxy.php?image=background5');
}

.background6 {
    background-image: url('/image_proxy.php?image=background6');
}

.background7 {
    background-image: url('/image_proxy.php?image=background7');
}

.background8 {
    background-image: url('/image_proxy.php?image=background8');
}

body {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; /* Ensure the background stays centered */
    color: var(--color-text);
    font-family: 'Roboto', sans-serif;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 20px 0;
}

/* Adjusted nav-bar to center its content */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(18, 23, 28, 0.75);
    padding: 10px 20px;
    z-index: 999;
    display: flex;
    justify-content: space-between; /* Space between for user info and logo/menu */
    align-items: center;
}

.user-info {
    text-align: left;
    color: var(--color-text);
}

.nav-bar-logo {
    width: 200px;
    height: auto;
}

.nav-bar-menu {
    list-style-type: none;
    display: flex;
    gap: 15px;
}

.nav-bar-menu li {
    display: inline;
}

.nav-bar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text);
    background-color: var(--color-primary);
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1000;
    margin: 0 10px;
}

.nav-bar-button:hover {
    background-color: var(--color-primary-hover);
    color: #fff;
}

.ad-container {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background: rgba(18, 23, 28, 0.9);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.ad-container img {
    /* width: auto; */
    max-width: 100%;
    height: auto;
    padding: 10px;
}

#loop-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nav-bar-logo {
        width: 150px;
    }

    .nav-bar-menu {
        flex-direction: column;
        gap: 10px;
    }

    .nav-bar-button {
        font-size: 0.875rem;
        padding: 8px 16px;
        cursor: pointer;
    }
}

.content {
    position: relative;
    z-index: 2;
    padding: 20px;
    margin: 50px auto; /* Add margin for spacing from the top */
    max-width: 600px;
    background: rgba(107, 107, 107, 0.8); /* Semi-transparent background */
    border: 2px solid var(--color-primary); /* Border color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Optional: Add a shadow for better visibility */
}
