.page-container {
    min-height: 100vh; 
 } 
 
.center-container {
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    max-width: 1500px;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    background-color: white;
    flex: 2;
    flex-direction: column;
}

.recipe-title {
    color: rgb(167, 124, 124);
    text-align: left;
    width: 100%;
} 

.recipe-header {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;    
} 


.recipe-header main {
    flex: 1;
}

.recipe-header main figure {
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;       
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    box-shadow: 5px 2px 2px rgba(0,0,0,0.25);
    border: 1px solid rgba(167, 124, 124, 0.75);    
    margin-bottom: 1rem;
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center;                       
}

.recipe-header main img {
    width: 100%;
    margin: 0rem ;
}

.recipe-header aside {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.read-later {
    padding: 2rem;
    margin: 0;
    padding: 0;
    color: rgb(167, 124, 124);
}


.read-later button {
    border: none;
    background-color: inherit;
    cursor: pointer;
}

.read-later i {
    background-color: rgb(123, 166,135); 
    padding: 1rem;
    color: white;
    border-radius: 10px; 
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: .25s ease;    
}

.read-later i:hover {
    background-color: rgb(115, 199, 139);  
}

.recipe-header aside .key-metrics {
    background-color: rgb(167, 124, 124);
    padding: 2rem;
    color: white;
    border-radius: 10px;
}

.recipe-header aside .key-metrics h2 {
    margin-bottom: 2rem;
}

.recipe-header aside .key-metrics ul {
    list-style: none;
}

.recipe-header aside .key-metrics li {
    line-height: 2;
}

.recipe-header aside .tags ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 1rem;    
}

.recipe-header aside .tags li {
    color: white;
    background-color: rgb(167, 124, 124);
    padding: .5rem 1rem;
    border-radius: 10px;
}

.ingredient-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.ingredient-header {
    color: white;
    background-color: rgb(167, 124, 124);    
    width: 100%;
    padding: 2rem;
    text-align: left;
    border-radius: 10px;    
}

.ingredient-details {
    column-count: 3;
    padding: 0rem 12rem;
    line-height: 2;
}

.steps-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin-bottom: 4rem;
}

.steps-header {
    color: white;
    background-color: rgb(167, 124, 124);    
    width: 100%;
    padding: 2rem;
    text-align: left;
    border-radius: 10px;    
}

.recipe-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0rem 10rem;
}

.step {
    line-height: 1.6;    
}

.step h3 {
    margin-bottom: 0.25rem;
}


@media (max-width: 768px) {
  
    .center-container {
        gap: 2rem;
        padding: 2rem;
    }

    .recipe-title {
        color: rgb(167, 124, 124);
        text-align: left;
        width: 100%;
    } 
    
    .recipe-header {
        flex-direction: column;
        gap: 2rem;  
    } 
    
    .recipe-header main {
        flex: 1;
    }
    
    .recipe-header main img {
        width: 100%;
        margin: 0rem ;
    }
    
    .recipe-header aside {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .recipe-header aside .key-metrics {
        background-color: rgb(167, 124, 124);
        padding: 2rem;
        color: white;
        border-radius: 10px;
    }
    
    .recipe-header aside .key-metrics h2 {
        margin-bottom: 2rem;
    }
    
    .recipe-header aside .key-metrics ul {
        list-style: none;
    }
    
    .recipe-header aside .key-metrics li {
        line-height: 2;
    }
    
    .recipe-header aside .tags ul {
        list-style: none;
        display: flex;
        flex-direction: row;
        gap: 1rem;    
    }
    
    .recipe-header aside .tags li {
        color: white;
        background-color: rgb(167, 124, 124);
        padding: .5rem 1rem;
        border-radius: 10px;
    }    

    .ingredient-block {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .ingredient-header {
        color: white;
        background-color: rgb(167, 124, 124);    
        width: 100%;
        padding: 2rem;
        text-align: left;
    }
    
    .ingredient-details {
        column-count: 1;
        padding: 0rem 2rem;
        line-height: 2;
    }

    .steps-block {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .steps-header {
        color: white;
        background-color: rgb(167, 124, 124);    
        width: 100%;
        padding: 2rem;
        text-align: left;
    }
    
    .recipe-steps {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 0rem 2rem;
    }
    
    .step {
        line-height: 1.6;    
    }
    
    .step h3 {
        margin-bottom: 0.25rem;
    }
    
    

} 