*{
    margin: 0px;
}
header{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgb(23, 30, 63);
    padding: 10px;
    color: white;
}
h1, h2, h3 {
    color: #333;
    text-align: center
}
#logo-side a{
    text-decoration: none;
    color: white;
    font-size: larger;
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-left: 0px;
}
nav{
    display: flex;
    gap: 10px;
}
nav a{
    text-decoration: none;
    color: white;
}
#search-side{
    width: 35%;
    margin: auto;
}

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

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

#search-side button {
    background-color: #1b4c80;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
/* quotes style */

#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: 60%;
  margin-left: 20%;
  margin-left: 20%;
  margin-top: 20px;
  margin-bottom: 100px;
  padding: 10px;
}
#blog-quotes span{
  font-size: large;
  justify-content: flex-end;
}

/* post card style and aside style*/

#container{
  display: flex;
  flex-direction: row;
  margin: auto;
  width: 80%;
}
main{
  width: 100%;
  background: linear-gradient(white, rgba(110, 157, 219, 0.336));
}
#grid-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, 400px);
  justify-content: center;
  padding: 3px;
  gap:10px;

}

.post-card{
 border-radius: 2px;
 border-width: 2px;
 border-style: solid;
 border-color: rgba(185, 183, 183, 0.753);
 box-shadow: 2px 2px 4px rgba(196, 196, 196, 0.829);
 padding: 4px;
 justify-content: center;
 background-color: white;
}
#post-info-img{
  text-align: center;
}
#post-info-img img{
  width: 90%;
}
#post-info-texte span{
  font-size: 15px;
  color: #0b65c5;
}
#post-info-texte .info-post{
  width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, 50%);
  margin: auto;
  border-bottom-style: dashed;
  border-bottom-color: grey;
}
.post-button{
  width:90%;
  margin: auto;

  /* background:linear-gradient(rgba(99, 114, 177, 0.763), rgba(57, 51, 151, 0.763)); */
  border-radius: 4px;
  padding: 2px;
  /* box-shadow: 2px 2px 2px 2px rgba(194, 194, 194, 0.897); */
  text-align: center;
  margin-bottom: 3px;
}
.post-button a{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-decoration: none;
  color: #212ab1;
  font-size: large;

}
.post-resume{
  font-size: large;
  padding: 5px;
}

footer{
    /* position: fixed; */
    color: white; font-family:Verdana, Geneva, Tahoma, sans-serif;
    background-color: rgb(23, 30, 63); 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: 780px) or (max-width: 800px){

    /* body{
    min-width: 800px;
  } */
    header{
        display: flex;
        flex-direction: column;

        gap:20px;
    }
    #navigation-side nav{
        
        justify-content: center;
        font-size: medium;
    }
    #logo-side a{
        justify-content: center;
        font-size:medium;
    }
    #search-side{
        width: 100%;
    }
    #search-side form{
        margin: auto;
        justify-content: center;
    }   
  #grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    justify-content: center;
    padding: 3px;
    gap:10px;

  }




}

@media (max-width: 992px) or (max-width: 1120px){
  header{
    display: flex;
    flex-direction: column;

    gap:20px;
}
    #search-side{
        width: 100%;
    }
  #grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, 350px);
    justify-content: center;
    padding: 3px;
    gap:10px;

  }
#logo-side a{
    font-size: medium;
    justify-content: center;

}
 #navigation-side nav{
    font-size: medium;
    justify-content: center;
 }
#search-side form{
    margin: auto;
    justify-content: center;
}




}


.continue-btn:hover {
    opacity: 0.85;
}



.more-btn:hover {
    border-color: #ffffff;
    
}






