* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: #eee;
}

h1 {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 40px;
  margin-top: 30px;
}

.login-box {
  width: 450px;
  height: 300px;
  border: 4px solid black;
  background: #ddd;
  border-radius: 6px;
  margin: 100px auto;
}

.login-box p {
  text-align: center;
  padding: 15px;
  font-family: sans-serif;
  font-size: 25px;
  font-weight: bold;
}

.login-box input {
  padding: 15px;
  margin-left: 25px;
  margin-top: 15px;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: bold;
}

.login-box label {
  margin: 10px;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: bold;
}

.login-box button {
  margin-left: 100px;
  margin-top: 15px;
  padding: 15px;
  font-weight: bold;
}

button:hover {
  background: #fff;
}

.hide {
  content-visibility: hidden;
  opacity: 0;
}

.waiter-nav {
  height: 50px;
  border-bottom: 3px solid black;
  width: 100%;
  display: inline-flex;
}

.waiter-nav > a {
  font-weight: bold;
  font-family: sans-serif;
  font-size: 30px;
  margin-top: 10px;
  margin-left: 5px;
  width: 100px;
  text-decoration: none;
  color: black;
}

.waiter-nav > button {
  font-weight: bold;
  font-family: sans-serif;
  font-size: 20px;
  margin-top: 5px;
  margin-left: 10px;
  height: 40px;
  width: 150px;
}

.waiter-container {
  display: grid;
  grid-template-columns: auto auto auto auto;
  height: 100%;
  width: 100%;
}

.food-box {
  min-width: 50px;
  height: 200px;
  margin: 10px;
  background: cyan;
  text-align: center;
  justify-content: center;
  font-size: 50px;
  font-family: sans-serif;
}

.food-box:hover {
  background-color: red;
}

.food-box > p {
  margin-top: 75px;
}

.crossroad {
  width: 100%;
  height: 50vh;
  line-height: 50vh;
  text-align: center;
  font-size: 60px;
  background: cadetblue;
  font-family: sans-serif;
}

.crossroad a {
  text-decoration: none;
  color: black;
}

.waiter-modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
}

.modal-active {
  visibility: visible;
  opacity: 1;
}

.waiter-modal {
  position: relative;
  background-color: white;
  width: 40%;
  height: 50%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  font-family: sans-serif;
}

.waiter-modal button {
  width: 80px;
  height: 30px;
  font-size: 20px;
  background-color: seagreen;
}

#item-finished,
#item-cancel {
  width: 100%;
  height: 100%;
  font-size: 30px;
}

.waiter-modal input {
  height: 20px;
  width: 150px;
  font-size: 15px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-weight: bold;
  cursor: pointer;
}

#objednavky {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  height: 100%;
}

.kitchen-item {
  display: flex;
  width: 23.75%;
  margin: 0.5%;
  height: auto;
  background: lightgreen;
  flex-wrap: wrap;
  padding: 10px;
  font-family: sans-serif;
  margin-bottom: 10px;
  justify-content: space-around;
}

#item-name {
  font-size: 40px;
  align-self: flex-start;
  width: 100%;
  font-weight: bold;
}

.item-fields {
  font-size: 25px;
  width: auto;
}

.submit-box {
  height: 30px;
  width: auto;
  background-color: red;
}

@media screen and (max-width: 600px) {
  .waiter-container {
    display: grid;
    grid-template-columns: auto;
    height: 100%;
    width: 100%;
  }
}
