body{

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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

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

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

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

footer{
    background-color: rgb(29, 29, 29);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    width: 100%;
    position: relative;
     bottom: -2.41rem;
    margin-top: auto;   
}
.S{
    color: white
}
section{
    padding: 2rem;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
}
section h2{
    margin-bottom: 1rem;
    color: white;
}
section img{
    width: 500px;
   
    
    
    
}
p{
    font-family: 'Times New Roman', Times, serif;
    color: white;

}

.pied{
    padding: 1rem 0;
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.pied a{
    color: black;
    text-decoration: none;
    padding: 0.5rem 1rem;
    text-align: center;
    transition: color 0.3s;
}

.fa-instagram{
    color: white;
}

@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 1rem;
    }
    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;
    }
}    