* {
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
:root {
    --background-image-section-one_mandarine: url(/images/mandarine%26orange/background_mandarine&orange_section_one.avif);
    --background-image-section-two_mandarine: url(/images/mandarine%26orange/background_mandarine&orange_section_two.avif);
    --background-image-section-three_mandarine: url(/images/mandarine%26orange/background_mandarine%26orange_section_three.avif);
     /* Slightly lighter shade */
     --background-image-section-one_mobile_mandarine: url(/images/mandarine&orange/mobile/mobile_mandarine-orange.avif);
     --hover_mandarine:rgba(236, 144, 32, 0.8);
    }
.fade-in {
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    }
    
    @keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
    }
#body_mandarine{
    background: rgba(236, 144, 32, 0.85);
}
#section {
    flex-direction: row-reverse;
    position: relative;
}
#product_header {
    background-repeat: no-repeat;
    background-image: var(--background-image-section-one_mandarine);
    background-size: 100% 100%;
    background-position: center center;
    height: 100%;
}
#mobileBanner{
    display: none;
}
#product_header_description {
    background-repeat: no-repeat;
    background-image: var(--background-image-section-two_mandarine);
    background-size: 100% 100%;
    background-position: center center;
    height: 100%;
}
#top-x {
    font-size: 3em;
    position: absolute;
    top: 40px;
    right: 50px;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    padding: 2px 10px 2px 10px;
    border-radius: 5px;
    background-color: var(--vegaenergy-mandarine-orange-dark);
}
#top-shop {
    font-size: 2em;
    position: absolute;
    top: 40px;
    right: 120px;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    padding: 10px 12px 10px 12px;
    border-radius: 5px;
    background-color: var(--vegaenergy-mandarine-orange-dark);
}
#product_header .fa-solid:hover {
    color: rgb(237, 237, 237);
}
#top-x:hover, #top-shop:hover {
    background-color: var(--hover_mandarine); /* Slightly lighter shade */
}
.product_header {
    display: flex;
    justify-content: space-between;
    text-align: left;
    align-items: center;
    max-width: 1200px; /* Set a maximum width */
    margin: 0 auto; /* Center the container */
}
.product_header_description {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    text-align: right;
    align-items: center;
    width: 95vw; /* Set the width to 95% of the viewport width */
    max-width: 1200px; /* Set a maximum width */
    margin: 0 auto;
    flex: 4;
}
.product_header_img {
    width: 100%;
    max-width: 330px; /* Maximale Breite für mobile Ansicht */
    margin-bottom: 20px; /* Abstand nach unten für mobile Ansicht */
    flex: 3;
}

.product_header img, .product_header_description img {
    margin: 0;
    height: auto;
    width: 100%;
    padding-top: 20px;
}
.product_description {
    flex: 3; /* Allow the text to grow and take available space */
    margin-right: 40px;
}
.product_description h1 {
    color: var(--text-color);
    padding-bottom: 0;
    font-size: 3.5em;
    margin-block-start: 0;
    margin-block-end: -0.1em;
    margin-top: 0;
}
.product_description h2 {
    color: var(--text-color);
    padding-bottom: 0;
    font-size: 1.8em;
}
#product_header_description .product_description h2 {
    color: var(--text-color);
    font-size: 3em;
}
.product_description p {
    color: var(--text-color);
    padding-bottom: 50px;
}
.product_description button:hover{
    background-color: var(--vegaenergy-dark);
}
#product_ingredients {
    background-repeat: no-repeat;
    background-image: var(--background-image-section-two_mandarine);
    background-size: 100% 100%;
    background-position: center center;
    height: 100%;
}
.product_ingredients {
    display: flex;
    flex-direction: row-reverse; /* Flexrichtung für mobile Ansicht */
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    padding-top: 80px;
    padding-bottom: 80px;
    gap: 80px;
}
.product_ingredients_img {
    width: 100%;
    max-width: 350px; /* Maximale Breite für mobile Ansicht */
    margin-bottom: 20px; /* Abstand nach unten für mobile Ansicht */
}
.product_ingredients img {
    object-fit: cover;
    width: 100%;
    height: auto;
}
#card1 {
    background: rgba(30, 30, 30, 0.1);
}
#card2 {
    background: rgba(30, 30, 30, 0.1);
}
#card3 {
    background: rgba(30, 30, 30, 0.1);
}
#card4 {
    background: rgba(30, 30, 30, 0.1);
}
.table {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 130em;
}
.container {
    max-width: 700px;
    color: var(--text-color);
}
.container h1 {
    color: var(--text-color);
    font-size: 2.5em;
}
.faq-drawer {
    margin-bottom: 30px;
}
.faq-drawer__content-wrapper {
    font-size: 1.25em;
    line-height: 1.4em;
    max-height: 0px;
    overflow: hidden;
    transition: 0.25s ease-in-out;
}
.faq-drawer__title {
    border-top: var(--text-color) 1px solid;
    cursor: pointer;
    display: block;
    font-size: 1.25em;
    font-weight: 700;
    padding: 30px 0 0 0;
    position: relative;
    margin-bottom: 0;
    transition: all 0.25s ease-out;
}
.faq-drawer__title::after {
    border-style: solid;
    border-width: 1px 1px 0 0;
    content: " ";
    display: inline-block;
    float: right;
    height: 10px;
    left: 2px;
    position: relative;
    right: 20px;
    top: 2px;
    
    transition: 0.35s ease-in-out;
    vertical-align: top;
    width: 10px;
}
/* OPTIONAL HOVER STATE */
.faq-drawer__title:hover {
    color: var(--vegaenergy-dark);
}
.faq-drawer__trigger:checked + .faq-drawer__title + .faq-drawer__content-wrapper {
    max-height: 350px;
}
.faq-drawer__trigger:checked + .faq-drawer__title::after {
  
    transition: 0.25s ease-in-out;
}
input[type="checkbox"] {
    display: none;
}
.accordion__btn {
    font-size: 1.2em; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
}

