 @font-face {
    font-family: 'Ubuntu';
    src:url('../fonts/Ubuntu/Ubuntu-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
 
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
 
html {
    background-color: #F1FAEE;
    color: black;
    font-family: Oswald;
 
}
 
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #A8DADC;
    padding: 0.5%;
 
}
 
header a:hover {
    color: #E63947;
}
 
body {
    margin: 0;
    overflow-x: hidden;
 
}
 
a {
    text-decoration: none;
    color: black;
}
 
.link-active {
    color: #E63947;
    font-family: Oswald;
}
 
 
main img {
    width: 50%;
    height: auto;
}
 
.logo {
    width: 5%;
    height: auto;
}
 
.willkommen {
    text-align: center;
    font-size: 150px;
    color: #A8DADC;
    transition: transform 0.3s ease;
 
}
 
.willkommen:hover {
    transform: scale(1.025);
 
}
 
nav {
    display: flex;
    flex-direction: row;
    gap: 50px;
 
}
 
nav a {
    font-size: 2em !important;
    font-family: Oswald;
}
 
h1 {
    font-family: Oswald;
}
 
.pasta {
    margin-top: 7%;
}
 
.carbonara-link {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}
 
 
&>* {
    flex: 1;
}
 
.satay-link {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
 
}
 
&>* {
    flex: 1;
}
 
 
 
.auflistung-von-zutaten {
    display: flex;
    flex-direction: column;
    align-items: right;
    width: 50%;
}
 
.description {
    display: flex;
    flex-direction: row;
    width: 100%;
}
 
.mainbox {
    width: 100%;
    display: flex;
 
 
 
}
 
.emptybox {
    width: 50%;
}
 
.number {
    width: 5%;
}
 
.zutaten {
    width: 23%;
}
 
.erklaerung {
    width: 72%;
    padding-right: 10px;
}
 
.recipe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15%;
    font-size: 30px;
    margin-top: 150px;
}
 
.recipe:first-child {
    margin-top: 25px;
}
 
.carbonara-link a {
    border-style: solid;
    padding: 5px;
    transition: transform 0.3s ease;
    font-family: Ubuntu;
 
}
 
.carbonara-link a:hover {
    transform: scale(1.2);
}
 
.satay-link a {
    border-style: solid;
    padding: 5px;
    transition: transform 0.3s ease;
    font-family: Ubuntu;
}
 
.satay-link a:hover {
    transform: scale(1.2);
}
 
footer {
    background-color: #E63947;
    padding: 20px;
    font-family: Oswald;
    color: #A8DADC;
    margin-top: 100px;
}
 
footer h3 {
    color: #A8DADC;
}
 
.about {
    font-family: Ubuntu;
}
 
.contact-form {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #A8DADC;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: black;
    font-family: Oswald;
}
 
.contact-form h1 {
    text-align: center;
    color: #E63947;
}
 
.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}
 
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
}
 
.contact-form button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background-color: #E63947;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    cursor: pointer;
}
 
.contact-form button:hover {
    background-color: #d62828;
}
 
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}
 
.fade-out {
    animation: fadeOut 0.6s forwards;
}
 
 
/*Burger-Menü*/
.nav-toggle {
  display: none;
}
 
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 2.5rem;
  height: 2rem;
  cursor: pointer;
  z-index: 1001;
}
 
/* Linien im Burger */
.nav-toggle-label span {
  display: block;
  height: 0.25rem;
  width: 100%;
  background-color: rgb(0, 0, 0);
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.3s ease, background-color 0.3s ease;
  transform-origin: center;
}
 
 
 
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
 
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
 
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}
 
.impressum-text {
    font-family: Ubuntu;
}
 
@media screen and (max-width: 1271px) {
 
    .willkommen {
        font-size: 9rem;
    }
    .zutaten {
margin-right: 15px;
    }
 
 
}
 
 @media screen and (min-width: 431px) {
  nav {
    display: flex !important;
    /* Normales Menü sichtbar */
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
  }
 
  .nav-toggle,
  .nav-toggle-label {
    display: none;
    /* Hamburger ausgeblendet */
  }
}
 
/* 1100px (Mobil-Navigation & Hamburger) */
@media screen and (max-width: 430px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
 
  /* Navigation als Overlay (mobil) */
  nav {
    position: absolute;
    right: 0;
    width: 100%;
    flex-direction: column;
    background-color: #A8DADC;
    display: none;
    padding: 2rem 0;
    text-align: center;
    gap: 1.5rem;
    z-index: 999;
    top: 10%;
    transition: all 0.3s ease;
  }
 
  /* Hamburger sichtbar */
  .nav-toggle-label {
    display: flex;
    order: 2;
    margin-left: auto;
  }
 
  /* Logo links */
  .logo {
    order: 1;
    margin-right: auto;
  }
 
  /* Menü sichtbar, wenn Checkbox aktiv */
  .nav-toggle:checked+.nav-toggle-label+nav {
    display: flex;
  }
 
  /* X-Animation (Basiswerte) */
  .nav-toggle:checked+.nav-toggle-label span:nth-child(1) {
    transform: translateY(0.85rem) rotate(45deg);
  }
 
  .nav-toggle:checked+.nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
 
  .nav-toggle:checked+.nav-toggle-label span:nth-child(3) {
    transform: translateY(-0.85rem) rotate(-45deg);
  }
 
 
 
    .willkommen {
        font-size: 2rem;
    }
    .carbonara-link {
        font-size: 0.5rem;
    }
    .satay-link {
        font-size: 0.5rem;
    }
    .recipe {
        font-size: 0.7rem;
    }
    .zutaten {
        font-size: 0.5rem;
    }
 
    .erklaerung {
        font-size: 0.5rem;
    }
 
    .number {
        font-size: 0.6rem;
    }
 
    .emptybox {
        width: 30%;
    }
 
    .about {
        font-size: 0.6rem;
   }
}