
body {
  text-align: center;
    background-image: url("../../images/background-sky.jpg");
    background-position: center;
    background-size:cover;
    width: fit-content;
    height: 100vh;
    background-repeat: no-repeat;
   margin: auto;
   
}

.outer-grid {
  margin: auto;
    height: 50vh;
    width: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    padding: 0;
}

#timer {
  background-color: rgb(0, 86, 0);
  width: 90px;
  height: 30px;
  padding-top: 10px;
  margin-top: 20px;
margin-right: -150px;
font-weight: 600;
    border-radius: 10px;
    color: white;
    font-size: 13px;
}
.top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

h2 {
    color: rgb(0, 78, 0);
    margin-top: -20px;
    font-family: 'Arvo';
    font-size: 25px;
    font-weight: 800;
    margin-top: -10px;
    margin-bottom: 30px;

}

img {
    height: 100px;
    width: 100px;
    margin: auto;
    padding: 10px;
}

  .main-box {
    margin: auto;
    display: flex;
    height: 120px;
    width: 120px;
    margin: 2px;
    perspective: 1000px;
    transition: transform 0.7s;
    transform-style: preserve-3d;
    
    border: 2px solid green;
    border-radius: 10px;
   /* background: url('../../images/leaf.png'); */
    /* background-color:black; */
  }
  
  .flip {
    transform: rotateY(180deg);
  }


  .front-box, .back-box {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
  }
  
  .front-box {
    background-color: white; 
    background-image: url('../../images/leaf-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .back-box {
    background-color: white;
    transform: rotateY(180deg);
  }
  
  .reset {
    border: 2px solid green;
    color: green;
    background-color: white;
    font-weight: 600;
    border-radius: 20px;
    height: 40px;
    width: 80px;
    font-size: 13px;
    box-shadow: 2px 2px 2px rgba(0, 54, 0, 0.255);
    margin-left: -150px;
    margin-top: 20px;
  }
  
  .reset:hover {
    transition-duration: 0.4s;
    background-color: green;
    color: white;
  }

  .reset:active {
    background-color: green;
    box-shadow: 0 3px #666;
    transform: translateY(2px);
  }

  .shake {
    animation: Shake 0.5s linear;
  }
  @keyframes Shake {
    0% {
        transform: translateX(2px);
    }
  
    25% {
        transform: translateX(-5px);
    }
  
    50% {
        transform: translateX(2px);
    }
  
    75% {
        transform: translateX(-5px);
    }
  
    100% {
        transform: translateX(2px);
    }
  }