html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 1vw;
  text-align: center;
  background: #1b2431;
}

.wrapper {
  width: 90vw;
  height: 90vh;
  margin: 5vh auto 5vh auto;
  display: grid;
  grid-template-rows: 25% 10% 40% 25%;
  grid-template-columns: 15% 35% 35% 15%;
  grid-gap: 0.5rem;
  grid-template-areas:
    "box1 box2 box2 box3"
    "box4 box9 box9 box5"
    "box6 box9 box9 box7"
    "box8 box8 box8 box8";
}

div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;

}

button {
  height: 3vw;
  min-height: 30px;
  font-size: 2vw;
  margin: 10px;
}

.wrapper .grid-box {
  background: #ff6e48;
  transition: all 250ms;
  font-size: 5rem;
  color: white;
  font-family: sans-serif;
  animation: fadein 1.5s ease-out normal backwards;
}

.wrapper .element1 {
  grid-area: box1;
  animation-delay: 500ms;
  background-image: url("R1S1.jpg");
  background-size: 100% 100%;

}

.wrapper .element2 {
  grid-area: box2;
  animation-delay: 0ms;
  background-image: url("R1S2.jpg");
  background-size: 100% 100%;
}

.wrapper .element3 {
  grid-area: box3;
  animation-delay: 500ms;
  background-image: url("R1S4.jpg");
  background-size: 100% 100%;
}

.wrapper .element4 {
  grid-area: box4;
  animation-delay: 400ms;
  background-image: url("R2S1.jpg");
  background-size: 100% 100%;
}

.wrapper .element5 {
  grid-area: box5;
  animation-delay: 400ms;
  background-image: url("R2S4.jpg");
  background-size: 100% 100%;
}

.wrapper .element6 {
  grid-area: box6;
  animation-delay: 300ms;
}

.wrapper .element7 {
  grid-area: box7;
  animation-delay: 300ms;
}

.wrapper .element8 {
  grid-area: box8;
  animation-delay: 200ms;
  background: rgb(255, 110, 72);
  background: linear-gradient(180deg, rgba(255, 110, 72, 1) 0%, rgba(27, 36, 49, 1) 68%);
}

.wrapper .element9 {
  grid-area: box9;
  animation-delay: 100ms;
}


@keyframes fadein {
  0% {
    transform: scale(0);
  }

  70% {
    transform: scale(1.05);
  }

  90% {
    transform: scale(0.99);
  }

  100% {
    transform: scale(1);
  }
}