* {
    font-family: "Merriweather", "Consolas", "sans-serif";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

ol{
    list-style-type: disc;
}

body {
    margin: 0;
    padding: 0;
}

.navigation h1 {
    font-family: "Niconne", cursive;
    font-size: 4vw; /* Converted from 3rem to vw */
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: darkseagreen;
    padding: 1rem;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: black;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1.5vw; /* Converted from 1.25rem to vw */
    font-weight: 600;
}

.nav-links a:hover {
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: darkseagreen;
        z-index: 1;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a{
        font-size:3vw;
    }
    .hamburger {
        display: flex;
    }
}

.scroller-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px;
    background-color: #f5f5f5;
}

.scroller {
    display: flex;
    gap: 10px;
}

.block {
    display: inline-block;
    width: 23.65vw; /* Width as a percentage of the viewport width */
    height: 40vh; /* Height as a percentage of the viewport height */
    color: white;
    text-align: center;
    line-height: 25vh; /* Center text vertically */
    font-size: 2vw; /* Font size as a percentage of the viewport width */
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0; /* Prevents shrinking */
}

@media (max-width: 768px) {
    .block {
        width: 45vw; /* Adjust width for mobile */
        height: 30vh; /* Adjust height for mobile */
        font-size: 3vw; /* Adjust font size for mobile */
    }
}

.nutrition-content{
    color:darkseagreen;
    font-size:1.5vw;
    text-align:center;
    margin:3%
}

.macros {
    margin: 3%;
    color: darkseagreen;
    text-align: center;
    font-size: 1.5vw; /* Reduced from 2vw */
}

.macros-items {
    display: flex;
    gap: 2em; /* Adjusted gap for smaller text */
}

.fa-brands, .fa-solid{
    font-size:3vw;
}

.vegetarian-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 55vw;
    background-image: url("images/nutrition.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vegetarian-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: darkseagreen;
    opacity: 0.85;
    z-index: 1;
}

.vegetarian-content {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.8vw; /* Reduced from 2.3vw */
    margin: 3%;
    text-align: center;
}

.color-container {
    position: relative;
    width: 100%;
    height: 35vw;
}

.veg {
    margin: 3%;
    color: white;
    text-align: center;
    font-size: 1.5vw; /* Reduced from 2vw */
}

.vegetarian-items {
    display: flex;
    gap: 2em; /* Adjusted gap for smaller text */
    justify-content:center;
}

.breakfast{
    color:darkseagreen;
    font-size:1.5vw;
    text-align:center;
    margin:3%
}

.poha{
    background-image: url("images/poha.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.idli{
    background-image: url("images/idli.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.upma{
    background-image: url("images/upma.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.curdrice{
    background-image: url("images/curdrice.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lunch{
    color:darkseagreen;
    font-size:1.5vw;
    text-align:center;
    margin:3%
}

.sambar{
    background-image: url("images/sambar.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rajma{
    background-image: url("images/rajma.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kurma{
    background-image: url("images/kurma.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.channa{
    background-image: url("images/sundal.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dinner{
    color:darkseagreen;
    font-size:1.5vw;
    text-align:center;
    margin:3%
}

.dal{
    background-image: url("images/tadka.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.chickpeacurry{
    background-image: url("images/chickpea.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sabzi{
    background-image: url("images/sabzi.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bhurji{
    background-image: url("images/bhurji.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.chickenupma{
    background-image: url("images/chickenupma.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.eggbhurji{
    background-image: url("images/eggbhurji.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.muttbiryani{
    background-image: url("images/muttbiryani.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.chickozhambu{
    background-image: url("images/chickozhambu.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.meenkozhambu{
    background-image: url("images/meenkozhambu.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.paratha{
    background-image: url("images/paratha.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.chickmasala{
    background-image: url("images/chickmasala.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fishcurry{
    background-image: url("images/fishcurry.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.eggcurry{
    background-image: url("images/eggcurry.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.title{
    font-size: 2vw;
    color: darkseagreen;
    text-align: center;
    margin-bottom: 2%;
}

.macro{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    margin:3%;
}

.recipe-section ol{
    list-style-type: decimal;
    margin: 3%;
    gap:1vw;
    text-align:left;
}

.recipe-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 65vw;
    background-image: url("images/poha.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.recipe-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: darkseagreen;
    opacity: 0.85;
    z-index: 1;
}

.recipe-section h2{
    text-align:left;
}

.recipe-section{
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.8vw; /* Reduced from 2.3vw */
    margin: 3%;
    text-align: center;
    margin-bottom:5%;
}

.back-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.2vw; /* Adjust size as needed */
    color: white;
    background-color: darkseagreen;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.back-button:hover {
    color: black; /* Light color on hover for better visibility */
}