/*            FOOTER            */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  padding: 15px 70px;
  background: #00000055;
  transition: 0.3s;
  overflow-x: auto;
}

.footer:hover {
  background: #000000aa;
}

.footer__block {
  display: flex;
  gap: 30px;
}

.footer__cell-block {
  display: flex;
  gap: 30px;
}

.footer__cell {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  background: #ffffff88;
  border-radius: 5px;
  position: relative;
}

.footer__del-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0;
}

.footer__cell:hover .footer__del-icon {
  opacity: 1;
}

.footer__unit-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.footer__add {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__add-icon {
  display: block;
  height: 60px;
}

.footer__cell-price-block {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer__buy-icon {
  width: 15px;
}

.footer__cell-price {
  color: var(--light-text);
  /* font-size: 13px; */
}


.game-speed_block {
  position: relative;
  width: 75px;
  display: flex;
  margin-right: 50px;
  background-color: #ffffff88;
  padding: 5px;
  border-radius: 5px;
}

.game-speed_img {
  width: 100%;
  transition: 0.3s;
}

.game-speed_add {
  position: absolute;
  top: -3px;
  left: -3px;
  transition: 0.3s;
  opacity: 0;
  cursor: pointer;
  width: 80px;
}

.game-speed_block:hover .game-speed_add {
  opacity: 1;
}

.game-speed_block:hover .game-speed_img {
  opacity: 0.2;
}

@media (max-width: 1000px) {
  .footer {
    padding: 8px 30px;
  }
  .footer__add-icon {
    height: 40px;
  }
  .footer__cell {
    width: 50px;
    height: 50px;
  }
  .footer__cell-block {
    gap: 10px;
  }
  .game-speed_block {
    width: 50px;
    height: 50px;
    margin-right: 0;
  }
  .game-speed_block {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 500px) {
  .footer {
    justify-content: start;
    padding: 5px 15px;
    gap: 10px;
  }
  .footer__cell-block {
    gap: 10px;
  }
  .game-speed_add {
    width: 57px;
  }

  .footer__block {
    /* overflow: hidden; */
    /* white-space: nowrap; */
    /* overflow-x: scroll; */
    gap: 10px;
    max-height: 70px;
  }
}