/* Media queries */
@media only screen and (max-width: 768px) {
    body {
        border: 10px solid #283c8d;
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
        "header header header header"
        "menu-section menu-section menu-section menu-section"
        "footer footer footer footer";
    }

    header {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
        "logo logo logo logo"
        "business-hours business-hours business-hours business-hours"
        "address address address address"
        "telephone telephone telephone telephone";
        ;
    }

    #menu {
        column-count: 1;
    } 
}

@media only screen and (min-width: 768px) {
    body {
        border: 10px solid #283c8d;
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
        ". header header header header ."
        ". menu-section menu-section menu-section menu-section ."
        ". footer footer footer footer .";
    }

    header {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
        "logo logo business-hours business-hours"
        "logo logo address address"
        "logo logo telephone telephone"
    }

    #menu {
        column-count: 1;
    }
}

@media only screen and (min-width: 1024px) {
    body {
        border: 10px solid #283c8d;
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
        ". header header header header header header ."
        ". menu-section menu-section menu-section menu-section menu-section menu-section ."
        ". footer footer footer footer footer footer .";
    }

    header {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
        "logo logo business-hours business-hours"
        "logo logo address address"
        "logo logo telephone telephone";
    }

    #menu {
        column-count: 2;
    }
}

@media only screen and (min-width: 1440px) {
    body {
        border: 10px solid #283c8d;
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
        ". header header header header header header header header ."
        ". menu-section menu-section menu-section menu-section menu-section menu-section menu-section menu-section ."
        ". footer footer footer footer footer footer footer footer .";
    }

    header {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
        "logo logo . . business-hours business-hours"
        "logo logo . . address address"
        "logo logo . . telephone telephone";
    }

    #menu {
        column-count: 3;
    }
}

/* Header Style */
header {
    grid-area: header;
    margin-top: 5px;
    margin-bottom: 5px;
}

#logo {
    grid-area: logo;
    margin: auto;
}

#address {
    grid-area: address;
    margin: auto;
}

#telephone {
    grid-area: telephone;
    margin: auto;
}

#business-hours {
    grid-area: business-hours;
    margin: auto;
}

#address-table, #telephone-table, #hours-table {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#address-table td, #telephone-table td, #hours-table td {
    padding: 0;
    text-align: center;
}

#hours-table {
    width: 200px;
}

#hours-table td:nth-child(1) {
    width: 50px;
}

#hours-table td:nth-child(2) {
   width: 150px;
}


/* Section Style */
section {
    grid-area: section;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Footer Style */
footer {
    grid-area: footer;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 5px;
}

/* Table Style */
table {
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

td {
    padding: 5px;
}

td:nth-child(1) {
    width: 12.5%;
}

td:nth-child(2) {
    width: 70%;
}

td:nth-child(3) {
    width: 17.5%;
}

/* Other Style */
.red {
    color: #ff0000;
}

hr {
    border: 1px solid #283c8d;
}

/* Shared styles */
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 325px;
}

h1 {
    font-family: 'Noto Sans SC', sans-serif;
    text-align: center;
    font-size: 54px;
    color: #283c8d;
    margin: 15px;
}

h2 {
    font-family: 'Noto Serif Display', serif;
    text-align: center;
    font-size: 28px;
    color: #283c8d;
    margin: 15px;
}

h3 {
    font-family: 'Noto Serif Display', serif;
    text-align: center;
    font-size: 24px;
    font-style: italic;
    color: #283c8d;
    margin: 15px;
}

h4 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-size: 24px;
    margin: 0;
    padding-top: 15px;
    color: #691969;
}

h5 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #691969;
}

h6 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-size: 16px;
    margin: 0;
    padding-top: 15px;
    color: #691969;
}

#menu-section {
    grid-area: menu-section;
} 