@font-face {
  font-family: "DOS";
  src: url("/assets/dos.ttf");
}

* {
  cursor: url("/assets/icons/arrow.svg") 6 10, auto;
}

*::selection {
  background: #ffff55;
  color: #111111;
}

body {
  background-color: #111111;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100dvw;
  height: 100dvh;
  font-family: "DOS", Consolas, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link:focus {
  animation: flash 0.15s infinite steps(1, end);
}

@keyframes flash {
  0% {
    color: #ffff55;
    background-color: #111111;
  }
  50% {
    color: #111111;
    background-color: #ffff55;
  }
  100% {
    color: #ffff55;
    background-color: #111111;
  }
}

a.link {
  text-decoration: underline;
}

#navbar,
#footer {
  z-index: 2;
  position: fixed;
  width: 100dvw;
  height: fit-content;
  background-color: #262626;
  top: 0;
  display: flex;
  font-size: 1.25rem;
  color: #aaaaaa;
  gap: 0.5rem;
  user-select: none;
}

@media (max-width: 600px) {
  #navbar {
    flex-direction: column;
    font-size: 1rem;
    padding: 0.5rem 0;
    gap: 1.75rem;
    padding-bottom: 1rem;
  }

  .nav-item {
    padding: 0.75rem 1rem;
    justify-content: center;
    font-size: 1.5rem;
  }

  #time,
  #footer {
    display: none;
  }
}

#footer {
  top: auto;
  bottom: 0;
  justify-content: center;
}

.nav-item {
  background-color: #555555;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}

.nav-item:hover {
  background-color: #404040;
}

.nav-item > span {
  color: #aa0100;
}

.nav-item > span.active {
  color: #05aa02;
}

.group {
  box-shadow: 10px 10px 0px #262626;
  width: fit-content;
  position: relative;
  color: #ffff55;
  border: 1px solid #ffff55;
  box-sizing: border-box;
  padding: 1rem;
}

.group > .group-title {
  position: absolute;
  top: -0.625rem;
  left: 1rem;
  background-color: #111111;
  font-size: 1.25rem;
}

#main {
  display: flex;
  gap: 1rem;
}

#time {
  margin-left: auto;
}

#heart {
  width: 20px;
  margin-left: 0.5rem;
}
