@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;500;700;900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
}

*.on {
  height: 100vh;
  width: 100vw;
  overflow-y: hidden;
}

html {
  font-size: 20px;
  font-family: "Courier New", Courier, monospace;
}

a {
  text-decoration: none;
}

#header {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: auto;
}

#header .header .brand {
  background-color: transparent;
  font-size: 25px;
}

.down #header .header .brand a {
  color: transparent;
}

#header .header {
  min-height: 8vh;
  background-color: rgba(54, 53, 53, 0.452);
}

#header .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1300px;
  padding: 0 10px;
}

#header .navlist ul {
  list-style: none;
  position: absolute;
  background-color: red;
  width: 90vw;
  height: 100vh;
  left: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow-x: hidden;
}

#header .navlist ul.on {
  left: 0;
}

#header .navlist ul a::after {
  content: attr(data-after);
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: darkred;
  font-size: 10rem;
  z-index: -1;
}

#header .navlist li:hover a::after {
  transform: translate(-50%, -50%) scale(0.3);
}

#header .navlist ul a {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  padding: 20px;
  display: block;
}

#header .header .nav-bar .navlist ul li a.btn-login {
  display: none;
}

#header .hamburger {
  z-index: 100;
  height: 50px;
  width: 50px;
  display: flex;
  border: 2px solid white;
  position: relative;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  display: flex;
  margin-right: 10px;
}

#header .hamburger .bar {
  z-index: -1;
  height: 2px;
  width: 30px;
  position: relative;
  background-color: white;
}

#header .hamburger .bar::after,
#header .hamburger .bar::before {
  content: "";
  z-index: -1;
  height: 100%;
  width: 100%;
  left: 0;
  position: absolute;
  background-color: white;
  transition: 0.3s ease;
  transition-property: top, bottom;
}

#header .hamburger .bar::after {
  top: 10px;
}

#header .hamburger .bar::before {
  bottom: 10px;
}

#header .hamburger.on .bar::before {
  bottom: 0;
}

#header .header .nav-bar .login {
  position: absolute;
  right: 80px;
  display: none; /*login button = off*/
}

#header .header .nav-bar .login .off:hover {
  background-color: red;
  transition-property: background-color;
}

#header .header .nav-bar .login .off {
  text-align: right;
  position: relative;
  right: 10px;
  padding: 10px;
  width: 100px;
  height: 50px;
  color: white;
  transition: 0.7s ease;
  display: flexbox;
}

.container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#plan .info {
  min-height: 20vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#speisen-vorspeise,
#speisen-hauptgang,
#speisen-dessert {
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 95%;
  height: auto;
  z-index: 1;
}

#speisen-vorspeise .speiseplan,
#speisen-hauptgang .speiseplan,
#speisen-dessert .speiseplan {
  display: block;
  width: 350px;
  height: 70px;
  border: 1px solid black;
  display: flex;
}

#speisen-vorspeise .speiseplan .namezutaten,
#speisen-hauptgang .speiseplan .namezutaten,
#speisen-dessert .speiseplan .namezutaten {
  width: 250px;
  height: 70px;
  justify-content: center;
  align-items: center;
}

