/* @imports of fonts and links to icons */
@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap');


/* Basic Structure Parameters */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf8f6;
}


.page-wrapper{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 50px;

}

/* Main Content Display and Area */
main {
    flex: 1;
}

/* Header Styles */
header {
    background-color: sienna;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header {
    margin-bottom: 5px;
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    font-size: 22px;
    font-style: normal;
}

header h1 {
    font-size: clamp(1.2em, 3vw, 1.5em);
    margin: 5px 0;
    padding: 20px;
}


/* Header Navigation Bar */
.header_nav {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header_nav li {
    margin: 0;
}

.header_nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.header_nav a:hover {
    background-color: #f4e1c1;
    color: sienna;
    text-decoration: none;
}

.header_nav a.active {
    background-color: #c18f5e;
    color: white;
}

/* HOME */
/* Featured Recipe Section */
.featured_recipe {
    text-align: center;
    padding: 20px;
    margin: 20px;
}

.featured_recipe h2{
    text-align: center;
    margin: 0px;
}

.featured_recipe p{
    margin: 15px 15px 15px 15px;
}

.featured_img_container{
    padding: 5px 0px 5px 0px;
}

.featured_recipe img {
    width: 450px;
    height: 350px;
    padding: 0;
    margin: 0;
    display: inline-block;
    border: 2px solid #c18f5e;
    border-radius: 80px;
    transition: 0.7s;
    backface-visibility: hidden;
}


.featured_img_container:hover img{
    width: 550px;
    height: 350px;
    transition: 0.5s;
    opacity: 30%;
}

.featured_img_container:hover .middle_image_content{
    opacity: 1;
}

.middle_img_header{
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 14px;
    padding: 5px 12px;
    opacity: 80%;
    background: #333;
    border-radius: 15px;
    text-decoration-thickness: 2px;
}

.middle_image_content{
    transition: 1.1s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    -ms-transform: translate(-50%);
}

.middle_img_header h3{
    padding: 0px;
    margin: 0px;
}

/* Have a Recipe Section */
.main_content{
    padding: 20px;
    margin: 20px;
    text-align: center;
}

.main_content p{
    margin: 15px auto;
    max-width: 600px ;
    text-align: justify;
    line-height: 1.7;
}


.main_content h3.about_us_header{
    padding: 0px;
    margin: 0px;
    text-align: center;
}


.main_content a.a_hyperlink{
    padding: 0;
    margin: 0;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    color: sienna;
    transition: opacity 0.3s ease;
}

.main_content a.a_hyperlink:hover{
    opacity: 0.7;
}

.main_content img{
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* The Rhonda Award Section */

.rhonda_awards{
    padding: 20px;
    margin: 20px;
    text-align: center;
}

.rhonda_awards_header{
    padding: 0;
    margin: 0;
}

.award_list{
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.award_list li{
    font-weight: 500;
    margin: 5px 0;
}

/* Section Style Divider + Gradient */

.divider{
    border: none;
    height: 5px;
    width: 10%;
    margin: 5px auto 30px auto;
    background: linear-gradient(to right, sienna, peru, sienna);
    border-radius: 80px; /* Optional: makes it a smooth pill shape */
}

/* Footer  */
footer {
    background-color: sienna;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

footer .creator, footer .copyright {
    margin: 5px 0;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.footer-nav li {
    display: inline-block;
    margin: 0 10px;
}

.footer-nav li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8em;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: #f4e1c1;
}

/* Responsive Adjustments For Smaller Screens */
@media (max-width: 600px) {
    main {
        margin: 15px;
        padding: 15px;
    }
}

@media (max-width: 400px) {
    .header_nav a {
        padding: 8px 5px;
    }
}