body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #2e1a47, firebrick);
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
}


.logo-container {
    display: flex;
    align-items: center;
    padding: 10px;
}

.logo-image {
    height: 200px;
    width: auto;
    border-radius: 50%;
    z-index: 1;
}


.sticky-header {
    position: sticky;
    top: 0;
    line-height: 3em;
    background-position: top;
    z-index: 1000;
    backdrop-filter: blur(0.8px);
}

nav a {
    position: relative;
    color: white;
    margin: 0 1em;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, orange, #ffcccb);
    bottom: -4px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
    border-radius: 5px;
}

nav a:hover {
    color: #ffcccb;
    transform: scale(1.05);
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


.head {
height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5%;
    position: relative;
}

.head::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.head-content {
    position: relative;
    max-width: 600px;
    z-index: 1;

}

.head h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.head p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 1.3em;
}


.macro {
    height: 80vh;
    display: flex;
    align-items: first;
    justify-content: flex-start;
    padding-left: 5%;
    position: relative;
}

.macro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.macro-content {
    position: relative;
    max-width: 600px;
    z-index: 1;
}

.macro-pic{
    z-index: 1;
}

.macro-image{
    height: 350px;
    padding-left: 10em;
}



.kalorien {
    height: 75vh;
    display: flex;
    align-items: first;
    justify-content: flex-end;
    padding-left: 5%;
    position: relative;
}

.kalorien::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.kalorien-content {
    position: unset;
    max-width: 600px;
    z-index: 1;
}

.kcal-pic{
    z-index: 1;
}

.kcal-image{
    height: 300px;
    padding-right: 10em;
}


.mikro {
    height: 70vh;
    display: flex;
    align-items: first;
    justify-content: flex-start;
    padding-left: 5%;
    position: relative;
}

.mikro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mikro-content {
    position: relative;
    max-width: 600px;
    z-index: 1;
}

.mikro-pic{
    z-index: 1;
}

.mikro-image{
    height: 300px;
    padding-left: 10em;
}

.verhalten {
    height: 70vh;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    padding-left: 5%;
    position: relative;

}

.verhalten::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.verhalten-content {
    position: relative;
    max-width: 600px;
    z-index: 1;
}

.verhalten1-content  {
    position: relative;
    max-width: 600px;
    z-index: 1;
}


.table {
    width: 80%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ff4444;
    font-family: Arial, sans-serif;
    margin-top: -3.5rem;
}


.table th {
    padding: 20px 20px;
    border: 1px solid #ccc;
    background-color: #6a2222;
    color: white;
    font-size: 1rem;
    text-align: left;
    font-weight: bold;
}


.table tr {
    border-bottom: 1px solid #ddd;
    transition: background-color 0.2s;
}


.table1 {
    width: 90%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ff4444;
    font-family: Arial, sans-serif;


}


.table1 th {
    padding: 20px 20px;
    border: 1px solid #ccc;
    background-color: #6a2222;
    color: white;
    font-size: 1rem;
    text-align: left;
    font-weight: bold;
}


.table1 tr {
    border-bottom: 1px solid #ddd;
    transition: background-color 0.2s;
}




