:root {
  --color-primary: #ffffff;
  --color-secondary: #000000;
  --color-theme: #2a6fa5;
  --color-navy: #123258;
  --color-blue: #8ec3cb;
  --color-red: #ff7a75;
  --color-green: #82c8a4;
  --color-yellow: #ebb143;
}

.wrapper {
  font-family: Arial, Helvetica, sans-serif;
  padding: 0;
  width: 900px;
  height: 515px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(/img/background.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  /* background-size: 900px 600px; */
  margin-left: auto;
  margin-right: auto;
}

.myCanvas {
  border: 2px solid var(--color-navy);
  margin: 0 auto;
  padding: 0;
  cursor: crosshair;
}

.menu {
  width: 900px;
  padding: 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.diff-input {
  display: flex;
  flex-direction: column;
  font-size: 1.4em;
  /* color: var(--color-primary); */
}

.diff-info {
  font-size: 1.4em;
  font-weight: 700;
  /* color: var(--color-primary); */
}

.btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-navy);
  box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.3), inset 0px 4px 1px 1px white,
    inset 0px -3px 1px 1px rgba(204, 198, 197, 0.5);
  border: none;
  outline: none;
}

.btn:hover {
  color: var(--color-red);
}

.about {
  width: 300px;
  height: 225px;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  border: 2px solid var(--color-navy);
  position: absolute;
}

.about i.fa-times,
.play i.fa-times,
.end-info i.fa-times {
  position: absolute;
  font-size: 2em;
  top: 5px;
  right: 10px;
  transition: all 1s;
}

.about i:hover,
.play i:hover,
.end-info i:hover,
.save-chart:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.about__title {
  font-size: 1.8em;
  font-weight: 700;
  margin: 10px 0 10px 10px;
}

.about__links {
  margin: 0 0 0 20px;
}

.about__links p {
  margin: 10px 0;
  padding: 0;
}

.about__version {
  font-size: 0.8em;
  margin: 20px 10px 10px 20px;
}

.play {
  width: 720px;
  height: 400px;
  background: #fff;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--color-navy);
  position: absolute;
}

.play > div {
  margin: 20px;
}

.chart {
  background: var(--color-primary);
  border: 2px solid var(--color-navy);
  position: absolute;
  top: 30px;
  left: 265px;
}

.end-info {
  width: 640px;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  border: 2px solid var(--color-navy);
  padding: 15px;
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
}

.bubbles {
  display: flex;
}

.bubble {
  width: 41px;
  height: 41px;
  left: 150px;
  cursor: crosshair;
  position: relative;
}

.bubbleRed {
  background: url(/img/bubbles.png) 45px -4px;
  left: 250px;
  animation: moveRedBall ease-in-out 5s 0.5s;
}

.bubbleRed:hover {
  background: url(/img/bubbles.png) -4px -4px;
}

.bubbleBlue {
  left: 500px;
  background: url(/img/bubbles.png);
  background-position-x: -4px;
  background-position-y: -4px;
  animation: changeColorBlueBall 1s steps(2);
  animation-delay: 2.3s;
  animation-fill-mode: forwards;
}

@keyframes moveRedBall {
  0% {
    left: 250px;
  }
  50% {
    left: 500px;
  }
  100% {
    left: 250px;
  }
}

@keyframes changeColorBlueBall {
  0% {
    background-position-x: -4px;
  }
  100% {
    background-position-x: 95px;
  }
}

.important {
  font-size: 1.4em;
  color: var(--color-red);
  text-align: center;
}

.save-chart {
  position: absolute;
  transition: all 1s;
  color: var(--color-navy);
}

@media only screen and (max-width: 720px) {
  .diff-info,
  .play__desktop-info,
  .endInfo__desktop {
    display: none;
  }
  .play {
    width: 293px;
    height: 350px;
  }
  .end-info {
    width: 310px;
  }
}

@media only screen and (max-width: 350px) {
  .btn--help {
    display: none;
  }
  .about {
    width: 225px;
  }
  .about__title {
    margin: 10px 0 10px 25px;
  }
  .end-info {
    width: 250px;
    height: 400px;
  }
  .end-info p {
    margin: 10px 5px;
  }
}
