/*---LARGE AND SMALL DISPLAY---*/

/*---General---*/
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: rgb(228, 221, 201);
  background-size: contain;
  background-attachment: fixed;
  color: rgb(55, 34, 8);
}
/*---misc text---*/
a {
  text-decoration: none;
  color: brown;
  font-weight: bold;
}
h2 {
  color: brown;
}
h4 {
  color: sienna;
}
#toTop {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}
/*---forms---*/
form {
  background-color: rgb(242, 238, 229);
  padding: 10px;
}
/*---tables---*/
td {
  border: 2pt solid brown;
  background-color: rgb(242, 238, 229);
}
/*---menu sections---*/
.twoColumn {
  display: flex;
}
#breakfastPastries {
  background-color: rgb(228, 221, 201);
  padding: 10px;
  padding-top: 1px;
  border-radius: 20px;
}
#lunchSpecial {
  background-color: rgb(228, 221, 201);
  padding: 10px;
  padding-top: 1px;
  border-radius: 20px;
}
/*---home gallery---*/
#home-gallery {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.galleryItem {
  display: block;
  padding: 10px;
}
/*---map---*/
#map {
  width: 100%;
}
/*---Header---*/
header {
  background-color: white;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
header a {
  color: brown;
  text-decoration: none;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
/*---Nav---*/
nav {
  background-color: sienna;
}
nav ul {
  list-style: none;
}
nav a {
  color: white;
}
nav a:hover {
  color: rgb(228, 221, 201);
}
nav a:active {
  font-size: 0.9em;
}
/*---Main---*/
main {
  background-color: white;
}
/*---Footer---*/
footer {
  background-color: brown;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-style: italic;
  font-size: 0.9em;
}

/*---SMALL DISPLAY---*/
@media (max-width: 850px) {
  /*---General---*/
  body {
    text-align: center;
    background-image: url(images/SweetBuns.jpeg);
  }
  main {
    text-align: left;
  }
  /*---Header---*/
  #logo {
    height: 80px;
    width: 80px;
    border-radius: 40px;
    margin: 15px;
  }
  /*---Nav---*/
  nav ul {
    margin: 0;
    padding: 5px 0;
  }
  nav li {
    padding: 5px;
  }
  main {
    padding: 1px 10px;
  }
}

/*---LARGE DISPLAY---*/
@media (min-width: 850px) {
  /*---General---*/
  #wrapper {
    display: grid;
    grid-template-columns: 170px 1fr;
    grid-template-rows: 170px 200px auto 50px;
    grid-template-areas: "image header" "hero hero" "nav main" "footer footer";
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  #toTop {
    display: flex;
    justify-content: center;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
  }
  /*---Header---*/
  #logo {
    grid-area: image;
    width: 170px;
  }
  header {
    grid-area: header;
    font-size: 3em;
    padding-left: 20px;
  }
  #hero {
    grid-area: hero;
    height: 200px;
    background-image: url(images/SweetBuns.jpeg);
    background-position: center;
    background-size: cover;
  }
  /*---Nav---*/
  nav {
    grid-area: nav;
    line-height: 300%;
  }
  nav hr {
    display: none;
  }
  /*---Main---*/
  main {
    grid-area: main;
    padding-left: 20px;
    padding-right: 20px;
  }
  /*---Footer---*/
  footer {
    grid-area: footer;
  }
}
