/* Styles for Daily Dish */

.vegan-button {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  background: transparent;
  color: #3be06a;             /* bright vegan green text */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #3be06a;  /* outline style */
}

.vegan-button:hover {
  background: #3be06a;
  color: #000000;             /* switch to black text on hover */
}


main, header, footer, section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}


/* General Settings */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #121212;
    color: #ffffff;
}

/* Header */
header {
    text-align: center;
    padding: 20px;
    background-color: #1f1f1f;
}

header h1 {
    font-size: 2rem;
    color: #f4a261;
}

header p {
    font-size: 1rem;
    color: #e9c46a;
}

/* Main Content */
main {
    padding: 20px;
}

/* Style for the refresh recipe button */
#refresh-recipe-btn {
    background-color: #4caf50; /* Pleasant green color */
    color: #ffffff; /* White text */
    border: none;
    padding: 12px 20px; /* Good size */
    font-size: 1rem; /* Font size */
    font-weight: bold; /* Bold text */
    border-radius: 25px; /* Rounded corners */
    cursor: pointer;
    margin-bottom: 20px; /* Space below the button */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

#refresh-recipe-btn:hover {
    background-color: #45a049; /* Slightly darker green on hover */
}

#refresh-recipe-btn:focus {
    outline: none; /* Remove default focus outline */
}

#ingredients-list {
    list-style-type: none; /* Remove bullet points */
    padding-left: 0; /* Remove indentation */
    margin: 10px 0; /* Optional: Adjust spacing */
}

#ingredients-list li {
    margin: 5px 0; /* Optional: Add spacing between items */
}


#recipe {
    text-align: center;
}

#recipe-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2a9d8f;
}

#recipe-image {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    display: block;
    margin: 0 auto;
}

#recipe-instructions {
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
}


/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #1f1f1f;
    color: #ffffff;
}

footer a {
    color: #e76f51;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Cookie Consent */

#cookie-consent {
    display: block;
    background-color: rgba(51, 51, 51, 0.75); /* 75% opacity */
    color: #ffffff;
    padding: 15px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-top: 2px solid #f4a261;
}

#cookie-consent button {
    margin: 0 5px;
}

#cookie-consent p {
    margin: 0 0 10px; /* Add spacing below the text */
}

#cookie-consent a {
    color: #f4a261; /* Highlight links */
    text-decoration: underline;
}

#cookie-consent a:hover {
    color: #e76f51; /* Link hover color */
}

#cookie-consent button {
    background-color: #f4a261; /* Button color */
    color: #121212; /* Button text color */
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px; /* Rounded corners for buttons */
}

#cookie-consent button:hover {
    background-color: #e76f51; /* Button hover color */
}

a {
    color: #4da6ff; /* Light blue color for better contrast */
    text-decoration: underline; /* Keeps links underlined for clarity */
    cursor: pointer; /* Ensures links show the pointer cursor */
}

a:visited {
    color: #3399cc; /* Slightly darker blue for visited links */
}

a:hover {
    color: #80c1ff; /* Even lighter blue on hover */
    text-decoration: none; /* Optional: Remove underline on hover */
}

a:focus {
    outline: 2px solid #4da6ff; /* Focus outline for accessibility */
    outline-offset: 2px;
}


/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.875rem;
    }

    #recipe-title {
        font-size: 1.25rem;
    }

    #recipe-instructions {
        font-size: 0.875rem;
    }

    footer {
        font-size: 0.875rem;
    }
}