@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shrikhand&display=swap');
*,::before,::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    /* background-color:rgb(226, 226, 220); */
    /* background-color: rgb(248,248,248); */
    background-color: rgb(240,242,245);
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
}

/* NavBar */
.nav{

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 30px;
    background-color: black;
}
.nav a{
    color: white;
    font-size: 1rem;
    text-decoration: none;
    margin-right: 5px;
}
/* .nav a:first-child */
.logo{
    margin-right:2rem;
}
.logo a{
    color: orange;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2rem;
    /* font-family: 'Shrikhand', cursive; */
}

.container{
    /* position: absolute; */
    /* margin-top: 100px; */
    display: flex;
    flex-direction: column;
    width: 100%;
}


/* carousel */
.carousel{
    display: flex;

   height: 300px;
   background: url("../images/marche.ef886b5d1944.jpg");
   /* background-position: center; */
   background-size: cover;
   width: 100%;
}
.informations{
    display: flex;
    align-items: center;
    justify-content: center;
  /* height: 100vh; */
    position: absolute;
    width: 70%;
    background-color:#000000af;
    top: 80px;
    margin: 30px;
    padding: 10px;
    font-size: 1rem;
    color: white;
    /* font-weight: bold; */
}
.categorie-main{
    display: flex;

}
.categorie{
    display: flex;
    flex-direction: column;
    width: 20%;
    /* background-color: aqua; */
    margin: 10px;
}
.categorie a{
    color: black;
    font-weight: bold;;
    /* margin: 10px; */
}
.main{
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    /* background-color: white; */
}
 a{
    text-decoration: none;
}


.card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
    margin: 10px 10px 15px;
    border: 1px solid rgb(240,242,245);
    /* border: 1px solid #ddd; */
    border-radius: 10px;
    /* box-shadow: 2px 2px 5px #ddd; */
    box-shadow: 2px 2px 5px rgb(240,242,245);
  }
  
  .card-image {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 15px;
  }
  
  .card-description {
    width: 100%;
    height: 40%;
    padding: 5px;
  }
  
  .card-title {
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .card-text {
    text-align: left;
    font-size: 15px;
    color: #333;
  
  }  

.footer{
    display: flex;
    background-color: black;
    margin-top: 30px;
    padding: 10px;
}
.contacts,.reseaux-sociaux{
    color: white;
}
.reseaux-sociaux{
    margin-left: 30px;
}
form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 50px;
}
input,textarea{
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid silver;
    border-radius: 5px;
    width: 40rem;
}
label{
    margin-bottom: 10px;
}
.btn-submit{
    background-color: rgb(11, 30, 235);
    color: white;
    cursor: pointer;
    margin-top: 5px;
}

/* Mobile */
@media only screen and (max-width: 771px) {
    /* body {
      background-color: rgb(230, 199, 173);
    } */
    .categorie-main{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .informations{
        
        width: 90%;
        height: 15rem;
        top: 110px;
        margin: 30px;
        padding: 5px;
        font-size: .8rem;
  }
  .footer{
    display: flex;
    flex-direction: column;
}
.reseaux-sociaux{
    margin-left: 0;
}
input,textarea{
   
    width: 15rem;
}

}