/*
font-family: 'Poiret One', cursive;
font-family: 'Raleway', sans-serif;
font-family: 'Source Sans Pro', sans-serif;
font-family: 'Montserrat', sans-serif;
font-family: 'Open Sans', sans-serif;
*/

/* modal */
#modal {
  display: none;
}

#modal.is-open {
  display: block;
}

.modal-screen {
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.modal-form {
  position: absolute;
  top: 5%;
  left: 2%;
  width: 90%;
  padding: 20px;
  background: #fff;
  z-index: 100;
  border-radius: 5px;
  border: 1px solid #000;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: #f00;
}

.modal-form > h1 {
  font-size: 36px;
  line-height: 1;
  font-weight: 300;
}

.modal-form > p {
  margin: 0 0 20px 0;
}

/* display items */
*{
  margin: 0;
  padding: 0;
}

body{
  background-color: #FAFAFA;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
}

.heading {
  text-align: center;
}

.heading *{
  display: inline;
}

.heading img {
  width: 10%;
}

h1 {
  font-weight: bold;
  font-size: 35px;
  font-family: 'Poiret One', cursive;
  text-align: center;
}

a {
  text-decoration: none;
  outline: none;
}

.container {
  width: 100%;
  margin: 20px auto;
}

.foods {
  margin-top: 0;
}

#navbar {
  display: block;
  height: 50px;
  background-color: #BA4A00;
  text-align: center;
  min-width: 650px;
}

#navbar p {
  font-size: 16px;
  display: inline-block;
  color: #fff;
  padding: 0 15px;
  height: 50px;
  line-height: 50px;
}

#main {
  display: block;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  min-height: 65vh;
}

.item {
  float:left;
  position: relative;
  width: 100px;
  height: 100px;
  list-style: none;
  margin: 15px;
  -moz-box-shadow: 0 0 5px #000;
  -webkit-box-shadow: 0 0 5px #000;
  box-shadow: 0 0 5px #000;
  text-align: center;
}

#main img {
  width: 100%;
  margin-bottom: 3px;
  cursor: pointer;
}

#main ul {
  overflow: hidden;
  padding-bottom: 10px;
}

#main ul.hidden {
  display: none;
}

footer{
  text-align: center;
  color: #424949;
}

/* make shopping cart a fixed sidebar when scrolling the #store page*/
#store-wrapper {
  display: flex;
  justify-content: flex-start;
}

#items-container {
  width: 60%;
  margin-left: 5%;
}

#shopping-cart-container {
  position: fixed;
  top: 80px;
  left: 70%;
  border: 1px solid gray;
  width: 20%;
  height: auto;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  -moz-box-shadow: 0 0 5px #000;
  -webkit-box-shadow: 0 0 5px #000;
  box-shadow: 0 0 5px #000;
}

#shopping-cart-container h3 {
  top: 20px;
}

.cart-heading {
  display: flex;
  margin-bottom: 20px;
}

.cart-heading img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.cart-heading h2 {
  margin-top: 10px;
}

#items-in-cart {
  display: flex;
  flex-wrap: wrap;
  overflow-y: scroll;
  max-height: 250px;
}

.cart-item {
  width: 100px;
  height: 100px;
  border: 2px dashed gray;
  margin: 10px;
  box-sizing: border-box;
}

button {
  font-size: 20px;
  padding: 10px 50px;
  margin-top: 20px;
  background-color: #D35400;
  color: white;
}

button:hover {
  background-color: #F1C40F;
}

/* drag and drop food to the cart */
.hovered {
  border: 2px dotted black;
}

.box {
  width: 100%;
}

.undraggable {
  user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.has-food {
  border: 2px solid black;
  -moz-box-shadow: 0 0 5px #000;
  -webkit-box-shadow: 0 0 5px #000;
  box-shadow: 0 0 5px #000;
}

.go-home {
  background-color: #3E2D84;
  padding: 10px 25px;
}

.go-home:hover{
  background-color: #846FD7;
}
