* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --main-darkred: #BF3939;
    --main-cream: #F8F3D8;
    --main-darkblue: #204359;
}

/** General Start */

body {
    font-family: 'Lato', sans-serif;
}

header {
    overflow: hidden;
    position: sticky; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%;
    z-index: 999;
}


    /* -----OrderBy-----*/

.orderby {
    /* border: 2px solid black; */
    background: var(--main-darkred);
    color: var(--main-cream);
    text-align: center;
    padding: 0.35em 0; 
}

.orderby p{
    /* border: 1px solid pink; */
    display: block;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.1em 0;
}

.orderby a[href^=tel] {
    color: var(--main-cream);
    /* text-decoration: none; */
}

    /* -----MainHeader-----*/

.main-header {
    display: flex;
    justify-content: center;
    background-color: var(--main-cream);
}

.navbar {
    /* border: 1px solid black; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    width: 85%;
    
}

.navbar li {
    list-style: none;
}

.navbar a {
    text-decoration: none;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--main-darkred);
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    /* border: 1px solid red; */
    margin-left: 3rem;
}

.nav-link{
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--main-darkred);
}

.nav-link:hover{
    color: var(--main-darkblue);
}

.nav-logo {
    font-size: 1.8rem;
    color: var(--main-darkred);
    font-weight: 900;
}

.current-page {
    color: var(--main-darkblue);
}

@media screen and (max-width:1000px){
    .navbar {
        width: 100%;
    }
 }

@media only screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 6rem;
        flex-direction: column;
        background-color: var(--main-cream);
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 15px 30px rgba(191, 57, 57, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.4rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-logo {
        font-size: 1.8rem;
    }
}

.content {
    /* margin-top: 104px; */
}


footer {
    /* border: 1px solid pink; */
    background-color: var(--main-darkblue);
    color: var(--main-cream);
    padding: 1em;
}

.footer-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-main__item {
    /* border: 1px solid white; */
    margin: 1em 0;
    text-align: center;
}

.footer-main__item h3 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 9px;
}

.footer-main__item p {
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-main__item a[href^=tel] {
    color : inherit;
}

.footer-webmetadata > * {
    text-align: center;
    margin: 5px;
    font-size: 0.8rem;
}

.footer-webmetadata p:nth-child(2) {
    font-size: .7rem;
}

.footer-sm {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-sm a{
    cursor: pointer;
}

.footer-sm > a{
    /* border: 1px solid black; */
}


#instagram-logo{
    background-image: url(../images/instagram.png);
    background-repeat: no-repeat;
    background-size: 26px;
    height: 26px;
    width: 26px;
}

#instagram-logo:hover {
    background-image: url(../images/instagram-hover.png);
}




.footer-sm > * {
    margin-left: 5px;
}


/** General End */


/** Home Page Start*/

.section-menu {
    background-color: var(--main-darkblue);
    display: flex;
    justify-content: center;
}

.menu {
    padding: 0.5em 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-item{
    /* border: 1px solid lightblue; */
    color: white;
    flex-basis: 25%;
    margin: 0.5em;
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-pizza, .menu-appetizers,
.menu-pasta, .menu-sides,
.menu-drinks, .menu-deals {
    background-repeat: no-repeat;
    background-size: 35px;
    height: 35px;
    width: 35px;
}

.menu-pizza {
    background-image: url(../images/icons/pizza.png);
}
.menu-appetizers {
    background-image: url(../images/icons/dessert.png);
}
.menu-pasta{
    background-image: url(../images/icons/pasta.png);
}
.menu-sides{
    background-image: url(../images/icons/sides.png);
}
.menu-drinks{
    background-image: url(../images/icons/drinks.png);
}
.menu-deals{
    background-image: url(../images/icons/deals.png);
}


.menu-item:hover .menu-pizza {
    background-image: url(../images/icons/pizza-hover.png);
}
.menu-item:hover .menu-appetizers {
    background-image: url(../images/icons/dessert-hover.png);
}
.menu-item:hover .menu-pasta{
    background-image: url(../images/icons/pasta-hover.png);
}
.menu-item:hover .menu-sides{
    background-image: url(../images/icons/sides-hover.png);
}
.menu-item:hover .menu-drinks{
    background-image: url(../images/icons/drinks-hover.png);
}
.menu-item:hover .menu-deals{
    background-image: url(../images/icons/deals-hover.png);
}

#current-menu-titles {
    color: var(--main-darkred);
}

#current-pizza {
    background-image: url(../images/icons/pizza-hover.png);
}

