* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Source Sans Pro", sans-serif;
    color: #ffffff;
    background-color: #000;
    height: 100%;
    overflow-x: hidden;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

h1 {
    font-size: 2.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    margin: 0 0 1rem 0;
}

p {
    margin: 0 0 2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

#header {
    text-align: center;
    width: 100%;
}

.logo img {
    max-width: 150px;
    max-height: 100px;
    border-radius: 50%;
}

.content .inner {
    padding: 1.5rem;
}

.xxxpan-text {
    animation: change 5s infinite;
    font-weight: 800;
}

@keyframes change {
    0% { color: #FFFF00; }
    25% { color: #00FF00; }
    50% { color: #00FFFF; }
    75% { color: #00FF00; }
    100% { color: #FFFF00; }
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    justify-content: center;
    border: none;
}

nav ul li {
    width: 180px;
    height: 60px;
    margin: 0.5rem;
    border: none;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.video-controls button {
    padding: 8px 12px;
    background: #2a5298;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.video-controls button:hover {
    background: #1e3c72;
}

#footer {
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
}

.copyright {
    font-size: 0.6rem;
    letter-spacing: 0.2rem;
    opacity: 0.75;
    text-transform: uppercase;
    display: block;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
        letter-spacing: 0.3rem;
    }
    p {
        font-size: 0.9rem;
        letter-spacing: 0.1rem;
    }
    #wrapper {
        padding: 1rem;
    }
    .logo img {
        max-width: 100px;
        max-height: 70px;
    }
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        width: 100%;
        margin: 0.5rem 0;
    }
    nav ul li a {
        font-size: 1rem; /* Increased from 0.7rem */
        padding: 0.8rem; /* Adjusted padding for larger text */
    }
    .content .inner {
        padding: 1rem;
    }
    .copyright {
        font-size: 0.5rem;
    }
    .video-controls {
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }
    p {
        font-size: 0.8rem;
    }
    #wrapper {
        padding: 0.5rem;
    }
    .logo img {
        max-width: 80px;
        max-height: 60px;
    }
    nav ul li a {
        font-size: 0.9rem; /* Increased from implicit 0.7rem, slightly smaller than 768px */
        padding: 0.7rem; /* Adjusted padding */
    }
    .copyright {
        font-size: 0.5rem;
    }
}