/* Basis styling */
body {
    font-family: 'Comic Sans MS', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(45deg, #d4fc79, #96e6a1);
    color: #222;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background: #222;
    color: #fff;
    padding: 20px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

header h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 5px #00ff00;
}

/* Intro sectie */
.intro {
    margin: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Generator sectie */
.generator {
    margin: 20px;
    padding: 20px;
    background: #eee;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

button {
    background: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

button:hover {
    background: #45a049;
    transform: scale(1.1);
}

/* Terminal sectie */
.terminal {
    margin: 20px auto;
    padding: 20px;
    background: #000;
    color: #0f0;
    font-family: 'Courier New', monospace;
    border-radius: 10px;
    width: 80%;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.output p {
    margin: 0;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 10px 0;
    position: relative;
    margin-top: auto;
    width: 100%;
}

/* Animatie voor heading */
#shebang-header {
    font-size: 2em;
    animation: bounce 2s infinite;
}

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

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

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

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

.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