#current-appetizers {
    background-image: url(../images/icons/dessert-hover.png);
}
#current-pasta{
    background-image: url(../images/icons/pasta-hover.png);
}
#current-sides{
    background-image: url(../images/icons/sides-hover.png);
}
#current-drinks{
    background-image: url(../images/icons/drinks-hover.png);
}
#current-deals{
    background-image: url(../images/icons/deals-hover.png);
}


.menu-item p{
    /* border: 1px solid palegreen; */
    margin-top: 5px;
    color: var(--main-cream);
}

.menu-item:hover p{
    color: var(--main-darkred);
}

@media (min-width: 530px) and (max-width: 768px) {
    .menu-item {
        flex-basis: 0%;
        margin: 0.5em 1.2em;
    }

    #menu-pizza, #menu-appetizers,
    #menu-pasta, #menu-sides,
    #menu-drinks, #menu-deals {
        background-repeat: no-repeat;
        background-size: 40px;
        height: 40px;
        width: 40px;
    }

    .orderby {
        display: flex;
        justify-content: space-around;
        padding: 0.5em 0; 
    }
    
    .orderby p{
        display: inline;
    }
} 


.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), 
                        rgba(0, 0, 0, 0.1)),
                        url(../images/hero1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50vh;
}

/* -----Deals----- */

.section-deals {
    /* border: 1px solid white; */
    background-color: var(--main-darkred);
    padding: 1em;
}

.section-deals h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--main-cream);
    margin-top: 10px;
    margin-bottom: 1em;
}

.deals-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.deals-item {
    /* border: 1px solid white; */
    margin: 0 0.50em 1.5em 0.50em;
    margin-top: 0px;
    background-color: var(--main-cream);
    text-align: center;
}

.deals-item-img {
    width: 100%;
    height: auto;
}

.deals-item p {
    text-align: left;
    /* border: 1px solid black; */
    padding: 0.30em 1em;
    height: 70px;
    font-size: 1.08rem;
}

.deals-price {
    /* border: 1px solid black; */
    font-size: 1.10rem;
    margin-top: 0.4em;
    margin-bottom: 0.8em;
}

#deals-price-c5 {
    margin-top: 2.4em;
}

#deals-delivery {
    margin: 0.1em 0;
    display: block;
    font-weight: 100;
    font-size: 0.80rem;
    /* border: 1px solid red; */
}





/** Home Page Ends */

/** Pizza Select Page Starts */

#superspecialpizzas {
    background: var(--main-cream);
    text-align: center;
    padding: 1em 0;
    font-size: 1.6rem;
    color: var(--main-darkblue);
}

#pizza-extras, #salads-extras {
    margin: 0.5em 1em;
    text-align: center;
    font-size: 0.80rem;
    font-style: italic;
    letter-spacing: 1.2px;
}

.pizza-select {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    /* border: 1px solid red; */
    background: var(--main-cream);
}

.pizza-select-item {
    border: 2.5px solid var(--main-darkblue);
    margin: 1em;
    text-decoration: none;
}

.pizza-select-item img {
    width: 100%;
    height: auto;
}

.pizza-select-item h3 {
    /* border: 1px solid black; */
    font-size: 1.5rem;
    margin-top: 3px;
    margin-bottom: 10px;
    color: var(--main-darkred);
    text-align: center;
}

