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

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

.page-listing {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.page-item {
    background-color: rgba(170, 170, 170, 0.75);
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.active, 
.page-item:hover {
    background-color: rgba(167, 124, 124, 0.75);
}


.page-link {
    text-decoration: none;
    color: white;          
}

.recipe-previews {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    width: 100%;    
}

.recipe-card {
    border-radius: 10px;
    box-shadow: 5px 2px 2px rgba(0,0,0,0.25);
    border: 1px solid rgba(167, 124, 124, 0.75);   
    width: 400px;
    overflow: hidden;     
}

.recipe-card a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;    
}

.recipe-card a figure {
    display: flex;
    justify-content: center;
    align-items: center;       
    aspect-ratio: 4 / 3;
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center;                      
}

.recipe-card a h4 {
    background-color: rgb(167, 124, 124);
    color: white;
    padding: 1rem;
    margin-top: auto;
    flex: 2;
}

 

@media (max-width: 768px) {
  

    .center-container {
        padding: 2rem;
        width: 100%;
    }
    
    .recipe-title {
        text-align: center;
    } 

    .recipe-card {
        width: 100%;
    }    


}  