/* Global Styles (unchanged) */
#parent{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch; /* Smooth touch scrolling */
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none;    /* Firefox */
}

html.cursor-hidden,
html.cursor-hidden body,
html.cursor-hidden * {
    cursor: none !important;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;  /* Chrome, Safari, Opera */
}

#child {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch; /* Smooth touch scrolling */
    padding-right: 17px;
    box-sizing: content-box;
}


nav {
    background: #dec773;
    padding: 17px; /* Increased nav bar size */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

/* Home header styling */
.home-header {
    height: 100vh; /* Full viewport height */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
}

/* Darker overlay */
.overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay */
    position: relative;
}

/* Position header content 1/3 from the top */
.header-content {
    position: absolute;
    top: 33vh; /* 33% down from the top */
    left: 25%;
    color: #fff;
}

.header-content h1 {
    width: 100%;
    font-size: 3em;
    margin-bottom: 20px;
}

.view-recipes {
    background-color: #6495ED; /* Blue background */
    color: #fff; /* White text */
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    margin-right: 20px;
}

.header-search {
    display: inline-block;
    background: #dec773;
    padding: 8px 10px; /* Smaller side padding */
    border-radius: 30px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.3);
    vertical-align: middle;
}

.header-search form {
    display: flex;
    align-items: center;
}

.header-search input[type="text"] {
    padding: 8px; /* Reduced padding */
    border: none;
    font-size: 1em;
    border-radius: 30px 0 0 30px;
}

.header-search button {
    padding: 8px;
    border: none;
    font-size: 1em;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    background-color: #6495ED;
    color: #fff;
}

.form-container {
    width: 80%;
    margin: 20px auto;
}

#recipes-section {
    padding: 20px;
}

/* Recipe list styling (unchanged) */
.recipe-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    overflow: hidden;
    background: #eeeeee;
}

.recipe-post {
    margin-bottom: 30px;
    clear: both;
}

.recipe-left, .recipe-right {
    width: 66.66%;
    background: #f9f9f9;
    padding: 20px;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.recipe-left {
    float: left;
}

.recipe-right {
    float: right;
}

.recipe-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 2px solid #dec773;
    padding-bottom: 5px;
}

.recipe-instructions {
    font-size: 1em;
    line-height: 1.5;
    color: #555;
    margin-bottom: 10px;
}

.recipe-ingredients {
    font-size: 0.9em;
    color: #777;
}
