@media screen and (max-width: 480px) {
	/* Les styles mobile */
    
    body{
        background-image: url(image/background.jpg);
    }
    
   
    
    #auteurs{
        margin-left: 25% ;
        width: 200px;
    }

    input[type="text"] {
        height: 30px;
        font-size: 18px;
        border: 2px solid black;
        border-radius: 5px;
        padding: 0 10px;
        margin-right: 10px;
      }
      
      button[type="submit"] {
        height: 50px;
        width: 150px;
        margin-left: 25%;
        font-size: 20px;
        background-color: black;
        color: white;
        border: 2px solid black;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
      
      button[type="submit"]:hover {
        background-color: rgba(212, 16, 212, 0.842);
      }
    
    
    .form{
        background-color:  rgba(0, 0, 0, 0.5)  ;
        width: 1000px;
        height: 200px;
        margin-left: 5%;
    }
    
    form {
        width: 300px;
        margin: 0 auto;
        padding: 20px;
        background-color: rgb(255, 179, 192);
        border: 2px solid #000;
        border-radius: 10px;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
      }
      
      label {
        display: block;
        margin-top: 10px;
        font-size: 18px;
        font-weight: bold;
        color: #000;
      }
      
      input[type="text"],
      select {
        width: 100%;
        height: 30px;
        font-size: 16px;
        border: 1px solid #000;
        border-radius: 5px;
        padding-left: 5px;
        box-sizing: border-box;
      }
      
      input[type="submit"] {
        width: 100%;
        height: 40px;
        font-size: 20px;
        background-color: black;
        color: #fff;
        border: 2px solid black;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 20px;
        transition: background-color 0.3s ease;
      }
      
      input[type="submit"]:hover {
        background-color: rgba(212, 16, 212, 0.842);
      }
 
   nav{
    margin-left: 0%;
    background-image: url(manga.jpg);
    top: 0px;
    height: 70px;
    width: 440px;
}

nav ul{
    list-style-type: none;
}

nav ul li{
    float: left;
    margin-top: 17%;
    width: 23%;
    text-align: center;
    position: relative;
}

nav ul::after{
    content: "";
    display: table;
    clear: both;
}

nav a{
    display: block;
    text-decoration: none;
    color: white;
    border-bottom: 2px solid transparent;
    padding: 10px 0px;
    font-weight: bold;
}


nav a:hover{
    color: lightgrey;
    border-bottom: 2px solid lightgray;
}


h1{
    
    text-align: center;

}



.article-image img {
    max-width: 150px; /* Afin d'éviter les débordements des images */
}


.merde{
    margin-left: 20%;
}

.produits {
    display: flex;
    justify-content: space-around; /* Ajuste l'espacement entre les éléments */
    align-items: center;
    flex-direction: column;
	margin-top: 40px;
	margin-bottom: 10px;
}
h4{
    color: white;
    text-align: center;
   
}

.cadre{
    background-color: rgb(83, 83, 83);
    margin-left: 15%;
    height: 400px;
    width: 300px;
   }

   .description {
     display: flex;
     justify-content: flex-end;
     float: right;
     width: 150px;
     margin-left: 25px;
     margin-top: 10px;
}

#box{
    background-color: rgba(0, 0, 0, 0.6); /* Fond noir transparent */
    color: white; /* Texte blanc */
    padding: 5px; /* Espacement autour du texte */
    width: 430px;
}

#boutons1{
    background-color: black;
    color: #fff;
    padding: 10px 15px;
    border: red;
    border-radius: 4px;
    cursor: pointer;
    width: 100px; /* Largeur du bouton */
    height: 40px; /* Hauteur du bouton */
    font-size: 14px;
    margin-top: 15%;
    margin-left: 35%;
}

#boutons2{
    background-color: black;
    color: #fff;
    padding: 10px 15px;
    border: red;
    border-radius: 4px;
    cursor: pointer;
    width: 150px; /* Largeur du bouton */
    height: 50px; /* Hauteur du bouton */
    font-size: 14px;
    margin-top: 5%;
    margin-left: 43%;
   
}
a{
    color: white;
}

footer{
    
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    text-align: center; 
    width: 98%;
   margin-top: 10px;
    
    color: white;
}

#photo{
    color: black;
}

table{
    width: 50%;
    
}

}


header{
    height: 100px;
}







button{
    margin-top: 10px;
    margin-left: 40%;
    width: 100px;
    height: 30px;
    background-color: black;
    color: wheat;
}



