@font-face {
  font-family: "Press Start 2P";
  src: url(font/PressStart2P-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "PacFont";
  src: url(font/PAC-FONT.TTF) format("truetype");
}

html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow: clip;
  user-select: none;
}

body {
  margin: inherit;
  padding: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  height: 100vh;
}

pac {
  content: attr(data-text);
  font-family: "PacFont";
  color: #ffff00;
  text-transform: lowercase;
  letter-spacing: 1.4px;
  text-align: center;
  vertical-align: top;
  position: relative;
}

pac::before {
  content: attr(data-text);
  font-family: "PacFont";
  color: #212121;
  position: absolute;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  font-family: "Press Start 2P";
  background-image: url(img/pattern.png);
  background-repeat: repeat;
  background-size: 2%;
  transition: all .1s ease-in;
  overflow: clip;
  background-position: 0 0;
  -moz-animation: backgroundScroll 50s linear infinite;
  -webkit-animation: backgroundScroll 50s linear infinite;
  animation: backgroundScroll 50s linear infinite;
}

#main-menu {
  position: absolute;
  background: linear-gradient(
    45deg,
    orange 5%,
    yellow 5%,
    yellow 10%,
    orange 10%,
    orange 15%,
    yellow 15%,
    yellow 20%,
    orange 20%,
    orange 25%,
    yellow 25%,
    yellow 30%,
    orange 30%,
    orange 35%,
    yellow 35%,
    yellow 40%,
    orange 40%,
    orange 45%,
    yellow 45%,
    yellow 50%,
    orange 50%,
    orange 55%,
    yellow 55%,
    yellow 60%,
    orange 60%, 
    orange 65%,
    yellow 65%,
    yellow 70%,
    orange 70%, 
    orange 75%,
    yellow 75%,
    yellow 80%,
    orange 80%, 
    orange 85%,
    yellow 85%,
    yellow 90%,
    orange 90%,
    orange 95%,
    yellow 95%,
    yellow 100%
  );
              
  height: 100%;
  width: 100%;
  top:0;
  left: 0;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: space-evenly;
  gap: 20%;
  transition: width .2s ease-in;
  cursor: pointer;
  overflow: clip;
}

#main-menu.side {
  position: absolute;
  height: 100%;
  width: 75px;
  left: 0;
  opacity: 1;
  font-family: "Press Start 2P";
  background: rgba(255, 255, 0, 1);
  cursor: pointer;
  overflow: clip;
}

#main-menu.side *:not(.tab-name) {
  display: none;
  opacity: 0;
  animation: none;
}

#main-menu.side .tab-name {
  opacity: 1 !important;
  transition: all .2s ease-in-out;
  position: absolute;
  left: auto;
  white-space: nowrap;
  font-size: 50px;
  transform: rotate(90deg);
  height: 50px;
  width: 100vh;
  text-align: center;
  padding: 10px 0;
}

#main-menu:not(.side) .tab-name {
  display: none;
  opacity: 0 !important;
  transition: all .2s ease-in-out;
}

#main-menu.hide {
  opacity: 0;
  left: -50%;
}

nav .bg {
  pointer-events: none;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  mix-blend-mode: overlay;
  background:
      radial-gradient(darkorange 10%,
        yellow 20%,
        darkorange 30%,
        yellow 40%,
        darkorange 50%,
        yellow 60%,
        darkorange 70%,
        yellow 80%,
        darkorange 90%,
        yellow 100%);
  background-position: -100% 0%;
  background-size: 200% 200%;
  animation: hueChangeBG 10s linear alternate infinite;
}

nav.hide {
  display: none;
}

#main-menu h1 {
  position: relative;
  width: 600px;
  text-align: center;
  border: solid 5px red;
  border-radius: 15px;
  background: #ff6600;
  box-shadow: inset 0 0 0 3px black, 0 25px 30px -5px rgba(0, 0, 0, .5), inset 0 8px 10px 0 rgba(0, 0, 0, .3);
  padding: 20px 0 0;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  color: white;
  text-shadow: 0 1px 4px black;
  -moz-animation: bounce 4s ease-in-out alternate infinite;
  -webkit-animation: bounce 4s ease-in-out alternate infinite;
  animation: bounce 4s ease-in-out alternate infinite;
}

