/* ===== Body and Background ===== */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: white;
    background-image: url('background3.png');
    background-size: cover;              /* FIX: use cover for desktop */
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

/* 🔥 Mobile background (your cropped image) */
@media (max-width: 768px) {
    body {
        background-image: url('backgroudmobile.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* ===== Dark Overlay ===== */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

/* ===== Content Container ===== */
.content {
    position: relative;
    z-index: 1;
    display: block;
    text-align: left;
    padding: 5%;
    box-sizing: border-box;
    max-width: 95%;
    color: white;
}

/* ===== Headings and Text ===== */
.content h1 {
    font-size: 4vw;
    margin: 0.2em 0;
}

.content p {
    font-size: 3vw;
    margin: 0.1em 0;
}

.content p.motto {
    font-size: 3.5vw;
    font-weight: bold;
    margin-top: 1em;
}

.content a {
    color: white;
    text-decoration: underline;
    font-size: 3vw;
    margin-top: 0.5em;
}

.content a:hover {
    text-decoration: none;
}

.content ul {
    list-style-type: disc;
    margin-left: 20px;
    font-size: 3vw;
    line-height: 1.6em;
    color: white;
}

/* ===== Desktop text sizing ===== */
@media (min-width: 769px) {
    .content h1 { font-size: 2.5em; }
    .content p { font-size: 1.2em; }
    .content p.motto { font-size: 1.8em; }
    .content a { font-size: 1em; }
    .content ul { font-size: 1.2em; }
}

@media (max-width: 768px) {
    body {
        background-image: url('backgroundmobile.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}