#speisen-vorspeise .speiseplan .preisbestellen,
#speisen-hauptgang .speiseplan .preisbestellen,
#speisen-dessert .speiseplan .preisbestellen {
  width: 100px;
  height: 70px;
}
#speisen-vorspeise .speiseplan .namezutaten .name,
#speisen-hauptgang .speiseplan .namezutaten .name,
#speisen-dessert .speiseplan .namezutaten .name,
#speisen-vorspeise .speiseplan .namezutaten .zutaten,
#speisen-hauptgang .speiseplan .namezutaten .zutaten,
#speisen-dessert .speiseplan .namezutaten .zutaten,
#speisen-vorspeise .speiseplan .preisbestellen .preis,
#speisen-hauptgang .speiseplan .preisbestellen .preis,
#speisen-dessert .speiseplan .preisbestellen .preis,
#speisen-vorspeise .speiseplan .preisbestellen .bestellen,
#speisen-hauptgang .speiseplan .preisbestellen .bestellen,
#speisen-dessert .speiseplan .preisbestellen .bestellen {
  text-align: center;
}
#speisen-vorspeise .speiseplan .namezutaten .name a,
#speisen-hauptgang .speiseplan .namezutaten .name a,
#speisen-dessert .speiseplan .namezutaten .name a,
#speisen-vorspeise .speiseplan .namezutaten .zutaten a,
#speisen-hauptgang .speiseplan .namezutaten .zutaten a,
#speisen-dessert .speiseplan .namezutaten .zutaten a,
#speisen-vorspeise .speiseplan .preisbestellen .preis a,
#speisen-hauptgang .speiseplan .preisbestellen .preis a,
#speisen-dessert .speiseplan .preisbestellen .preis a,
#speisen-vorspeise .speiseplan .preisbestellen .bestellen a,
#speisen-hauptgang .speiseplan .preisbestellen .bestellen a,
#speisen-dessert .speiseplan .preisbestellen .bestellen a {
  color: black;
  cursor: none;
  font-family: "Noto Sans JP", sans-serif;
}
#speisen-vorspeise .speiseplan .namezutaten .name,
#speisen-hauptgang .speiseplan .namezutaten .name,
#speisen-dessert .speiseplan .namezutaten .name {
  font-weight: bold;
  font-size: 20px;
  width: 250px;
  height: 30px;
  display: block;
}
#speisen-vorspeise .speiseplan .namezutaten .zutaten,
#speisen-hauptgang .speiseplan .namezutaten .zutaten,
#speisen-dessert .speiseplan .namezutaten .zutaten {
  width: 250px;
  height: 35px;
  font-size: small;
}
#speisen-vorspeise .speiseplan .preisbestellen .preis,
#speisen-hauptgang .speiseplan .preisbestellen .preis,
#speisen-dessert .speiseplan .preisbestellen .preis {
  width: 100px;
  height: 30px;
}

#speisen-vorspeise .speiseplan .preisbestellen .bestellen,
#speisen-hauptgang .speiseplan .preisbestellen .bestellen,
#speisen-dessert .speiseplan .preisbestellen .bestellen {
  width: 90px;
  height: 30px;
  border: 1px solid black;
  background-color: rgba(226, 226, 116, 0.767);
  margin: 5px;
}

#speisen-vorspeise .speiseplan .preisbestellen .bestellen a,
#speisen-hauptgang .speiseplan .preisbestellen .bestellen a,
#speisen-dessert .speiseplan .preisbestellen .bestellen a {
  cursor: pointer;
}

/* Speisen - Bestellfenster - Bestellliste */

#bestellen {
  position: sticky;
  left: 100%;
  bottom: 10px;
  width: 150px;
  height: 40px;
  background-color: yellow;
  border: 1px solid red;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  cursor: pointer;
}

#bestellen:hover {
  opacity: 0.8;
}

#bestellen a {
  color: black;
}

#bestellseite {
  display: none;
}

#bestellseite.on {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1000;
  left: 0;
  top: 0;
  background-image: url(/pictures/pizza-3007395_1920.jpg);
  overflow-x: hidden;
  content: "";
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: scroll;
}

#bestellseite .bestellseite {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 50%;
  z-index: -1;
}

#bestellseite .bestellseite .liste {
  display: flexbox;

  flex-direction: column;
  background-color: white;
  opacity: 0.8;
  width: 90%;
  height: fit-content;
  padding-top: 1%;
  padding-bottom: 1%;
  overflow: scroll;
  overflow-x: hidden;
}

#bestellseite .bt-box {
  display: flexbox;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: auto;
}

#bestellseite .bestellseite .summe {
  background-color: white;
  opacity: 0.8;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#bestellseite .bestellseite .summe .text1,
#bestellseite .bestellseite .summe .zahl1 {
  margin: 10px;
}

#bestellseite .bt-box .btn-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#bestellseite .bt-box .btn-2 .btn-zurück,
#bestellseite .bt-box .btn-2 .btn-bestellen {
  width: 25%;
  height: 100%;
  min-width: 80px;
  background-color: red;
  opacity: 0.7;
  color: white;
  border: none;
  margin: 10px;
  transition: 0.5s ease-out;
}

#bestellseite .bt-box .btn-2 .btn-zurück:hover,
#bestellseite .bt-box .btn-2 .btn-bestellen:hover {
  background-color: red;
  opacity: 1;
}

#bestellseite .h1- {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px;
  background-color: white;
  opacity: 0.8;
  width: 90%;
  height: auto;
  padding: 10px;
}

