:root {
  --color-1: #ff0000;
  --color-2: #ff0000;
  --color-3: #ff0000;
  --color-4: #ff0000;
}

@font-face {
  font-family: Lazare Grotesk;
  src: url("Lazare_Grotesk_Bold.ttf");
}

@font-face {
  font-family: Lazare Grotesk Back;
  src: url("Lazare_Grotesk_Bold_Back.ttf");
}

@font-face {
  font-family: Lazare Grotesk Italic;
  src: url("Lazare_Grotesk_Bold_Italic.ttf");
}

body {
  font-family: Lazare Grotesk;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  background-color: black;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100vw;
  background: black;
}

/* STYLES FOR COLOR CHOOSER */
#color-chooser {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-grow: 1;
  flex-shrink: 1;
  flex-direction: column;
  justify-content: space-between;
}

#palette {
  display: flex;
  flex-grow: 1;
  flex-shrink: 1;
  flex-direction: column;
  margin: 10px;
  gap: 10px;
}
#palette .color {
  text-align: center;
}
input[type="color"] {
  width: 100%;
  height: 50px;
  border: 0;
  outline: 0;
  padding: 0;
  box-shadow: 0;
  background-color: inherit;
}

.button {
  margin: 10px;
  width: 100px;
  padding-top: 3px;
  padding-bottom: 3px;
  background-color: rgb(255, 255, 255);
  border-radius: 2px;
  text-align: center;
}

#selected {
  background-color: rgb(69, 217, 84);
}

.button a {
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: black;
  display: inline-block;
}

.slider {
  height: 100%;
  outline: none;
  writing-mode: bt-lr; /* IE */
  -webkit-appearance: slider-vertical; /* Chromium */
  margin-bottom: 10px;
}

.slider input {
  height: 100%;
  outline: none;
  writing-mode: bt-lr; /* IE */
  -webkit-appearance: slider-vertical; /* Chromium */
  margin-left: -5px;
}

/* STYLES FOR VISUALS */
#visuals {
  width: 100vw;
  max-height: 100%;
  position: relative;
  background-color: black;
}

.gradient {
  background-size: 200% 200%;
  animation: diagonal alternate 1s infinite;
  animation-timing-function: cubic-bezier(0.5, 0.03, 0.5, 0.99);
}

@keyframes diagonal {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.visual-color-1 {
  background: var(--color-1);
}
.visual-color-2 {
  background: var(--color-2);
}
.visual-color-3 {
  background: var(--color-3);
}
.visual-color-4 {
  background: var(--color-4);
}

#saved-colors {
  margin-left: 5px;
  margin-top: 10px;
}

#saved-colors div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}
#saved-colors span {
  aspect-ratio: 1/1;
  background: red;
  margin-bottom: 0.2em;
}
#saved-colors i {
  aspect-ratio: 1/1;
  text-align: center;
  cursor: pointer;
}
