@font-face {
    font-family: "Iosevka";
    src: url("fonts/iosevka-regular.woff2");
}

body {
    display: flex;
    font-size: 120%;
    gap: 1rem;
    font-family: sans;
    margin: 1rem;
}

#debug {
    display: none;
}

h1 a {
    color: black;
    text-decoration: none;
}

h2,
#title_container,
#subtitle {
    margin-bottom: 2rem;
}

h3 {
    margin-top: 1em;
}

h2 {
    display: inline;
}

p,
#description {
    margin-bottom: 1em;
}

#content {
    max-width: 30em;
}

#screen_container {
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 1rem;
}

#screen {
    white-space: pre;
    font-size: 16px;
    font-family: "Iosevka", monospace;
    line-height: 120%;
    transform: scale(1);
}

code {
    font-family: "Iosevka", monospace;
    color: #333;
}

#buttons {
    margin: 0.5rem;
    font-size: 60%;
}

#output {
    height: 20rem;
}

#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* normally: flex */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#popup-background {
    background: white;
    padding: 1rem;
    position: relative;
}

#popup textarea {
    width: 40rem;
    height: 5rem;
    font-family: monospace;
}

#popup input[type="submit"] {
    margin-top: 1rem;
}

#popup-close {
    position: absolute;
    top: 0;
    right: 0.5rem;
    font-size: 150%;
    cursor: pointer;
}

#make-own {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}