#bestellseite .bestellseite .liste .essen {
  display: flex;
  /* border: 1px solid black; */
  height: 40px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#bestellseite .bestellseite .liste .essen .sp-anzahl {
  display: flexbox;
  text-align: center;
  width: 20%;
  min-width: 50px;
  height: 40px;
  /* border: 1px solid black; */
  color: black;
  flex-wrap: wrap;
  flex-shrink: initial;
}

#bestellseite .bestellseite .liste .essen .sp-name {
  text-align: center;
  width: 55%;
  height: 40px;
  /* border: 1px solid black; */
  color: black;
  flex-wrap: wrap;
}

#bestellseite .bestellseite .liste .essen .sp-preis {
  text-align: center;
  width: 25%;
  height: 40px;
  flex-wrap: wrap;
  /* border: 1px solid black; */
}

/* footer - copyright: Ende */
footer {
  min-height: 20vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(/pictures/pizza-3007395_1920.jpg);
  background-position: center;
  background-size: 80%;
  background-repeat: no-repeat;
  color: gray;
  position: relative;
  z-index: 1;
}

footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  background-color: red;
  opacity: 0.91;
  z-index: -1;
}
#home {
  background-image: url(/pictures/restaurant-691397.jpg);
  background-size: cover;
  background-position: top center;
  position: relative;
  z-index: 1;
}
#home::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(0, 0, 0);
  opacity: 0.6;
  z-index: -1;
}

#home .home {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
  justify-content: flex-start;
}

#home h1 {
  display: block;
  width: fit-content;
  font-size: 1.5rem;
  position: relative;
  color: transparent;
  animation: text 10s ease forwards;
}

#home h1:nth-child(1) {
  animation-delay: 2s;
}

#home h1:nth-child(2) {
  animation-delay: 3s;
}

#home h1:nth-child(3) {
  animation-delay: 4s;
}

#home h1 span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: red;
  animation: text_box 1s ease;
}

#home h1:nth-child(1) span {
  animation-delay: 1.5s;
}

#home h1:nth-child(2) span {
  animation-delay: 2.5s;
}

#home h1:nth-child(3) span {
  animation-delay: 3.5s;
}

#home .bt-home {
  display: inline-block;
  padding: 10px 30px;
  color: white;
  background-color: transparent;
  border: 3px solid red;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.06rem;
  margin-top: 50px;
  transition: 0.7s ease;
  transition-property: background-color;
  animation: btn 6s ease;
  animation-delay: 0s;
  animation-duration: 7s;
  border-radius: 3px;
}

#home .bt-home:hover {
  color: white;
  background-color: red;
}

/* login */

#login {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*
#login .login {
  position: fixed;
  top: 0;
  left: 10vh;
  width: 100vw;
  height: 100vh;
  background-color: rgb(243, 0, 0);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}
*/

#login .login.on {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/pictures/italian-cuisine-2378729.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgb(112, 109, 106);
  z-index: 1000;

  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  z-index: 10000;
  animation: login_window 1.5s ease forwards;
}
/* login-kreuz, exit oben rechts */
#login .login.on .cross-border {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(85, 84, 83, 0.336);
  cursor: pointer;
  background-color: rgba(112, 109, 106, 0.342);
}

#login .login.on .cross-border:hover {
  background-color: rgba(238, 34, 34, 0.897);
  border: 3px solid rgba(238, 34, 34, 0.897);
  transition: 0.5s ease;
}

#login .login.on .cross-border .cross,
#login .login.on .cross-border .cross::before {
  background-color: rgb(85, 84, 83);
  height: 2px;
  width: 25px;
}

#login .login.on .cross-border:hover .cross,
#login .login.on .cross-border:hover .cross::before {
  background-color: white;
  transition: 0.5s ease;
}

#login .login.on .cross-border .cross {
  position: relative;
  top: 11px;
  margin: auto;
  transform: rotate(45deg);
}

#login .login.on .cross-border .cross::before {
  position: absolute;
  content: "";
  top: 1px;
  right: 1px;
  transform: rotate(90deg);
}
/* login inputfelder */
#login .login .form-login input {
  display: none;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  border: none;
  height: 25px;
  margin: 5px;
  box-shadow: none;
  padding-left: 10px;
  outline: none;
}

#login .login.on .form-login input {
  display: block;
}

/* login-button Anmeldeinformationen mitteilen */
#login .login .form-login .btn-submit {
  display: none;
}

#login .login.on .form-login .btn-submit {
  display: block;
}

