*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
    --main-color:#01271d;
    --sec-color:#f2eacc;
}
body{
    position: relative;   
  
    width: 100%;
    min-height: 100vh;
    background-color: #f2eacc;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.navbar{
    
    position: sticky;
    top: 0;
    
    width: 100%;
    z-index: 10000;
    background-color: #f2eacc;
    box-shadow: 0 0 5px var(--main-color);
    height: 15vh;
}

.logo{
    width: 50px;
    border-radius: 50%;
}


.navbar-collapse {
    flex-grow: 0;
   
}

.tnavbar-brand {
    margin-right: 20px;
}
.navbar-toggler:hover,
.navbar-collapse li:hover{
    transition: 0.3s;
    background-color:#01271d27 ;
}
.navbar-collapse li {
    border-radius: 5px;
}

.navbar-nav{
    display: flex;
    gap:50px
}
main{
    display: grid;
    height: 85vh;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    gap:20px;
    overflow: hidden;
    
}
.burger{
    position: relative;
    z-index: 4;
    width: 350px;
    height: 370px;
    animation: vibrate  2s infinite linear;
    animation-delay: 1.2s;
    overflow: hidden;
    z-index: 1;
}
main .about{
    position:relative;
    font-weight: bolder;
    padding: 20px;
    width: 600px;
    font-size: 30px;
}
.burger .layer{
    position: absolute;
    width: 100%;
    left: 0;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.layer1 {
    bottom: 190px;
    transform: translateX(-10000px);
    animation-name: from-left;
    z-index: 16;
}

/* Meat */
.layer2 {
    bottom: 170px;
    transform: translateX(10000px);
    animation-name: from-right;
    animation-delay: 0.2s;
    z-index: 14;
}

/* Cheese */
.layer3 {
    bottom: 120px;
    transform: translateX(-10000px);
    animation-name: from-left;
    animation-delay: 0.4s;
    z-index: 13;
}

/* Tomato */
.layer4 {
    bottom: 100px;
    transform: translateX(10000px);
    animation-name: from-right;
    animation-delay: 0.6s;
    z-index: 12;
}

/* Lettuce */
.layer5 {
    bottom: 80px;
    transform: translateX(-10000px);
    animation-name: from-left;
    animation-delay: 0.8s;
    z-index: 11;
}

/* Top bun */
.layer6 {
    bottom: 50px;
    transform: translateX(10000px);
    animation-name: from-right;
    animation-delay: 1s;
    z-index: 10;
}
.layer7 {
    bottom: 0px;
    transform: translateX(-10000px);
    animation-name: from-right;
    animation-delay: 1.2s;
}
main .footer{
    position: absolute;
    padding: 20px;
    display: flex;
    gap:30px;
    bottom:-23%;
    right: 0%;

} 
main .footer .btn1{
    background-color: #01271d;
    color: #f2eacc;
    font-weight: bold;
}
main .footer .btn1:hover{
    background-color: #024835;
}
main .footer .btn2:hover{
    background-color: #f7ebc0;
}
main .footer .btn2{
    border: 1px solid  #01271d;
    font-weight: bold;
}

.navbar-collapse li a{
    font-weight: bold;
}


section {
    height:85vh;
    margin-bottom: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:30px;
}

section>h1{
    margin-top: 170px;
}



.products-carousel {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.products-window {
    width: 100%;
    overflow: hidden;
}

.products-track {
    --visible-cards: 3;
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.product-card {
    flex: 0 0 calc((100% - 40px) / 3);
}

.product-card .card {
    width: 100%;
    height: 200px;
    padding: 10px;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-card img {
    width:200px;
    height: 200px;
    object-fit: cover;
}

.carousel-btn {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: #01271d;
    color: #f2eacc;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}


.carousel-btn:hover {
    background-color: #024835;
}

/* =========================
   Order Section
========================= */

#order {
    margin-top: 350px;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}


/* Order Container */

.orderContainer {
    width: 100%;
    max-width: 750px;
    padding: 50px 40px;

    background-color: var(--main-color);
    color: var(--sec-color);

    border-radius: 25px;

    box-shadow: 0 10px 30px rgba(1, 39, 29, 0.2);
}


/* Title */

#order h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--sec-color);
}


/* Description */

#order .orderContainer > p {
    text-align: center;
    margin-bottom: 35px;
    color: rgba(242, 234, 204, 0.8);
    font-size: 16px;
}


/* =========================
   Form
========================= */

#order-form {
    padding: 30px;

    border: 1px solid rgba(242, 234, 204, 0.2);
    border-radius: 20px;

    background: rgba(0, 0, 0, 0.15);
}


/* Labels */

#order-form .form-label {
    color: var(--sec-color);
    font-weight: 600;
    margin-bottom: 8px;
}


