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

body {
    font-family: 'Georgia', serif;
    background: black;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slideshow-container {
    width: 90vw;
    max-width: 1200px;
    height: 90vh;
    max-height: 800px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    text-align: center;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.slide-content h1 {
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.slide-content .author {
    font-size: 1.5rem;
    color: #666;
    font-style: italic;
    animation: fadeInUp 1s ease-out;
}

.slide-content .emojis {
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out;
    font-size: 8rem;
}

.slide-content h2 {
    flex-shrink: 0;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

.slide-content img {
    max-width: 100%;
    border-radius: 4px;
}

.timeline {
    display: flex;
    height: 30vh;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.timeline::-webkit-scrollbar {
    display: none;
}

.timeline img {
    display: block;
    max-height: 100%;
    width: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.image-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 1rem;
    flex: 1;
    min-height: 0;
}

.image-container img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 4px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content .author {
        font-size: 1.2rem;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}