/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: Red;
  color: white;
  font-family: 'StoryScript';
  background-image: url('background/download.jpg');
  padding: 100px;
  font-size: 25px;
  text-shadow: 2px 2px 5px red;
}

h1 {
 font-size: 60px;
 text-align: center;
}

     
@font-face {
  font-family: 'StoryScript'; /* set name */
  src: url('fonts/Story_Script/StoryScript-Regular.ttf') format('truetype'); /* url of the font */
}

.capybara {
 position: absolute;
 top: 300px;
 left: 400px;
 animation-name: Capybara-move;
 animation-duration: 5s;
 animation-iteration-count:
 infinite;
}

.item1 {
  grid-area: item1;
}
.item2 {
  grid-area: item2;
}
.item3 {
  grid-area: item3;
}
.item4 {
  grid-area: item4;
}
.item5 {
  grid-area: item5;
}
.item6 {
  grid-area: item6;
}

.grid {
  display: grid;
  height: 90vh;
  grid-template-columns: 300px;
  grid-gap: 1rem;
  grid-template-areas: 
  "item1 item1"
  "item2 item3"
  "item4 item5";
}

.grid > div {
  background: blue;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}


@keyframes Capybara-move {
 from{
   top: 300px;
   left: 400px;
   }
 to{
   top: 300px;
   left: 800px;
   
   }
}

