
.speakerCloseMed {
  position: absolute;
  width: 50px;
  height: 50px;
  background: url(../imgs/sclose.png) center center no-repeat;
  top: 20px;
  right: 20px;
  z-index: 5000000;
  cursor: pointer;
}

.gameMemoryContainer {
  background-color: #695aa6;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: -2;
  overflow: hidden;
}

.game-container {
  display: inline-block;
  border: 5px solid orange;
  border-radius: 16px;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: auto;
  width: 70%;
  margin-left: 15%;
  margin-top: 30px;
}
.question {
  font-size: 24px;
  margin: 20px 0;
}
.apples {
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  flex-direction: column;
}
.apple {
  width: 100px;
  height: 100px;
}
.answer-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.answer-buttons button {
  padding: 5px 25px;
  font-size: 26px;
  background-color: orange;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
.answer-buttons button:hover {
  background-color: orangered;
}
.message {
  margin-top: 20px;
  font-size: 20px;
}
.basket {
  position: relative;
  width: 300px;
  height: 140px; 
  margin: 20px auto 0;
  border-radius: 10px;
  overflow: hidden; 
}
.basket img {
  width: 100%;
}
.basket .apples {
  position: absolute;
  top: -30px;
  left: 0;
  width: 70%;
  height: 50%;
  padding: 40px;
}
.basket .apples img {
  width: 60px; 
  height: 60px;
  position: absolute;
  animation: random-move 0.5s ease-in-out;
}

@keyframes random-move {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

.result-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  border-radius: 10px;
  font-size: 46px;
  display: none;
  z-index: 1000;
}

.plus-sign {
  font-size: 24px;
  color: orange; 
  margin: 0 10px;
}

@media (max-width: 920px) {

  .game-container {
    width: 90%;
    margin-left: 5%;
  }

  
  }

  @media (max-width: 550px) {

    .game-container {
      width: 350px;
      margin-left: calc(50% - 175px);
      padding: 6px;
      margin-top: 70px;
    }
  
    .apple {
      width: 65px;
      height: 65px;
    }

  
    
    }