@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(240,242,245);
    font-family: 'Roboto', sans-serif;
}

.containerr{
    display: grid;
    grid-template-columns: 20% 80% ;
    grid-template-rows: 100px 300px 1fr 200px;
    width: 100%;
    height: 100vh;
}
/* .container > *{
    background-color: orange;
} */
.nav{
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
  /* display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: auto;
  justify-items: center;
  align-items: center; */
  grid-column: 1/-1;
  grid-row: 1/2;
  background-color: black;
}
.nav a{
    text-decoration: none;
    color: white;
}
.logo{
    margin-left: 30px;
}
.logo a{
    color: orange;
    font-size: 2rem;
}
.links{
    margin: 0 20px 0 auto ;
}
.tooggle{
    display: none;
}
.links a{
    font-size: 1.3rem;
    margin-right: 10px;
}
.carousel{
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1/-1;
    grid-row: 2/3;
    background: url("../images/immo2.jpg");
    background-size: cover;
}

.carousel-content {
    position: absolute;
    top: 200px;
    margin-left: 30px;
    color: white;
    /* background-color: blue; */
}
.carousel-content h4{
    font-size: 2vw;
}
.carousel-content p{
    font-size:1vw ;
    font-weight: bold;
}
a{
    text-decoration: none;
}
.main{
  display: flex;
  flex-wrap: wrap;
  
    /* display: grid;
    grid-template-columns: repeat(auto-fill,300px);
    grid-gap: 10px; */
    grid-column: 1/-1;
    grid-row:3/4 ;
    justify-content: center;
    align-content: center;
}
.cardd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 280px;
    margin: 10px 5px 15px;
    /* margin: 5px; */
    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);
  }
  
  .cardd-image {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 15px;
  }
  
  .cardd-description {
    width: 100%;
    height: 40%;
    padding: 5px;
  }
  
  .cardd-title {
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
  }
  
  .cardd-text {
    text-align: left;
    font-size: 15px;
    color: #333;
    text-decoration: none;
  
  }  

.footer{
    display: flex;
    background-color: black;
    margin-top: 30px;
    padding: 10px;
    grid-column: 1/-1;
    grid-row: 4/5;
    padding: 10px;
    justify-content: center;
    align-items: center;
}
.contacts,.reseaux-sociaux{
    color: white;
}
.reseaux-sociaux{
    margin-left: 30px;
}



/* Ajouter */

/* Navbar styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(0, 0, 0);
    border-bottom: 1px solid #ccc;
    padding: 20px;
    grid-column: 1/-1;
    grid-row: 1/2;
    /* background-color: black; */
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    color: white;
  }
  
  .sparateur-navbar {
    display: none;
    padding: 1px;
    width: 100%;
    background-color: white;
    border: none;
  }
  
  .navbar-toggle-icon {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #333;
    margin: 4px;
    border-radius: 1px;
  }
  
  .navbar-collapse {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
  }
  
  .navbar-nav {
    display: flex;
    /* flex-direction: column; */
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .navbar-nav li {
    margin: 10px 5px;
  }
  li a{
    color: white;
  }
  
.recherche{
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
}
.rechercheInput{
    width: 17rem;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgb(172, 165, 165);
    border-radius: 50px;
}
.rechercheBouton{
    width: 10rem;
    padding: 8px;
    background-color: orange;
    border-radius: 15px;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
.fab{
  font-size: 30px;
  margin-right: 30px;
  /* color: aqua; */
}
.fa-facebook-square{
   color: rgb(66,133,244);
}
.fa-whatsapp{
  color: rgb(117,186,117);
  /* background-color: rgb(24, 212, 24); */
}
.fa-twitter-square{
  color: rgb(16, 130, 206);
}

form{
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  margin-top: 50px;
  width: 40rem;
}
input,textarea{
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid silver;
  border-radius: 5px;
  /* width: 40rem; */
  width: 100%;
}
label{
  margin-bottom: 10px;
}
label::after{
  content: "";
}
.btn-submit{
  background-color: rgb(11, 30, 235);
  color: white;
  cursor: pointer;
  margin-top: 5px;
  font-size: 20px;
}
.produits-ajout{
  display: flex;
  flex-direction: column;
  margin: 0 30px;
}
.ajout{
  background-color: rgb(11, 30, 235);
  margin: 20px 0;
  padding: 20px;
  border-radius: 5px;
  border: none;
}
.ajout a{
  color: white;
  font-size: 15px;
  font-weight: bold;
}
.loge-detail{
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  padding: 30px;
  width: 35rem;

}
.detailCarte{
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  /* width: 350px;
  margin: 20px; */
}
.detailImage{
  width: 100%;
  height: 300px;
  margin-bottom: 20px;

}
/* Mobile */
/* navBar */
@media only screen and (max-width: 768px) {

    .cardd {
        width: 160px;
        height: 160px;
        margin: 10px 5px 50px;
        
      }
    .links a {
        display: none;
    }
    .logo{
        margin-left: 40px;
        margin-right: 10px;
    }
    .tooggle{
        display: block;
        margin-right: 10px;
    }
    
    .responsive {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 3px;
        background-color: #0c0b0b;
        z-index: 1;
    }
    
    .responsive a {
        display: block;
        text-align: left;
        /* padding: 12px; */
    }

    .footer{
        display: flex;
        flex-direction: column;
    }
    .reseaux-sociaux{
        display: flex;
        align-items: center;
        justify-items: center;
        margin-top: 20px;

    }
    input,textarea{
       
        width: 15rem;
    }


   /* NavBar Mobile */
    .navbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
      }
    
      .navbar-brand {
        margin-bottom: 10px;
      }
    
      .sparateur-navbar {
        display: block;
      }
    
      .navbar-collapse {
        display: flex;
        align-content: center;
        align-content: center;
        width: 100%;
      }
    
      /* .navbar-nav li {
        margin: 5px 5px;
      } */

}

