/* CSS Reset */
body, header, nav, main, footer, img, h1, h3, ul, aside, figure, figcaption,video{
    margin: 0;
    padding: 0;
    border: 0;
}
#wrapper {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
/* Style rules for body and images */
body {
    background-color: #f6eee4;
    font-family: 'Lora', serif;
    font-size: 16px;
    overflow-x: hidden;
    line-height: 1.5;
}
img,video {
    max-width: 100%;
    height:auto;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p, li {
    font-size: 1rem;
}

.lora {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Style rules for mobile viewport */

/* Style rule show mobile class and hide tab-desk class */
.mobile {
    display: block;
}

.tab-desk{
    display: none;
}

/* Style rules for header area */
.mobile h1, 
.mobile h3 {
    padding: 2%;
    text-align: center;
}

.mobile h1 {
    font-family: 'Emblema One', cursive;
    font-weight:400;
    font-style:normal;
}

.mobile h3 {
    font-family: 'Lora', serif;
    font-optical-sizing: auto;
    font-weight:500;
    font-style:normal;
}
.mobile h2,
.mobile p {
    text-align: center;
}

.mobile p {
    font-family: 'Lora', serif;
}

/* Style rules for navigation area */
nav {
    background-color: #2a1f14;
}

nav ul {
    list-style-type: none;
    margin:0;
    text-align: center;
}

nav li {
    display:inline-block;
    font-size: 1.5em;
    font-family: Geneva, Arial, sans-serif;
    font-weight: bold;
}

nav li a {
    display: block;
    color: #f6eee4;
    padding: 0.5em 2em;
    text-decoration: none;
}

/* Style rules for main content */
main {
    padding: 2%;
    font-family: 'Lora', serif;
}

main h3 {
    padding-top: 2%;
}

main ul {
    list-style-type: square;
}

.link {
    color: #4d3319;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
}

.action {
    font-size: 1.75em;
    font-weight: bold;
    text-align: center;
}

.round {
    border-radius: 6px;
}

aside{
    text-align:center;
    font-size:1.5em;
    font-weight:bold;
    text-shadow:4px 4px 10px #c5a687;
}

figure{
    border:4px solid #2a1f14;
    box-shadow:6px 6px 10px #c5a687;
    max-width:400px;
    margin:2% auto;
}

figcaption{
    padding:2%;
    border-top:4px solid #2a1f14;
}

#info ul {
    margin-left: 10%;
}

#contact,
#form h2 {
    text-align: center;
}

/* Style rules for form elements */
fieldset, input, textarea {
    margin-bottom:2%;
}

fieldset legend {
    font-weight:bold;
    font-size:1.25em;
}

lable {
    display:block;
    padding:2%;
}

form #submit {
    margin-bottom:0 auto;
    display:block;
    padding:2%;
    background-color:#78593a;
    color:#f6eee4;
    font-size:1.25em;
    border-radius:10px;
}

/* Style rule for footer content */
footer {
    text-align: center;
    font-size: 0.85em;
    background-color: #2a1f14;
    color: #f6eee4;
    padding-bottom: 1%;
    padding-right: 0;
    padding-left: 0;
}

footer a {
    color: #f3e6d8;
    text-decoration: none;
}



.round {
    border-radius: 6px;
}

.tel-link {
    background-color: #2a1f14;
    padding: 2%;
    width: 80%;
    margin: 0 auto;
}

.tel-link a {
    color: #f6eee4;
    text-decoration: none;
    font-weight: bold;
}

ul {
    margin:0;
}

/*Media Query for tablet viewport */
@media (max-width: 620px), print{
}
/*Tablet viewport: Show tab-desk class, hide mobile class */
.tab-desk {
    display:block;
}
.mobile {
    display:none;
}

/*Tablet Viewport: Style rules for nav area */
nav li{
    border-top:none;
    display:inline-block;
    font-size:1.25em;
}
nav li a{
    padding:0.5em;
}

.grid {
    display: grid;
    grid-template-columns: auto auto; 
    grid-gap: 20px; 
}

aside {
    grid-column:1 / span 2;
}

/* Tablet Viewport: Style rule for form element */
form {
    width:auto;
    
}



/*Media Query for Desktop Viewport */
@media (min-width:1000px), print{
/* Desktop viewport: Show desktop class, hide mobile-tablet class */
.desktop{
    
} 
/* New style rule for mobile-tablet */ 
.mobile-tablet{
    display:none;
} 
/*Desktop Viewport: Style rules for nav area. */
nav li {
    font-size:1.5em;
}

nav li a{
    padding:0.5em 1.5em;
    
}

nav li a:hover{
    color:#2a1f14;
    background-color:#f6eee4;
    opacity:0.5;
}
#info ul {
        margin-left: 5%;
}

    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
}

    aside {
        grid-column: 1 / span 3;
        font-size: 2em;
}
}    
/* Style rules for table */
    table{
        border:1px solid #2a1f14;
        border-collapse:collapse;
        margin:0 auto;
    }

    caption{
        font-size:1.5em;
        font-weight:bold;
        padding:1%;
    }
    
    th, td{
        border:1px solid #2a1f14;
        padding:1%;
    }
    
    th {
        background-color:#2a1f14;
        color:#fff;
        font-size:1.15em;
    }
    
    tr:nth-child(odd) {
        background-color:#deccba;
    }
    
/*Desktop Viewport: Style rules for main content */
#info ul{
    margin-left:5%;
}

/*Media Query for Large Desktop Viewports */
@media (min-width:1921px) {
   body{
    background:linear-gradient(#fbeee4,#78593a);
}
.mobile nav{
    display:block;
    text-align:center;
}

main{
    background-color:#f6eee4;
}

.mobile nav ul {
    display: block;
    padding: 0;
    margin: 0;
}

.mobile nav li {
    display: block;
    margin: 0.5em 0;
}

.mobile nav li a {
    padding: 1em;
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    font-size: 3em;
    grid-column: 1 / span 4;
}

}

