/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Aclonica&family=Montserrat:wght@100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(45, 99%, 55%);
  --first-color-alt: hsl(45, 99%, 48%);
  --second-color: hsl(22, 100%, 8%);
  --white-color: hsl(34, 100%, 96%);
  --title-color: hsl(22, 100%, 8%);
  --text-color: hsl(22, 24%, 32%);
  --text-color-light: hsl(23, 16%, 40%);
  --body-color: hsl(34, 100%, 92%);
  --body-color-alt: hsl(34, 100%, 88%);
  --container-color: hsl(34, 100%, 96%);
  --shadow-small-img: drop-shadow(0 4px 16px hsla(22, 100%, 8%, .2));
  --shadow-big-img: drop-shadow(0 8px 24px hsla(22, 100%, 8%, .2));

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --second-font: "Aclonica", sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  /*background-color: var(--body-color);*/
  /*background-image: url("responsive-burger-website-main/responsive-burger-website-main/assets/img/home-bkm-girl.png");
  background-repeat: no-repeat;*/
  color: var(--text-color);
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-regular);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: 2rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header{
  position: fixed;
  width: 100%;
  background-color: white;
  top: 0;
  left: 0;
  /*z-index: var(--z-fixed);*/
  z-index: 2000;
  transition: box-shadow .4s;
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.nav__logo{
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-family: var(--second-font);
  color: var(--title-color);
  font-size: 40px;
}

.nav__logo img{
  width: 100px;
}

.nav__logo div{
  /*background-color: var(--first-color);*/
  padding: 6px;
  border-radius: .5rem;
}

.nav__toggle,
.nav__close {
  display: flex;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px){
  .nav__menu{
    position: fixed;
    top: -100%;
    left: 0;
    /*background-color: var(--body-color);*/
    background-color: aliceblue;
    width: 100%;
    box-shadow: 0 4px 16px hsla(22, 100%, 8%, .2);
    padding-block: 4.5rem 3.5rem;
    transition: top .4s;
  }
}

.nav__list{
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 2rem;
}

.nav__link{
  color: var(--title-color);
  font-family: var(--second-font);
  /*transition: color .4s;*/
  position: relative;
}

.nav__link::after{
  content: '';
  width: 0;
  height: 3px;
  background-color: var(--first-color);
  position: absolute;
  left: 0;
  bottom: -.5rem;
  transition: width .3s;
}

.nav__link:hover::after{
  width: 60%;
}

.nav__close{
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  /*font-size: 1.5rem;
  cursor: pointer;*/
}


/* Show menu */
.show-menu{
  top: 0;
}

/* Add shadow header */
.shadow-header{
  box-shadow: 0 4px 16px hsla(22, 100%, 8%, .1);
}

/* Active link */
.active-link::after{
  width: 60%;
}

/*=============== HOME ===============*/
/*neuer Test
html, body {
  height: 100%;
  margin: 0;
}

.home {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('responsive-burger-website-main/responsive-burger-website-main/assets/img/home-bkm-girl.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
.bild{
  background-repeat: no-repeat;
}*/



.home {
  color: white;
  background-image: url('../img/home-bkm-girl.png');
  background-position: 100% 20%; /* 100% horizontal, 20% vertikal */
  background-size: cover;
  background-attachment: scroll;
  padding-bottom: 150px;
  position: relative;
}

/* * {
  margin: 0;
  padding: 0;
}*/
.waves {
  position: relative;
  width: 100%;
  height: 7vh;
  /*background: #a1a1a1;
  background-image: url(../img/background.girl.png);*/
  overflow: visible;
  color: white;
}

.waves .wave{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(../img/wave.png);
  background-size: 1000px 100px;
}

.waves .wave.wave1{
  animation: animate 30s linear infinite;
  z-index: 1000;
  opacity: 1;
  animation-delay: 0s;
  bottom: 0;
}
.waves .wave.wave2{
  animation: animate2 15s linear infinite;
  z-index: 999;
  opacity: 0.5;
  animation-delay: -5s;
  bottom: 10px;
}
.waves .wave.wave3{
  animation: animate 30s linear infinite;
  z-index: 998;
  opacity: 0.2;
  animation-delay: -2s;
  bottom: 15px;
}
.waves .wave.wave4{
  animation: animate2 5s linear infinite;
  z-index: 997;
  opacity: 0.7;
  animation-delay: -5s;
  bottom: 10px;
}
@keyframes animate {
  0%
  {
    background-position-x: 0;
  }
  100%
  {
    background-position-x: 1000px;
  }
}
@keyframes animate2 {
  0%
  {
    background-position-x: 0;
  }
  100%
  {
    background-position-x: -1000px;
  }
}


/*
.wave {
  background-image: url('../img/');
  background-position: 50% 100%;
  background-repeat: repeat-x;
  background-size: auto;
  background-attachment: scroll;
  width: 600vw;
  height: 100%;
  margin-bottom: -2px;
  position: absolute;
  top: auto;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

.wave._1 {
  z-index: 1000;
  height: 80%;
}

.wave._2 {
  z-index: 999;
  opacity: .24;
  background-image: url('../img/');
  background-position: 50% 100%;
  background-repeat: repeat-x;
  background-size: 1718px;
  width: 600vw;
  height: 90%;
  top: auto;
  bottom: 0%;
  left: auto;
  right: 0%;
}

.wave._3 {
  z-index: 998;
  opacity: .29;
  height: 80%;
}

.wave._4 {
  z-index: 997;
  opacity: .1;
  background-image: url('../img/');
  height: 70%;
  top: auto;
  bottom: 0%;
  left: auto;
  right: 0%;
}

.cmp--waves {
  z-index: 999;
  width: 100%;
  height: 100px;
  position: absolute;
  top: auto;
  bottom: 0%;
  left: 0%;
  right: 0%;
  overflow: hidden;
}*/

/*
.wave {
  position: relative;
  width: 100%;
  height: 100px;
}

.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}*/

/*neuer Test*/

.home__container{
  row-gap: 3.5rem;
  padding-block: 3rem 2rem;
  justify-content: center;
}

.home__data{
  position: relative;
  text-align: center;
  z-index: 1; /* Stelle sicher, dass der Inhalt vor dem Hintergrundbild angezeigt wird */
}

.home__title{
  font-size: var(--biggest-font-size);
  /*font-family: var(--title-font);*/
  margin-bottom: 1rem;
}

.home__description{
  /*padding: 0 1rem;*/
  margin-bottom: 2.5rem;
}

.home__sticker{
  width: 40px;
  rotate: 15deg;
  position: absolute;
  bottom: 2rem;
  right: 1rem;
  opacity: .5;
}

/*.home__images{
  position: relative;
  display: grid;
  justify-items: center;
  justify-self: center;
}        */

/*Neues Design
html, body {
  height: 100%;
  margin: 0;
}

.home__images {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('responsive-burger-website-main/responsive-burger-website-main/assets/img/home-bkm-girl.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1; /* Stelle sicher, dass der Hintergrund hinter allem anderen ist */
/*}*/

/*Neues Design*/

.home__ingredient{
  width: 60px;
  filter: var(--shadow-small-img);
  position: absolute;
  z-index: 2;
}

.home__burger,
.home__dish{
  filter: var(--shadow-big-img);
}

/*.home__burger{
  width: 280px;
  z-index: 2;
}           */

.home__dish{
  max-width: initial;
  width: 320px;
  position: absolute;
  bottom: -2.5rem;
}


/*=============== BUTTON ===============*/
.button{
  display: inline-flex;
  /*background-color: var(--first-color);*/
  background-color: hotpink;
  padding: 1rem 1.5rem;
  border-radius: 4rem;
  font-family: var(--second-font);
  /*color: var(--title-color);*/
  color: black;
  transition: box-shadow .4s;
}

.button:hover{
  box-shadow: 0 8px 24px hsla(22, 100%, 8%, .2) ;
  background-color: palevioletred;
}

/*=============== RECIPE ===============*/


/*=============== POPULAR ===============*/


/*=============== DELIVERY ===============*/


/*=============== CONTACT ===============*/
.contact__container{
  position: relative;
  /*background-color: var(--second-color);*/
  background-color: rgb(128, 128, 128);
  padding-top: 3.5rem;
  border-radius: 3rem;
  overflow: hidden;
}

.contact__content{
  row-gap: 3rem;
}

.contact__container .section__title,
.contact__title,
.contact__info{
  color: var(--white-color);
}

.contact__title,
.contact__info{
  color: black;
  text-align: center;
}

.contact__data{
  text-align: center;
  row-gap: 2rem;
}

/*Neu für design*/
.contact__form {
  max-width: 600px;
  margin: 0 auto;
}

.contact__form input,
.contact__form textarea {
  width: 90%;
  padding: 1em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 10px;


}
.contact__form button {
  /*background-color: #333;
  color: white;
  border-radius: 5px; */
  padding: 1em;
  border: none;
  cursor: pointer;
  margin-bottom: 1em;
  
}

#success-message { 
	color: white; 
	text-align: center; 
	margin-bottom: 1em;
 }

