body, html {
    background-color: #000000;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    margin: 0; /* Reset default body margin */
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
    z-index: 1000;
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.loading-bar {
    width: 20%; /* Considerably shorter length for the loading bar */
    max-width: 150px;
    height: 5px; /* Half the previous height for the loading bar */
    background-color: #7f8c8d; /* Gray background */
    border: 3px solid #7f8c8d; /* Thinner gray border */
    border-radius: 10px; /* Pill-like design */
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.loading-progress {
    width: 0;
    height: 100%;
    background-color: #fff;
    transition: width 0.1s ease;
}

#loading-percentage {
    font-size: 1.5em;
    margin-top: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#slide-container {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease-in-out;
    display: none; /* Hide initially */
}

.slide {
    height: 100vh;
    width: 100%;
    border: none;
}

.slide-1 {
    background-color: #000;
    color: #FFF;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100vh;
    font-size: 1em;
    position: relative;
    font-family: 'Ubuntu Mono', monospace;
    overflow-y: auto;
}

.cursor {
    border-right: 0.5em solid #FFF;
    animation: blink-caret 0.5s step-end infinite;
    height: 1em;
    width: 0;
    display: inline-block;
    opacity: 1;
    margin-left: 0.1em;
}

.text-container {
    margin: 1%;
    display: flex;
    flex-direction: column;
}

.bounce {
    animation: bounce 0.5s forwards;
}

.bounce_top {
    animation: bounce_top 0.5s forwards;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px); /* Increased bounce height */
    }
    60% {
        transform: translateY(-10px); /* Increased bounce height */
    }
}

@keyframes bounce_top {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(20px); /* Increased bounce height */
    }
    60% {
        transform: translateY(10px); /* Increased bounce height */
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: #FFF;
    }

    50% {
        border-color: transparent;
    }
}