#main-menu h1 pac {
  position: relative;
  text-align: center;
  font-size: 50px;
  text-shadow: none;
  margin-bottom:-5px;
  margin-top: 5px;
  text-shadow: 3px 3px 0 red, -3px -3px 0 #48b7ff, -5px -5px 0 black, 0 9px 5px rgba(0,0,0,.5),
    5px 5px 0 black;
}

#main-menu h1 pac::before {
  text-shadow: none;
}

#main-menu .press-start {
  font-size: 50px;
  font-weight: 900;
  color: white;
  white-space: nowrap;
  text-shadow: 0 2px 2px black;
  animation: blink 500ms ease-in-out alternate infinite;
}

#main-menu canvas#pac-canvas {
  position: absolute;
}

#main-menu footer {
  position: absolute;
  bottom: 20px;
  color: white;
  text-shadow: 0 2px 2px black;
  text-align: center;
  line-height: 1.5;
  white-space: nowrap;
}

#mode-menu {
  padding: 0 70px;
  opacity: 0;
  transition: all .2s ease-in-out;
  background: linear-gradient(60deg, rgba(0,0,0,.5) 50%, transparent 50%);
  background-color: rgba(255, 0, 0, .5);
  backdrop-filter: hue-rotate(180deg);
  position: absolute;
  right: 0;
  left: 0;
  height: 100%;
  white-space: nowrap;
}

#mode-menu ul {
  color: white;
  mix-blend-mode: initial;
  position: absolute;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 50px 0;
  padding: 0;
  font-size: 50px;
}

#mode-menu ul li {
  margin: 0 0;
  padding: 50px 50px;
  transition: all .1s ease-in-out;
}

#mode-menu ul li.disabled {
  color: gray;
}

#mode-menu ul li:hover {
  padding: 50px 150px;
  font-size: 50px;
  text-shadow: 0 5px 0 black;
  background: linear-gradient(60deg, rgba(0, 100, 255, 0.8) 50%,
    white 50%,
    white 51%, transparent 50%);
}

#mode-menu ul li.disabled:hover {
  padding: 50px 150px;
  font-size: 50px;
  background: linear-gradient(60deg, rgba(0, 0, 0, 0.8) 50%, white 50%, white 51%, transparent 51%);
}

#mode-menu.open {
  opacity: 1;
}

#mode-menu.side {
  position: absolute;
  height: 100%;
  width: 75px;
  left: 75px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: space-evenly;
  gap: 20%;
  font-family: "Press Start 2P";
  background: rgba(255, 0, 0, 1);
  cursor: pointer;
  overflow: clip;
  padding: 0;
  margin: 0;
}

#mode-menu.side *:not(.tab-name) {
  display: none;
  opacity: 0;
  transition: all .2s ease-in;
}

#mode-menu.side .tab-name {
  opacity: 1 !important;
  transition: all .2s ease-in-out;
  position: absolute;
  left: auto;
  white-space: nowrap;
  font-size: 50px;
  transform: rotate(90deg);
  height: 50px;
  width: 100vh;
  text-align: center;
  padding: 10px 0;
}

#mode-menu:not(.side) .tab-name {
  display: none;
  opacity: 0 !important;
  transition: all .2s ease-in-out;
}

#mode-menu h2 {
  font-size: 45px;
  color: white;
  text-shadow: 0 5px 0 black;
  background: linear-gradient(60deg, red 70%, rgba(255, 255, 255, .5) 70%);
  box-shadow: 0 10px 0 darkred;
  padding: 20px;
  margin-top: 0;
  width: calc(100% + 50px);
}

ul li .ellipse {
  opacity: 0;
  display: inline-block;
  border-radius: 50%;
  border: solid 1px black;
  background: #ffff00;
  position: relative;  
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 90%, 50% 50%, 100% 10%, 100% 0%);
  transition: all .2s ease-in-out;
}

ul li:hover .ellipse {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  opacity: 1;
  margin-right: 20px;
  margin-left: -70px;
  margin-top: -3px;
  margin-bottom: 3px;
  -moz-animation: pac .1s ease-in-out alternate infinite;
  -webkit-animation: pac .1s ease-in-out alternate infinite;
  animation: pac .1s ease-in-out alternate infinite;
}

#stage-select {
  position: absolute;
  display: flex;
  right: 0;
  left: 0;
  height: 100%;
  flex-direction: column;
  background-color: rgba(0, 127, 255, .5);
  font-size: 30px;
  margin: 0 0 0 150px;
  opacity: 0;
  transition: all .2s ease-in-out;
}

