*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
  margin: 5px 20px;
}
h1{
    text-align: center;
    margin-top: 100px;
    color: #222;
}
section{
    height:50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
form{
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
    margin:2rem;
}
label{
    font-size: 1.1rem;
    font-weight: 500;
    text-align:center;
    color: #222;
}
.search-container{
    margin: 0 1.2rem;
    border: 2px solid #f1f1f1;
    border-radius: 10px;
    padding: 5px 7px 5px 5px;
    width:100%;
    display: flex;
    justify-content: space-between;
    background-color: #f1f1f1;
}
.fa-magnifying-glass{
    color: #c9c5c5;
    padding:7px;
}
#search{
    border:none;
    text-align: center;
    border-radius: 5px;
    width:100%;
}
::placeholder{
    text-align: center;
}
button{
    background-color:rgb(0, 150, 76);
    border: none;
    padding: 12px 16px;
    color:white;
    box-shadow: 1px 1px 5px #929090;
    font-weight: 600;
    cursor: pointer;
    border-radius:10px;
}
button:hover{
    background-color: rgb(103, 161, 248);
}

/*#######################
####responive for mobile screens#######
###############################*/

@media (max-width:550px){
    section{
        margin: auto;
    }
    form{
        flex-direction: column;
        align-items: center;
    }
    .search-container{
        margin:10px 0 20px 0;
    }
  button{
    width: 100%;
  }
}
/*###############################
####responsive for XL screens####
###############################*/

@media (min-width:1200px){
    .search-container{
        width:50%;
    }
}
