body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    overflow-x: hidden;
    position: relative; 
    background-color: #294C2A;
    height: 100%;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed; /* Changed from absolute to fixed */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background.gif');
    background-size: cover; /* Ensure the background covers the entire viewport */
    background-repeat: no-repeat;
    background-position: center; 
    background-attachment: fixed; 
    filter: blur(10px); 
    z-index: -1;
}

.line {
    width: 90%;
    height: 5px;
    background-color: #828282;
    margin-bottom: 20px;
    border-radius: 15px;
}

.line-vertical {
    height: auto;
    background-color: #828282;
    margin-bottom: 20px;
    border-radius: 15px;
    margin: 15px;
    margin-left: 30px;
    margin-right: 30px;
    width: 5px;
}

.buffer {
    margin-top: 45px;
}

.buffer-small {
    margin-top: 18px;
}

.buffer-extra-small {
    margin-top: 8px;
    margin-bottom: 10px;
}

.end-text {
    font-family: 'League Spartan', sans-serif;
    color: #FFFFFF;
    font-size: clamp(12px, 0.7vw, 24px);
    text-align: center;
    width: 100%;
}

.no-text-decoration {
    text-decoration: none;
    color: inherit;
}

.border {
    border: 5px solid #000000;
    border-radius: 30px;
}

.video-container {
    position: relative;
    width: 40%; /* Ensure the container takes full width */
    aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
    overflow: hidden; 
    border: 5px solid #000000;
    border-radius: 35px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 480px) {
    .video-container {
        position: relative;
        width: 80%; 
        max-width: 100%; 
        max-height: 56.25%; 
        aspect-ratio: 16 / 9; 
        overflow: hidden; 
        border: 5px solid #000000;
        border-radius: 35px;
    }
    
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
}