/* core/static/core/style.css */

html, body {
    height: 100%; /* full viewport height */
    margin: 0;
    padding: 0;
}

/* Reset some defaults */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f9f9f9; /* fallback color */
    background-image: url("/static/background/background.jpeg");
    background-size: cover;        /* cover the entire viewport */
    background-position: center;   /* center the image */
    background-repeat: no-repeat;
}

/* Fake navbar */
.navbar {
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: relative; /* logo left, center container centered */
}

/* Logo */
.logo-container {
    flex-shrink: 0; /* don't shrink */
}

.logo {
    height: 80px; /* adjust to match selector+message combined */
    width: auto;
}

/* Center container for selector + message */
.center-container {
    position: absolute;   /* position relative to navbar */
    left: 50%;            /* start at 50% of navbar width */
    transform: translateX(-50%); /* shift left by half of its own width to center */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Language selector */
.selector-container select {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    margin-bottom: 5px;
}

/* Message in navbar */
.message-container h1 {
    font-size: 2rem;
    margin: 0;
    color: #fff;
}

/* Main content section */
.main-section {
    padding: 50px 20px;
    background-color: rgba(244, 244, 244, 0); /* semi-transparent */
    display: flex;
    justify-content: center; /* center the container horizontally */
}

.info-container {
    max-width: 800px;
    text-align: center;
}

/* Logo in main-section */
.main-logo {
    width: auto;
    height: 360px; /* play with this size as needed */
    margin-bottom: 20px;
}

/* Welcome message */
.info-container h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Disclaimer text */
.disclaimer {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.info-container p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    .logo {
        height: 60px;
        margin-bottom: 10px;
    }

    .center-container {
        position: static; /* stack naturally below logo */
        transform: none;
    }

    .message-container h1 {
        font-size: 1.6rem;
    }

    .selector-container select {
        font-size: 14px;
    }

    .main-logo {
        height: 100px;
    }
    .info-container h2 {
        font-size: 1.6rem;
    }
    .disclaimer {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 50px;
    }

    .message-container h1 {
        font-size: 1.3rem;
    }

    .selector-container select {
        font-size: 12px;
    }

    .main-logo {
        height: 80px;
    }
    .info-container h2 {
        font-size: 1.4rem;
    }
    .disclaimer {
        font-size: 0.9rem;
    }
}