* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  margin: 0;
  padding: 0;

  font-family: 'Roboto Mono';

  color: #333;
  background: #fff;

  font-size: 18px;

  overflow: hidden;
  user-select: none;
}

html {
  overflow: hidden;
}

#canvas { 
  user-select: none;
  width: 100vw;
  height: 100vh;
}

.map {
  /* transform: scale(1.42) rotateX(40deg) rotateY(-4deg); */
}

#graphics-settings-dialog {
  display: flex;
  flex-direction: column;
  gap: 10px;

}
#graphics-settings-close-button{
  position: absolute;
  color: rgb(0, 0, 0);
  width: 1px;
  height: 1px;
  text-align: center;
  justify-content: center;
  align-items: center;
  top: 5px
}
#graphics-settings-close-button:hover{
  cursor: pointer;
  color: rgb(255, 0, 0);
}

.bar {
  margin: 0;
  padding: 4px;

  background: #eee;

  border-radius: 5px;

  overflow: hidden;

  display: flex;
  align-items: stretch;
  justify-content: center;

  transition: 0.2s;
}

body > .bar {
  position: absolute;

  left: 20px;
  right: 20px;
}

.bar > *:last-child {
  margin: 0;
}

.bar .envelope {
  height: 100%;
  display: flex;
  flex-direction: row;
  border-radius: 5px;
}

.floating {
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.floating .button,
.envelope {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.hackclub-logo {
  height: 5.642rem;
  width: 10rem;
}

.string {
  user-select: none;
}

.label {
  min-width: 30px;
  min-height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.text {
  color: #333;

  min-height: 28px;
  border-radius: 5px;
  padding: 0 4px;
  font-size: 14px;

  transition: 0.2s;
}

.text:disabled {
  border: none;
  opacity: 1;
}

.button {
  min-width: 30px;
  min-height: 30px;

  padding: 0 8px;

  background: #fff;

  border-radius: 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.2s;
}

.button:hover {
  background: #222;
  color: #fff;
}

.disabled {
  pointer-events: none;
  background: rgb(125, 125, 125) !important;
}

.button * {
  user-select: none;
  pointer-events: none;
}

#math-editor-container {
  display: grid;
  justify-items: center;
}

*[hide='true'] {
  display: none;
}

.menu {
  display: none;

  position: absolute;

  top: 0;

  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.menu[hide='true'] {
  top: -60px;
}

.victory {
  position: absolute;
  display: flex;

  background: transparent;
  bottom: 20px;

  transition: 0.5s;
  pointer-events: none;
}

.reddit-open {
  position: absolute;
  display: flex;

  background: transparent;
  bottom: 20px;

  transition: 0.5s;
  pointer-events: none;
}

.victory .envelope {
  flex-basis: 400px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  background: #eee;
  padding: 5px;
  pointer-events: all;
}

.reddit-open .envelope {
  flex-basis: 400px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  background: #eee;
  padding: 5px;
  pointer-events: all;
}

.victory[hide='true'] {
  bottom: -300px;
}

.puzzle-msg[hide='true'] {
  display: none;
}

.reddit-open[hide='true'] {
  bottom: -300px;
}

.message[hide='true'] {
  display: none;
}

.navigator {
  position: absolute;

  bottom: 60px;
}

.navigator[hide='true'] {
  bottom: -60px;
  display: none;
}

input {
  font-family: 'Roboto Mono';
}

input:placeholder-shown {
  font-style: italic;
}

input[valid='false'] {
  border: 1px solid red;
}

#controls-bar {
  position: absolute;

  left: 20px;
  bottom: 20px;
  right: 20px;
  align-self: center;

  align-items: flex-end;
  justify-content: center;

  /*box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);*/
}

#controls-bar[hide='true'] {
  bottom: -50vh;
}

.hbar {
  display: flex;
  flex-direction: row;
}

#expression-text {
  display: none;
  flex-grow: 1;
}

#math-field,
#math-field-static {
  border: none;
  flex-grow: 0;
  padding: 4px 2px 2px 2px;
  /*margin: 4px 4px 4px 0px;*/
  border-radius: 0 5px 5px 0;
  margin: 0;
  background: #fff;
}

#math-field[valid='false'] {
  border: 1px solid red;
}