#stage-select.open {
  opacity: 1;
}

#stage-select.side {
  position: absolute;
  height: 100%;
  width: 75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: space-evenly;
  gap: 20%;
  left: 0;
  opacity: 1;
  font-family: "Press Start 2P";
  background: dodgerblue;
  cursor: pointer;
  overflow: clip;
  margin: 0 0 0 150px;
  padding: 0;
}

#stage-select.side *:not(.tab-name) {
  display: none;
  opacity: 0;
  animation: none;
}

#stage-select.side .tab-name {
  opacity: 1 !important;
  transition: all .2s ease-in-out;
  position: absolute;
  left: auto;
  white-space: nowrap;
  font-size: 45px;
  transform: rotate(90deg);
  height: 50px;
  width: 100vh;
  text-align: center;
  padding: 10px 0;
}

#stage-select:not(.side) .tab-name {
  display: none;
  opacity: 0 !important;
  transition: all .2s ease-in-out;
}

#stage-select.hide {
  opacity: 0;
  left: -50%;
}

#stage-select h2 {
  color: white;
  text-shadow: 0 5px 0 black;
  background: linear-gradient(60deg, dodgerblue 70%, rgba(255,255,255,.5) 70%);
  box-shadow: 0 10px 0 rgb(0, 89, 179);
  padding: 20px;
  margin-top: 0;
  width: calc(100% + 50px);
}

#stage-select #maze-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  font-size: 20px;
  width: calc(100vw - 230px);
  bottom: 0;
  margin: 0 0 0 50px;
}

.maze-preview {
  background: white;
  padding: 20px 15px;
  border-radius: 15px;
  box-shadow: 0 15px 5px -5px rgba(0, 0, 0, .5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  transition: all .1s ease-in-out;
}

.maze-preview:hover {
  transform: scale(1.1);
  outline: solid 5px darkred;
}

.maze-preview canvas {
  background: black;
  border-radius: 15px;
  padding: 15px;
}

.maze-preview a {
  background: greenyellow;
  width: 90%;
  height: 40px;
  font-size: 40px;
  padding: 10px;
  text-align: center;
  border-radius: 50px;
  margin: 10px;
  box-shadow: 0 5px 0 0 darkseagreen;
}

#game-type-list {
  padding: 0 220px;
  opacity: 0;
  transition: width .2s ease-in-out;
  background: linear-gradient(60deg, rgba(0, 0, 0, .5) 50%, transparent 50%);
  background-color: rgba(0, 255, 50, .5);
  backdrop-filter: hue-rotate(270deg);
  position: absolute;
  width: 100%;
  height: 100%;
  white-space: nowrap;
}

#game-type-list ul {
  color: white;
  mix-blend-mode: initial;
  position: absolute;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 50px 0;
  padding: 0;
  font-size: 50px;
}

#game-type-list ul li {
  margin: 0 0;
  padding: 50px 50px;
  transition: all .1s ease-in-out;
}

#game-type-list ul li.disabled {
  color: gray;
}

#game-type-list ul li:hover {
  padding: 50px 150px;
  font-size: 50px;
  text-shadow: 0 5px 0 black;
  background: linear-gradient(60deg, rgba(255, 0, 0, 0.8) 50%,
    white 50%,
    white 51%, transparent 50%);
}

#game-type-list ul li.disabled:hover {
  padding: 50px 150px;
  font-size: 50px;
  background: linear-gradient(60deg, rgba(0, 0, 0, 0.8) 50%,
    white 50%,
    white 51%, transparent 50%);
}

#game-type-list.open {
  opacity: 1;
}

#game-type-list.side {
  position: absolute;
  height: 100%;
  width: 75px;
  left: 75px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: space-evenly;
  gap: 20%;
  font-family: "Press Start 2P";
  background: white;
  cursor: pointer;
  overflow: clip;
  padding: 0;
  margin: 0;
}

#game-type-list.side *:not(.tab-name) {
  display: none;
  opacity: 0;
  transition: all .2s ease-in;
}

#game-type-list.side .tab-name {
  opacity: 1 !important;
  transition: all .2s ease-in-out;
  position: absolute;
  left: auto;
  white-space: nowrap;
  font-size: 50px;
  transform: rotate(90deg);
  height: 50px;
  width: 100vh;
  text-align: center;
  padding: 10px 0;
}

