@font-face {
    font-family: "Cascadia Code";
    src: url("assets/CascadiaCode-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    padding: 32px;
    background-color: #161B30;
    color: #6871FF;
    font-family: "Cascadia Code", monospace;
    font-size: 20px;
    line-height: 1.6;
}

.terminal {
    width: 100%;
    max-width: 80ch; /* Terminalbreite in Zeichen */
}

.intro {
    margin-bottom: 16px;
}

.terminal-output {
    width: 100%;
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-input {
    display: flex;
    align-items: center;
    width: 100%;
}

.prompt {
    margin-right: 10px;
}

input {
    width: 100%;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #6871FF;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    caret-color: #6871FF;
}

a {
    color: #6871FF;
    text-decoration: none;
}

a:hover {
    color: #949EFF;
    text-decoration: underline;
    text-shadow: 0 0 5px #6871FF;
}

.fetch {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.fetch img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.fetch-text {
    white-space: pre;
}

::selection {
    background-color: #6871FF;
    color: #161B30;
}

@media (max-width: 600px) {
    body {
        padding: 16px;
        font-size: 16px;
    }

    .fetch {
        flex-direction: column;
        gap: 16px;
    }

    .fetch img {
        width: 120px;
        height: 120px;
    }
}