@import url('https://fonts.googleapis.com/css2?family=Arapey:ital@0;1&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Cormorant:ital,wght@0,300..700;1,300..700&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arapey&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Cormorant:ital,wght@0,300..700;1,300..700&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Raleway:ital,wght@0,100..900;1,100..900&family=WindSong:wght@400;500&display=swap');

body {
    font-family: "Arapey", sans-serif;
    display: flex;
    flex-direction: column;
    background-color: rgb(209, 218, 209);
}

.welcome-body {
    color: rgb(165, 152, 87);
    background-color: rgb(68, 84, 68);
    
    margin: 30px 0;
    text-align: center;
    position: relative;
    border-top: 5px solid #67756a;
    border-bottom: 5px solid #67756a;
    border-radius: 10 px;
}

.welcome-subheader h1 {
    font-family: "Arapey", sans-serif;
    font-weight: bold;
    color: rgb(165, 152, 87);
}

.welcome-subheader p {
    font-family: "WindSong", sans-serif;
    font-size: x-large;

}
.welcome-section {
  display: flex;
  justify-content: space-between; 
  align-items: center;           
  max-width: 900px;  
  margin: 50px auto; 
  padding: 20px;
}
.auth-links {
  display: flex;
  flex-direction: column;
  gap: 20px;   
}
.auth-links a {
  display: inline-block;
  background-color: rgb(68, 84, 68); 
  color: white;
  font-size: 1.5em;
  padding: 10px 20px;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.auth-links a:hover {
  background-color: rgb(165, 152, 87);
}

.wlc-image img {
  border-radius: 10px;
  max-width: 200%;
  height: auto;
}
@media (max-width: 600px) {
  .welcome-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .auth-links {
    margin-bottom: 20px;
  }
}

.signin-container,
.signup-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

h1 {
  color: rgb(68, 84, 68);
}

form {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 20em;
  height: 50%;
  background-color: #bbc7b0;
  padding: 30px 40px 20px 40px;
  border-radius: 20px;
  color: rgb(68, 84, 68);
  font-weight: bold;
}

input {
  border: 1px solid rgb(182, 182, 182);
  padding: 8px;
  border-radius: 10px;
}

button {
  padding: 10px;
  background-color: #606c5b;
  color: white;
  border-radius: 30px;
  border: none;
  margin: 15px 0;
  font-size: 1.1em;
}

.all-recipes-body {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    }


.all-recipes-header {
    display: flex;
    flex-direction:column-reverse;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    width: 90%;
}

.add-recipes-link {
    background-color: rgb(68, 84, 68);
    color: white;
    border-radius: 30px;
    border: none;
    font-size: 1.5em;
    padding: 8px;
    text-decoration: none;
}

.add-recipes-link:hover {
    background-color: rgb(165, 152, 87);
}

ul {
    list-style: none;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:flex-end;
    padding: 100px 100px;
    margin: 30px 30px;
}
ul > a {
    text-decoration: none;
    color: rgb(68, 84, 68);
    width: 60%;
    background-color: #95998f;
    border-radius: 30px;
    padding: 10px 20px;
    margin: 15px 0;
    font-weight: bold;
    text-align: center;
}

ul > a:hover {
  background-color: rgb(165, 152, 87);
  color: white;
}


.new-body {
  display: flex;
  justify-content: center;
  align-items: column;
  height: 100%;
  padding: 10px;
  margin: 10px;
}

.new-body > form,
.edit-body > form {
    height: 70%;
    width: 600px;
}

textarea {
  border: 1px solid rgb(182, 182, 182);
  border-radius: 10px;
  padding: 10px;
  height: 150px;
}

select {
    margin-bottom: 10px;
    border: 1px solid rgb(182, 182, 182);
    border-radius: 10px;
    padding: 10px;
}

.edit-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
a {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: rgb(68, 84, 68);
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 0;
    border-radius: 30px;
    width: 10em;
    text-align: center;
    margin: 5px;
}

.all-recipes-header img {
  border-radius: 15px;
  max-width: 200%;
  height: auto;
}

@media (max-width: 430px) {

  body {
    font-size: 1em;
    padding: 0 10px;
  }

  .welcome-body {
    margin: 15px 0;
    border-top: 3px solid #67756a;
    border-bottom: 3px solid #67756a;
    border-radius: 8px;
    padding: 10px;
  }

  .welcome-section {
    flex-direction: column; 
    align-items: center;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
  }

  .auth-links {
    gap: 15px;
    margin: 20px 0;
    width: 100%;
    align-items: center;
  }

  .auth-links a {
    width: 100%; 
    font-size: 1.2em;
    padding: 12px;
  }

  .wlc-image img {
    max-width: 100%;
    margin: 15px 0;
  }

  form {
    width: 100%;
    padding: 20px;
  }

  .new-body > form,
  .edit-body > form {
    width: 100%;
    height: auto;
  }

  textarea {
    height: 120px;
    font-size: 1em;
  }

  select {
    font-size: 1em;
  }

  .all-recipes-body {
    flex-direction: column;
    padding: 20px;
  }

  .all-recipes-header {
    width: 100%;
    padding: 10px;
  }

  ul {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    align-items: center;
  }

  ul > a {
    width: 100%;
    font-size: 1em;
    padding: 12px;
  }

  .add-recipes-link {
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    padding: 12px;
  }

  .all-recipes-header img {
    max-width: 100%;
    margin-top: 15px;
  }

  button {
    width: 100%;
    font-size: 1em;
    padding: 12px;
  }
} 