#game-type-list:not(.side) .tab-name {
  display: none;
  opacity: 0 !important;
  transition: all .2s ease-in-out;
}

#game-type-list h2 {
  font-size: 45px;
  color: white;
  text-shadow: 0 5px 0 black;
  background: linear-gradient(60deg, limegreen 70%, rgba(255, 255, 255, .5) 70%);
  box-shadow: 0 10px 0 darkgreen;
  padding: 20px;
  margin-top: 0;
  width: calc(100% + 50px);
}

#frame {
  padding: 4vh 32vh 4vh 32vh;
  background-image: url(img/pacman.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100%;
  overflow: clip;
}

canvas {
  margin: 0;
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -o-crisp-edges;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

.modal-wrapper {
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: all .2s ease-in-out;
}

.modal-wrapper.show {
  pointer-events: all;
  opacity: 1;
}

.modal {
  transform: scale(0);
  width: 700px;
  height: 400px;
  border-radius: 50px;
  border: solid 10px aliceblue;
  background: white;
  font-family: 'Press Start 2P';
  font-size: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 30px;
  transition: all .2s ease-in-out;
}

.modal-wrapper.show .modal {
  transform: scale(1);
}

.modal-wrapper.blur {
  backdrop-filter: blur(5 px);
}

.modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70%;
}

.modal-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.modal-buttons a {
  background-color: dodgerblue;
  box-shadow: 0 10px darkslategrey;
  border-radius: 20px;
  padding: 30px;
  font-size: 40px;
  color: white;
  text-shadow: 0 5px darkslategray, 0 -1px darkslategray, -1px 0 darkslategray, 1px 0 darkslategray;
  display: flex;
  align-items: center;
}

.modal-buttons a.cancel {
  background-color: red;
  box-shadow: 0 10px darkred;
  font-size: 35px;
}

.modal-buttons a:hover {
  cursor: pointer;
  box-shadow: none;
  margin-bottom: -10px;
  margin-top: 10px;
}

.modal-top{
  background-color: black;
  border-radius: 20px;
  height: 60px;
  padding: 20px 0 20px 20px;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.modal-top .ellipse {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  opacity: 1;
  display: block;
  border-radius: 50%;
  border: solid 1px black;
  background: #ffff00;
  position: absolute;
  top: 16px;
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 90%, 50% 50%, 100% 10%, 100% 0%);
  transition: all .2s ease-in-out;
  -moz-animation: pac .1s ease-in-out alternate infinite;
  -webkit-animation: pac .1s ease-in-out alternate infinite;
  animation: pac .1s ease-in-out alternate infinite;
 }

