@charset "utf-8";





h2 {
    font-size: 1.3em;
}

header {
    text-align: center;
    padding: 0;
}

h1, h2 {
    text-shadow: 4px 6px 5px grey;
}

main {
    padding: 25px;
    margin-top: 35px;
}

hr {
    clear: both;
    margin: 20px 0;
}


header img {
    width: 100%;
    height: 250px;
    display: block;
}

nav li {
    float: left;
    width: 33.333%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    text-decoration: none;
    background-color: hsla(0, 0%, 0%, 0.34);
    line-height: 2.8em;
    text-align: center;
    color: rgb(77, 75, 75);
    transition: background-color 0.5s ease-in 0.2s,
                color 0.5s ease-in 0.2s,
                font-size 1s ease;
}

nav a:hover {
    background-color: rgb(255, 255, 255);
    color: black;
    font-size: 1.2em;
}

nav::after {
    content: "";
    display: table;
    clear: both;
}

.gallery {
    display: flex;
    flex-wrap: nowrap;     
    overflow-x: auto;      
    overflow-y: hidden;
    padding: 15px 0;
}

.gallery img {
    width: 300px;           
    flex: 0 0 auto;         
    margin-right: 15px;
    display: block;
}



table {
    width: 100%;
    border-collapse: collapse;
    border: 20px double black;
    background-color: rgb(164, 164, 164);
    margin: 20px 0;
}

th, td {
    border: 3px solid black;
    padding: 20px;
}

caption {
    text-align: left;
    font-size: 1.5em;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.features {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
}

.features ul {
    padding-left: 25px;
}

footer {
    background-color: hsla(0, 0%, 0%, 0.34);
    color: rgba(56, 53, 53, 0.6);
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    clear: both;
}

.menu-columns{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.menu-section{
    width: 48%;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    margin-bottom: 20px;

    border: 4px double black;    
}

.menu-section h2{
    background-color: hsla(0, 0%, 0%, 0.34);
    color: rgb(0,0,0);
    padding: 10px;
    margin-top: 0;
}

.menu-list, .food-list{
    padding-left: 25px;
    margin: 10px 0 0 0;
}

.menu-list li, .food-list li{
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}


.menu-intro {
    background-color: white;
    padding: 15px;
    margin: 20px 0;
    border-left: 8px solid hsla(0, 2%, 25%, 0.34);
}

.menu-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.menu-section {
    width: 48%;
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border: 3px solid black;
}

.menu-section h2 {
    margin-top: 0;
    padding-bottom: 5px;
    border-bottom: 2px solid rgba(0,0,0,0.3);
}

.menu-list li,
.food-list li {
    padding: 6px 0;
}

@media only screen and (max-width:768px){

    nav li {
        float: none;
        width: 100%;
    }

    .two-column .text,
    .two-column .image {
        float: none;
        width: 100%;
    }

    .gallery img {
        width: 100%;
    }

    table, tbody, tr, td, th {
        display: block;
    }

    thead, tfoot {
        display: none;
    }

    tbody td {
        position: relative;
        padding-left: 40%;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        top: 0;
        left: 0;
        padding: 5px;
        width: 40%;
    }

    .menu-section {
        width: 100%;
    }

}


@media only screen and (min-width:769px){

    html {
        background-color: hsl(237, 59%, 28%);
        background-image: url(pexels-jplenio-1103970.jpg);
        background-size: auto;
        background-repeat: round;
    }

    body {
        font-family: Verdana, Geneva, sans-serif;
        color: rgb(91, 91, 91);
        background-color: white;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

* {
    box-sizing: border-box;
}
.two-column {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    overflow: auto;
}

.two-column .text {
    float: left;
    width: 55%;
}

.two-column .image {
    float: right;
    width: 40%;
}

.two-column .image img {
    width: 100%;
    display: block;
}

  main {
    margin-bottom: 20px;
}