body {
    
    background-image: url('https://images.unsplash.com/photo-1522778119026-d647f0596c20?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    
     background-color: #1D394E;
    color: #FFD700;
    font-family: "Homenaje", sans-serif;
    font-size: 1.3em;
}

main {
    background-color:#1D394Eee ;
    width: 80%;
    margin: auto;
}

h1 {
      font-family: "Fascinate", system-ui;
text-align: left;
}

a {
    color: #FFD700;
}

img {
    border: 1em double #FFD700 ;
}

@keyframes side {
   from {
      margin-left: 0%;
   }
   to {
      margin-left: 85%;
      /* 70% works because the image width is set to 30% - update your percent according to your element's width */
   }
}



.highlight {
   animation-duration:10s;
   animation-name: side;
   animation-iteration-count: infinite;
   animation-direction: alternate;
   animation-timing-function: linear;
}

.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;
  padding: 1em;
}

/* SETTING THE IMAGE WIDTH HERE INSTEAD OF IN HTML. REMOVE WIDTH="XXX%" FROM THE HTML IMAGE TAGS */
.box img {
  max-width: 70%;
  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: #ffca08;
}
/* END STARS  */