*,
:after,
:before {
  box-sizing: border-box;
}

html,
body {
    font-family: 'Nunito Sans', sans-serif;
    height: 100%;
    background-color:#274c77;
    /* background-color: #403d39; */
   
}

.title{
    /* color:#274c77; */
    color: #e7ecef;

    letter-spacing: 10px;
    display: flex;
    justify-content: center;
    font-size: 2.5em;
}
h2{
   
    color:#274c77;
    letter-spacing: 5px;
    font-size: 2em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.my-books{
    height: 125px;
}

#my-bookshelf{
    background-color:#e7ecef;
    border: 5px solid #274c77;
    border-radius: 10px;
}

#input-group{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    color: azure;
   
}
input{
    height: 38px;
    border: none;
}
.form{
    padding: 5px;
    margin: 5px;
    border-radius: 5px;  
}

.card{
  

    background-color: whitesmoke;
    padding:5px;
    margin: 5px;
    border-radius: 10px;
    opacity: 90%;
    width: 17rem;
   
   
}
.card-img{
padding-left: 60px;
}
.card-title{
display: flex;
align-items: center;
justify-content: center;
}
.card-author{
    display: flex;
    align-items: center;
    justify-content: center;
}

.html-results{
    display: grid;
    gap: 1em;
    /* grid-template-columns: 1fr 1fr; */
    display: inline-grid;
    
}
.find-books{
    height: 125px;
}
.search-container{
    background-color: #e7ecef;
     border: 5px solid #274c77;
     border-radius: 10px;
}
.clear-bookshelf-btn{
 
    display: flex;
    justify-content: center;
    align-items: center; 
}

#clear-bookshelf{
    margin: 5px;
/* background-color: rgba(153, 137, 137, 0.808); */
}

button{
    
    font-family: 'Nunito Sans', sans-serif;
    
    display: inline-block;
    outline: 0;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    /* color:#252422; */
    color:whitesmoke;
    font-size: 14px;
    height: 38px;
    padding: 8px 24px;
    border-radius: 10px;
   background-color:  #274c77bd;
    transition: all .2s ease-out;
    width: fit-content;
    }


#clear-bookshelf{
    background-color: crimson;
}
#footer {
    padding: 1em;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    justify-content: center;
    font-size: large;
    letter-spacing: 2px;
    background-color: #274c77;
  }
  
  #footer li {
    display: flex;
    justify-content: center;
    color: whitesmoke;
  }
  #footer a {
    color: whitesmoke;
  }
  #footer > div {
    display: flex;
    justify-content: center;
  }

/* Media Queries*/

@media screen and (min-width: 768px) {
  
    .main-content{
        display: grid;
        grid-template-columns: 1fr;
    }
    .html-results{
        display: grid;
        gap: 1em;
        grid-template-columns: 1fr 1fr;
    }
   
    }

 @media screen and (min-width: 1024px) {
    .main-content{
        display: grid;
        grid-template-columns: 1fr 2fr;
    }
    .html-results{
        display: grid;
        gap: 1em;
        grid-template-columns: 1fr 1fr 1fr 1fr;
      
    }
    .title{
       
        color: #e7ecef;
        letter-spacing: 10px;
      
        display: flex;
        justify-content: center;
        font-size: 50px;
    }
    }