/* styles.css */

/* Apply a background image to the body */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('https://theherofarm.com/wp-content/uploads/2025/07/New-Orleans-Restaurants.jpg'); /* Path to your background image */
    background-size: cover;
    background-position: center;
    font-family: Arial, sans-serif;
    margin: 0;
    color: #fff; /* White text for contrast */
    padding: 20px;
    box-sizing: border-box;
}

/* Style the container */
.container {
    text-align: left;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    padding: 20px;
    border-radius: 10px;
    width: 90%; /* Slightly smaller width */
    max-width: 800px; /* Set a max width to avoid overflow */
    margin: 20px auto; /* Center horizontally */
    transition: transform 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.container:hover {
    transform: scale(1.02); /* Slightly enlarge the container on hover */
}

/* Style the highlighted text */
.highlight {
    color: #ffd700; /* Dark yellow */
    text-align: center;
    animation: fadeIn 1s ease-in-out; /* Fade-in animation */
}

/* Style the name display */
.nameDisplay {
    font-size: 2em;
    margin: 20px auto;
    padding: 10px;
    border: 3px solid #ffd700; /* Dark yellow border */
    display: inline-block;
    width: auto; /* Adjust width based on content */
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
    border-radius: 10px;
    white-space: nowrap; /* Prevent text wrapping */
    text-align: center;
    animation: fadeIn 0.5s ease-in-out; /* Fade-in animation */
}

/* Button hover effect */
button {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    background-color: #fffacd; /* Pale yellow background */
    color: black; /* Black text */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    transition: all 0.3s ease-in-out; /* Smooth transition */
    margin-top: 20px; /* Add margin to space it from the name display */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

button:hover {
    background-color: #ffd700; /* Darker yellow on hover */
    transform: scale(1.05); /* Slightly enlarge the button */
}

/* Style the description text */
.description {
    margin: 10px 0;
    font-size: 1em;
    line-height: 1.5em;
}

/* Centered text */
.centered {
    text-align: center;
}

/* Style the footer image */
.footer-image {
    margin-top: 20px;
    max-width: 200px;
    transition: transform 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.footer-image:hover {
    transform: scale(1.05); /* Slightly enlarge the image on hover */
}

/* Style the link */
a {
    color: yellow; /* Yellow text */
}

/* Font Awesome Icons */
.fas {
    margin-right: 10px; /* Add some space to the right of icons */
    color: #ffd700; /* Dark yellow color for icons */
}

/* Keyframes for fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .nameDisplay {
        font-size: 1.5em;
        padding: 8px;
    }

    button {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .description {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .nameDisplay {
        font-size: 1.2em;
        padding: 6px;
    }

    button {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .description {
        font-size: 0.8em;
    }
}

#foodFact {
  margin-top: 20px;
  font-style: normal !important;             
  font-weight: 600;               
  font-size: clamp(1.2em, 2vw + 1em, 2.5em);
  color: #FFD700 !important;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 12px 18px;
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}