@font-face {
    font-family: 'SpecialElite'; 
    src:url('fonts/SpecialElite-webfont.woff') format('woff');
    font-display: swap;
}

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

body {
    min-height: 100dvh;
    display:flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f0e8;
    font-family: 'SpecialElite','Courier New', monospace;
    color: #2a2318;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10vh; /* Changed from 30% to 10vh for better spacing */
}

.centered-image {
    max-width: 100%;
    height: auto;
}

blockquote {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

blockquote footer {
    margin-top:1.5rem;
    font-size: 1rem;
    color: #7a7060;
}

/* Video Container */
.video-wrapper {
    width: 80%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    margin: 0 auto; /* Ensures wrapper is centered */
}

.video-wrapper video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: block;
}

/* Shrubbery Overlap */
.birthday-content .centered-image {
    position: relative; 
    z-index: 2;
    display: block;
    
    /* FIX 1: This allows you to click the video buttons THROUGH the image */
    pointer-events: none; 
}

/* FIX 2: Responsive Overlap */

/* For Desktop/Laptops */
@media (min-width: 768px) {
    .birthday-content .centered-image {
        margin-top: -325px; /* Larger overlap for bigger screens */
    }
}

/* For Mobile Phones */
@media (max-width: 767px) {
    .birthday-content .centered-image {
        margin-top: -100px; /* Smaller overlap so it doesn't cover the whole video */
    }
}