/* FONTS */

@font-face {
    font-family: 'fontello';
    src: url('fonts/fontello.woff2') format('woff2');
}

@font-face {
    font-family: Bricolage;
    src: url("fonts/BricolageGrotesque-Regular.woff2");
}

@font-face {
    font-family: Bricolage;
    src: url("fonts/BricolageGrotesque-Medium.woff2");
    font-weight: 500;
}

@font-face {
    font-family: Bricolage;
    src: url("fonts/BricolageGrotesque-Bold.woff2");
    font-weight: Bold;
}

@font-face {
    font-family: Bricolage;
    src: url("fonts/BricolageGrotesque-ExtraBold.woff2");
    font-weight: 800;
}

@font-face {
    font-family: Bricolage;
    src: url("fonts/BricolageGrotesque-Light.woff2");
    font-weight: 100;
}

@font-face {
    font-family: 'DM Sans';
    src: url("fonts/DMSans[opsz,wght].woff2");
}

/* VARS */

:root,
::backdrop {
    --mengentext: 'DM Sans', system-ui, sans-serif;
    --headline: 'Bricolage', system-ui, sans-serif;
    --goldgelb: #DFA936;
    --hellgelb: #E9CC93;
    --gruen: #618A4B;
    --hellgruen: #AFBC88;
    --rot: #D84A1A;
    --hellrot: #ED9F84;
    --black: #0c0701;
    --white: #faf8f5;
}

/* Pure semantics */

* {
    margin: unset;
    scrollbar-color: var(--darkpink) var(--lightgrey);
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--black);
    font-family: var(--mengentext);
    font-size: 1.1rem;
    overflow-x: hidden;
}

header,
main {
    width: 85%;
    margin: auto;
    position: relative;
}

header {
    paDDING-top: 22px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--headline);
}

h1 {
    margin: 40px 0 10px 0;
    font-size: 35px;
    line-height: 35px;
}

h1 span:before,
h1 span:after {
    content: "\e800";
    font-family: fontello;
    font-weight: normal;
    margin: 0 .4rem;
    color: var(--goldgelb)
}

h2 {
    margin-top: 50px;
    font-size: 30px;
}

h3 {
    font-weight: 100;
    font-size: 30px;
    margin-bottom: 30px
}

h4 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 10px
}

p,
blockquote {
    margin-bottom: 1rem
}

.details,
#warenkorb,
.cnt223 {
    box-shadow: 0px 0px 10px #0000008a;
    border-radius: 60px;
    padding: 40px 10% 53px;
    margin: 128px 0;
    position: relative
}

.details:first-of-type {
    margin-top: 85px;
}

summary {
    list-style: none;
    position: relative;
    padding-bottom: 100px;
    min-height: 300px;
}

ul {
    padding: 0;
}

li {
    list-style: none
}

main li::before {
    content: '\e800';
    font-family: fontello;
    margin-right: 1rem;
}

summary::after {
    content: "Mehr Info";
    font-weight: bold;
    cursor: pointer;
    font-size: 30px;
    position: absolute;
    bottom: 0;
}

blockquote {
    padding-left: 1rem;
    border-left: 2px solid white;
}

form input[type="number"] {
    width: 3.5rem;
    position: absolute;
}

form input[type="submit"] {
    padding: 10px 15px;
    font-weight: bold;
    position: absolute;
    right: 10%;
    border: 5px solid;
}

form input {
    height: 3.5rem;
    -moz-appearance: textfield;
    appearance: textfield;
    text-align: center;
    border-radius: 40px;
    border: none;
    font-family: var(--mengentext);
    font-size: 1.1rem;
    top: 490px;
}

footer {
    background: var(--black);
    color: var(--white);
    padding: 30% 10%;
    margin-top: 120px;
    /* Platz für Weizengrafik */
    clip-path: path("M479.81,0c-48.13,19.44-108.82,34.79-134.64,36.06C240.06,41.26,187.13-7.07,79.33,4.05,52.26,6.87,25.62,12.95,0,22.14v417.26h480c-.19-177.82,0-262.56-.19-439.4Z")
    /* https://developer.mozilla.org/de/docs/Web/CSS/clip-path#path */
}

footer ul {
    padding-left: 0;
}

footer li {
    list-style: none;
}

a:not(footer a),
.socials a {
    text-decoration: none;
    color: var(--black)
}

footer a {
    color: var(--white)
}

/* real class */

.logo {
    height: 55px;
}

