/**
  kelna.dev - a terminal-based portfolio site for kElnaDev
  Copyright (C) 2026  Kaelan Carlos

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <https://www.gnu.org/licenses/>.
*/
/**
  kelna.dev - a terminal-based portfolio site for kElnaDev
  Copyright (C) 2026  Kaelan Carlos

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <https://www.gnu.org/licenses/>.
*/
/*
  COLOURS
*/
/*
  MARGINS
*/
/*
  GLOBAL and ROOT
*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "DM Mono", monospace;
  color: #edfaf8;
}

/*
  BODY and TERMINAL
*/
body {
  background: #1e2835;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  min-height: 100vh;
  padding: 20px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#terminal {
  background: #19212b;
  border-radius: 15px;
  padding: 1.4rem;
  max-width: 675px;
  width: 100%;
}
#terminal > * {
  width: 100%;
}

.input-line {
  margin-bottom: 0;
  display: flex;
  flex-direction: row;
}
.input-line .prompt {
  margin-right: 0.4em;
  display: inline-block;
  flex-shrink: 0;
}
.input-line .ps1 {
  font-weight: bold;
  color: #2a7bde;
}
.input-line .ps1::after {
  content: "$";
  margin-left: 2px;
  display: inline-block;
  color: #edfaf8;
}
.input-line textarea,
.input-line input {
  background: none;
  outline: none;
  border: none;
  width: 100%;
  min-height: 1lh;
  field-sizing: content;
  font-size: 1em;
  resize: none;
}

/*
  CONTENT BLOCKS
*/
#header {
  margin: 1.4rem 0;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 1.4rem;
}
#header img {
  width: 100px;
}
#header hgroup {
  font-weight: bold;
}
#header hgroup p {
  margin: 0;
  font-size: 1.25rem;
}

main,
nav,
.output {
  margin: 5px 0 10px;
}

nav ul {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
}
nav ul li {
  padding: 0;
}
nav table {
  border-collapse: collapse;
}
nav table .num {
  text-align: right;
}
nav table td + td {
  padding-left: 0.6em;
}
nav a {
  font-weight: bold;
  color: #2a7bde;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}

/*
  MISC TEXT
*/
p,
ul {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

a {
  color: #33c7de;
}

code::before, code::after {
  content: "`";
}
code button {
  background: none;
  cursor: pointer;
  border: none;
  display: inline;
}
code button:hover {
  text-decoration: underline;
}

ul {
  list-style-position: inside;
}
ul li {
  padding-left: 1em;
}

/*
  COLOURS
*/
.black {
  color: #19212b;
}

.red {
  color: #f66151;
}

.green {
  color: #33da38;
}

.yellow {
  color: #e9ad0c;
}

.blue {
  color: #2a7bde;
}

.magenta {
  color: #c061cb;
}

.cyan {
  color: #33c7de;
}

.white {
  color: #edfaf8;
}

.foreground {
  color: #edfaf8;
}

.background {
  color: #19212b;
}

/*# sourceMappingURL=main.css.map */
