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

body {
    font-family: Arial, sans-serif;
    overflow: hidden;
}

#file-upload-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #5368e4;
    gap: 2rem;
}

#header h1 {
    color: white;
    font-size: 3rem;
    text-align: center;
}

#upload-box {
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#upload-box h1 {
    color: #5368e4;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

#upload-box p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

#file-input {
    font-size: 1.1rem;
    padding: 0.5rem;
    cursor: pointer;
}

#slide-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5368e4;
    color: white;
    cursor: pointer;
    user-select: none;
}

#slide-text {
    text-align: center;
    padding: 2rem;
    max-width: min(90%, 1400px);
    line-height: 1.4;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    animation: bounceIn 0.6s ease-out;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.slide-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

#slide-text ul {
    list-style-type: disc;
    text-align: left;
    display: inline-block;
}

#slide-text li {
    margin: 1rem 0;
}
#slide-text.fade-out {
    opacity: 0;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.nav-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.nav-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #5368e4;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: background-color 0.2s, transform 0.1s;
}

.nav-btn:hover {
    background-color: #3f51d4;
    transform: translateY(-2px);
}

.nav-btn:active {
    transform: translateY(0);
}