

body {
background-color: #700000;
color:    #52D9FF;
  font-family: "Cardo", serif;
} 


h1 
  font-family: "Hahmlet", serif;
 font-size:7em;
 text-align: center;
 padding: 2em ;
 
 
}

a {

color: #52D9FF;

}

a:hover {
 background-color: #52D9FF;   
color:#700000; 
cursor: crosshair;
}


img {
    border: 6em ridge #52D9FF;
    
 border-radius: 50px  
}

.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 */
  flex-basis: 30%;
  margin: 1.5em;
  border: 1px solid black;
  border-radius: 10px;
  padding: 1em;
}

.box img {
  max-width: 70%;
  display: block;
  margin: auto;


}

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

/* ...and then apply it: */
.sidetoside {
   animation-duration: 3s;
   animation-name: side;
   animation-iteration-count: infinite;
   animation-direction: alternate;
   animation-timing-function: linear;
}