#expression-envelope {
  width: fit-content;
  transition: transform 1s, opacity 0.2s;
}

#expression-envelope[disabled='true'] > #math-field {
  display: none;
}

#expression-envelope[disabled='false'] > #math-field-static {
  display: none;
}

#flag {
  left: 1rem;
  position: absolute;
  top: 0;
}

#math-field-static {
  background: #ddd;
}

#expression-envelope[disabled='true'] {
  background: #ddd;
  opacity: 0.4;
}

#expression-envelope[disabled='false'] {
  background: #fff;
}

#expression-envelope[hide='true'] {
  transform: translate(0, 200%);
  opacity: 0;
}

#editor-copy-puzzle-link {
  background: rgb(116, 146, 255);
}

#editor-copy-editor-link {
  background: rgb(255, 162, 116);
}

#share-button {
  background: rgb(116, 146, 255);
}

#run-button {
  position: absolute;

  right: 0;
  bottom: 0;
}

#try-again-button {
  animation: pulse 0.5s infinite;
}

#skip-cutscene-button {
  position: absolute;

  left: 0;
  bottom: 0;
}

/* TODO: Make copy link dialog for modal look decent */

#editor-share-dialog > .hbar {
  align-items: center;
  gap: 20px;
  padding: 0px 10px;
  max-width: 100%;
  margin-top: 10px;
}

#editor-sharing-link {
  width: 300px;
  overflow: scroll;
}

#editor-copy-sharing-link-button {
  background: rgb(99, 99, 255);
}

.reset-button {
  position: absolute;

  right: 0;
  bottom: 0;
}

#reset-confirmation-dialog,
#show-all-confirmation-dialog {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  font-size: 3vmin;
}

#reset-confirmation-dialog > div,
#reset-progress-confirmation-dialog > div,
#show-all-confirmation-dialog > div {
  margin: 5px 0px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

#reset-confirmation-yes,
#reset-progress-confirmation-yes,
#show-all-yes {
  background: #f46;
  color: white;
  border-width: 2px;
  border-style: solid;
  border-color: #f46;
}
#reset-confirmation-yes:hover,
#reset-progress-confirmation-yes:hover,
#show-all-yes:hover {
  background: #222;
  border-color: #000;
}

#reset-confirmation-no,
#reset-progress-confirmation-no,
#show-all-no {
  border-width: 2px;
  border-style: solid;
  border-color: #000;
}

#run-button:not(:hover) {
  background: #4f6;
}

.reset-button:not(:hover), #skip-cutscene-button:not(:hover) {
  background: #f46;
}

/* TODO: Clean up settings button, use existing CSS */
#settings-button {
  margin-top:8px;
  margin-left:8px;

  padding: 0 8px;

  background: transparent;

  border-radius: 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.2s;
  font-size: 2.4rem;
}

#next-button:not(:hover) {
  background: #4f6;
}

#close-reddit-open-button:not(:hover) {
  background: #f46;
}

#victory-stop-button:not(:hover) {
  background: #f46;
}

#reset-button:not(:hover) {
  background: #68f;
}

#reset-button {
  position: absolute;

  left: 0;
  bottom: 0;

  padding: 0;
}

#reset-button > .string {
  font-size: 24px;
  line-height: 14px;
  padding-bottom: 4px;
}

#level-text {
  text-align: center;
}

#level-button {
  flex-grow: 1;
}

#victory-label {
  flex-grow: 1;
  font-size: 14px;
}

#victory-text {
  margin: 0;
  text-align: center;
  font-size: 21px;
}

#victory-label .string {
  text-align: center;
}

.puzzle-msg {
  display: inline;
}

.hovertext {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.hovertext:before {
  content: attr(data-hover);
  visibility: hidden;
  opacity: 0;
  width: max-content;
  font-size: 13px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px 5px;
  transition: opacity 1s ease-in-out;
  z-index: 1;

  position: absolute;
  bottom: 100%;
  left: -150%;
}

.hovertext:hover:before {
  opacity: 1;
  visibility: visible;
}

#variables-bar {
  position: absolute;

  top: 20px;
  left: auto;
  right: 20px;

  font-size: 24px;

  justify-content: flex-end;

  transition: 0.5s;
}

#variables-bar[hide='true'] {
  top: -80px;
}

#time-string {
  color: #c44;
}

