html{
    scroll-behavior: smooth;
    background-color:rgb(0, 0, 0) ;

}

h1{
  color: white;
  margin: auto;
  width: 30%;
}

h2{
  color: white;
  margin: auto;
  width: 30%;
  padding: 5%;
text-align: center;
}

h3{
  color: white;
  margin: auto;
  width: 30%;
  padding: 0.5%;
}

#court{
  position: relative;
  overflow: hidden;
  margin: auto;
  width: 300px; height: 300px;
  background: rgb(0, 0, 0);
  border: solid black 2px;
}

#court{
  margin-top: 90px;
}

#ball {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-image: url(../animation/img/animation_2.png);
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
}

#walk {
    margin: auto;
    width: 200px;
    height: 400px;
    background: url("img/spritesheet.png");
    animation: play 0.5s steps(4) infinite; 
}

#model {
  width: 400px;
  border: solid black 1px;
  margin: auto;
}
#dude {
  fill: rgb(240, 226, 226);
}
#ship {
  fill: rgb(226, 210, 178);
}
#planet {
  fill: rgb(95, 50, 5);
}

@keyframes play{
    from{
        background-position: 0px;
    }
    to{
        background-position: -800px;
    }
}

#burn {
  margin: auto;
  width: 200px;
  height: 400px;
  background-image: url("img/rocket_2.png");
  animation: play1 0.2s steps(4) infinite; 
  background-color: black;
}


@keyframes play1 {
  from { 
      background-position: 0px; 
  }
  to { 
      background-position: -800px; 
  }
}



p{
  color: white;
  margin: auto;
  /* margin-left: 40%; */
}

#grid1 {
  text-align: center; 
  border: 2px solid #333; 
  padding: 20px;
  }

#grid1 p {
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 20%; */
}

#grid2 {
  text-align: center; 
  border: 2px solid #333; 
  padding: 20px;
}

#grid2 p {
  display: flex;
  justify-content: center;
  align-items: center;
  
   margin-right: 5%;
}

#grid3 {
  text-align: center; 
  border: 2px solid #333; 
  padding: 20px;
}

#grid3 p {
  display: flex;
  justify-content: center;
  align-items: center;
  
   margin-right: 5%;
}

#grid4 {
  text-align: center; 
  border: 2px solid #333; 
  padding: 20px;
}

#grid4 p {
  display: flex;
  justify-content: center;
  align-items: center;
  
   margin-right: 5%;
}

#container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 20px;
 
}

@media (min-width: 768px) {
  #container {
    grid-template-columns: repeat(2, 1fr);
  }
}