.cta {
    padding: 10px 15px;
    font-weight: bold;
    display: block;
    text-align: center;
    border-radius: 40px;
    border: 5px solid var(--goldgelb);
    background: var(--goldgelb);
    margin-top: 30px;
    float: right;
    cursor:pointer;
}

/* on mobile erscheint hover-stil oft beim klicken */

.cta:hover {
    background-color: var(--white);
}

.float {
    float: right;
    margin-right: -50px;
    margin-top: -30px;
    filter: drop-shadow( 0px 3px 6px #0000008a);
}

.before {
    margin-bottom: -40%;
}

main~.before {
    width: 50px;
    margin-bottom: 0px;
    margin-top: 45px;
    position: absolute;
    right: 30px;
}

.welle {
    background: var(--goldgelb);
    width: 102vw;
    min-height: 690px;
    box-sizing: border-box;
    margin-left: -11%;
    position: relative;
    padding: calc(50% - 30px) 10% 50% 10%;
    clip-path: path("M4.67,0c25.36,1.73,47.94,5.65,72.6,11.79,108.23,26.97,126.59,76.54,217.2,87.02,57.23,6.61,105.87-6.7,114.17-9.05,15.41-4.37,56.89-21.96,71.36-28.83l-.02,558.72c-48.15,19.45-108.86,34.8-134.69,36.08-105.15,5.2-158.09-43.15-265.93-32.02-27.09,2.82-53.73,8.9-79.36,18.1V.25");
}

.warenkorb {
    position: absolute;
    right: 5%;
}

.warenkorb::before {
    content: "\E804";
    font-family: fontello;
    font-size: 50px;
}

.warenkorb::after {
    content: "0";
    padding: 1.25px 5px;
    border-radius: 100px;
    margin-left: -10px;
    margin-top: 10px;
    background-color: var(--gruen)
}

.welle::before,
.welle::after {
    content: '\e800';
    font-family: fontello;
    color: var(--white);
    font-size: 3em;
    position: absolute;
}

.welle::before {
    top: 10%;
}

.welle::after {
    right: 10%;
    bottom: 10%;
}

.price {
    display: block;
    font-weight: bold;
    font-size: 30px;
    margin: 30px 0;
}

.desc {
    display: block;
    min-height: 300px
}

.flex {
    display: flex
}

.feed {
    display: grid;
    grid-gap: .3rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
}

.feed img {
    object-fit: cover;
    aspect-ratio: 4/5;
    width: 100%;
    height: 100%;
}

.socials {
    position: absolute;
    right: 10%;
    gap: 1rem;
}

.insta,
.tiktok,
.bluesky {
    font-size: 0;
    width: 0;
}

.tiktok::before {
    content: '\e803';
}

.insta::before {
    content: '\e802';
}

.bluesky::before {
    content: '\e801';
}

.insta::before,
.bluesky::before,
.tiktok::before {
    font-family: fontello;
    width: auto;
    font-size: 2rem;
    color: var(--white)
}

/* ID */

#meso input[type="number"] {
    background-color: var(--hellgelb);
}

#meso input[type="submit"] {
    background: var(--goldgelb);
    border-color: var(--goldgelb)
}

#egypt input[type="number"] {
    background-color: var(--hellgruen)
}

#egypt input[type="submit"] {
    background: var(--gruen);
    border-color: var(--gruen)
}

#china input[type="number"] {
    background-color: var(--hellrot)
}

#china input[type="submit"] {
    background: var(--rot);
    border-color: var(--rot);
}

input[type="submit"]:hover {
    background-color: var(--white)!important;
}

#warenkorb {
    display: none
}

#warenkorb,
.cnt223 {
    background: var(--white);
    position: absolute;
    top: -150px;
    width: 80%;
    z-index: 103;
}

#warenkorb:target {
    display: initial;
}

body:has(#overlay) {
    overflow-y: hidden;
}

/*scrollen verhindern, solang altersbeschränkung Modal existiert
(wird von JS platziert und gelöscht)*/

/* Quelle: https://codepel.com/modal/html-code-for-popup-window-on-page-load/ */

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    z-index: 100;
    display: none;
}

/* Da die Seite nur für mobile Geräte (Handys) optimiert ist, 
wird sie auf größeren Bildschirme klein angezeigt. */

@media (min-width: 480px) {
    * {
        max-width: 480px;
    }
    body {
        margin: auto
    }
    .before {
        left: 380px
    }
    .socials {
        left: 300px;
    }
    body::after {
        content: 'Optimierte Breite: 410-480px\AOptimierter Browser: Firefox';
        position: absolute;
        top: 50vh;
        right: 100px;
        white-space: pre;
        text-align: right
    }
}
