@font-face {
    font-family: "Terminess";
    src: url("/public/fonts/TerminessNerdFont-Regular.ttf");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Venice Classic";
    src: url("/public/fonts/VeniceClassic.ttf");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.fancy {
    font-family: "Venice Classic";
}

.center {
    text-align: center;
}

html, body, * {
    font-family: "Terminess", "Monospace";
    font-smooth: never;
    cursor: url("/public/mouse.ico"), auto;
}

::selection {
    color: white;
    background-color: black;
}

html {
    background-image: url("/public/background.png");
    background-repeat: repeat;
    image-rendering: pixelated;
    height: 100%;
}

body {
    margin: 0;
}

.card {
    padding: 10px;
}

.window {
    background: white;
    border: 2px solid black;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
    width: fit-content;
}

.window > .title {
    background: black;
    color: white;
    width: 100%;
    display: block;
}

.window > .content {
    display: block;
}

.content > * {
    margin: 1px;
}

.showbow {
    display: flex;
    flex-direction: column;
}

.status-bar {
    border: 1px solid black;
    border-top: 0px;
    background-color: white;
    margin: auto;
    width: 680px;
    height: 16px;
    display: flex;
    flex-direction: row;
    font-size: 10px;
    align-items: center;
    justify-content: space-evenly;
}

#prompt {
    background: black;
    color: white;
    display: block;
    padding: 10px;
    width: 400px;
    height: 100px;
}

#console, .jqconsole {
    position: relative;
    width: 500px;
    height: 200px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.jqconsole-cursor {
    background-color: black;
}

a {
    font-weight: bold;
    color: black;
}

.greeter {
    z-index: 0;
    position: absolute;
    top: 0px;
    right: 0px;
}

.button-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 101px;
    right: 10px;
    top: 201px;
    gap: 20px;
}

.button-list > button {
    position: relative;
    display: inline-block;
    background: transparent;
    border: none;
    width: 101px;
    font-size: 13px;
    font-weight: bold;
}

.button-list > button.clicked > span {
    color: white;
}

.button-list > button img {
    display: block;
    width: 101px;
    height: 44px;
}

.button-list > button span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dragging-window {
    user-select: none;
}

.window-frame {
    display: flex;
    flex-direction: row;
    gap: 100px;
    flex-grow: 0;
    margin-right: 20px;
    align-items: flex-start;
    width: 80%;
}

.window-frame > * {
    flex-grow: 0;
}

@media (max-width: 768px) {
  .window-frame {
      flex-direction: column;
      width: 100%;
  }

  .greeter {
      display: none;
  }

  .status-bar {
      display: none;
  }

  .button-list {
      position: relative;
      flex-direction: row;
      justify-items: center;
      justify-self: center;
      justify-content: space-evenly;
      width: 100%;
  }
}

.hs {
    border-top: 1px solid black;
}

.ls {
    border-left: 1px solid black;
}

.rs {
    border-right: 1px solid black;
}