/* Inputs + Textarea */

#order-form .form-control {
    width: 100%;

    background-color: rgba(242, 234, 204, 0.08);

    border: 1px solid rgba(242, 234, 204, 0.25);

    color: var(--sec-color);

    border-radius: 12px;

    padding: 12px 15px;

    transition: 0.3s ease;
}


/* Placeholder */

#order-form .form-control::placeholder {
    color: rgba(242, 234, 204, 0.5);
}


/* Focus */

#order-form .form-control:focus {
    background-color: rgba(242, 234, 204, 0.12);

    border-color: var(--sec-color);

    box-shadow: 0 0 0 3px rgba(242, 234, 204, 0.08);

    color: var(--sec-color);
}


/* Textarea */

#order-form textarea {
    resize: vertical;
    min-height: 120px;
}


/* =========================
   Submit Button
========================= */

#order-form .btnform {
    width: 100%;

    padding: 13px;

    margin-top: 10px;

    border: none;
    border-radius: 12px;

    background-color: var(--sec-color);
    color: var(--main-color);

    font-size: 17px;
    font-weight: 700;

    transition: 0.3s ease;
}


/* Button Hover */

#order-form .btnform:hover {
    transform: translateY(-2px);

    background-color: #f7ebc0;

    color: var(--main-color);
}

/* ========================
   Order Section - Landscape
   Large Screens
========================= */

@media (min-width: 992px) {

    #order {
        min-height: 100vh;
        padding: 60px 40px;
    }

    .orderContainer {
        max-width: 1100px;
        padding: 45px 50px;
    }

    #order-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
        align-items: start;
    }

    /* Name */
    #order-form .mb-3:first-child {
        grid-column: 1 / 2;
    }

    /* Order */
    #order-form .mb-3:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }

    /* Notes */
    #order-form .mb-3:nth-child(3) {
        grid-column: 1 / 2;
    }

    /* Button */
    #order-form .btnform {
        grid-column: 1 / 3;
    }

}
/* =========================
   Mobile
========================= */

@media (max-width: 576px) {

    #order {
        padding: 60px 15px;
    }

    .orderContainer {
        padding: 35px 20px;
        border-radius: 20px;
    }

    #order h2 {
        font-size: 30px;
    }

    #order-form {
        padding: 20px 15px;
    }

}
@keyframes from-left {
    to {
        transform: translateX(0);
    }
}

@keyframes from-right {
    to {
        transform: translateX(0);
    }
}
@keyframes vibrate {
    0% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(-5px);
    }
}


@media (max-width: 991.98px) {

    .navbar-collapse {
        background-color: #f2eacc9c;
        backdrop-filter: blur(2px);
        width: 100%;
        position: absolute;
        left: 0;
        top: 15vh;
        z-index: 5;
    }
    main{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.burger{
    margin-top: 0px;
    display: block;
    width: 230px;
    height:300px;
    margin-top: -50px;
}
main .about{
    font-weight: bolder;
    padding: 0 20px;
    width: 350px;
    font-size: 17px;
    
}
main .footer{
    
    bottom: -75%; 
} 
    .navbar-collapse li{
        border-radius: 5px;
        width: 100%;
    }

    .navbar-collapse {
        margin-left: 0;
        top:10vh
    }

    .navbar-nav{
        gap:0px
    }

    .navbar-collapse li:not(:last-child) {
        border-bottom: #01271d33 solid 1px;
    }

    .navbar-collapse li {
        transition: 0.3s;
        padding: 5px 20px;
    }
    .navbar{
        height: 10vh;
        width: 100%;
    }
    .navbar-collapse li:hover {
        background-color: #01271d27;
    }
    
    .navbar-toggler:hover,
    .navbar-toggler:focus,
    .navbar-toggler:active {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    .navbar-toggler{
        border: none !important;
    }
    .product-card {
    flex: 0 0 calc((100% - 40px)/2);
}
.products-track {
        --visible-cards: 2;
    }

}
@media (max-width: 767.98px) {
    .product-card {
        flex: 0 0 100%;
    }
    .products-track {
        --visible-cards: 1;
    }
}






