/* partie general */
*{
    box-sizing: border-box;
    margin: 0;
}

body {
    font-family: monospace;
}
/* partie logo et conexion  */
a{
    text-decoration: none;
    font-size: 17px;
    margin-left: 5px;
    color:rgb(43, 65, 143);
}

a:hover{
    color: red;
    transition: 0.4s;
}
h1 a{
    text-decoration: none;
    font-size: 30px;
    padding: 10px;
    color: rgb(0, 106, 254);
}
/* partie barre de recherche et des categories */
ul{
    padding-left: 0px;
}

header li{
    list-style-type: none;
    padding-left: 0px;
    display: inline;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

header .container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #d0e3ff;
}

header h2{
    color: rgb(0, 106, 254);
}

.searsh_bar input[type="text"] {
    width: 200px;
    height: 30px;
    font-size:15px;
    padding-left: 30px;
    color:rgb(43, 65, 143);
    border-radius: 10px;
    margin-bottom: 5px;
    transition: 0.7s;

}

.searsh_bar input[type="text"]:focus{
    width: 350px;
    padding-left: 5px;
    transition: 0.7s;
    border: none;
} 

.searsh_bar button {
    height: 30px;
    border-radius: 10px;
    border: 0px;
    color:rgb(43, 65, 143);
}

.searsh_bar button:hover{
    color: red;
    transition: 0.4s;
}

.searsh_bar .container{
    background-color: #d0e3ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0px 0px 15px 15px;
}

.searsh_bar h3{
    padding-left: 15px;
    font-size: 20px;
    margin-bottom:5px;
    color:rgb(43, 65, 143);
}

.category li{
    list-style-type: none;
    display: block;
    margin: 15px;
}

.menu {
    display: none;
    position: absolute;
    background-color: #eee;
    z-index: 1;
    width: 190px;
    border:1px solid #86a2c9 ;
    border-radius:5px ;
}

.category:hover .menu{
    display: block;
}
/* filter des categories */
.filters .container{
    margin-top: 15px;
    height: 60px;
    border-radius: 15px;
}
/* product card */
.products .container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
}


.product_cart img{
    width: 200px;
    height: 200px;
    margin-top: 10px;
}

.product_cart p{
    margin-bottom: 5px;
    color:rgb(19, 30, 68);
    font-weight: 600;
}
.product_cart p:last-of-type{
    color: #86a2c9;
}

.product_cart{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 250px;
    border-radius: 15px;
    background-color: #eee;
    margin-top: 50px;
    margin-bottom: 50px;
}

.product_cart{
    transition: transform .2s;
}

.product_cart:hover {
    transform: scale(0.95);
}
.product_cart button{
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #86a2c9;
    padding: 5px;
}
/* partie contact */
footer .container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #d0e3ff;
    height: 90px;
    margin-bottom: 0px;
    border-radius: 15px 15px 0 0;
}

footer span{
    align-self: flex-end;
    margin-bottom: 5px;
    font-size: 16px;
    color: rgb(43, 65, 143);
}

footer h1{
    font-size: 30px;
    padding: 10px;
    color: rgb(0, 106, 254);
}

/* Media Queries for Responsive Web Design 
Media query is a CSS technique introduced in CSS3
It uses the @media rule to include a block of CSS properties only if a certain condition is true.
*/


  /* Small screen */
@media (min-width: 768px) {
    .container {
    width: 750px;
}  

}

  /* Medium screen */
@media (min-width: 992px) {
    .container {
    width: 970px;
}

}
  /* Large screen */
@media (min-width: 1200px) {
    .container {
    width: 1170px;
}

}
