* {
  margin: 0;
  padding: 0;
}

html{
background:#fffffff8;
}

h1{
    text-align: center;
    font: "Caslon", serif;
    font-size: 50px;
    font-weight: bold;
    color: #444444;
    margin-top: 5%;
    margin-bottom: 3%;
}

table {
    margin-top: 6%;
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 95%;
    align-items: center;
    font-size: 40px;
    color: #000000;
  }
  
  td {

    text-align: center;
    border-radius: 30px;
    
  }

  .colone_button{
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: #639d87;
    font-size: 25px;
    border-radius: 5px;
    color: white;
    padding: 20px;
    font-weight: bold;
    transition: .5s; /* temps de transition lors du hover : une demi s */
    border: none;
  }
  .colone_button:hover{
    
    color: #639d87;
    background-color: rgb(255, 255, 255);
    border:3px solid #639d87 ;
  }

/* Style pour les écrans larges */
@media (min-width: 1000px) {
  .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .image_colonne.large {
    width: 90%;
    border-radius: 5px;

  }
}

/* Style pour les écrans de téléphone portable */
@media (max-width: 999px) {
  .row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .image_colonne.large {
    width: 80%;
    border-radius: 5px;
  }
}


  @keyframes slideIn {
    0% {
      transform: translateY(-100%);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /*Nav barre*/
  nav ul{
    list-style-type: none;
  }

  nav li{
  float:left;
  width: 16.6%;
  text-align: center;
  list-style: none;
  }
  nav ul::after{
    content: "";
    display: table;
    clear: both;
  }
  nav{
    width: 100%;
    margin:0 auto;
    display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #1e4347;

  }


  .nav_text{
    display: block ;
    text-decoration: none;
    color: #f1faee;
    font-size: 30px;
    font: 1.2em "Fira Sans", sans-serif;
    font-weight: bold;
    text-align: center;
    padding-top: 30px;
    margin-bottom: 30px;
    border-bottom: 3px solid rgba(255, 255, 255, 0);
    transition:  0.5s ease;
  }

  .nav_text:hover{
    color: rgb(255, 255, 255);
    border-bottom: 3px solid rgb(255, 255, 255);
  }



  .rectangle_nav-barre{

    width:100%;
    background-color:#1e4347;
    margin-left: auto;
    margin-right: auto;
    
    
  }

  .img {
    width: 150px;
    list-style: none;
    margin-right: auto ;
    margin-left: auto;
  }

  @media only screen and (min-width: 100px) and (max-width: 1024px) {


    nav{
      width: 100%;
      margin:0 auto;
      display: block;
    }

    nav ul {
    display: none;
    }
    nav li {
    width: 100%;
    float: none;
    list-style: none;
    }
    .menu-toggle {
    display: block;
    padding-right: 20px;
    text-align: right;
    background-color: #1e4347;
    color: #f1faee;
    font-size: 70px;
    font-weight: bold;
    padding-bottom: 30px;
    padding-top: 30px;
    }
    .menu-toggle:hover {
    cursor: pointer;
    }
    .menu-toggle::after {
    content: "\2630";
    }
    nav ul.show {
    display: block;
    }
    li img {
      float: left;
      margin-right: 10px;
      width: 1px;
      list-style: none;
      padding-left: 20px;
   }
   .img {
    width: 140px;
    list-style: none;
    margin-right: auto ;
    margin-left: auto;
  }




    }

  

.center_text{
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;



}

.rectangle_texte_Titre{
  padding-left: 10px;
  font: "Caslon", serif;
  font-size: 50px;
  color: #000000;
  font-size: 50px;
  font-weight: bold;
  border-left: 5px solid rgb(0, 0, 0);
  text-align: left;


}

.rectangle_texte{
  padding-top: 5%;
  padding-left: 10px;
  font: "Caslon", serif;
  color: #000000;
  font-size: 20px;
  font-weight: bold;
  border-left: 5px solid rgb(0, 0, 0) ;
  text-align: left;

}



/* container */
.three-columns {
  display:flex;
}

/* columns */
.three-columns > * {
  width:calc(100% / 3);
  padding:1rem;
}

.boutton_center{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}
.bouton{
  padding: 10px;
  height: 75px;
  font-size: 30px;
  background-color: #639d87;
  font-size: 25px;
  border-radius: 5px;
  color: white;
  padding: 20px;
  font-weight: bold;
  transition: .5s; /* temps de transition lors du hover : une demi s */
  border: none;
}
.bouton:hover{
  
  color: #639d87;
  background-color: rgb(255, 255, 255);
  border:3px solid #639d87 ;
}





.rectangle_plat{
  margin-top: 5%;
  background-color: #e4f3ec;;

  margin-left: auto;
  margin-right: auto;
  width: 100%;

}

.colonne {
  width: 100%;
  max-width: 350px; /* Optionnel : limitez la largeur de la colonne */
}

.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  border-bottom: 3px solid rgb(133, 133, 133) ;
}

.titre_ingredient{
  text-align: left;
  margin-left: 10%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.texte_ingredients{
  text-align: left;
  font-size: 30px;
  margin-left: 10%;
  margin-bottom: 90px;
  margin-top: 90px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.titre_recette{
  text-align: left;
margin-left: 11.5%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;

}
.texte_recette{
  font-size: 35px;
  margin-bottom: 80px;
  margin-top: 80px;
  padding:20px ;
  line-height: 1.5;
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.colonne2{
  width: 100%;
  max-width: 500px; /* Optionnel : limitez la largeur de la colonne */
}

.two-columns{

  display:flex;
  align-items: center;
}

.two-columns > * {
  width:calc(100% / 2);
  padding:1rem;

}

.img-fluid2{
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin-top: 20px;
}


.rectangle_plat2{

  margin-left: auto;
  margin-right: auto;
  width: 100%;
  background-color: #e4f3ec;

}

textarea {
  width: 95%;
  height: 200px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
  
}
label {
  font-size: 30px;
  margin-bottom: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
input[type="text"] {
  font-size: 30px;
  padding: 5px;
  margin-bottom: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


#message-container {
  background-color: #e4f3ec;
  display: block;
  border: none;
  border-radius: 10px;
  color: #000000;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 30px;
  padding: 40px;
}



  .bouton2{
    margin-top: 20px;
    padding: 10px;
    margin-bottom: 20px;
    margin-left: 30%;
    height: 75px;
    font-size: 30px;
    background-color: #639d87;
    font-size: 25px;
    border-radius: 5px;
    color: white;
    padding: 20px;
    font-weight: bold;
    transition: .5s; /* temps de transition lors du hover : une demi s */
    border: none;
    margin-left: auto;
    margin-right:auto ;
  }
  .bouton2:hover{
    
    color: #639d87;
    background-color: rgb(255, 255, 255);
    border:3px solid #639d87 ;
  }
  




  .menu_deroulant{
    width: 200px;
    height: 50px;
    font-size: 25px;
    border-radius: 5px;
    color: #f1faee;
    background-color:#1e4347;
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;

  }

  input[type="file"] {
    display: none;
  }
  .custom-file-upload {
    border: 5px solid #000000;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    margin-right:auto ;
    margin-left: auto;
    color: rgb(0, 0, 0);
  }


    .rectangle_accueil{
      margin-top: 60px;
      width:100%;
      height:400px;
background-color: #e4f3ec;
font-size:60px;
display: table;
font: "Caslon", serif;
color: #444444;
font-weight: bold;


    }

    span {
      /* Aligne le texte verticalement au milieu */
      vertical-align:middle;
      display: table-cell;
      
      }
      

      .barre-recherche{
        text-align: center;
      }

      .barre-recherche input[type="text"] {
        padding: 5px;
        width: 40%;
        border: none;
        box-shadow: 0 0 5px #888;
        margin-right: 10px;
        border: 4px solid #639d87 ;
    }

    .barre-recherche-bouton{
        padding: 20px;
        color: white;
        font-weight: bold;
        font-size: 30px;
        border-radius: 5px;
        border: none;
        cursor: pointer;
        background-color: #639d87;
        font-weight: bold;
        color: #f1faee;
        transition: .5s; /* temps de transition lors du hover : une demi s */
    }

      
      .barre-recherche-bouton:hover{
          
          color: #639d87;
          background-color: rgb(255, 255, 255);
          border:3px solid #639d87 ;
      }

.Bouton_ajouter_recette{
  padding: 20px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  background-color: #639d87;
  font-weight: bold;
  color: #f1faee;
  float: right;
  margin-top: 10px;
  margin-right: 30px;
  transition: .5s; /* temps de transition lors du hover : une demi s */
}

.Bouton_ajouter_recette:hover{
          
  color: #639d87;
  background-color: rgb(255, 255, 255);
  border:3px solid #639d87 ;
}


.rectangle_recette_enregistre{
  background-color: #e4f3ec ;
 padding-top: 40px;
 padding-bottom: 40px;
 
}

#my-svg {
  margin: 0;
  padding: 0;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  font: "Caslon", serif;
  background-color: #1e4347;
  color: white;
  font-size: 35px;
  margin-top: 40px;
  line-height: 1.3;
  text-decoration: none;
}

.hide {
  display: none;
}
.text_footer{
  text-decoration: none;
  color: white;
}
