@charset "UTF-8";
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 100 700;
  src: url('/assets/fonts/RobotoMono.ttf') format('truetype');
}

:root {
  --darker-bg: #101012;
  --bg: #141416;
  --lighter-bg: #363638;
  --black: #464648;
  --white: #dddddd;
  --rose: #ffbbdd;
  --pink: #ffbbff;
  --purple: #ddbbff;
  --blue: #bbbbff;
  --sky: #bbddff;
  --cyan: #bbffff;
  --teal: #bbffdd;
  --green: #bbffbb;
  --lime: #ddffbb;
  --yellow: #ffffbb;
  --orange: #ffddbb;
  --red: #ffbbbb;
}

::selection, ::-moz-selection {
  background: var(--lighter-bg);
}

* {
  box-sizing: border-box;
  font-family: 'Roboto Mono', monospace;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  overflow: hidden;
}

body {
  height: 100vh;
  padding: 5vw;
  width: 100vw;
}

.title, .text {
  font-size: 1.25rem;
  text-align: center;
}
.title { color: var(--rose); }
.text { color: var(--white); }

a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.5s ease;
}
a:hover { color: var(--rose); }

.horizontal-flex, .force-horizontal-flex {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  height: auto;
  justify-content: center;
  width: 100%;
}

.vertical-flex {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.textbox {
  background: var(--darker-bg);
  border: 2px solid var(--black);
  color: var(--white);
  font-size: 1rem;
  min-height: 20vh;
  padding: 10px;
  resize: none;
  transition: border-color 0.5s ease;
  width: 100%;
}

.textbox::placeholder {
  color: var(--black);
}

.textbox:focus {
  border-color: var(--rose);
  outline: none;
}

.box {
  align-items: center;
  background: var(--darker-bg);
  border: 2px solid var(--black);
  color: var(--white);
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 10px;
  transition: border-color 0.5s ease;
  width: 100%;
}

.button {
  background: var(--darker-bg);
  border: 2px solid var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  height: auto;
  padding: 10px;
  transition: border-color 0.5s ease;
  width: 100%;
}

.box:hover,
.button:hover { border-color: var(--rose); }

.charactercounter .count-normal {
  transition: color 0.5s ease;
  color: var(--white);
}

.charactercounter .count-warning {
  transition: color 0.5s ease;
  color: var(--yellow);
}

.charactercounter .count-danger {
  transition: color 0.5s ease;
  color: var(--red);
}

.icon { 
  height: auto; 
  width: 80px; 
  fill: var(--black); 
  transition: fill 0.5s ease;
}
.icon:hover { fill: var(--rose); }

input[type="checkbox"] {
  accent-color: var(--rose);
  box-sizing: border-box;
  height: 1rem;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  width: 1rem;
}

input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #333;
  border-radius: 4px;
  cursor: pointer;
  height: 6px;
  margin: 0;
  width: 100%;
}

footer {
  bottom: 10px;
  color: var(--black);
  font-size: 0.8rem;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  width: 100%;
}

.heart:hover { color: var(--red); }

@media (orientation: landscape) and (max-height: 400px) {
  footer {
    position: static;
    transform: none;
  }
}

@media (orientation: portrait) and (max-height: 1000px) {
  footer {
    position: static;
    transform: none;
  }
}

@media (orientation: portrait) {
  .horizontal-flex { flex-direction: column; }
}