:root {
  --background_tile_size: 4rem;
}

html {
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Trebuchet MS", sans-serif;
  background-image: url("/home/images/rainbow.png");
  background-size: var(--background_tile_size);
  background-repeat: repeat;
  animation: background-scroll 20s linear 0s infinite;
}

body {
  margin: 0px;
  padding: 0px;
}

#main {
  display: flex;
  width: 100vw;
  min-height: 100vh;
  margin: auto;
  padding: 0px;
}

#sidebar,
#content {
  background-color: white;
  box-shadow: 0px 0px 30px #2d1c41;
}

#content {
  max-width: 60vw;
  margin: auto;
  padding: 2rem;
  animation: fade-in 0.75s ease-in-out 0s 1;
}

#description {
  margin: auto;
}

/* SIDEBAR */

#sidebar {
  position: fixed;
  display: flex;
  width: 96px;
  height: 100vh;
  max-height: 100vw;
  padding: 1rem;
  margin: auto 1rem auto 1rem;
  overflow-x: hidden;
  overflow-y: scroll;
}

#sidebar-content {
  width: 100%;
  height: 100%;
  max-height: 100%;
  align-items: center;
}

.project-button {
  width: auto;
  height: fit-content;
}

.project-button * {
  width: 100%;
  height: auto;
}

.project-button img {
  box-shadow: 0px 0px 10px #2d1c41;
  transition: all 0.25s ease-in-out;
  background-color: white;
}

.project-button img:hover {
  transform: scale(110%);
  opacity: 80%;
}

/* CONTENT */
thead {
  width: 0px;
  height: 0px;
  margin: 0px;
  padding: 0px;
  visibility: hidden;
}

td {
  padding: 0.33rem;
}

td:nth-child(1) {
  font-weight: 900;
}

tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1);
}

@keyframes background-scroll {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: var(--background_tile_size);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0%;
    transform: scale(0.9);
  }
  100% {
    opacity: 100%;
    transform: scale(1);
  }
}
