div.line span:hover {
	cursor: pointer;
}

.rainbow_text_animated {
    background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: fit-content;
    animation: rainbow_animation 6s ease-in-out infinite;
    background-size: 400% 100%;
}

@keyframes rainbow_animation {
    0%,100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}

body {
    overflow-x: hidden;
}

#terminal {
    font-family: PixelOperator;
    background-color: rgb(22, 22, 22);
    color: azure;
    overflow: hidden;
    scroll-behavior: smooth;
}

#terminal div.line {
    margin: 0;
    margin-left: 5px;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    max-width: 100%;
}

#terminal div.line:has(p.input) {
    margin: 0;
}

#terminal > div {
    margin-bottom: 1em;
}

#terminal div.line:hover {
    color: #ffabea;
}

#terminal img, #terminal video{
    max-width: calc(100vw - 20px);
    animation: fragmentLoad 0.25s linear 1;
}

@keyframes fragmentLoad {
    0% {
        -webkit-filter: contrast(175%) brightness(103%) blur(5px) grayscale(100%);
        filter: contrast(175%) brightness(103%) blur(5px) grayscale(100%);
    }

    100% {
        -webkit-filter: contrast(100%) brightness(100%) blur(0) grayscale(0%);
        filter: contrast(100%) brightness(100%) blur(0) grayscale(0%);
    }
}
