body {
     background-color: #C3FEC3;
    color: #1C5435;
    font-family: "Oregano", cursive;
    font-size: 1.4em;
}

main {.
linDiag {
  background-image: linear-gradient(to bottom right,#4E654E, #C3FEC3, red, yellow);
    background-color:#C3FEC3 ;
}
    .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.box {
  /* PLAY WITH THE FLEX-BASIS TO SET THE SIZE OF THE BOXES - DON'T GO OVER 45% */
  flex-basis: 25%;
  margin: .5em;
  border: 1px solid black;
  border-radius: 10px;
  padding: 1em;
}

/* SETTING THE IMAGE WIDTH HERE INSTEAD OF IN HTML. REMOVE WIDTH="XXX%" FROM THE HTML IMAGE TAGS */
.box img {
  max-width: 30%;
  display: block;
  margin: auto;
}


/* FORMATTING THE CITATIONS - DON'T COPY THIS IF YOU DON'T HAVE A "citation" CLASS */
.citation {
  text-align: center;
}
   

h1 {
    font-family: "Dokdo", system-ui;
    text-align: center;
}

a {
    color: #1C5435;
}

img {
    border: 1em ridge #1C5435 ;
    border-radius: 5em%;
}

@keyframes wiggle {
     0%,
   7% {
      transform: rotateZ(1);
   }
   15% {
      transform: rotateZ(1deg);
   }
   20% {
      transform: rotateZ(-1deg);
   }    
   25% {
      transform: rotateZ(1deg);
   }
   30% {
      transform: rotateZ(-1deg);
   }
   35% {
      transform: rotateZ(1deg);
   }
   40%,
   100% {
      transform: rotateZ(2);
   }
}

/* ...and then apply it: */
.highlight {
   animation-duration: 5s;
   animation-name: wiggle;
   animation-iteration-count: infinite;
   animation-timing-function: linear;
}



.container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.box {
  /* PLAY WITH THE FLEX-BASIS TO SET THE SIZE OF THE BOXES - DON'T GO OVER 45% */
  flex-basis: 40%;
  margin: .5em;
  padding: 1em;
}

/* SETTING THE IMAGE WIDTH HERE INSTEAD OF IN HTML. REMOVE WIDTH="XXX%" FROM THE HTML IMAGE TAGS */
.box img {
  max-width: 90%;
  display: block;
  margin: auto;
}


/* FORMATTING THE CITATIONS - DON'T COPY THIS IF YOU DON'T HAVE A "citation" CLASS */
.citation {
  text-align: center;
}

/* STARS  */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.star-rating input {
  display: none;
}
.star-rating label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: green;
}
/* END STARS  */