/* Scoped styles for last_years_edition section */
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#last_years_edition * {
    box-sizing: border-box;
}
#last_years_edition h1{
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
}
#last_years_edition {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    height: 200vh;
    padding: 2rem 0;
    background-image: url(../assets/cover1.png);
    background-size: cover;
    position: relative; /* Add this line */
}

.lye-container {
    max-width: 95vw;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.lye-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #1a1a1a;
}

/* Scroller container */
.lye-scroller-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

/* Scroller */
.lye-scroller {
    display: flex;
    gap: 1rem;
    width: fit-content;
}

/* Animation */
.lye-scrolling {
    animation: lye-scroll 40s linear infinite;
}

@keyframes lye-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Item styles */
.lye-scroll-item {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Image styles */
.lye-scroll-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

/* Hover effects */
.lye-scroll-item:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.lye-scroll-item:hover .lye-scroll-image {
    transform: scale(1.1);
}


.lye_video_centent {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center elements horizontally */
    justify-content: center; /* Center elements vertically (if needed) */
    text-align: center; /* Ensures the <h1> text is centered */
    height: 100vh; /* Optional: Makes the div take full viewport height */
    margin-top: 40px;
}

.lye_video_container video {
    max-width: 90%; /* Ensures the video is responsive */
    height: auto; /* Maintains aspect ratio */
    border-radius: 15px;
}
#last_years_edition::before,
#last_years_edition::after{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 10vh;
}
#last_years_edition::before {
    top: 0;
    background: linear-gradient(to bottom, #075388 0%, rgba(0, 0, 0, 0) 100%);
}

#last_years_edition::after {
    bottom: 0;
    background: linear-gradient(to top, #075388 0%, rgba(0, 0, 0, 0) 100%);
}
@media (max-width:1300px) {
    .lye_video_container video {
        max-width: 80%; /* Ensures the video is responsive */
        height: auto; /* Maintains aspect ratio */
    }
}
@media (max-width:700px){
    #last_years_edition h1{
        font-size: 2rem;
    }
    .lye_video_container video {
        max-width: 80%; /* Ensures the video is responsive */
        height: auto; /* Maintains aspect ratio */
    }
    #last_years_edition{
        height: 150vh;
    }
    .lye_video_centent {
        margin-top: 15vh;
        height: auto;
    }
}
@media (max-width:500px){
    #last_years_edition{
        height: 100vh;
    }
}
@media (max-width:400px){
    .lye_video_centent{
        margin-top: 5vh;
    }
    
}