* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-family: Avenir, Helvetica, "Open-Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 100%;
}


main{
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}

body {
  background-image: url('Background2.gif'); 
  background-size: cover; 
  background-repeat: no-repeat;
}

ol {
 list-style: none;
 display: grid;
grid-template-columns: repeat(5, 100px);
grid-template-rows: repeat(5, 100px);
grid-gap: 20px;
}

li {
border: 4px solid black;
display: flex;
}

li span {
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  text-align: center;
  margin: auto;
}

li:nth-child(1){
background-color: white;
grid-column-start: 1; 
grid-column-end: 2;
grid-row-start: 1;
grid-row-end: 2;
}

li:nth-child(2){
background: linear-gradient(0deg,green 27%, black 27%, black 30%, white 30%);
}

li:nth-child(3){
background: linear-gradient(0deg,green 27%, black 27%, black 30%, white 30%);
}

li:nth-child(4){
background: linear-gradient(0deg,green 27%, black 27%, black 30%, white 30%);
}

li:nth-child(5){
background-color: white;
}

li:nth-child(16){
  background: linear-gradient(270deg,blue 27%, black 27%, black 30%, white 30%);
  grid-column-start: 1; 
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 2;
  }

li:nth-child(15){
  background: linear-gradient(270deg,blue 27%, black 27%, black 30%, white 30%);
  grid-column-start: 1; 
  grid-column-end: 2;
  grid-row-start: 3;
  grid-row-end: 4;
  }

li:nth-child(14){
  background: linear-gradient(270deg,blue 27%, black 27%, black 30%, white 30%);
  grid-column-start: 1; 
  grid-column-end: 2;
  grid-row-start: 4;
  grid-row-end: 5;
  }

li:nth-child(13){
  background-color: white;
  grid-column-start: 1; 
  grid-column-end: 2;
  grid-row-start: 5;
  grid-row-end: 6;
  }

li:nth-child(12){
  background: linear-gradient(purple 27%, black 27%, black 30%, white 30%);
  grid-column-start: 2; 
  grid-column-end: 3;
  grid-row-start: 5;
  grid-row-end: 6;
  }

li:nth-child(11){
  background: linear-gradient(purple 27%, black 27%, black 30%, white 30%);
  grid-column-start: 3; 
  grid-column-end: 4;
  grid-row-start: 5;
  grid-row-end: 6;
  }

li:nth-child(10){
  background: linear-gradient(purple 27%, black 27%, black 30%, white 30%);
  grid-column-start: 4; 
  grid-column-end: 5;
  grid-row-start: 5;
  grid-row-end: 6;
  }

li:nth-child(9){
  background-color: white;
  grid-column-start: 5; 
  grid-column-end: 6;
  grid-row-start: 5;
  grid-row-end: 6;
  }

li:nth-child(8){
  background: linear-gradient(90deg,orangered 27%, black 27%, black 30%, white 30%);
  grid-column-start: 5; 
  grid-column-end: 6;
  grid-row-start: 4;
  grid-row-end: 5;
  }

li:nth-child(7){
  background: linear-gradient(90deg,orangered 27%, black 27%, black 30%, white 30%);
  grid-column-start: 5; 
  grid-column-end: 6;
  grid-row-start: 3;
  grid-row-end: 4;
  }

li:nth-child(6){
  background: linear-gradient(90deg,orangered 27%, black 27%, black 30%, white 30%);
  grid-column-start: 5; 
  grid-column-end: 6;
  grid-row-start: 2;
  grid-row-end: 3;
  }

  li:nth-child(17) {
  grid-column-start: 2; 
  grid-column-end: 5;
  grid-row-start: 2;
  grid-row-end: 5;
  background-color: white;
  background-size: 100% 100%;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

li:nth-child(17) span {
  transform: rotate(-45deg);
  font-size: 40px;
  color: white; 
  background-color: red; 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 20px black; 
}

  li:nth-child(1) span {
    transform: rotate(140deg);
  }
  
  li:nth-child(10) span, li:nth-child(11) span, li:nth-child(12) span {
    width: 100%; 
  }

  li:nth-child(5) span{
    transform: rotate(-140deg);
  }

  li:nth-child(6) span, li:nth-child(7) span, li:nth-child(8) span {
    transform: rotate(270deg);
  }

  li:nth-child(9) span {
    transform: rotate(320deg);
  }

  li:nth-child(13) span {
    transform: rotate(-320deg);
  }

  li:nth-child(14) span, li:nth-child(15) span, li:nth-child(16) span {
    transform: rotate(-270deg); 
  }

  