*{
    margin: 0px;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f4f4f4;
    text-align: justify;
}
header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
article {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1, h2, h3 {
    color: #333;
    text-align: center
}
/* #entete01{
    background-color:;
} */

#user-space{
    min-height: 50px; background-color: black; 

}
#posts{
  padding: 10px;
}

#post-info{
    flex-direction:column;
    margin-top:10px;
    padding: 10px;
    text-align:center;
}

#post-info-img{
  width:fit-content;
  border-style:solid;
  border-radius:7px;
  border-width:1px;
  margin:auto;

}

#post-info-img img{
  width:70%
}

#post-info-texte{
  font-size:x-large;
}
#post-info-texte a{
  text-decoration:none;
  
}
#post-info-texte span{
  font-size:medium;
}
#blog-quotes {
  text-align: center;
  font-size: x-large;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(120, 193, 252);
  font-style: italic;
  color: #555;
  width: 90%;
  margin-left: 5%;
  margin-left: 5%;
  margin-top: 40px;
  margin-bottom: 40px;
}
#blog-quotes span{
  font-size: large;
  justify-content: flex-end;
}
#search-side {
  width: 40%;
  text-align: center;
  min-height: fit-content;
    /* margin: 20px 0;
    text-align: center; */
}

#search-side form {
    /* width: 60%; */
    width: 100%;
    display: flex;
    gap: 10px;
}

#search-side input[type="text"] {
    width: 70%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    /* width: 300px; */
}

#search-side button {
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#user-space{
  /* padding-left:  10px; */
  background-color: black; 
  width: 100%;
  display: inline-flex;
  padding-top: 10px;
  justify-content: center; 
  gap: 15em;
}

.hamburger{
  display:none;
  cursor: pointer;
  font-size: 28px;
  color: white;
}

#first-nav {
  display: inline-flex;
  padding: 5px;
}
#first-nav a{

  display: inline-flex; font-size:.97em;
  margin-right: 10px; text-align: justify; list-style: none;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  color: white;text-decoration: none;
  
}


footer{
    /* position: fixed; */
    color: white; font-family:Verdana, Geneva, Tahoma, sans-serif;
    background-color: black; width: 100%;text-align: center;bottom: 0px;
}

footer a{
    color:white; text-decoration: none;   font-size: small;
}

footer p{
    font-size: small;
}

#social-link{
    display: inline-flex; margin-top: .6em;margin-left: .2em;
    margin-bottom: .6em;font-size: medium;
}

#social-link div{
    margin-right: .8em; border-width: 1px; border-radius: 5px;
    border-style: solid; padding: 3px;
}
#scroll-top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #555;
    color: #fff;
    border-radius: 50%;
    padding: 15px 18px;
    font-size: 24px;
    text-align: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
}
#scroll-top-btn:hover {
    background: #222;
}

@media (max-width: 992px) or (max-width: 1120px){
  body{
    min-width: 990px;
  }
  #user-space{
    justify-content:center;
    gap: 11em;
  }
}
/* mobile */
@media (max-width: 780px) or (max-width: 800px) {
    body{
    min-width: 800px;
  }
 header #moto-site-right img, header #moto-site-left img{
    display: none;

  }
  #user-space{
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
  header img{
    width: 350px;
  }
  #search-side{
    row-gap: 2;
    width: 50%;
    padding: 10px;
  }
  #search-side form{
    width: 100%;
    justify-content: center;
  }
  #search-side input[type="text"] {
    flex: 1;
    min-width: 95%;

    padding-top: 2px;
    padding-bottom: 2px;
}
  #eq-div{

    background-color: gray;
    width: 90%;
    height: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: x-large;
  }
  main{
    font-size: large;
  }
/* .posts div{
  margin:auto;
}
#post-info{
  width:100%;
  flex-direction:column;
  text-align:center;
  margin-right: 0px;
} */
/* #post-info p a{ */
  /* align-items:center; */
  /* font-size: larger; */
/* }
#post-info-texte{
  width: 100%;
  text-align: center;
margin-left: 0px;
} */


  /* main #manga-page img{
    width:70%;
  } */

}

@media (max-width: 540px) {
  #first-nav a{
    font-size:.85em;
  }
 #product-info img{
    width:250px;
  }
 #product-info-text a{
  font-size:large;
 }

  #user-dashboard-info{
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  #user-dashboard-info div{
    min-width: 95%;
    
  }

}


@media (max-width: 480px) or (max-width:320px) {
  body{
    min-width:480px;
  }
  header img{
    width: 80%;
  }
  #search-side{
    width:50%;
  }
  .hamburger{
    display:block;

  }

  #first-nav{
    display:none;
    /* position:absolute; */
    /* top:60px;
    right:20px; */
    background-color:black;
    padding:15px;
    border-radius:6px;
    /* flex-direction: row; */
    gap:15px;
    
  }
  #first-nav a{
    margin-top: 10px;
  }
  
  #first-nav.show{
    display:inline-block;
  }
}