#login .login.on .form-login .btn-submit .btn-log {
  background-color: rgb(19, 231, 19);
  width: 100%;
  border: none;
  font-family: "Noto Sans JP", sans-serif;
}

/* Kontakt-seite */

#kontakt {
  width: 100%;
  height: auto;
  background-image: url(/pictures/restaurant-691397.jpg);
  justify-content: center;
  align-items: center;
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
}

#kontakt::after {
  background-color: black;
  opacity: 0.6;
  height: 110%;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: -1;
}

#kontakt .head {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  width: 100%;
  flex-direction: column;
  color: white;
}

#kontakt .head div h1,
#kontakt .head div h3 {
  margin-bottom: 50px;
  margin: 30px;
  text-align: center;
  z-index: 1;
}

#kontakt .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.507);
  width: 70%;
  height: auto;
  margin: auto;
  margin-top: 20px;
}

#kontakt .info p {
  margin: 10px;
  font-family: "Noto Sans JP", sans-serif;
}

#kontakt .info p:nth-child(2),
#kontakt .info p:nth-child(4),
#kontakt .info p:nth-child(6) {
  text-align: left;
  color: blue;
  left: 0%;
}

/* Kontakt-seite Email-layout */

#kontakt .layout-email {
  position: absolute;
  top: 0;
  right: 0;
  left: 50%;
  width: 50%;
  background-color: rgba(152, 138, 138, 0);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#kontakt .layout-email div {
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45vw;
  height: 100%;
}

#kontakt .layout-email div .name,
.email,
.text {
  background-color: rgb(211, 201, 201);
  border: 1px solid rgba(10, 10, 10, 0);
  box-shadow: none;
  box-sizing: border-box;
  outline: none;
  width: 100%;
  margin: 10px;
}

#kontakt .layout-email div .text {
  display: flex;
  height: 220px;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
  text-overflow: clip;
}

@keyframes login_window {
  0% {
    width: 0;
    right: 0;
  }
  100% {
    width: 100%;
    right: 100%;
  }
}
@keyframes text_box {
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}

@keyframes text {
  100% {
    color: white;
  }
  0% {
    color: white;
  }
}

@keyframes btn {
  0% {
    color: transparent;
    background-color: transparent;
    border: 3px solid transparent;
  }
  40% {
    border: 3px solid orangered;
  }
  70% {
    color: white;
    background-color: red;
  }
  100% {
    color: white;
    background-color: transparent;
    border: 3px solid red;
  }
}
/* kleiner */
@media only screen and (max-width: 300px) {
  #bestellseite {
    font-size: 50%;
  }
}
/* kleiner // */
@media only screen and (max-width: 450px) {
  #bestellseite {
    font-size: 70%;
  }
}
/* Tablet */
@media only screen and (min-width: 768px) {
  #home h1 {
    font-size: 2rem;
  }
  #home .bt-home {
    padding: 15px;
    font-size: 1.7rem;
  }
  #header .header .nav-bar .navlist ul li a.btn-login {
    display: unset;
  }
}

/*Größeres Tablet*/
@media only screen and (min-width: 850px) {
  #header .header {
    background-color: transparent;
  }
  #header .header.on {
    background-color: black;
  }
  #header .hamburger {
    display: none;
  }
  #header .navlist ul {
    position: initial;
    display: block;
    height: auto;
    width: fit-content;
    background-color: transparent;
  }

  .down #header .navlist ul {
    background-color: black;
    opacity: 0.7;
  }

  #header .navlist ul a::after {
    display: none;
  }
  #header .navlist ul li {
    display: inline-block;
  }
  #header .navlist ul li a {
    font-size: 15px;
  }
  #header .navlist ul li a:hover {
    color: red;
  }
  #header .header .nav-bar .login {
    display: none;
    position: unset;
    font-size: 0%;
    color: transparent;
    background-color: transparent;
  }

  #header .navlist li a.nologinmobile {
    font-size: 15px;
  }
  #login .login .form-login input {
    height: 40px;
    font-size: 20px;
  }
  #login .login.on .form-login .btn-submit .btn-log {
    height: 40px;
    font-size: 20px;
  }
}

/*pc*/
@media only screen and (min-width: 1080px) {
  #home .bt-home {
    font-size: 2rem;
  }
  #header .navlist ul li a {
    font-size: 20px;
  }
  #header .navlist li a.nologinmobile {
    font-size: 20px;
  }
}
