@font-face {
  font-family: 'Raleway';
  src: url('./Raleway/Raleway-VariableFont_wght.ttf') format('ttf');
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
}

.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

h2 {
  text-align: center;
  font-size: clamp(18px, 4vw, 24px);
}

p {
  font-size: 16px;
}

.header-content{
  box-shadow: 0px 0.1px 8px rgb(170, 170, 170);
} 

header {
  font-family: "Raleway", sans-serif;
  padding-top: 16px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 0px;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
header img {
  height: 70px;
  width: auto;
}

#nav-menu {
  position: sticky;
  top: 100%;
  right: 0px;
}

#nav-menu a {
  padding-right: 16px;
  font-size: 20px;
  text-decoration: none;
  color: rgba(17, 16, 16, 0.8);
}

#nav-menu a:hover {
  cursor: pointer;
  color: green;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

#nav-menu-box {
  z-index: 1000;
  width: 200px;
  height: 350px;
  background-color: white;
  padding-top: 24px;
  padding-bottom: 0px;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0px 0.1px 8px rgb(170, 170, 170);
}

#nav-menu-box a {
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding-top: 16px;
  padding-bottom: 16px;
  color: rgba(17, 16, 16, 0.8);
  box-shadow: 0px 0.1px 2px rgb(170, 170, 170);
}

#nav-menu-box a:hover {
  box-shadow: 0px 0.1px 4px rgb(170, 170, 170);
  font-size: 17px;
  color: green;
}

.box-image {
  height: 40px;
  margin-top: 16px;
  margin-bottom: 16px;
  cursor: pointer;
}

#close-box {
  cursor: pointer;
  height: 24px;
  width: 24px;
  margin-bottom: 16px;
}

.nav-box-closed {
  transform: translateX(100%);
}

.nav-image {
  cursor: pointer;
  display: none;
  width: 32px;
  height: 32px;
  padding-top: 4px;
}

.nav-icon{
  height: 3px;
  margin-bottom: 3px;
  background-color: rgba(17, 16, 16, 0.7);
}

@media(max-width:1000px) {
  header img {
    height: 50px;
  }

#contact-wrapper {
  height: calc(100vh - 270px);
  overflow-y: hidden;
}

  #nav-menu {
    top: 59px;
  }

  #nav-menu a {
    padding-right: 12px;
    font-size: 16px;
  }
}

@media(max-width:768px){
  header{
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media(max-width:715px) {
  #nav-menu {
    display: none;
  }

  .nav-image {
    display: block;
  }
}

@media(max-width:450px) {
  header img {
    height: 35px;
  }

  .nav-image {
    width: 24px;
    height: 24px;
  }

  .nav-icon{
    height: 2px;
    margin-bottom: 2px;
  }
}

#section2 {
  background-color: #efefef;
  padding-bottom: 50px;
}

#section2 span {
  margin-top: 8px;
  display: inline-block;
}

#slideshow {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 4%;
}

#slideleft,
#slideright {
  flex: 0 0 6%;
  align-items: center;
  border: none;
  background: none;
}

#slideleft:hover {
  cursor: pointer;
}

#slideright:hover {
cursor: pointer;
}


#vectorleft,
#vectorright {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.square-block {
  flex: 0 0 20%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.imagewrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.square-block a {
  text-decoration: none;
  color: inherit;
}

.square-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  max-width: 300px;
  background-color: #efefef;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);

}

.spacegiver1 {
  padding-top: 8px;
}

.spacegiver2 {
  padding-top: 20px;
}

#handy {
  display: none;
}

.footer-contact {
  bottom: 0px;
}

.footer {
  position: relative;
  margin-top: 50px;
  left: 0px;
  width: 100%;
  text-align: center;
  background-color: white;
  box-shadow: 0px 0.1px 8px rgb(170, 170, 170);
}

.fixed-impressum{
  position: fixed;
  bottom: 0;
}

.footer p{
  text-align: center !important;
}

.main-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-footer img {
  margin-top: 10px;
  height: 70px;
  width: auto;
  cursor: pointer;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  filter: drop-shadow(1px 2px 17px rgba(32, 32, 32, 0.7));
}

.footer-right img {
  height: 50px;
  margin: 10px;
}

.section-wok {
  padding: 50px 0;
}

.what-is-better {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.wok-text {
  flex: 1;
  max-width: 600px;
}

.wok-image {
  flex: 1;
  max-width: 300px;
}

.wok-image img {
  width: 100%;
  max-width: 300px;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  display: block;
}

.daily-recipe {
  padding: 50px 0;
}

.daily-recipe .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.recipe-img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.recipe-description {
  max-width: 600px;
}

.open-recipe {
  background-color: green;
  color: white;
  padding: 8px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.open-recipe:hover {
  background-color: darkgreen;
  text-decoration: underline 2px;
}

@media (max-width: 750px) {
  .daily-recipe .container {
    flex-direction: column;
    text-align: center;
  }

  .recipe-img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .recipe-description {
    max-width: 100%;
  }
}

#contact-wrapper {
  min-height: calc(100vh - 290px);
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 20px;
  margin-bottom: 20px; */
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: RGB(220 222 225);
  border-radius: 8px;
  width: 400px;
  margin: auto 12px;
  max-height: 100%;
}

form{
  height: 450px;
}

.spacing-contact {
  padding-left: 8px;
}

.name-input {
  display: flex;
  flex-direction: column;
  padding-left: 8px;
  padding-right: 8px;
  resize: none;
  border: none;
  border-radius: 6px;
}

.email-input {
  display: flex;
  flex-direction: column;
  padding-left: 8px;
  padding-right: 8px;
  border: none;
  border-radius: 6px;
}

.message-label {
  display: flex;
  flex-direction: column;
  padding-left: 8px;
  padding-right: 8px;
}

.message-input {
  border-radius: 8px;
  height: 200px;
  border: hidden;
}

textarea {
  resize: none;
  border: hidden;
  box-sizing: border-box;
  border-radius: 8px;
  height: 24px;
  width: 384px;
}

.submit-contact {
  height: 24px;
  width: 160px;
  background-color: rgb(0, 128, 0);
  color: white;
  border-radius: 4px;
  border: hidden;
  margin: auto;
  margin: 50px 110px 0 110px;
}

@media (max-width: 420px) {
  .contact {
    height: 300px;
    width: 200px;
  }

  textarea {
    width: 180px;
  }

  .message-input {
    height: 50px;
    width: 180px;
  }

  .submit-contact {
    margin-right: 20px;
    margin-left: 20px;
    margin-top: 20px;
  }
}

@media (max-width: 680px) {
  .what-is-better {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
  }

  h2 {
    width: 100%;
    text-align: center;
  }

  p {
    width: 100%;
    max-width: 280px;
    text-align: left;
  }

  .main-footer {
    flex-direction: column;
  }

  .d-none {
    display: flex;
  }

  #slideright,
  #slideleft {
    display: none;
  }

  #slideshow {
    display: none;
  }
}

@media (min-width: 680px) {
  #slideshow-container {
    display: none;
  }
}