.accordion__icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-color, #ffffff);
    width: 12px;
    height: 2px;
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.accordion__icon::before {
    transform: rotate(45deg);
    right: 5px;
}

.accordion__icon::after {
    transform: rotate(-45deg);
    right: 12px;
}

/* Hover-Effekt für den Pfeil */
.accordion__btn:hover .accordion__icon::before,
.accordion__btn:hover .accordion__icon::after {
    background-color: var(--vegaenergy-dark);
}

/* Der Pfeil dreht sich, wenn das Accordion geöffnet ist */
.accordion__item--active .accordion__icon::before {
    transform: rotate(-45deg);
    background-color: var(--vegaenergy-dark);
}

.accordion__item--active .accordion__icon::after {
    transform: rotate(45deg);
    background-color: var(--vegaenergy-dark);
}

@media only screen and (max-width: 600px) {
    .container {
        padding: 80px;
    }
}
/* tablet */
@media screen and (max-width: 1023px) {
    .product_ingredients {
        gap: 0;
    }
}
@media screen and (max-width: 1400px) {
    #product_header {
        background-size: cover;
    }
    #product_header_description {
        background-size: cover;
    }
    #product_ingredients {
        background-size: cover;
    }
}
/* mobile */
@media screen and (max-width: 767px) {
    #body_mandarine{
        background-image: var(--background-image-section-one_mobile_mandarine);
        background-size: auto;
        background-position: center center;
        }
        .fade-in {
            animation: none;
          }

    #product_header {
        background-image: none;
        height: auto;
    }
    .product_header button{
        display: none;
    }
    #mobileBanner{
        display:block;
    }
    .mobile-banner {
        position: fixed;
        bottom: 0;
        width: 100%;
        backdrop-filter: blur(20px) brightness(1) saturate(1.2); /* Sättigung für lebendigere Farben */
        background: rgba(26, 27, 26, 0.587); /* Warmes Grünlich-Grau mit Transparenz */
        border-radius: 10px 10px 0 0; /* Weiche Abrundung */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
        padding: 12px 16px;
        color: #f5f5f5; /* Heller Text */
        font-weight: 900; /* Fettgedruckte Schrift */
        font-size: larger;
        text-align: center;
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
    }
    .mobile-banner.hidden {
        transform: translateY(100%);
    }
    .arrow-link {
        color: var(--link-color, white); /* Farbe des Links */
        text-decoration: none; /* Entfernt die Unterstreichung */
        font-weight: bolder; /* Fettgedruckter Text */
    }
    #product_header_description {
        background-repeat: no-repeat;
        background-image: none;
        background-size: cover; /* Hintergrundgröße festlegen */
        background-position: center center;
        height: 150%;
        max-height: 300px;
        background-attachment: fixed; /* Hintergrund fixiert */
    }
    #product_ingredients {
        background-repeat: no-repeat;
        background-image: none;
        background-size: cover; /* Hintergrundgröße festlegen */
        background-position: center center;
        height: auto; /* Höhe automatisch anpassen */
        padding: 0px;
        padding-bottom: 50px;
        padding-top: 50px;
        background-attachment: fixed; /* Hintergrund fixiert */
    }
    .product_ingredients {
        display: flex;
        flex-direction: column; /* Flexrichtung für mobile Ansicht */
        padding-top: 0px;
        padding-bottom: 0px;
        padding-right: 0px;
    }
    .product_ingredients_img {
        display: none; /* Bild ausblenden für mobile Ansicht */
    }
    .accordion {
        width: 100%;
        padding: 20px 0;
        border-radius: 10px;
    }
    .accordion__btn {
        font-size: 1.2em; 
    }
    .accordion__content {
        font-size: 1em; /* Schriftgröße für mobile Ansicht */
    }
    #top-x {
        font-size: 2.5em;
        top: 20px;
        right: 20px;
    }
    #top-shop {
        font-size: 1.5em;
        top: 20px;
        right: 80px;
    }
    #product_header {
        background-size: cover;
    }
    #product_header_description {
        background-size: cover;
    }
    #product_ingredients {
        background-size: cover;
    }
    .product_header {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        text-align: left;
        align-items: center;
        max-width: 1000px;
    }
    .product_header_img {
        width: 100%;
        margin-bottom: 0px;
        height: auto;
    }
    .product_description {
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-right: 0;
    }
    .product_description h1 {
        font-size: 9vw;
        padding-bottom: 20px;
        padding: 50px 5px 10px 5px;
        margin-top: 60px;
    }
    .product_description h2 {
        font-size: 6vw;
        padding-bottom: 10px; 
    }
    .product_header_description {
        flex-direction: column;
    }
    #product_header_description img {
        display: none;
    }
    #product_header_description .product_description h2 {
        color: var(--text-color);
        font-size: 7vw;
        padding: 0 5px 0 5px;
    }
    .product_description p {
        padding: 0 10px 0 10px;
    }
    .product_ingredients_img {
        display: none;
    }
}