#top-bar {
  position: absolute;

  top: 0px;
  left: 0px;
  right: 0px;

  display: flex;
  justify-content: space-between;
}

#fixed-goal-selector,
#dynamic-goal-selector {
  height: 70px;
  width: 70px;
  background: white;
  transition: 0.05s;
}

#volume-slider {
  opacity: 1;
  transition-duration: 1s;
}

#top-bar[hide='true'] {
  top: -80px;
}

#navigator-button {
  margin-right: 20px;
  border-radius: 0 0 10px 10px;
  font-size: 2.4rem;
}

#navigator-button > .string {
  padding-bottom: 5px;
}

#navigator-floating-bar {
  bottom: 0;
  justify-content: flex-start;
}

#show-all-button {
  border-radius: 10px 10px 0 0;
  cursor: pointer;
}

#show-all-button:hover {
  background-color: #f46;
}

#show-all-button > img {
  width: 20px;
  height: auto;
  margin: 0 5px;
}

#github-string > p {
  font-size: small;
}

/* #loading-remarks {
  max-width: 80vmin;
}

#loading-remarks > h3 {
  text-align: center;
} */

#main-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vmin;
}

.loading-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 50vmin;
}

#reset-string {
  text-align: center;
  padding: 0.375rem 0.75rem;
  border: 1px solid #000;
  cursor: pointer;
  font-size: 0.7em;
}

#loading-string {
  text-decoration: underline;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
}

#loading-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loading-progress-bar-container {
  margin: 20px auto;
  width: 25%;
  height: 20px;
  background-color: #ccc;
}

#loading-progress-bar {
  height: 100%;
  background-color: #ec3750;
  width: 0%;
}

#loading-bottom {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 80vmin;
  padding: 10px 10%;
  text-align: center;
}

#puzzles {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

#puzzles > h3 {
  text-align: center;
  font-size: 16px;
}

#loading-links {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.loading-link {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
}

.puzzle-link-image {
  margin-left: 10px;
  width: 50%;
  height: 50%;
  object-fit: cover;
}

#twitter-link:hover,
#reddit-link:hover {
  transform: scale(1.1);
}

#github-link {
  display: inline-block;
  color: #ec3750;
  position: relative;
  font-size: small;
  text-decoration: none;
}

#github-link:hover {
  text-decoration: underline;
}

.background {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: inherit;
  z-index: -1;
}

.bubblets {
  display: none;
}

.veil {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  opacity: 1;
  transition: 1s;

  background: white;
  pointer-events: all;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.veil-no-transition {
  transition: 0s !important;
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.flash-shadow {
  animation-duration: 1s;
  animation-name: flash-shadow;
  animation-iteration-count: infinite;
}

@keyframes flash-shadow {
  from {
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.4);
  }

  25% {
    box-shadow: 0px 2px 4px 3px rgba(0, 192, 255, 0.6);
  }

  to {
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.4);
  }
}

.veil[hide='true'] {
  opacity: 0;
  pointer-events: none;
}

.loading {
  transition: 3s;
}

/* Loading screen dot animations. From https://codepen.io/nzbin/pen/GGrXbp */
.dot-flashing {
  --dot-color: black;
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--dot-color);
  color: var(--dot-color);
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}
.dot-flashing::before, .dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}
.dot-flashing::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--dot-color);
  color: var(--dot-color);
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}
.dot-flashing::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--dot-color);
  color: var(--dot-color);
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% {
    background-color: var(--dot-color);
  }
  50%, 100% {
    background-color: rgba(0, 0, 0, 0.2);
  }
}
/* End of loading screen dot animations */

.envelope {
  position: relative;
}
.envelope:focus-within {
  -webkit-box-shadow: #8bd 0 0 1px 2px, inset #6ae 0 0 2px 0;
  -moz-box-shadow: #8bd 0 0 1px 2px, inset #6ae 0 0 2px 0;
  box-shadow: #8bd 0 0 1px 2px, inset #ffffff 0 0 2px 0;
  border-color: #ffffff;
}

.invalid-exp {
  -webkit-box-shadow: #f00 0 0 1px 2px, inset #6ae 0 0 2px 0 !important;
  -moz-box-shadow: #f00 0 0 1px 2px, inset #6ae 0 0 2px 0 !important;
  box-shadow: #f00 0 0 1px 3px, inset #ffffff 0 0 3px 0 !important;
  border-color: #ffffff !important;
}

