@font-face {
    font-family: 'bodrumSweet-Medium';
    src: url('../font/delical/BodrumSweet-15Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bodrumSweet-Bold';
    src: url('../font/delical/BodrumSweet-16Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bodrumSweet-Black';
    src: url('../font/delical/BodrumSweet-19Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.background-delical {
    height: 90vh;
    width: 100%;
    max-width: 100%;
    mask: radial-gradient(60% var(--c) at bottom, #0000 calc(100% - 2px), #000);
    --c: 70px;
    background: url(../img/delical/delicalbackground.webp) center center no-repeat;
    background-size: cover;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    padding-bottom: 25px;
    background-attachment: fixed;
}

.background-delical h4 {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    text-shadow: 0px 2px 5px #4f4f50b6;
    font-family: 'bodrumSweet-Bold';
    padding: 1rem 3rem;
    background: #00000056;
    width: fit-content;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.background-delical a {
    margin-bottom: 4rem;
    background: linear-gradient(90deg, rgba(1, 21, 136, 1) 0%, rgba(78, 95, 191, 1) 100%);
    padding: 1rem 2rem;
    border-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 0px;
    color: #fff;
    font-weight: bold;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: all 0.5s;
    font-family: 'bodrumSweet-Bold';
}

.delical-commander {
    padding-top: 0px;
    margin-bottom: 2.5rem;
}

.delical-commander a.commande {
    margin-bottom: 4rem;
    background: #74a339;
    padding: 1rem 2rem;
    border-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 0px;
    color: #fff;
    font-weight: bold;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: all 0.5s;
    text-transform: uppercase;
}

.background-delical a:hover {
    background: linear-gradient(90deg, rgba(1, 21, 136, 1) 50%, rgba(1, 21, 136, 1) 100%);
}

.background-delical img.logo-delical {
    height: 100px;
    position: absolute;
    top: 35%;
    left: 7rem;
}

.nowrap {
    white-space: nowrap !important;
}

.deco {
    position: absolute;
    top: 75vh;
    right: 7rem;
    width: 95px;
    height: 110px;
}

.deco span {
    position: absolute;
    display: block;
    border-radius: 100px;
    z-index: 3;
    opacity: 0.8;
}

.deco span:nth-child(1) {
    width: 70px;
    height: 70px;
    top: 0;
    right: 0;
    background: #ca182d;
}

.deco span:nth-child(2) {
    width: 35px;
    height: 35px;
    bottom: 0;
    right: 40px;
    background: #011958;
}

.deco span:nth-child(3) {
    width: 20px;
    height: 20px;
    top: 55px;
    left: 0px;
    background: #cec81c;
}

h3 {
    color: rgb(32, 40, 63);
    text-transform: uppercase;
    font-size: 2rem;
    font-family: 'bodrumSweet-Bold';
}

h5 {
    font-weight: 800;
    font-size: 18px;
    font-family: 'bodrumSweet-Bold';
    opacity: 0.75;
}

p {
    color: rgb(32, 40, 63);
    font-size: 18px;
    font-family: 'bodrumSweet-Medium';
}

.statgraph {
    text-align: center;
}

img.graphe-delical {
    max-width: 88%;
}

.stattext {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: rgb(32, 40, 63);
}

.solution {
    margin-bottom: 1rem;
}

.explication {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: start;
    text-align: left;
    font-family: 'bodrumSweet-Medium';
    font-size: 18px;
    margin-bottom: -15px;
}

.explication div span {
    font-size: 3.5rem;
    color: #215cac;
    font-family: 'bodrumSweet-Black';
}

.explication-next,
.amelioration {
    font-family: 'bodrumSweet-Medium';
    font-size: 18px;
}

.explication-next span {
    font-family: 'bodrumSweet-Black';
    color: #215cac;
}

.deco-title-center {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.deco-title-center span {
    display: block;
    border-radius: 50px;
    width: 10px;
    height: 10px;
}

.deco-title-center span:nth-child(1) {
    background: #ca182d;
}

.deco-title-center span:nth-child(2) {
    background: #cec81c;
}

.deco-title-center span:nth-child(3) {
    background: #011958;
}

.deco-title {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.m-t-5 {
    margin-top: 3rem;
}

.deco-title span {
    display: block;
    border-radius: 50px;
    width: 10px;
    height: 10px;
}

.deco-title span:nth-child(1) {
    background: #ca182d;
}

.deco-title span:nth-child(2) {
    background: #011958;
}

.deco-title span:nth-child(3) {
    background: #ffffff;
}

section.parfum {
    background: #ffc100;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
    margin: 5rem 0;
}

section.parfum h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

section.parfum h4 {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'bodrumSweet-Bold';
}

section.parfum .listproduit {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.25rem;
    max-width: 100%;
}

section.parfum .listproduit .produitblock,
section.parfum .listproduit .produitblock img.parfum {
    width: 125px;
    height: auto;
}

section.parfum .listproduit .produitblock img.produit {
    height: 250px;
    filter: drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.5));
}

section.parfum .listproduit .produitblock {
    display: flex;
    justify-content: center;
    align-items: start;
    position: relative;
    height: fit-content;
}

section.parfum .listproduit .produitblock img.parfum {
    position: absolute;
    bottom: 0px;
    filter: drop-shadow(-5px 5px 2px rgba(0, 0, 0, 0.185));
}

section.parfum .listproduit .produitblock img.produit.mini {
    height: 240px;
}

.inclineright {
    transform: rotate(8deg);
    margin-left: 39px;
}

.inclineleft {
    transform: rotate(-5deg);
}

a.achetermaintenant {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background: linear-gradient(90deg, rgba(124, 196, 60, 1) 30%, rgba(60, 196, 85, 1) 100%);
    z-index: 9999;
    color: #fff;
    border-radius: 7px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    flex-wrap: nowrap;
    width: fit-content;
    overflow: hidden;
    gap: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0px 5px 15px rgba(73, 73, 73, 0.15);
    transition: all 0.3s;
}

a.achetermaintenant:hover {
    gap: 1.3rem;
}

a.achetermaintenant::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 2px;
    border-radius: 5px;
    background: #fff;
    bottom: 16px;
    right: 64px;
    transition: all 0.3s;
}

a.achetermaintenant::before {
    content: '';
    position: absolute;
    width: 0px;
    height: 3px;
    border-radius: 5px;
    background: #fff;
    bottom: 20px;
    right: 64px;
    transition: all 0.3s;
}

a.achetermaintenant:hover::after {
    width: 12px;
}

a.achetermaintenant:hover::before {
    width: 5px;
}

a.achetermaintenant span {
    margin: 0px;
}

a.achetermaintenant img {
    width: 30px;
    height: auto;
}

.flexcenter {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
}

.flexcenter div.kcal span {
    margin: 0px;
}

.flexcenter div.kcal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 125px;
    height: 85px;
    clip-path: polygon(85% 0, 100% 50%, 85% 100%, 0% 100%, 15% 50%, 0% 0%);
    background: #fff;
    color: #ffc100;
    font-weight: 800;
    font-size: 20px;
    flex-direction: column;
    gap: 0px;
}

.flexcenter div.kcal span.nbr {
    font-size: 2rem;
    margin-bottom: -15px;
}

.flexcenter div.proteines {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 175px;
    height: 115px;
    clip-path: polygon(85% 0, 100% 50%, 85% 100%, 0% 100%, 15% 50%, 0% 0%);
    background: #e00034;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    flex-direction: column;
    gap: 0px;
    margin-left: -10px;
}

.flexcenter div.proteines span.nbr {
    font-size: 4rem;
}

.flexcenter div.proteines span.unity {
    font-size: 2rem;
}

.flexcenter div.proteines div {
    margin-bottom: -20px;
    margin-top: -15px;
}

@media (max-width: 991px) {
    .background-delical img.logo-delical {
        height: 75px;
        top: 35%;
        left: 7rem;
    }

    .m-t-5 {
        margin-top: 1rem !important;
    }

    section.parfum .listproduit .produitblock,
    section.parfum .listproduit .produitblock img.parfum {
        width: 85px;
        height: fit-content;
    }

    section.parfum .listproduit .produitblock img.produit.mini {
        height: 190px;
    }

    section.parfum .listproduit {
        gap: 0.75rem;
    }

    section.parfum .listproduit .produitblock img.produit {
        height: 200px;
    }

    a.achetermaintenant {
        width: 100%;
        justify-content: center;
        right: 0;
        left: 0;
        bottom: 0;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: 0px -5px 15px rgba(73, 73, 73, 0.25);
    }

    a.achetermaintenant::after {
        height: 0;
    }

    a.achetermaintenant::before {
        height: 0;
    }

    a.achetermaintenant:hover {
        gap: 1rem;
        background: linear-gradient(90deg, rgb(108, 175, 49) 30%, rgb(43, 167, 65) 100%);
        transition: all 0.3s;
    }
}

@media (max-width: 768px) {
    .background-delical img.logo-delical {
        top: 35%;
        left: 2rem;
    }

    .stattext,
    .solution {
        align-items: center;
        padding: 0 2rem;
    }

    .statgraph {
        padding: 0 3rem;
        margin-top: 1.5rem;
    }

    .stattext .explication-next {
        text-align: center;
    }

    .deco {
        top: 75vh;
        right: 4rem;
        width: 80px;
        height: 95px;
    }

    .deco span:nth-child(1) {
        width: 60px;
        height: 60px;
        top: 0;
        right: 0;
        background: #ca182d;
    }

    .deco span:nth-child(2) {
        width: 30px;
        height: 30px;
        bottom: 0;
        right: 40px;
        background: #011958;
    }

    .deco span:nth-child(3) {
        width: 15px;
        height: 15px;
        top: 45px;
        left: 0px;
        background: #cec81c;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    p.explication span {
        font-size: 1.5rem;
    }

    section.parfum .listproduit .produitblock,
    section.parfum .listproduit .produitblock img.parfum {
        width: 100px;
        height: fit-content;
    }

    section.parfum .listproduit .produitblock img.produit.mini {
        height: 210px;
    }

    section.parfum .listproduit {
        gap: 1rem;
    }

    section.parfum .listproduit .produitblock img.produit {
        height: 220px;
    }

    .inclineright {
        margin-left: 15px;
    }

    .padding-mobile {
        padding: 3rem;
    }
}

@media (max-width: 520px) {
    .background-delical img.logo-delical {
        height: 55px;
        top: 5rem;
        left: 1rem;
    }

    .background-delical h4 {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: fit-content;
        margin: 0 auto;
        margin-bottom: 0px;
        max-width: 80%;
        margin-bottom: 1rem;
    }

    .background-delical {
        height: 80vh;
        --c: 40px;
    }

    .background-delical a {
        margin-bottom: 3rem;
        padding: 1rem 1.5rem;
        font-size: 0.90rem;
    }

    .deco {
        top: 70vh;
        right: 2rem;
        width: 65px;
        height: 77px;
    }

    .deco span:nth-child(1) {
        width: 50px;
        height: 50px;
        top: 0;
        right: 0;
        background: #ca182d;
    }

    .deco span:nth-child(2) {
        width: 25px;
        height: 25px;
        bottom: 0;
        right: 30px;
        background: #011958;
    }

    .deco span:nth-child(3) {
        width: 12px;
        height: 12px;
        top: 38px;
        left: 0px;
        background: #cec81c;
    }

    section.parfum .listproduit .produitblock,
    section.parfum .listproduit .produitblock img.parfum {
        width: 70px;
        height: fit-content;
    }

    section.parfum .listproduit .produitblock img.produit.mini {
        height: 170px;
    }

    section.parfum .listproduit {
        gap: 0.5rem;
    }

    section.parfum .listproduit .produitblock img.produit {
        height: 180px;
    }

    .inclineright {
        margin-left: 15px;
    }

    .delical-commander a.commande {
        background: #74a339;
        padding: 0.65rem 1rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
}