body {
  display: flex;
  font-family: "Roboto";
  background: url("/image/recycling-concept-top-view.jpg") 0 0/100% auto
    no-repeat;
  box-sizing: border-box;
  max-height: 100vh;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.wrapper {
  max-width: 50%;
  margin-top: 14vh;
}

.containers {
  padding-top: 3vh;
  display: flex;
  justify-content: space-evenly;
}

.dumpster-text {
  margin: 50px auto;
}

.panel {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 28vh;
}

.caption {
  font-size: 2em;
  font-weight: bolder;
  text-align: center;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 5vh;
}

#yellow .dumpster-text {
  background-color: #ffad00;
}

#green .dumpster-text {
  background-color: #6ec100;
}

#blue .dumpster-text {
  background-color: #0060f2;
}

#red .dumpster-text {
  background-color: red;
}

.label {
  display: flex;
  justify-content: center;
}

.dumpster-text {
  border-radius: 40px;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 100%;
  letter-spacing: 0.2px;
  text-align: center;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 3vh;
  width: max-content;
}

.counter {
  opacity: 0;
  display: flex;
  width: 500px;
  justify-content: space-between;
  transition: all 350ms ease-in;
}

.counter.active {
  opacity: 1;
}

.win span,
.lose span {
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 1.5em;
  text-align: center;
}

.win,
.lose,
.again {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 40px;
  padding: 10px;
  text-align: center;
  height: 30px;
  transition: all 350ms ease-in;
  box-shadow: 0 5px 0 #5d593a;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.win,
.lose {
  width: 80px;
}

.dumpster-garbage {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timer-svg {
  width: 350px;
  object-fit: contain;
}

.cub-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  opacity: 0;
  z-index: 4;
  width: 200px;
}

.trash_picture {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;

  width: 200px;
  height: 200px;
  border-radius: 100px;
  background: #c3deee;
  z-index: 3;
  opacity: 0;
  transform: scale(1);
  transition: all 350ms ease-in;
}

.trash_picture.active {
  opacity: 1;
  transform: scale(1.3);
}

.trash_picture img {
  width: 145px;
  z-index: 3;
  opacity: 0;
  transform: scale(1);
}

.trash_picture img.active {
  opacity: 1;
  transform: scale(1.2);
  animation: appearance 350ms cubic-bezier(0.1, -0.6, 0.2, 0);
}
.dumpster.end{
  pointer-events: none;
}

@keyframes appearance {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.lose img,
.win img {
  max-width: 100%;
  max-height: 100%;
}

.win {
  background-color: #a7d161;
}


.lose {
  background-color: #e5017c;
}

.dumpster {
  width: 23%;
  position: sticky;
  cursor: pointer;
}

.dumpster-cap {
  width: 76%;
  object-fit: contain;
  position: absolute;
  left: 1.3vw;
  top: 10.5vh;
  z-index: -1;
  transition: top 450ms ease-in;
}

.dumpster:hover .wasteboxs .dumpster-cap {
  top: 2vh;
}

.button_begin {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  z-index: 5;
  color: white;
  cursor: pointer;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
  font-weight: 700;
  font-size: 2rem;
  width: 200px;
  height: 200px;
  padding: 12px 40px;
  margin: 10px 20px;
  border-radius: 100px;
  border: 5px;
  background-image: linear-gradient(
    45deg,
    #e6a8d7 0%,
    #cd00cd 50%,
    #660066 100%
  );
  background-position: 100% 0;
  background-size: 200% 200%;
  box-shadow: 0 16px 32px 0 rgba(0, 40, 120, 0.35);
  transition: margin-left 4s 1s;
}
.button_begin:hover {
  box-shadow: 0 0 0 0 rgba(0, 40, 120, 0);
  background-position: 0 0;
  outline: solid 5px;
}

.button_begin.active {
  display: none;
}

.dumpster-text {
  box-shadow: 0 3px 0 #5d593a;
}

.again {
  background-color: #d3a8f0;
  cursor: pointer;
  display: none;
}

.button_again {
  color: white;
  font-weight: bold;
  font-size: 2rem;
  outline: none;
  border: none;
  background-color: #d3a8f0;
  transition: all 350ms ease-in;
  cursor: pointer;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.again.end {
  display: flex;
  z-index: 6;
  transition: all 350ms ease-in;
  margin-top: 17vh;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  from {
    transform: scale(0.85);
  }
  50% {
    transform: scale(1);
  }
  to {
    transform: scale(0.85);
  }
}

.cub-svg.active {
  opacity: 0;
}

.counter.end {
  opacity: 1;
  width: 12vw;
  transition: all 350ms ease-in;
  position: absolute;
  gap: 1vw;
}


.win.active {
  animation: zoom 1s ease-in-out 1;
}


.lose.active {
  animation: zoom 1s ease-in-out 1;
}

@keyframes zoom {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}