.pasta-salads-width {
    width: 65px;
}

.alignment{
    display: inline-block;
    width: 70px;
    text-align: right;
}


.myop {
    margin: 0.3em 0;
}

.food-section {
    /* border: 5px solid red; */
    background-color: var(--main-cream);
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}

#backto{
    /* border: 1px solid red; */
    display: inline-block;
    padding: 1em 0;
    text-align: center;
}

.food-items-container {
    margin-top: 0.40em;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    /* border: 2px solid black; */
}

.food-item {
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding-bottom: 15px;
    margin: 1em;
}

.food-item:nth-last-child(1) {
    border: none;
}

.food-item-title {
    margin-bottom: 8px;
    color: var(--main-darkred);
}

.food-item-price{
    margin-bottom: 6px;
    color: var(--main-darkblue);
    opacity: 100%;
}

.food-item-details {
    font-size: 0.90rem;
    /* font-style: italic; */
}

#price-change-policy {
    text-align: center;
    font-size: 0.80rem;
    margin-bottom: 1em;
}

@media screen and (min-width: 500px) {
    .food-items-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }
    
    .food-item {
        min-width: 250px;
        flex-basis: 35%;
    }

    .deals-container {
        /* display: flex; */
        flex-direction: row;
        justify-content: center;
        /* flex-wrap: nowrap; */
        /* flex-direction: column; */
    }
    
    .deals-item {
        flex-basis: 40%;
    }
}



/** Pizza Select Page Ends */


/** About Page Starts */
.aboutuspage {
    background-color: var(--main-darkred);
    padding: 1em;
    color: var(--main-cream);
}

.aboutus-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
}

.aboutus-info h2 {
    text-align: center;
    padding-bottom: 8px;
}

.aboutus-info > *{
    margin: 1.2em 0;
}

.aboutus-info p{
    opacity: 93%;
    line-height: 1.2;
}

.aboutus-info span {
    display: inline-block;
    width: 40px;
    text-align: right;
}



.aboutus-map {
    width: 100%;
    text-align: center;
    padding: 0.5em 0;
    /* border: 2px solid black; */
}

.googlemaps {
    font-size: 0.8rem;
}

.aboutus-map iframe{
    margin-top: 10px;
    width: 90%;
}


#maptoweb {
    border: 1px solid black;
    display: block;
    visibility: hidden;
}

/** About Page Ends */





/*? For Desktop and Tablet */


@media only screen and (min-width: 678px) {
    

    .footer-main {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
    }

    .footer-main__item:nth-child(1) p {
        text-align: left;
    }

    .pizza-select-item {
        flex-basis: 20%;
    }
} 



@media only screen and (min-width: 768px) {
    /** General Start */
    
    

    .orderby {
        display: flex;
        justify-content: space-around;
        padding: 0.5em 0; 
    }
    
    .orderby p{
        display: inline;
    }
    
    /** General End */ 

    /** Home Page Start*/
    
    .menu {
        justify-content: space-around;
        width: 70%;
    }

    .menu-item {
        flex-basis: 0%;
    }


    #menu-pizza, #menu-appetizers,
    #menu-pasta, #menu-sides,
    #menu-drinks, #menu-deals {
        background-repeat: no-repeat;
        background-size: 65px;
        height: 65px;
        width: 65px;
    }

    .hero-image {
        height: 80vh;
    }

    .pasta-salads-width {
        width: 120px;
    }

    /** Home Page Ends */



    /** About Page Starts */


    .aboutus-info {
        flex-direction: row;
        justify-content: space-around;
        align-items:flex-start;
    }


    /** About Page Ends */

}

@media (min-width: 768px) and (max-width: 1000px) {
    .menu {
        justify-content: space-around;
        width: 90%;
    }
    .menu-item img{
        width: 55px;
    }
} 

#tejasdhanani {
    color: inherit;
}