body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    font-family: 'Fira Code', monospace;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.jumbo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    --stripesDark: repeating-linear-gradient(80deg,
            #000 0%,
            #000 7%,
            transparent 10%,
            transparent 12%,
            #000 16%);
    --rainbow: repeating-linear-gradient(80deg,
            #60a5fa 10%,
            #e879f9 15%,
            #60a5fa 20%,
            #5eead4 25%,
            #60a5fa 30%);
    backface-visibility: hidden;
    transform: translateZ(0);
    background-image: var(--stripesDark), var(--rainbow);
    background-size: 300%, 200%;
    background-position: 50% 50%, 50% 50%;
    filter: blur(10px) opacity(50%) saturate(200%);
    -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
    mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.jumbo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--stripesDark), var(--rainbow);
    background-size: 200%, 100%;
    animation: jumbo 60s linear infinite;
    background-attachment: fixed;
    mix-blend-mode: difference;
}

@keyframes jumbo {
    from {
        background-position: 50% 50%, 50% 50%;
    }

    to {
        background-position: 350% 50%, 350% 50%;
    }
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar-brand img {
    filter: drop-shadow(0 0 5px #00ade1);
}

.navbar-nav .nav-link {
    color: #00ff00 !important;
    text-shadow: 0 0 5px #00ff00;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00ade1 !important;
    text-shadow: 0 0 10px #00ade1;
}

.navbar-toggler {
    border-color: #00ff00;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 255, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


#logo-container {
    position: relative;
    width: 420px;
    height: 220px;
    z-index: 2;
    margin-bottom: 20px;
}

#logo {
    width: 90%;
    height: 90%;
    background-image: url('logo_full.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 10px #00ade1);
    transition: all 0.3s ease;
}

#logo:hover {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px #00ade1);
}

#terminal {

    white-space: pre-wrap;
    font-family: 'Fira Code', monospace;
    font-size: 18px;
    line-height: 1.2;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #00ff00;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 1000;
    text-shadow: 0 0 5px #00ff00;
    border: 20px solid #333;
    border-radius: 20px;
    box-shadow: inset 0 0 10px #00ff00;
}

#terminal div {
    min-height: 1em;
}

.prompt-line {
    display: flex;
    flex-direction: column;
}

.prompt {
    color: #89b4fa;
    white-space: nowrap;
}

.input-line {
    display: flex;
    align-items: center;
}

.prompt-symbol {
    color: #f38ba8;
    margin-right: 5px;
}

input {
    background-color: transparent;
    border: none;
    color: #cdd6f4;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    flex-grow: 1;
}

.output {
    color: #a6e3a1;
}

.error {
    color: #f38ba8;
}

.loading {
    color: #f9e2af;
}

.ascii-card {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.2;
    white-space: pre;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#iframe-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    z-index: 2000;
    border: 2px solid #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

#iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#close-iframe {
    position: absolute;
    top: -30px;
    right: 0;
    background: #00ff00;
    color: #000;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px black inset !important;
    -webkit-text-fill-color: #00ff00 !important;
    transition: background-color 5000s ease-in-out 0s;
}
