body{
    font-family: "Montserrat", sans-serif;
    text-align: center;

}

#wrapper {
    background: url("../img/ninjabackground.jpg");
    background-size:cover;
    background-position: center;
    background-attachment: fixed;

}
nav {
    top: 0;
    height: 65px;
    padding: 0.67rem 3rem;
    display: grid;
    font-size: 12px;
    align-items:center;
    grid-template-columns: 1fr;
    width: 20px;
    z-index: 1;

}
nav ul {
    text-align: right;
    margin-right: 20px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    display: flex;
}
nav ul li {
   display:inline;
}
nav li a {
    text-align: right;
    font-size: 20px;
   color: rgb(255, 255, 255);
}
nav li a:hover{
   color: rgb(0, 195, 255);
   text-decoration: double;
}
main{
    font-family: "Montserrat", sans-serif;
    padding: 50px 30px 50px 30px;
    align-self: center;
    
}

h1{
    font-size: 60px;
    text-align: center;
    color: rgb(255, 255, 255);

}

h2{
    font-size: 30px;
    text-align: center;
    font-weight:lighter;
    color:rgb(255, 255, 255);
    background: rgba(4, 86, 136, 0.5);

}

h3 {
    font-size: 30px;
    text-align: center;
    font-weight:lighter;
    color:rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0.5);
}


p{
    font-size: 2rem;
    font-weight: 4000;
    color: rgb(0, 0, 0);
    margin-bottom: 1rem;
    text-align: left;

}

.container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
    color: rgb(0, 0, 0);
  }

  .container section{
    margin:20px;
    padding: 20px;
    background: rgba(192, 220, 237, 0.5);
  }


  @keyframes play {
    from { 
        background-position: 0px; 
    }
    to { 
        background-position: -800px; 
    }
}
    #walk {
        margin: auto;
        width: 200px;
        height: 400px;
        background-image: url("../img/ninjasprite.png");
        animation: play 0.5s steps(4) infinite; /* new line */
    }

    #model {
        
    }

    #court {
        position: relative;
        overflow: hidden;
        margin: auto;
        width: 400px; 
        height: 400px;
        
     
      }
      #ninja {
        position: absolute;
        width: 250px; height: 250px;
        background-image: url("../img/ninjajump.png");
        background-size: 250px;
      }

    #grey {
       /* width: 500px*/
    }

@keyframes play {
    from { 
        background-position: 0px; 
    }
    to { 
        background-position: -800px; 
    }
}
@media only screen and (max-width: 1024px) {
    .container{
        grid-template-columns: 1fr 1fr;
    }
}
@media only screen and (max-width: 640px) {
    .container{
        grid-template-columns: 1fr;
    }
}
  