.helper-bubble {
  width: 150px;
  text-align: center;
  border: 2px solid black;
  font-size: small;
  position: absolute;
  background-color: white;
  padding: 5px;
  color: black !important;
  animation-name: wiggle;
  animation-duration: 4500ms;
  animation-iteration-count: infinite;
}
.coordinate {
  width: 125px;
  text-align: center;
  border: 2px solid black;
  font-size: small;
  position: absolute;
  background-color: white;
  padding: 5px;
  color: black !important;
}
@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }
  80% {
    transform: rotate(0deg);
  }
  85% {
    transform: rotate(-10deg);
  }
  90% {
    transform: rotate(20deg);
  }
  95% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* TODO: Make decent looking */
#t-variable-container {
  display: flex;
}

#t-variable-container[hide='true'] {
  display: none;
}

#t-variable-label {
  box-sizing: border-box;
  padding-bottom: 3.5px;
}

.top-left {
  bottom: calc(80% + 20px);
  right: 90%;
}
.top-right {
  bottom: calc(80% + 20px);
  left: 90%;
}
.right{
  left: 130%;
  top: 0%;
}
.left{
  right: 130%;
  top: 0%;
}
.bottom-left {
  right: 23% !important;
  top: 103% !important;
}
.bottom-right {
  top: calc(80% + 20px);
  left: 90%;
}

.helper-bubble:before {
  content: '';
  width: 0px;
  height: 0px;
  position: absolute;
}
.helper-bubble.top-left:before {
  border-left: 10px solid transparent;
  border-right: 10px solid black;
  border-top: 10px solid black;
  border-bottom: 10px solid transparent;
  right: -2px;
  bottom: -20px;
}
.helper-bubble.right:before{
  border-left: 10px solid transparent;
  border-right: 10px solid black;
  border-top: 10px solid black;
  border-bottom: 10px solid transparent;
  left: -10px;
  bottom: 15%;
  transform: translate(0, 50%);
  transform: rotate(225deg);
}
.helper-bubble.left:before{
  border-left: 10px solid transparent;
  border-right: 10px solid black;
  border-top: 10px solid black;
  border-bottom: 10px solid transparent;
  right: -10px;
  bottom: 15%;
  transform: translate(0, 50%);
  transform: rotate(45deg);
}
.helper-bubble.top-right:before {
  border-left: 10px solid black;
  border-right: 10px solid transparent;
  border-top: 10px solid black;
  border-bottom: 10px solid transparent;
  left: -2px;
  bottom: -20px;
}
.helper-bubble.bottom-left:before {
  border-left: 10px solid transparent;
  border-right: 10px solid black;
  border-top: 10px solid transparent;
  border-bottom: 10px solid black;
  right: -2px;
  top: -20px;
}
.helper-bubble.bottom-right:before {
  border-left: 10px solid black;
  border-right: 10px solid transparent;
  border-top: 10px solid transparent;
  border-bottom: 10px solid black;
  left: -2px;
  top: -20px;
}

#dotted-math-container {
  position: fixed;
  right: 40px;
  top: 15%;
  bottom: 20%;
  /* display: flex;  */
  display: none; /* Disabled by default */
  border-width: 3px;
}

#dotted-math-field-static {
  border: 2px solid rgba(110, 70, 70, 0.2);
  backdrop-filter: blur(9px);
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.75);
  margin-top: auto;
  margin-bottom: auto;
  font-weight: bold;
  font-family: monospace;
  color: rgb(0, 255, 0);
  display: none;
}

#dotted-math-button {
  margin-top: 40vh;
  margin-bottom: 40vh;
  margin-left: auto;
  background-color: rgb(255, 174, 0);
}

#dotted-slider {
  writing-mode: bt-lr; /* IE */
  -webkit-appearance: slider-vertical; /* Chromium */
  width: 8px;
  height: 70vh;
  /*line-height: 100vh;*/
  accent-color: rgb(0, 255, 0);
}

.vstack {
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none !important;
}

#expression-envelope-container {
  display: flex;
}

