@import url('https://fonts.googleapis.com/css2?family=Delius+Swash+Caps&display=swap');
* {
  font-family: 'Delius Swash Caps', cursive;
}

.up{
    width: 101%;
    height: 100px;
    background-color: #2e2f2f ;
    margin-top: -10px;
    margin-left: -10px;
    display: grid;
    grid-template-columns: 1fr 3fr 2fr;
}
.up_text{
    width: 100%;
    height: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    min-width: 270px;
  }
.upper_buttons{
  text-align: center;
  font-weight: bold;
  color:#2e2f2f;
  margin-top: 25px;
  font-size: 25px;
  text-decoration: none;
  border: none;
  width: 140px;
  height: 55px;
  padding-top: 10px;
  background-color: #f2e0be;
  border-radius: 3px;
  transition: background-color 0.15s;
}
.upper_buttons:hover{
  background-color: #f0e9dc;
}
.upper_buttons:active{
  background-color: #f3e6cd;
}
.img-up{
  min-width: 270px;
}  

.search-bar {
    flex: 1;
    height: 40px;
    padding-left: 10px;
    font-size: 16px;
    border: 1px solid rgb(180, 189, 182);
    border-radius: 2px;
    box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.05);
    min-width: 50px;
    outline:none;
  }
  
.search-bar::placeholder {
    font-size: 16px;
  }
.search-bar:hover{
    border: 2px solid #000000;
  }
  
.search-button {
    height: 40px;
    width: 60px;
    background-color: rgb(240, 240, 240);
    border-width: 1px;
    border-style: solid;
    border-color: rgb(192, 192, 192);
    margin-left: -1px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
.search-button .tooltip {
    position: absolute;
    background-color: gray;
    color: white;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 2px;
    font-size: 12px;
    bottom: -30px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: nowrap;
  }
  
.search-button:hover .tooltip {
    opacity: 1;
  }
  
.search-icon {
    height: 25px;
  }
.middle-section {
    flex: 1;
    max-width: 500px;
    margin-left: 70px;
    margin-right: 35px;
    max-width: 500px;
    display: flex;
    align-items: center;
  }
.middle{
    width: 100%;
    height: 300px;
    max-width: 2000px;
    margin-left: 30px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    max-height: 780px;
}
.about-picture{
    width: 100%;
    height: 300px;
    max-width: 900px;
    max-height: 770px;
    min-width: 40px;
    min-height: 420px;
    border-radius: 20px;
    margin-left: 30px;
    margin-top: 20px;
}
.slogan{
    font-size: 80px;
    padding-left: 10px;
    max-width: 1000px;
    min-width: 480px;
    height: 420px;
    align-items: center;
    font-family: Delius Swash Caps;
    border-radius: 20px;
    margin-right: 20px;
    border-color: #d7b89a;
    background-color: #d7b89a;
    font-weight: bold;
    margin-top: 20px;
    justify-items: center;
    padding-top: 30px;
    margin-left: 40px;
}



.us{
  max-height: 450px;
  min-height: 100px;
  background-color: #d7b89a;
  border-radius: 30px;
  width: 97%;
  margin-left: 10px;
  margin-top: 20px;
  margin-bottom: 80px;
  padding-bottom: 40px;
}
.our{
display:inline;
font-weight: bold;
    width: 75%;
    font-size: 40px;
    margin-bottom: 30px;
    margin-top: 20px;
    text-align: center;
}
.our_text{
    width: 100%;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
    margin-bottom: 20px;
    text-align: center;
}
.bottom{
    margin-top: 30px;
    margin-left: -20px;
    height: 350px;
    background-color: #2e2f2f ;
    color: white;
    font-weight: bold;
    display: grid;
    justify-items: center;
    margin-bottom: 0px;
}
.danni{
    justify-items: center;
}
.n{
    padding-top: 10px;
    font-size: 50px;
    margin-bottom: 20px;
}
.no{
   justify-items: center;
}
.us1{
    max-height: 850px;
    background-color:#d7b89a;
    border-radius: 30px;
    width: 100%;
    margin-left: 0px;
    margin-top: 80px;
    }
.social_mediaa{
        width: 35px;
        mix-blend-mode: none;
        margin-top: 0px;
        padding-left: 10px;
        margin-top: -10px;
        margin-bottom: 30px;
 }

 * {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.recipe-container {
  display: flex;
  height: 100%;
  width: 95%;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-left: 40px;
  margin-top: 40px;
}

.recipe-image-container {
  flex: 1;
  height: 90%;
  padding: 20px;
}

.recipe-image {
  width: 100%;
  height: 110%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recipe-details {
  flex: 1;
  padding: 40px;
  background-color: #fff;
  overflow-y: auto;
  height: 100%;
  color: #333;
}

.recipe-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  font-family: monospace;
  text-align: center;
}

.ingredients-title,
.method-title {
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  color: #333;
  font-family: monospace;
}

.ingredients-list {
  padding-top: 20px;
  list-style-type: none;
  padding-left: 20px;
}

.ingredients-list li {
  font-size: 18px;
  margin-bottom: 10px;
  color: #555;
}

.method-text {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
  text-align: justify;
}


.favorites-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  margin-right: 20px;
  max-width: 1000px;
  margin: auto;
}

.recipe-card {
  background-color: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.recipe-card:hover {
  transform: scale(1.05);
}

.recipe-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

h2 {
  font-size: 18px;
  margin: 10px 0;
}

.remove-btn {
  background-color: #3cbbb1;
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  width: 100%;
}

.remove-btn:hover {
  background-color: #1c867d;
}



