:root {
  --border-gradient: linear-gradient(
    to right,
    #3ca55c 0%,
    #b5ac49 51%,
    #3ca55c 100%
  );
}

body {
  font-family: monospace;
}

.grass__content {
padding: 2rem;
text-align: center;
font-size: 1.5rem;
font-weight: bold;
}
#counter {
font-family: cursive; 
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.grass__word{
    text-decoration: none;
    color: #3ca55c;
}

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

#grassImage {
  width: 140px;
  height: 140px;
  position: absolute;
  border-radius: 15%;
  border: 9px solid transparent;
  background: var(--border-gradient);
  background-size: 200% 100%;
  animation: gradientAnimation 3s linear infinite;
  transition: transform 0.5s ease-in-out;
  cursor: pointer;
}

#grassImage:hover {
  transform: scale(1.05);
}

#grassImage:active {
  transform: scale(0.8);
}

@media only screen and (max-width: 767px) {
    .grass__content {
        padding: 1rem;
        font-size: 1.4rem;
       
      
    }

    #grassImage{
        width: 100px;
        height: 100px;
        
    }
  }


