:root {
  --bg-color: #fff;
  --text-color: #000;
  --body-font: 'Covik Sans Mono';
}

html,
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  padding: 0;
  margin: 0;
  position: relative;
}

.big-text {
  display: block;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 23.4vw;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: -15.6vw;
  color: #1e1e1e;
  line-height: 0px;
  margin: 0;
}

.centered {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.row-1 {
  left: 6%;
}
.row-2 {
  left: 17%;
}
.row-3 {
  left: 28.5%;
}
.row-4 {
  right: 6%;
}
.row-5 {
  right: 17%;
}
.row-6 {
  right: 28.5%;
}

.box {
  position: relative;
  background-color: #27262f;
  z-index: 20;
  width: 100vw;
  height: 13vw;
  overflow: hidden;
  left: 50%;
}

.front {
  z-index: 50;
  color: #faf9f4;
}
.scroll-up {
  animation: animUp 20s linear infinite;
}
.scroll-down {
  animation: animDown 20s linear infinite;
}

@keyframes animUp {
  0% {
    transform: translate(-50%, -30%);
  }
  100% {
    transform: translate(-50%, -80%);
  }
}

@keyframes animDown {
  0% {
    transform: translate(-50%, -80%);
  }
  100% {
    transform: translate(-50%, -30%);
  }
}

.brb-header {
  position: absolute;
  left: 50%;
  top: 15%;
  transform: translate(-50%, -50%);
  font-family: var(--body-font);
  font-size: 50px;
  font-weight: 500;
  text-align: center;
  margin: auto;
  grid-area: hd;
}

#timer {
  font-family: 'CoFo Peshka Variable V0.3 1000 Black';
  font-size: 100px;
  text-align: center;
  left: 50%;
  font-variation-settings: 'wght' 700, 'wdth' 800;
  margin: auto;
  color: #faf9f4;
  grid-area: time;
  z-index: 50;
}

.project-name {
  position: absolute;
  grid-area: proj;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
  font-family: var(--body-font);
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  margin: auto;
  max-width: 500px;
}

.blink {
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0% {
    color: #faf9f4;
  }
  49% {
    color: #faf9f4;
  }
  60% {
    color: transparent;
  }
  99% {
    color: transparent;
  }
  100% {
    color: #faf9f4;
  }
}

#setup {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 260px;
  z-index: 100;
}

#inputs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#inputs label {
  font-family: var(--body-font);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-color);
  margin-top: 8px;
}

#inputs input {
  font-family: var(--body-font);
  font-size: 16px;
  background: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
  padding: 8px 12px;
  width: 100%;
  box-sizing: border-box;
}

#inputs input:focus {
  outline: none;
}

#button {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--text-color);
  color: var(--bg-color);
  border: none;
  padding: 12px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

#reset {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--body-font);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 8px 24px;
  cursor: pointer;
  z-index: 200;
  opacity: 0.4;
}

#reset:hover {
  opacity: 1;
}
