* { 
margin: 1.5;
}

body {
        background-color: #C0FBC0 ;
        background-image: url('https://images.unsplash.com/photo-1617419250818-8982d57418f7?q=80&w=875&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    
        background-repeat: no-repeat;
        background-size: cover;
    color: 	#654A06 ;   
    border: 2em groove #445b94;
    padding: 0.25em ;
     font-family: "Zain", sans-serif;
font-size: 1.25em;


 border-image: linear-gradient(125deg, red 0%, yellow 25%, green 50%, blue 75%, purple 100%) 1;
    border-width: 10px;
}


main {
      background-color: #C0FBC0bb ;
      margin: auto;
}

img {
     border: 1em groove #445b94;
     border-radius: 10px;
}

h1 {
          font-family: "DM Serif Text", serif;
font-size: 2em;
text-align: center;
}

a {
    color: #0000FF;
}

.container {
  display: flex;
  align-items: flex-start;
  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: 75%;
  display: block;
  margin: auto;
}

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


/* SLIDE IN FROM LEFT ONCE */
/* Create the animation... */
@keyframes slide-down {
   from {
      transform: translateY(-250%);
   }
   to {
      transform: translateY(0%);
   }
}

/* ...and then apply it: */
.slide_down {
   animation-name: slide-down;
   animation-duration: 1500ms;
   display: inline-block;
}


/* SLIDE IN FROM LEFT ONCE */
/* Create the animation... */
@keyframes slide-left {
   from {
      transform: translateX(-250%);
   }
   to {
      transform: translateX(0%);
   }
}

/* ...and then apply it: */
.slide_left {
   animation-name: slide-left;
   animation-duration: 1500ms;
   display: inline-block;
}



/* SLIDE IN FROM LEFT ONCE */
/* Create the animation... */
@keyframes slide-right {
   from {
      transform: translateX(250%);
   }
   to {
      transform: translateX(0%);
   }
}

/* ...and then apply it: */
.slide_right {
   animation-name: slide-right;
   animation-duration: 1500ms;
   display: inline-block;
}
