*{
    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 */

/* post card style and aside style*/

#container{

  margin: auto;

}
main{
  width: 90%;
  margin:auto;
  /* border-style: ridge; */

}
/* #grid-container{
  justify-content: center;
  padding: 3px;
  gap:10px;

} */


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;
    }   

}

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

    gap:20px;
}
    #search-side{
        width: 100%;
    }
 
#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;
}   
}
