* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html, body {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: black;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-color: black;
}

/* Standard desktop styling */
#background-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Mobile and tablet adjustments */
@media (max-width: 1024px) {
    #background-video {
        object-fit: cover; /* Fill the screen completely */
        min-width: 100%;
        min-height: 100%;
        transform: scale(1.1); /* Slightly zoom out to show more of the video */
    }
}

.content {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 0 20px; /* Add horizontal padding for small screens */
    overflow-y: auto; /* Allow scrolling if content is taller than viewport */
}

@media (max-width: 576px) {
    .content {
        justify-content: flex-start;
        padding-top: 60px;
    }
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1rem;
    }
}

.button-container {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

#enter-button, #artist-statement {
    padding: 12px 24px;
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#enter-button:hover, #artist-statement:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.sound-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 16px;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.sound-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
    #enter-button, #artist-statement {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .button-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Add a semi-transparent overlay to make text more readable */
.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}
