
html,body{
    height: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
main{
    margin-top: 2%;
    flex: 1;
}
body{
    min-height: 100vh;
    background-color: rgb(249, 244, 239);
    flex: 1;
}
/* start nav */
.navbar{
    color: brown;
    font-size:x-large;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content:space-between; 
    position:fixed;  /* keeps it at top by default */
    width: 100%;
    background-color: white;
}
.nav-links{
    width: 30%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

.nav-title{
    width: fit-content;
    height: fit-content;
    font-weight: bold;
    font-size: 26px;
    text-align: center;
}

a:hover{
    color: brown;
}
.link{
    text-decoration: none;
    color: black;
    font-size: 20px;
    cursor: pointer;
}
.link:hover{
    color: brown;
    font-size: 20px;
    cursor: pointer;
}
.active_link {
    color: brown;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer;
}
/* end nav */
/* start home */
.button_links{
    color: #fff;
    text-decoration: none;
}
.button_links:hover{
    color: #fff;
}
#details_home{
    font-size: 300% ;
    font-weight: 600;
    font-style:oblique;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#description{
    text-align: center;
    font-weight: 100;
    overflow: auto;
    justify-content: center;
    align-items: center;
}
.center_button{
    padding: 10px;
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center;     /* centers vertically */
}
button{
    background-color: brown;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
}
button:hover{
    background-color: darkred;
}
.hero-buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 200px;
    background-image: url(../assets/cooking_woman.jpeg);
    background-size: cover;
    background-position: center top;
}
#products{
    text-align:center;
    font-weight: 900;
    font-size: xxx-large; 
}  
.home_container{
    display: flex;
    align-items: center;
}
.detail_home{
    font-size: large;
    font-weight: 300;
    padding-bottom: 10px;
    width: 50%;
}

/* end home */
/* start products */
.products-grid {
    align-items:center;
    column-gap: 5%;
    display: flex;
    flex-wrap: wrap;
    row-gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.products-grid > * {
    flex: 1 1 250px; /* Grow, shrink, and set a base width */
    /* flex-basis: 300px; */
    max-width: 300px; /* Optional: limit the max size of each item */
}

.product {
    width: 450px;
    height: 480px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.product img {
    width: 100%;
    height: 70%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 5px;
}
.product button {
    background-color: brown;
    color: white;
    border: none;
    border-radius: 5px;
} 
.button:hover {
    background-color: darkred;
    }
.filter-buttons{
    background-color: brown;
    color: white;
    border: none;
    border-radius: 5px;
}
.filter-buttons:hover{
    background-color: darkred;
} 
.details_products{
    font-size: large;
    font-weight: 300;
    padding-bottom: 10px;
}
/* end products */
/* start about */
.our_miision_center{
    width: 40%; 
    text-align: center; 
    margin: auto;
}
.large{
    text-align: center; 
    font-size: x-large;
    font-weight: 800;
}
.medum{
    text-align: center; 
    font-size: larger;
    font-weight:lighter;
}
.about_container{
    background-color: white;
    display: flex;
    justify-content: space-around;
    /* flex-wrap: wrap; */
    align-items: center; /* To vertically align the image and text */
}
.back{
    width: 30%;
    background-color:rgb(255, 255, 255);
    border-radius: 2%;
    padding-bottom: 1%;
}
.container_about{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    margin: auto;
    /*  */
    align-items:center;
    gap: 50px;
    row-gap: 40px;
    justify-content: center;
    padding: 20px;
}
.team_container{
    text-align: center;
    background-color: white;
}
.person_container{
    text-align: center; 
    display: flex ; 
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}
.space{
    text-align: center;
    display: flex;
    justify-content: space-around;
}
.person{
    border-radius: 50%;
}
.detail_story{
    width: 55%;
    font-size:20px;
}
/*end about */
/* start contact */
section{
    padding-left: 2%;
}
.page_def{
    text-align: center;
    color: white;
    background-color: #5a5a5a;
    padding-top: 0.2%;
    padding-bottom: 0.25%;
}
.head{
    margin: 0;
    padding-top: 2%;
    font-size: xx-large;
    font-weight: 900;
}
.detail_contact{
    font-size: large;
    font-weight: 300;
    padding-bottom: 10px;
}
.headers{
    color: brown;
    font-size:40px;
    font-weight: 900;
    height: 80px;
}
.form_{
    border: 2px solid; 
    border-color: rgb(232, 229, 229);
    display: inline-block;
    padding: 5px;
    border-radius: 10%;
}
#cont{
    font-size: larger;
    font-weight: 600;
}
#comunication{
    color:brown;
}
.content_container{
    flex-wrap: wrap;
    padding-left: 1%;
    display: flex;
    align-items: flex-start;
    gap: 19%;
}
.cotent_info{
    flex: 1;
}
.content_form{
    flex: 1;
}
/* end contact */
/* start footer */
.footer_ {
    background-color: #333;
    width: 100%;
    height: auto;
    color: white;
    padding-top: 1%;
    padding-bottom: 0.5%;
    display: flex;   
    flex-wrap: wrap;
    margin: 0;
    gap: 26%;
}

.titles{
    font-size:150%;
}
.links{
    font-size: 100%;
    font-weight: 300;
    color: white;
    text-decoration: none;
}
.links:hover{
    color: brown;
}
#small{
    font-size: 100%;
    font-weight: 400;
}
i{
    font-size: 110%;
    color: azure;
}
#change_color:hover{
    color: yellow;
}
.social{
    display: flex;
    gap: 6%;
}

#rights{
    flex-basis: 100%;
    text-align: center;
}
@media (max-width: 768px) {
    .detail_story{
        text-align: center;
        align-items: center;
        align-content: center;
        font-size: 15px;
    }
    .detail_home{
        text-align: center;
        align-items: center;
        align-content: center;
    }
    main {
        text-align: center;
        align-items: center;
        margin-top: 6.5%;
    font-size: 14px;
    flex-direction: column;
    }
    .content_container{flex-direction: column;}
    .products-grid{flex-direction: column;}
    .home_container{
        flex-wrap: wrap;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .navbar{height: 10px;}
    .container_about{
        
        flex-direction: column;
    }
    .navbar{height: 80px;}
    .about_container{
        flex-wrap: wrap;
        flex-direction: column;
        text-align: center;}
    /* #new_line{flex-direction: column;} */
    .person_container{flex-direction: column;}
    .back{width: 70%;}
}