* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.container {
    min-height: 100vh;
    width: 100vw;
    overflow-x: none;
    background-color: #F9F6EE;
}

.navContainer {
    width: 100vw;
    /* background-color: rgb(139, 80, 8); */
    background: #3494E6;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #EC6EAD, #3494E6);  
    background: linear-gradient(to right, #EC6EAD, #3494E6); 
    min-height: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

nav {
    width: 100%;
    padding-right: 2rem;
    overflow-x: none;
}

#navList {
    width: 100%;
    padding: 15px;
    list-style: none;
    font-size: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navLogo {
    font-size: 2.8rem;
    color: azure;
    font-family: "Trirong", serif;
}

a {
    text-decoration: none;
    color: rgb(243, 212, 9);
    font-family: "Sofia", sans-serif;
    font-size: 30px;
    text-shadow: 3px 3px 3px #ababab;
}

#navItems {
    display: flex;
    gap: 40px;
}

.footerBox {
    /* background-color: rgb(139, 80, 8); */
    background: #3494E6;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #EC6EAD, #3494E6);  
    background: linear-gradient(to right, #EC6EAD, #3494E6); 
    text-align: center;
    min-height: 40px;
}

.footerBox p {
    font-size: 1.5rem;
    color: azure;
}

.contentBox {
    width: 70%;
    margin: auto;
    /* border: 1px solid black; */
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding: 3rem;
    box-shadow: 3px 3px 30px black;
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leftbox {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Poppins', Arial, sans-serif;
    color: #222; /* dark elegant text */
    /* background-color: #F9F6EE; */
}

.leftbox h2 {
    font-size: 2rem;
    font-family: "Sofia", sans-serif;
}

.ingBox {
    font-size: 1.3rem;
}

.recipeBox {
    font-size: 1.1rem;
}

.rightbox {
    position: relative;
    overflow: hidden;
    transition: all 0.3s linear 0s;
}

.rightbox img {
    width: 230px;
    height: 230px;
    border-radius: 20px;
    transition: all 0.6s 0s;
}

.rightbox:hover {
    transform: scale(1.2);
}

.rightbox .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(36, 34, 34, 0.713);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s linear 0s;
}

.rightbox:hover .overlay {
    opacity: 1;

}

.rightbox .overlay span {
    color: white;
    font-size: 1.2rem;
}