.modal-top .pellets {
  margin-left: 30px;
  overflow: clip;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.modal-top .pellet {
  background-color: #ffb9af;
  border-radius: 100px;
  height: 20px;
  width: 20px;
  margin: 10px;
  animation: moveLeft .2s linear infinite;
 }

.scroll-container {
  width: calc(100% - 20px);
  margin: 0 10px;
  overflow: clip;
}

.scroll-container::before {
  background: linear-gradient(to right, #e7e7e7 0%, #e7e7e7 10%, transparent 20%, transparent 80%, #e7e7e7 90%, #e7e7e7 100%);
  content: "";
  width: calc(100%);
  left: 0;
  height: 45px;
  position: absolute;
  z-index: 1;
}

.scroll-text {
  /* animation properties */
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);

  -moz-animation: my-animation 15s linear infinite;
  -webkit-animation: my-animation 15s linear infinite;
  animation: my-animation 15s linear infinite;
}

/* for Firefox */
@-moz-keyframes my-animation {
  from {
    -moz-transform: translateX(100%);
  }

  to {
    -moz-transform: translateX(var(--song-title-length));
  }
}

/* for Chrome */
@-webkit-keyframes my-animation {
  from {
    -webkit-transform: translateX(100%);
  }

  to {
    -webkit-transform: translateX(var(--song-title-length));
  }
}

@keyframes my-animation {
  from {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }

  to {
    -moz-transform: translateX(var(--song-title-length));
    -webkit-transform: translateX(var(--song-title-length));
    transform: translateX(var(--song-title-length));
  }
}

/* for Firefox */
@-moz-keyframes bounce {
  from {
    -moz-transform: scale(2) translateY(-10px) rotateZ(1deg);
    box-shadow: inset 0 0 0 3px black, 0 25px 30px -5px rgba(0, 0, 0, .5), inset 0 8px 10px 0 rgba(0, 0, 0, .3);
  }

  to {
    -moz-transform: scale(2.01) translateY(10px) rotateZ(-1deg);
    box-shadow: inset 0 0 0 3px black, 0 10px 30px -5px rgba(0, 0, 0, .5), inset 0 8px 10px 0 rgba(0, 0, 0, .3);
  }
}

/* for Chrome */
@-webkit-keyframes bounce {
  from {
    -webkit-transform: scale(2) translateY(-10px) rotateZ(1deg);
    box-shadow: inset 0 0 0 3px black, 0 25px 30px -5px rgba(0, 0, 0, .5), inset 0 8px 10px 0 rgba(0, 0, 0, .3);
  }

  to {
    -webkit-transform: scale(2.01) translateY(10px) rotateZ(-1deg);
    box-shadow: inset 0 0 0 3px black, 0 10px 30px -5px rgba(0, 0, 0, .5), inset 0 8px 10px 0 rgba(0, 0, 0, .3);
  }
}

@keyframes bounce {
  from {
    -moz-transform: scale(2) translateY(-10px) rotateZ(1deg);
    -webkit-transform: scale(2) translateY(-10px) rotateZ(1deg);
    transform: scale(2) translateY(-10px) rotateZ(1deg);
    box-shadow: inset 0 0 0 3px black, 0 25px 30px -5px rgba(0, 0, 0, .5), inset 0 8px 10px 0 rgba(0, 0, 0, .3);
  }

  to {
    -moz-transform: scale(2.01) translateY(10px) rotateZ(-1deg);
    -webkit-transform: scale(2.01) translateY(10px) rotateZ(-1deg);
    transform: scale(2.01) translateY(10px) rotateZ(-1deg);
    box-shadow: inset 0 0 0 3px black, 0 10px 30px -5px rgba(0, 0, 0, .5), inset 0 8px 10px 0 rgba(0, 0, 0, .3);
  }
}

/* for Firefox */
@-moz-keyframes blink {
  0%, 79% {
    opacity: 1;
  }

  80%, 100% {
    opacity: 0;
  }
}

/* for Chrome */
@-webkit-keyframes blink {
  0%, 79% {
    opacity: 1;
  }
  
  80%, 100% {
    opacity: 0;
  }
}

@keyframes blink {
  0%, 79% {
    opacity: 1;
  }
  
  80%, 100% {
    opacity: 0;
  }
}

/* for Firefox */
@-moz-keyframes hueChangeBg {
  from {
    filter: hue-rotate(0deg) saturate(.8);
  }

  to {
    filter: hue-rotate(360deg) saturate(.8);
  }
}

/* for Chrome */
@-webkit-keyframes blink {
  from {
    filter: hue-rotate(0deg) saturate(.8);
  }

  to {
    filter: hue-rotate(360deg) saturate(.8);
  }
}

@keyframes hueChangeBG {
  from {
    filter: hue-rotate(0deg) saturate(.8);
  }

  to {
    filter: hue-rotate(360deg) saturate(.8);
  }
}

/* for Firefox */
@-moz-keyframes backgroundScroll {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 300% -100%;
  }
}

/* for Chrome */
@-webkit-keyframes backgroundScroll {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 300% -100%;
  }
}

@keyframes backgroundScroll {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 300% -100%;
  }
}

/* for Firefox */
@-moz-keyframes pac {
  from {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 90%, 50% 50%, 100% 10%, 100% 0%);
  }

  to {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 50%, 50% 50%, 100% 50%, 100% 0%);
  }
}

/* for Chrome */
@-webkit-keyframes pac {
  from {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 90%, 50% 50%, 100% 10%, 100% 0%);
  }

  to {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 50%, 50% 50%, 100% 50%, 100% 0%);
  }
}

@keyframes pac {
  from {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 90%, 50% 50%, 100% 10%, 100% 0%);
  }

  to {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 50%, 50% 50%, 100% 50%, 100% 0%);
  }
}

/* for Firefox */
@-moz-keyframes moveLeft {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-40px, 0);
  }
}

/* for Chrome */
@-webkit-keyframes moveLeft {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-40px, 0);
  }
}

@keyframes moveLeft {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-40px, 0);
  }
}