/* Styling for header and footer to be used on every page */
/* Create a gradient look for the header */
header {
    background-image: linear-gradient(to right, black, gray);
    padding: 0;
}

/* This is the flex-box container */
.wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body{
    margin: 0;
    padding: 0;
    background-image: linear-gradient(to right, black, gray);
    font-family:'Courier New', Courier, monospace;
    font-size: 1.25rem;
}

/* row-1 contains the hamburger icon, phone number, social media links */
.row-1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Don't display hamburger icon and show logo in desktop mode*/
.row-1-col-1 .icon {
    display: none;
}

.row-1-col-1 .logo {
    max-width: 100%;
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 0;
    margin: 0;
}

.row-1-col-2 {
    align-content: center;
} 

.row-1-col-2 .order-online {
    display: none;
}


.row-1-col-2 .contact {
    padding-top: 0.7rem;
    padding-right: 0.5rem;
    font-size: 1rem;
    color: white;
    display: none;
}

/* contains phone number and social media links */
.row-1-col-3 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    padding-right: 0.2rem;
}

.row-1-col-3 .contact {
    padding-top: 0.7rem;
    padding-right: 0.5rem;
    font-size: 1.25rem;
    color: white;
}

.row-1-col-3 .social-media {
    padding-top: 0.2rem;
}

.row-1-col-3 .order-online {
    display: flex;
    justify-content: flex-start;
    padding: 0.6rem;
    margin-right: 2rem;
    margin-top: 0.75rem;
    font-size: 1rem;
    color: black;
    background-color: white;
    border-radius: 25px;
    text-decoration: none;
}

.nav-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

/* style the navigation bar in desktop mode */
.navbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.navbar a{
    color: white;
    text-decoration: none;
    padding: 10px 40px 10px 40px;
    font-size: 1.4rem;
    text-align: center;
    justify-content: center;
}

.navbar a:hover{
    background-color: hsl(0, 0%, 10%);
}

#navigation-mobile {
    display: none;
}

/* row-2 contains the logo centered on the screen for mobile mode */
.row-2 {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.row-2 .nav-wrapper {
    display: flex;
    flex-direction: column;
}

.row-2 .logo {
    display: none;
}

.row-2 .order-online {
    display: none;
}


/* the footer contains another navigation pane and the copyright information*/
.footer-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.7rem;
}

.footer-menu a{
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 1.1rem;
    text-align: center;
    border: 0.05rem solid;
}

.footer-menu a:hover{
    background-color: hsl(0, 0%, 10%);
}

footer {
    text-align: center;
    color: white;
    width: 100%;
    font-size: 0.75rem;
    padding-bottom: 0.5rem;
}


/* media query for mobile sized devices */
@media (max-width: 750px) {

    /* don't display logo in top left anymore */
    .row-1-col-1 .logo {
        display: none;
    }

    /* display the hamburger icon */
    .row-1-col-1 .icon {
        display: flex;
    }

    .contact-wrapper {
        display: none;
    }

     .row-1-col-2 .order-online {
        display:none;
    }

    .row-1-col-3 .contact {
        font-size: 1.2rem;
        display: flex;
        padding-right: none;
    }

    .row-1-col-3 .order-online {
        display:none;
    }
    /* display the logo in the center of the page */
    .row-2 .logo {
        display: flex;
        max-width: 90%;
        justify-content: center;
        text-align: center;
        margin: auto;
    }

    .row-2 {
        display: block;
        text-align: center;
    }

    .row-2 .order-online {
        display: inline-flex;
        justify-content: center;
        text-align: center;
        margin: 1.2rem 0.5rem 0;
        padding: 1rem 1.2rem;
        color: black;
        background-color: white;
        border-radius: 25px;
        text-decoration: none;
    }

    /* remove visibility of the navbar until the hamburger button is clicked */
    .navbar {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
    }

    .navbar a{
        color: white;
        text-decoration: none;
        padding: 10px;
        font-size: 1.1rem;
        border-bottom: 0.1rem solid;
    }

    .row-1-col-3 .social-media {
        margin-left: auto;
        margin-right: auto;
    }
    
}



/* media query for midsize device screen width to accomodate phone number and social links */
@media (max-width: 970px) and (min-width: 750px){ 

    .row-1 {
        justify-content: space-between;
    }
    
    .row-1-col-3 {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
    }

    .navbar a{
        padding: 10px 20px 10px 20px;
        font-size: 1.1rem;
    }

    .row-1-col-2{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    } 

    .contact-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-content: flex-start;
    }

    .row-1-col-2 .contact {
        font-size: 1.25rem;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        padding-bottom: 1rem;
    }

    .row-1-col-2 .order-online {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        padding-top: 0.6rem;
        padding-right: 0.6rem;
        padding-left: 0.6rem;
        margin-right: 2rem;
        margin-top: 0.75rem;
        font-size: 1rem;
        color: black;
        background-color: white;
        border-radius: 25px;
        text-decoration: none;
    }

    .row-1-col-3 .order-online {
        display: none;
    }

    .row-1-col-3 .contact {
        display: none;
    }

}

@media (max-width: 1280px) and (min-width: 970px)
{

    .row-1-col-2{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    } 

    .contact-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-content: flex-start;
    }

    .row-1-col-2 .contact {
        font-size: 1.25rem;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        padding-bottom: 1rem;
    }

     .row-1-col-2 .order-online {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        padding-top: 0.6rem;
        padding-right: 0.6rem;
        padding-left: 0.6rem;
        margin-right: 2rem;
        margin-top: 0.75rem;
        font-size: 1rem;
        color: black;
        background-color: white;
        border-radius: 25px;
        text-decoration: none;
    }

    .row-1-col-3 .contact {
        display: none;
    } 

    .row-1-col-3 .order-online {
        display: none;
    } 

      .navbar a{
        font-size: 1.1rem;
    }
}
