body{
    background-color:rgb(29, 29, 29);
}

header{
    background-image: url(japan-background-digital-art.jpg);
    background-size: cover;
    color: rgb(32, 30, 30);
    padding: 2%;
    text-align: center;
    font-size: 25px;
    position: relative;
    top: -1rem;
}
nav{
    padding: 15px 0;
}

nav ul{
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    
}

nav a{
    color: #ffff;
    text-decoration: none;
    padding: -0.5rem 1;
    text-align: center;
    position: relative;
    left: 6rem;
}

nav a:hover{
    color: gray;
    
}
h1, nav a {
    text-shadow: 2px 2px 5px white;
}


section{
    padding: 5rem;
    position: relative;
    left: -2rem;
    position: center;
   

}

img{
    width: 200px;
    list-style-type: none;
    justify-content: space-around;
    padding: 0.5rem 0;
    margin: 0.5rem;
    position: relative;
    left: 5rem;
  

}

section img:hover{
    transform: scale(1.08);
    transition: transform 0.3s;
}

@media screen and (max-width: 1499px){

section{
   padding: 5rem;
}
.img{
    display: flex;
    flex-wrap: wrap; 
    width: 200px;
    list-style-type: none;
    justify-content: center;
    padding: 0.5rem 0;
    margin: 0.5rem;
    position: relative;
    left: 0rem;
  
}
}
@media screen and (max-width: 900px) {
    nav{
       padding: 10px 0;
       flex-direction: column;
       align-items: center;
    }
    nav ul{
        flex-direction: column;
    }
    nav a{
        padding: 1.5rem 2rem;
        position: relative;
        left: 0rem;
    }
    section{
        padding: 1.5rem 5%;
    }
    section h2{
        font-size: 1.5rem;
    }
    section p{
        font-size: 1rem;
        pad: 0 10px;
    }
    section img{
        width: 100%;

    }
}
@media screen and (max-width: 900px){
    .pied{
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0s;
    }
   footer{
   font-size: 1rem;
    
   }
    .pied a{
        display: inline-block;
        padding: 0.2rem 0;
    }
}    