@media only screen and (max-width: 600px) {
  #expression-envelope-container {
    position: fixed;
    top: 20px;
  }

  #expression-envelope-container[hide='true'] {
    top: -50vh;
  }

  #navigator-button {
    position: fixed;
    bottom: 20px;
    font-size: 1.5rem;
    height: 30px;
    width: 40px;
    left: calc(50% - (30px / 2));
    padding: 0px;
    border-radius: 5px;
    margin: 0;
  }

  #navigator-floating-bar {
    top: 0;
    bottom: auto;
  }

  #show-all-button {
    border-radius: 0 0 10px 10px;
  }

  #expression-envelope {
    font-size: 0.9rem;
  }
}

.tooltip::before,
.tooltip::after {
  --scale: 0;
  --arrow-size: 10px;
  --reset-tooltip-color: #68f;
  --volume-tooltip-color: rgb(34, 136, 238);

  position: absolute;
  top: -0.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(var(--translate-y, 0))
    scale(var(--scale)) !important;
  transition: 150ms transform;
  transform-origin: bottom center;
}

.tooltip::before {
  --translate-y: calc(-100% - var(--arrow-size));

  content: attr(data-tooltip);
  color: white;
  padding: 0.5rem;
  border-radius: 0.3rem;
  text-align: center;

  background: var(--reset-tooltip-color);
}

.tooltip:hover::before,
.tooltip:hover::after {
  --scale: 1;
}

.tooltip::after {
  --translate-y: calc(-1 * var(--arrow-size));
  content: '';
  border: var(--arrow-size) solid transparent;
  border-top-color: var(--reset-tooltip-color);
}

.tooltip-e::before {
  top: 90%;
  left: calc(100% + 50px);
  background: var(--volume-tooltip-color);
}

.tooltip-e::after {
  top: 50%;
  left: 105%;
  transform: translateY(-50%);
  border-left-width: 0;
  border-top-color: transparent !important;
  border-right-color: var(--volume-tooltip-color);
}

#editor-inspector,
#editor-spawner {
  background: #e8e8e8;
  display: flex;
  align-items: center;
  max-height: 2.5em;
  column-gap: 10px;
  padding: 10px 10px;
  margin: 10px 0 0 0;
}

#editor-spawner canvas {
  height: 30px;
}

#editor-inspector .button, #editor-spawner .button {
  padding: 5px 8px;
  box-shadow: none;
}

#editor-order-input {
  width: 4em;
  text-align: center;
}

#editor-x-input,
#editor-y-input {
  width: 5em;
}

#editor-start-input,
#editor-end-input {
  width: 5em;
}

#editor-timer-input {
  width: 6em;
}

#editor-position {
  display: inherit;
}

#editor-inspector-delete {
  background: #f46;
}

.editor-bar {
  transition: 0.5s;
}

.editor-bar[hide='true'] {
  display: none !important;
  transform: translateY(calc(-100% - 73px / 2));
}

.editor-bar[hide='false'] {
  display: inherit;
  animation: show-editor-bar 0.5s;
}

.editor-sliding-up {
  transform: translateY(calc(-100% - 73px / 2));
}

@keyframes show-editor-bar {
  from {
    transform: translateY(calc(-100% - 73px / 2));
  }
  to {
    transform: translateY(0px);
  }
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutToTop {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

#try-again {
  display: none;
}

@keyframes pulse {
  0% {
    background-color: #f46;
  }
  50% {
    background-color: #fff;
  }
  100% {
    background-color: #f46;
  }
}
#goal-limit-visual{
  background: white;
  border-radius: 5px;
  height: 33px;
  width: 40px;
  padding: 3px 5px 5px 5px;
  font-size: 13px;
  text-align: center;
  justify-content: center;
  font-weight: 500;
}
#lvl-debug-info {
  position: absolute;
  margin-left: 75px;
  top: 10px;
  font-size: 10px;
  width: 350px;
  height: 25px;
  user-select: all;
}

#button-hide-level-info {
  position: absolute;
  width: 25px;
  height: 25px;
  right: 50px;
  min-width: 25px;
  min-height: 25px;
  display: none;
}

.debugtitle {
  font-weight: bold;
  text-align: right;
  width: 150px;
  user-select: all;
  display: none;
}

.debuginfo {
  width: 150px;
  text-align: left;
  user-select: all;
}

.grid {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 12px;
  padding: 0px;
}

.modal {
  position: fixed;
}
