*{
    scroll-behavior: smooth;
}
nav{
    background-color: #D2FFFE ;
    text-align: center;
    padding: 10px;
    position: fixed;
    top: 0;
    right:0;
    left: 0;
    word-spacing: 35px;

}

nav :hover{
color: red;
}

header{
    background-color: #CBD1F8;
    font-size: 21px;
    padding: 20px;
    text-align: center;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 10px;
    text-align: center;
    background-color: #BDF2F9;
}

a:hover{
  color: red;
}


#practices{
  padding-left: 3px;
  display: grid;
  gap: 3rem;
}
#practices figure{
max-width: 1000px;
text-align: center;
}
#practices img{
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

#assignments{
  padding-left: 3px;
  display: grid;
  gap: 3rem;
}

#assignments figure{
max-width: 1000px;
text-align: center;
}

#assignments img{
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}

#gallery{
  padding-left: 3px;
  display: grid;
  gap: 3rem;
}
#gallery figure{
max-width: 1000px;
text-align: center;
}
#gallery img{
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  aspect-ratio: 16/9;
}
@media screen and (min-width: 400px){
  #practices{
    grid-template-columns: 1fr 1fr;
  }
}   
@media screen and (min-width: 800px){
  #practices{
    grid-template-columns: 1fr 1fr 1fr;
  }
}   
@media screen and (min-width: 1200px){
  #practices{
    grid-template-columns: repeat(4, 1fr);
  }
}   
@media screen and (min-width: 1600px){
  #practices{
    grid-template-columns: repeat(5, 1fr);
  }
}   
@media screen and (min-width: 1600px){
  #practices{
    grid-template-columns: repeat(5, 1fr);
  }
} 
@media screen and (min-width: 400px){
  #assignments{
    grid-template-columns: 1fr 1fr;
  }
}  


@media screen and (min-width: 400px){
  #gallery{
    grid-template-columns: 1fr 1fr;
  }
}   
@media screen and (min-width: 800px){
  #gallery{
    grid-template-columns: 1fr 1fr 1fr;
  }
} 
  
footer{
  padding-top: 5px;
  background-color: lightcyan;
  padding-bottom: 5px;
}