/*.contact__form button:hover {
  background-color: palevioletred;
}*/

/*Neu für design*/

.contact__title{
  font-size: var(--h2-font-size);
  margin-bottom: .75rem;
}

.contact__social{
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.contact__social a{
  width: 32px;
  height: 32px;
  /*background-color: var(--first-color);*/
  background-color: black;
  /*color: var(--second-color);*/
  color: white;
  font-size: 1.5rem;
  border-radius: .5rem;
  display: grid;
  place-items: center;
  transition: transform .4s;
}

.contact__social a:hover{
  transform: translateY(-.25rem);
}

.contact__info{
  font-style: normal;
}
.contact__image{
  justify-self: center;
}

.contact__img{
  width: 280px;
}

/*Sticker code für design*/


/*=============== FOOTER ===============*/
.footer{
  padding-block: 3rem 2rem;
}

.footer__container {
  row-gap: 2rem;
}

.footer__logo{
  font-size: var(--h1-font-size);
  font-family: var(--second-font);
  color: var(--title-color);
  justify-self: center;
}

.footer__content{
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
}

.footer__link{
  color: var(--text-color);
}

.footer__social{
  grid-column: 1 / 3;
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.footer__social a{
  width: 32px;
  height: 32px;
  background-color: var(--first-color);
  color: var(--second-color);
  border-radius: .5rem;
  display: grid;
  place-items: center;
  transition: transform .4s;
}

.footer__social a:hover{
  transform: translateY(-.25rem);
}

.footer__copy{
  display: block;
  text-align-last: center;
  font-size: var(--small-font-size);
  margin-top: 3.5rem;
  color: black;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  background-color: hsl(34, 16%, 75%);
}

::-webkit-scrollbar-thumb{
  background-color: hsl(34, 16%, 65%);
}

::-webkit-scrollbar-thumb{
  background-color: hsl(34, 16%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(22, 100%, 8%, .2);
  color: var(--title-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: .35rem;
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover{
  transform: translateY(-.5rem);
}

/* Show Scroll Up */
.show-scroll{
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and(max-width: 330px){
  .container{
    margin-inline: 1rem;
  }

  .home__title{
    font-size: 2.5rem;
  }
  .home__burger{
    width: 210px;
  }
  .home__dish{
    width: 250px;
    bottom: -2rem;
  }

  /*Recipecode usw.*/

  .footer__social{
    grid-column: 1;
  }

  .footer__content{
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* For medium devices */
@media screen and(min-width: 540px){
  .home__container{
    grid-template-columns: 360px;
    justify-content: center;
  }
  /*Recipecode usw.*/

  .contact{
    max-width: 500px;
    margin: 0 auto;
  }

}

@media screen and (min-width: 768px) {
  /*.popular*/
  .footer__social{
    grid-column: initial;
  }
  .footer__content{
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
  .footer__link:nth-child(1) {
    justify-self: start;
  }
  .footer__link:nth-child(2){
    order: 2;
    justify-self: end;
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .container{
    margin-inline: auto;
  }

  .section{
    padding-block: 7rem 2rem;
  }
  /*erweiterung
  .home{
    padding-block: 10rem 2rem;
  }*/
  .home {
    color: white;
    background-image: url('../img/home-bkm-girl.png');
    background-position: 100% 20%; /* 100% horizontal, 20% vertikal */
    background-size: cover;
    background-attachment: scroll;
    padding-bottom: 150px;
    position: relative;
  }
  .section__title{
    margin-bottom: 4.5rem;
  }
  .nav{
    height: calc(var(--header-height) + 2rem);
  }
  .nav__toggle,
  .nav__close{
    display: none;
  }
  .nav__list{
    flex-direction: row;
    column-gap: 4rem;
  }

  .home__container{
    grid-template-columns: 430px 605px;
    align-items: center;
    column-gap: 4rem;
    padding-block: 7rem 4rem;
  }
  .home__data{
    text-align: initial;
  }
  .home__description{
    margin-bottom: 3.5rem;
    padding-right: 3rem;
  }
  .home__sticker{
    width: 60px;
    right: 10rem;
    bottom: 1rem;
  }
  .home__burger{
    width: 490px;
  }
  .home__dish{
    width: 560px;
  }
  /*Ingredient code*/

  /*recipe code*/
  .recipe.section {
    margin-left: 200px; /* Oder jede andere gewünschte Breite */
  }

  /*popular code*/
  .popular.section {
    margin-left: 200px; /* Oder jede andere gewünschte Breite */
  }


  /*delivery code*/

  .contact{
    max-width: initial;
  }
  .contact__container{
    border-radius: 4rem;
    padding-block: 4rem 6.5rem;
  }
  .contact__content{
    grid-template-columns: 420px 435px;
    justify-content: center;
    column-gap: 6.5rem;
  }
  .contact__data{
    grid-template-columns: repeat(2, max-content);
    text-align: initial;
    gap: 4.5rem 2rem;
    /*order: 1;*/
  }
  .contact__social{
    justify-content: initial;
  }
  .contact__title{
    margin-bottom: 1rem;
  }
  .contact__image{
    position: relative;
    width: 100%;
  }
  .contact__img{
    width: 420px;
    position: absolute;
    top: -2.5rem
  }

  /*Contact Sticker code*/

  .footer{
    padding-block: 5rem 3rem;
  }
  .footer__container{
    row-gap: 3.5rem;
  }
  .footer__copy{
    margin-top: 4rem;
  }

  /*.scrollup{
    color: black;
    background-color: blue;
  }*/

}