body{
  overflow: hidden;
}

.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;
  background-image: url(../imgs/.jpg);
  background-size: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: -2;
  overflow: hidden;
}

#shapes-container {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  margin-left: calc(50% - 186px);
  margin-top: 56px;
}

.shape-box {
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
  margin-right: 10px;
}

.shape-box:hover {
  transform: scale(1.1);
}

.shape-box > div {
  width: 30px;
  height: 30px;
}

.circle {
  border-radius: 50%;
  background-color: #84c7fd;
}

.square {
  background-color: #5cd2b0;
}

.triangle {
width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 29px solid #fc7792;
    margin-top: -32px;
}

.diamond {
  width: 100px !important; 
  height: 50px; 
  -moz-border-radius: 50%; 
  -webkit-border-radius: 50%; 
  border-radius: 50%;
  background-color: #ffa501;
}

.parallelogram {
  width: 40px !important;
  height: 10px;
  background-color: #a387f2;
}

.shape {
  position: absolute;
  cursor: pointer;
}

#color-picker {
  position: absolute;
  bottom: 90px;
  display: flex;
  gap: 20px;
  z-index: 999;
  margin-left: calc(50% - 122px);
}

#color-picker div {
  width: 30px;
  height: 30px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 999;
}

#rotate-buttons, #resize-buttons {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 10px;
  z-index: 999;
  color: #fff;
}

#rotate-buttons {
  left: 20px;
  z-index: 999;
}

#resize-buttons {
  right: 20px;
  z-index: 999;
}

button {
  padding: 10px 14px;
  font-size: 22px;
  cursor: pointer;
  z-index: 999;
  border-radius: 12px;
  background-color: #695aa6;
  border: 1px solid #a387f2;
}

.clear-button {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 16px;
  font-size: 16px;
  background-color: orangered;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 100;
}