body {
    background-color: #DAA520 ;
    background-image: url('https://images.unsplash.com/photo-1742744652734-d5ec6598b5da?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') ;
    
    background-repeat: no-repeat;
    background-size: cover;
    color: 	#000000;
    border: 1em double #0d0405 ; 
    padding: 1em;
    margin: 1em;
      border-image: linear-gradient(125deg, red 0%, yellow 25%, green 50%, blue 75%, purple 100%) 1;
    border-width:14px;
}


main{
    background-color: #DAA520 ;
}

img {
    border: 1em solid #140b0c;
   border-radius: 25%;
} 

    h1 { 
        font-family: "Playfair Display", serif;

        text-align: center;
    }
    
    a{
        color:#0c05eb;
    }
    
    /* 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;
}

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

/* 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;
}

.box {
  /* PLAY WITH THE FLEX-BASIS TO SET THE SIZE OF THE BOXES */
  flex-basis: 25%;
  margin: 1.5em;
  border: 1px solid black;
  border-radius: 10px;
  padding: 1em;
  display: inline-block;
}