@media screen and (min-width: 481px) {
    body{
        background-image: url(image/background.jpg);
        width: 1080px;
        margin: 0 auto;
            font-family: 'Comic Neue', cursive;
          }




#auteurs{
    margin-left: 25% ;
    margin-top: 3%;
    width: 500px;
}


  
  input[type="text"] {
    height: 30px;
    font-size: 18px;
    border: 2px solid black;
    border-radius: 5px;
    padding: 0 10px;
    margin-right: 10px;
  }
  
  button[type="submit"] {
    height: 50px;
    width: 150px;
    margin-left: 25%;
    font-size: 20px;
    background-color: black;
    color: white;
    border: 2px solid black;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button[type="submit"]:hover {
    background-color: rgba(212, 16, 212, 0.842);
  }


.form{
    background-color:  rgba(0, 0, 0, 0.5)  ;
    width: 1000px;
    height: 200px;
    margin-left: 5%;
}

form {
    width: 300px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgb(255, 179, 192);
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  label {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
  }
  
  input[type="text"],
  select {
    width: 100%;
    height: 30px;
    font-size: 16px;
    border: 1px solid #000;
    border-radius: 5px;
    padding-left: 5px;
    box-sizing: border-box;
  }
  
  input[type="submit"] {
    width: 100%;
    height: 40px;
    font-size: 20px;
    background-color: black;
    color: #fff;
    border: 2px solid black;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
  }
  
  input[type="submit"]:hover {
    background-color: rgba(212, 16, 212, 0.842);
  }

nav{
    margin: 0 auto;
    background-image: url(manga.jpg);
    
    top: 0px;
    height: 100px;

}

nav ul{
    list-style-type: none;
}

nav ul li{
    font-size: 20px;
    float: left;
    margin-top: 9%;
    width: 23%;
    text-align: center;
    position: relative;
}

nav ul::after{
    content: "";
    display: table;
    clear: both;
}

nav a{
    display: block;
    text-decoration: none;
    color: white;
    border-bottom: 2px solid transparent;
    padding: 10px 0px;
    font-weight: bold;
}


nav a:hover{
    color: lightgray;
    border-bottom: 2px solid lightgray;
}

h1{
    text-align: center;
    margin-top: 7%;
    padding: 0;
}

.article-images img {
    max-width: 200px; /* Afin d'éviter les débordements des images */
    filter: grayscale(100%); /* Par défaut, l'image est en noir et blanc */
    
}

.article-images :hover{
    transition: filter 0.5s; /* Ajoute une transition douce */
    filter: grayscale(0%);
  transition: filter 0.5s, transform 0.3s;
  transform: scale(1.1); /* Agrandit l'image de 10% lors du survol */
}

#produits {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    margin-bottom: 10px;
    
}

#box{
    background-color: rgba(0, 0, 0, 0.6); /* Fond noir transparent */
    color: white; /* Texte blanc */
    padding: 5px; /* Espacement autour du texte */
}

h4{
    text-align: center;
    margin-top: 3%;

}

footer{
    margin-left: 0%;
    margin-top: 5%;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    color: white;
    
}

.article-image {
    position: relative; /* Position relative pour permettre le positionnement absolu des éléments enfants */
    
    display: inline-block; 
    max-width: 200px;
    padding: 0%;
}

.article-image img {
    max-width: 250px; /* Ajuste la largeur maximale des images */
    max-height: 250px; /* Ajuste la hauteur maximale des images */
}

.description {
    position: absolute; /* Position absolue pour que la description soit superposée à l'image */
    top: 20%; /* Position au milieu de l'image */
    left: 10%; /* Position au milieu de l'image */
    width: 190px;
    height: 200px;
    opacity: 0; /* Masque la description par défaut */
    background-color: rgba(0, 0, 0, 0.5); /* Fond noir transparent */
    color: white; /* Texte blanc */
    padding: 5px; /* Espacement autour du texte */
    transition: opacity 0.3s ease; /* Transition douce pour le changement de l'opacité */
}

.article-image:hover .description {
    opacity: 1; /* Affiche la description au survol */
}

.article-image:hover img {
    opacity: 0; /* Masque l'image au survol */
}
.produits {
    display: flex;
    justify-content: space-around; /* Ajuste l'espacement entre les éléments */
    align-items: center;
    flex-direction: column;
	margin-top: 40px;
	margin-bottom: 10px;
}
.galerie {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-left: -30px;
}

#boutons1{
    background-color: black;
    color: #fff;
    padding: 10px 15px;
    border: 2px solid black;
    border-radius: 4px;
    cursor: pointer;
    width: 100px; /* Largeur du bouton */
    height: 40px; /* Hauteur du bouton */
    font-size: 14px;
    margin-top: 5%;
    margin-left: 45%;
    transition: background-color 0.3s ease;
   
}

#boutons1:hover{
        background-color: rgba(212, 16, 212, 0.842);
}



#boutons2{
    background-color: black;
    color: #fff;
    padding: 10px 15px;
    border: 2px solid black;
    border-radius: 4px;
    cursor: pointer;
    width: 150px; /* Largeur du bouton */
    height: 50px; /* Hauteur du bouton */
    font-size: 14px;
    margin-top: 5%;
    margin-left: 43%;
    transition: background-color 0.3s ease;
}

#boutons2:hover{
    background-color: rgba(212, 16, 212, 0.842);
}

#boutons3{
    background-color: red;
    color: #fff;
    padding: 10px 15px;
    border: black;
    border-radius: 4px;
    cursor: pointer;
    width: 150px; /* Largeur du bouton */
    height: 50px; /* Hauteur du bouton */
    font-size: 14px;
    margin-top: 5%;
    margin-left: 43%;
   
}


a{
    color: white;
}


#table2 {
    margin: 0 auto;
    width: 100%; /* Vous pouvez ajuster la largeur du tableau selon vos besoins */
  }
  
#photo{
    color: black;
}
}