@font-face {
  font-family: "FGP-Marugothic";
  src: url("../fonts/131_FGP丸ｺﾞｼｯｸ体Ca-U.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Prevent zoom and user interactions globally */
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow: hidden;
  width: 1920px;
  height: 1080px;
  margin: 0;
  padding: 0;
  position: relative;
  transform-origin: top left;
  font-family: "FGP-Marugothic", "Hiragino Sans", "Yu Gothic", "Meiryo",
    sans-serif;
  /* Prevent zoom and user interactions */
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.main-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  z-index: 1;
  display: none;
}

.main-background.show {
  display: block;
}

.background-image {
  width: 1920px;
  height: 1080px;
  object-fit: cover;
  object-position: center;
  position: relative;
}

.wheel-image {
  position: absolute;
  width: 35px;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: paused;
  /* Mặc định dừng */
}

.wheel-1,
.wheel-2,
.wheel-3,
.wheel-4 {
  animation-name: rotateCounterClockwise;
}

.wheel-5,
.wheel-6,
.wheel-7,
.wheel-8,
.wheel-9,
.wheel-10,
.wheel-11 {
  animation-name: rotateClockwise;
}

@keyframes rotateCounterClockwise {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes rotateClockwise {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.wheel-1 {
  top: 481px; /* 43.9% of 1080px */
  left: 826px; /* 43% of 1920px */
}

.wheel-2 {
  top: 482px; /* 43.9% of 1080px */
  left: 643px; /* 33.5% of 1920px */
}

.wheel-3 {
  top: 484px; /* 44% of 1080px */
  left: 403px; /* 21% of 1920px */
}

.wheel-4 {
  top: 490px; /* 44.8% of 1080px */
  left: 154px; /* 8.5% of 1920px */
}

.wheel-5 {
  top: 655px; /* 61.5% of 1080px */
  left: 96px; /* 5% of 1920px */
}

.wheel-6 {
  top: 667px; /* 63% of 1080px */
  left: 365px; /* 17% of 1920px */
}

.wheel-7 {
  top: 674px; /* 63.8% of 1080px */
  left: 634px; /* 33% of 1920px */
}

.wheel-8 {
  top: 676px; /* 64% of 1080px */
  left: 960px; /* 50% of 1920px */
}

.wheel-9 {
  top: 673px; /* 63.5% of 1080px */
  left: 1286px; /* 67% of 1920px */
}

.wheel-10 {
  top: 664px; /* 63% of 1080px */
  left: 1580px; /* 80% of 1920px */
}

.wheel-11 {
  top: 647px; /* 61.5% of 1080px */
  left: 1848px; /* 93% of 1920px */
}

/* Wheel animation control */
.wheel-image.game-running {
  animation-play-state: running;
}

.trash-bins {
  position: absolute;
  bottom: 10px; /* 5% of 1080px */
  left: 960px; /* 50% of 1920px */
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 15px;
  z-index: 1;
  width: 100%;
  border: 10px solid transparent;
  border-radius: 999px;
  padding: 0 30px 40px 30px;
}

.trash-bin {
  position: relative;
  height: 270px;
  display: flex;
  align-items: flex-end;
}

.trash-bin img {
  transition: transform 0.3s ease;
  width: 100px;
  /* height: 210px; */
}

.trash-bin img.open {
  /* height: 265px; */
}

.trash-bin .open {
  display: none;
}

/* Trash bin labels */
.trash-label {
  position: absolute;
  top: 93px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-weight: bold;
  font-size: 17px;
  color: #333;
  line-height: 0.9;
  z-index: 10;
  width: 100%;
}

.trash-bin.bin-1 .trash-label,
.trash-bin.bin-3 .trash-label,
.trash-bin.bin-6 .trash-label,
.trash-bin.bin-8 .trash-label,
.trash-bin.bin-9 .trash-label,
.trash-bin.bin-10 .trash-label {
  top: 65%;
}

.trash-bin.bin-2 .trash-label {
  top: 63%;
}

.trash-bin.bin-12 .trash-label,
.trash-bin.bin-13 .trash-label {
  top: 61%;
}

.trash-bin.bin-4 .trash-label {
  top: 67%;
}

.trash-bin.bin-5 .trash-label,
.trash-bin.bin-7 .trash-label {
  top: 59%;
}

.trash-bin.bin-11 .trash-label {
  top: 66%;
}

.trash-bin.bin-14 .trash-label {
  top: 62%;
}

.trash-bin.bin-15 .trash-label {
  top: 63%;
}

.trash-bin.bin-16 .trash-label {
  top: 64%;
}

/* When trash bin is open (drag-over), move label down */

.trash-bin.bin-1.drag-over .trash-label,
.trash-bin.bin-6.drag-over .trash-label,
.trash-bin.bin-10.drag-over .trash-label,
.trash-bin.bin-14.drag-over
  .trash-label
  .trash-bin.bin-15.drag-over
  .trash-label {
  top: 65%;
}

.trash-bin.bin-2.drag-over .trash-label {
  top: 63%;
}

.trash-bin.bin-3.drag-over .trash-label {
  top: 66%;
}

.trash-bin.bin-4.drag-over .trash-label {
  top: 67%;
}

.trash-bin.bin-5.drag-over .trash-label,
.trash-bin.bin-7.drag-over .trash-label {
  top: 59%;
}

.trash-bin.bin-8.drag-over .trash-label,
.trash-bin.bin-9.drag-over .trash-label,
.trash-bin.bin-11.drag-over .trash-label {
  top: 66%;
}

.trash-bin.bin-12.drag-over .trash-label,
.trash-bin.bin-13.drag-over .trash-label {
  top: 61%;
}

.label-japanese {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: 0 auto;
}

.label-japanese rt {
  margin-bottom: 0 !important;
  margin-left: 2px;
  font-size: 10px;
}

.label-english {
  display: block;
  font-size: 14px;
  color: #666;
  margin: 0 auto;
  text-align: center;
  margin-top: 2px;
}

.english-word {
  display: block;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  color: #000;
  font-size: 14px;
}

.label-english {
  display: none;
}

.language-english .label-japanese {
  display: none;
}

.language-english .label-english {
  display: block;
}

/* English label positioning when English language is selected */

.language-english .trash-bin.bin-3 .trash-label,
.language-english .trash-bin.bin-1 .trash-label,
.language-english .trash-bin.bin-5 .trash-label,
.language-english .trash-bin.bin-6 .trash-label,
.language-english .trash-bin.bin-7 .trash-label,
.language-english .trash-bin.bin-8 .trash-label,
.language-english .trash-bin.bin-9 .trash-label,
.language-english .trash-bin.bin-10 .trash-label,
.language-english .trash-bin.bin-11 .trash-label,
.language-english .trash-bin.bin-14 .trash-label,
.language-english .trash-bin.bin-15 .trash-label {
  top: 65%;
}

.language-english .trash-bin.bin-2 .trash-label,
.language-english .trash-bin.bin-12 .trash-label {
  top: 63%;
}

.language-english .trash-bin.bin-13 .trash-label {
  top: 61%;
}

.language-english .trash-bin.bin-4 .trash-label {
  top: 67%;
}

/* English label positioning when trash bin is open (drag-over) */
.language-english .trash-bin.bin-1.drag-over .trash-label,
.language-english .trash-bin.bin-3.drag-over .trash-label,
.language-english .trash-bin.bin-5.drag-over .trash-label,
.language-english .trash-bin.bin-6.drag-over .trash-label,
.language-english .trash-bin.bin-7.drag-over .trash-label,
.language-english .trash-bin.bin-14.drag-over .trash-label,
.language-english .trash-bin.bin-15.drag-over .trash-label {
  top: 65%;
}

.language-english .trash-bin.bin-2.drag-over .trash-label,
.language-english .trash-bin.bin-12.drag-over .trash-label {
  top: 63%;
}

.language-english .trash-bin.bin-4.drag-over .trash-label {
  top: 67%;
}

.language-english .trash-bin.bin-8.drag-over .trash-label,
.language-english .trash-bin.bin-9.drag-over .trash-label,
.language-english .trash-bin.bin-10.drag-over .trash-label,
.language-english .trash-bin.bin-11.drag-over .trash-label {
  top: 66%;
}

.language-english .trash-bin.bin-13.drag-over .trash-label {
  top: 61%;
}

.text-score-top {
  position: absolute;
  font-weight: bold;
  font-size: 40px;
  left: 150px;
  top: 60px;
  color: #000;
}

.score-container {
  position: absolute;
  top: 105px;
  left: 330px;
  display: flex;
  align-items: center;
}

.text-score-bottom {
  display: block;
  font-size: 75px;
  font-weight: bold;
  color: #000;
  margin-left: 50px;
  margin-top: 100px;
}

.score {
  color: #c02e0f;
  font-size: 150px;
  font-weight: bold;
}

.game-timer {
  position: absolute;
  top: 32px; /* 3% of 1080px */
  right: 96px; /* 5% of 1920px */
  z-index: 100;
}

.game-timer canvas {
  background: transparent;
}

.time-left-text {
  position: absolute;
  top: 160px;
  right: 72px;
  font-size: 32px;
  font-weight: bold;
}

.admin-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.admin-button:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.admin-button span {
  font-size: 24px;
  color: white;
  user-select: none;
}

.game-running .admin-button {
  display: none;
}

.game-running .game-timer {
  display: block;
}

.game-timer {
  display: none;
}

.admin-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-login-overlay.show {
  background: rgba(0, 0, 0, 0.8);
  opacity: 1;
  visibility: visible;
}

.admin-login-container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-login-overlay.show .admin-login-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.admin-login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.admin-login-overlay.show .admin-login-header {
  transform: translateY(0);
  opacity: 1;
}

.admin-login-header h2 {
  margin: 0;
  color: #333;
  font-size: 32px;
  font-weight: bold;
}

.admin-close-btn {
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.admin-close-btn:hover {
  background: #cc0000;
}

.admin-input-group {
  margin-bottom: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.admin-login-overlay.show .admin-input-group {
  transform: translateY(0);
  opacity: 1;
}

.admin-input-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: bold;
  color: #333;
  font-size: 18px;
}

.admin-input-group input {
  width: 100%;
  padding: 16px;
  border: 3px solid #ddd;
  border-radius: 12px;
  font-size: 20px;
  transition: border-color 0.3s ease;
  background: #f8f9fa;
}

.admin-input-group input:focus {
  outline: none;
  border-color: #007bff;
}

#adminPopupPasswordInputPlaceholder {
  position: absolute;
  top: 55px;
  left: 20px;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.6);
}

#adminPopupPasswordInputPlaceholder:hover {
  cursor: text;
}

.admin-login-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.admin-login-overlay.show .admin-login-buttons {
  transform: translateY(0);
  opacity: 1;
}

.admin-login-btn,
.admin-cancel-btn {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-login-btn {
  background: #007bff;
  color: white;
}

.admin-login-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.admin-cancel-btn {
  background: #6c757d;
  color: white;
}

.admin-cancel-btn:hover {
  background: #545b62;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.admin-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.admin-message.show {
  opacity: 1;
  transform: translateY(0);
}

.admin-message-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.admin-message-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.admin-message-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.admin-message-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.admin-message-icon {
  font-size: 20px;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

.admin-message-text {
  flex: 1;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.character {
  position: absolute;
  top: 60px; /* 18% of 1080px */
  right: 280px; /* 10% of 1920px */
}

.character-image {
  width: 300px;
  animation: characterPulse 2s ease-in-out infinite;
  height: 400px;
}

.character-image-1 {
  width: 250px;
}

.character-image-2 {
  width: 350px;
}

.character-end-popup {
  position: absolute;
  top: 280px;
  right: 470px;
}

.character-end-popup-image {
  animation: characterPulse 2s ease-in-out infinite;
  height: 200px;
}

@keyframes characterPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.bin-1,
.bin-15 {
  transform: translateY(0px);
}

.bin-2,
.bin-14 {
  transform: translateY(-5px);
}

.bin-3,
.bin-13 {
  transform: translateY(-10px);
}

.bin-4,
.bin-12 {
  transform: translateY(-15px);
}

.bin-5,
.bin-11 {
  transform: translateY(-20px);
}

.bin-6,
.bin-10 {
  transform: translateY(-25px);
}

.bin-7,
.bin-9 {
  transform: translateY(-30px);
}

.bin-8 {
  transform: translateY(-30px);
}

/* Game Conveyor Belts */
.conveyor-belt {
  position: absolute;
  width: 1920px;
  height: 216px; /* 20% of 1080px */
  animation: conveyorMove 7.5s linear infinite;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.top-conveyor {
  top: 281px; /* 26% of 1080px */
  transform: rotate(-2deg);
}

.middle-conveyor {
  top: 486px; /* 45% of 1080px */
  animation: conveyorMoveReverse 7.5s linear infinite;
}

.conveyor-label {
  position: absolute;
  top: 5px;
  left: 20px;
  font-size: 12px;
  font-weight: bold;
  color: #666;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  border-radius: 10px;
}

@keyframes conveyorMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 40px 0;
  }
}

@keyframes conveyorMoveReverse {
  0% {
    background-position: 40px 0;
  }

  100% {
    background-position: 0 0;
  }
}

/* Game Items */
.trash-item-container {
  position: absolute;
  z-index: 15;
  margin: 0 10px;
  transition: transform 0.3s ease-in-out;
}

.trash-item {
  background: transparent;
  border-radius: 10px;
  cursor: grab;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  user-select: none;
  object-fit: contain;
  touch-action: none;
  -webkit-user-drag: none;
  height: 120px;
  width: 120px;
  object-position: bottom;
}

.trash-item.dragging {
  cursor: grabbing;
  z-index: 1000;
  animation: none !important;
  transition: none !important;
}

.trash-item-container.dragging {
  z-index: 1000;
  animation: none !important;
  transition: none !important;
}

/* Mobile drag support */
@media (max-width: 768px) {
  /* .trash-item-container {
          width: 80px;
          height: 80px;
      } */

  .trash-item.dragging {
    position: fixed !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* Trash bin drag over effect */
.trash-bin.drag-over .closed {
  display: none;
}

.trash-bin.drag-over .open {
  display: inline;
}

.screensaver {
  position: fixed;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  background-color: #000000;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.5s ease-in-out;
}

.screensaver.hidden {
  display: none;
}

.screensaver-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: zigzagMove 20s linear infinite;
}

.screensaver-img {
  width: 25vw;
  height: 25vw;
  min-width: 200px;
  min-height: 200px;
  max-width: 400px;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

.screensaver-container.img-1 {
  animation: zigzagMove 20s linear infinite, blink1 3s ease-in-out infinite;
}

.screensaver-container.img-2 {
  animation: zigzagMove 20s linear infinite, blink2 3s ease-in-out infinite;
}

.screensaver-container.img-3 {
  animation: zigzagMove 20s linear infinite, blink3 3s ease-in-out infinite;
}

@keyframes blink1 {
  0%,
  33% {
    opacity: 1;
  }

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

@keyframes blink2 {
  0%,
  33% {
    opacity: 0;
  }

  34%,
  66% {
    opacity: 1;
  }

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

@keyframes blink3 {
  0%,
  66% {
    opacity: 0;
  }

  67%,
  100% {
    opacity: 1;
  }
}

@keyframes scalePulseTrashbins {
  0%,
  100% {
    transform: translateX(-50%) scale(0.92);
  }

  50% {
    transform: translateX(-50%) scale(1);
  }
}

.screensaver-message {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.message-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px 30px;
  backdrop-filter: blur(10px);
  animation: messagePulse 2s ease-in-out infinite;
}

.message-text {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
  white-space: nowrap;
}

@keyframes messagePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@media (min-width: 1200px) {
  .screensaver-img {
    width: 25vw;
    height: 25vw;
    min-width: 250px;
    min-height: 250px;
    max-width: 500px;
    max-height: 500px;
  }

  .message-text {
    font-size: 28px;
  }

  .screensaver-container.img-1 {
    animation: zigzagMoveDesktop 20s linear infinite,
      blink1 3s ease-in-out infinite;
  }

  .screensaver-container.img-2 {
    animation: zigzagMoveDesktop 20s linear infinite,
      blink2 3s ease-in-out infinite;
  }

  .screensaver-container.img-3 {
    animation: zigzagMoveDesktop 20s linear infinite,
      blink3 3s ease-in-out infinite;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .screensaver-img {
    width: 25vw;
    height: 25vw;
    min-width: 180px;
    min-height: 180px;
    max-width: 350px;
    max-height: 350px;
  }

  .message-text {
    font-size: 22px;
  }

  .screensaver-container.img-1 {
    animation: zigzagMoveTablet 18s linear infinite,
      blink1 3s ease-in-out infinite;
  }

  .screensaver-container.img-2 {
    animation: zigzagMoveTablet 18s linear infinite,
      blink2 3s ease-in-out infinite;
  }

  .screensaver-container.img-3 {
    animation: zigzagMoveTablet 18s linear infinite,
      blink3 3s ease-in-out infinite;
  }
}

@media (max-width: 767px) {
  .screensaver-img {
    width: 20vw;
    height: 20vw;
    min-width: 150px;
    min-height: 150px;
    max-width: 250px;
    max-height: 250px;
  }

  .message-text {
    font-size: 18px;
  }

  .message-box {
    padding: 15px 20px;
  }

  .screensaver-container.img-1 {
    animation: zigzagMoveMobile 15s linear infinite,
      blink1 3s ease-in-out infinite;
  }

  .screensaver-container.img-2 {
    animation: zigzagMoveMobile 15s linear infinite,
      blink2 3s ease-in-out infinite;
  }

  .screensaver-container.img-3 {
    animation: zigzagMoveMobile 15s linear infinite,
      blink3 3s ease-in-out infinite;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zigzagMove {
  0% {
    top: 75%;
    left: 75%;
  }

  12.5% {
    top: 50%;
    left: 50%;
  }

  25% {
    top: 25%;
    left: 75%;
  }

  37.5% {
    top: 50%;
    left: 25%;
  }

  50% {
    top: 75%;
    left: 25%;
  }

  62.5% {
    top: 50%;
    left: 50%;
  }

  75% {
    top: 25%;
    left: 25%;
  }

  87.5% {
    top: 50%;
    left: 75%;
  }

  100% {
    top: 75%;
    left: 75%;
  }
}

@keyframes zigzagMoveDesktop {
  0% {
    top: 80%;
    left: 80%;
  }

  10% {
    top: 60%;
    left: 60%;
  }

  20% {
    top: 40%;
    left: 80%;
  }

  30% {
    top: 20%;
    left: 60%;
  }

  40% {
    top: 10%;
    left: 30%;
  }

  50% {
    top: 30%;
    left: 10%;
  }

  60% {
    top: 50%;
    left: 20%;
  }

  70% {
    top: 70%;
    left: 10%;
  }

  80% {
    top: 80%;
    left: 30%;
  }

  90% {
    top: 60%;
    left: 50%;
  }

  100% {
    top: 80%;
    left: 80%;
  }
}

@keyframes zigzagMoveTablet {
  0% {
    top: 70%;
    left: 70%;
  }

  14.28% {
    top: 50%;
    left: 50%;
  }

  28.57% {
    top: 30%;
    left: 70%;
  }

  42.85% {
    top: 50%;
    left: 30%;
  }

  57.14% {
    top: 70%;
    left: 30%;
  }

  71.42% {
    top: 50%;
    left: 50%;
  }

  85.71% {
    top: 30%;
    left: 30%;
  }

  100% {
    top: 70%;
    left: 70%;
  }
}

@keyframes zigzagMoveMobile {
  0% {
    top: 65%;
    left: 65%;
  }

  16.66% {
    top: 45%;
    left: 45%;
  }

  33.33% {
    top: 25%;
    left: 65%;
  }

  50% {
    top: 45%;
    left: 25%;
  }

  66.66% {
    top: 65%;
    left: 25%;
  }

  83.33% {
    top: 45%;
    left: 45%;
  }

  100% {
    top: 65%;
    left: 65%;
  }
}

rt {
  margin-bottom: 5px;
}
