body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #000;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center; 
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    margin-right: 20px; 
    position: relative;
    right: 20%;
}

.logo {
    height: 50px;
    cursor: pointer;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container {
    margin: 0; 
}

.search-bar {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 500px; 
    box-sizing: border-box;
    position: relative;
    right: 10%;
}

.icons-container {
    display: flex;
    align-items: center;
    margin-left: 20px; 
}

.favorites-icon {
    position: absolute; 
    left: 90%;
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 1001; 
}

.icons-container .icon {
    height: 30px;
    margin-left: 10px;
    cursor: pointer;
    transition: filter 0.3s;
}

.icons-container .icon:hover {
    filter: brightness(0) invert(1);
}

main {
    padding-top: 80px;
}

.recipes-category {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

.recipes-category h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.recipe-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.recipe-card {
    display: flex;
    flex-direction: row;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(50% - 20px); 
    margin-bottom: 20px;
}

.recipe-card img {
    width: 200px; 
    height: auto;
    object-fit: cover;
}

.recipe-info {
    padding: 15px;
    flex: 1;
}

.recipe-info h2 {
    margin: 0 0 10px;
    color: #e60012;
    font-size: 1.4em; 
}

.recipe-info p {
    margin: 0 0 15px;
    font-size: 0.95em; 
}

.recipe-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e60012;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.recipe-button:hover {
    background-color: #c70039;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    position: relative;
}

.footer-logo img {
    height: 50px;
}

.footer-logo .separator {
    margin: 10px 0;
    text-align: center;
    position: relative;
}

.footer-logo .separator::before,
.footer-logo .separator::after {
    content: "";
    position: absolute;
    width: 45%;
    height: 2px;
    background-color: #d30213;
    top: 50%;
    z-index: 1;
}

.footer-logo .separator::before {
    left: 0;
    transform: translateY(-50%);
}

.footer-logo .separator::after {
    right: 0;
    transform: translateY(-50%);
}

.footer-logo .separator p {
    margin: 0;
    padding: 0 20px;
    color: #ffffff;
    background-color: #000;
    display: inline;
    position: relative;
    z-index: 2;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.footer-social a {
    margin: 10px;
}

.footer-social img {
    height: 40px;
}

.footer-links {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.footer-links li {
    margin: 0 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #e60012;
}

.footer-rights {
    margin-top: 20px;
    font-size: 14px;
}

.separator {
    position: relative;
    text-align: center;
    margin: 40px 0;
}

.separator::before,
.separator::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: #e60012;
    top: 50%;
    z-index: 1;
}

.separator::before {
    left: 0;
    transform: translateY(-50%);
}

.separator::after {
    right: 0;
    transform: translateY(-50%);
}

.separator h2 {
    margin: 0;
    padding: 0 20px;
    color: #e60012;
    background-color: #fff;
    display: inline;
    position: relative;
    z-index: 2;
}
