body {
    margin: 0;
    background-color: #121212;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: rgb(0 0 0 / 40%);
}

::-webkit-scrollbar-thumb {
    background-color: #dfdfdf;
    border-radius: 10px;
}

.welcomeback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45%;
    height: max-content;
    outline: solid 1px #ffffff1a;
    outline-offset: -1px;
    border-radius: 21px;
    background-color: #1b181e;
    z-index: 99;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    box-shadow: 0px 4px 53.1px 0px #000;
}

.image-overlay {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000a6;
    z-index: 89;

    display: flex;
    align-items: center;
    justify-content: center;

    display: none;
}

.image-overlay img {
    width: 80%;
    outline: solid 1px #ffffff3b;
    outline-offset: -1px;
    border-radius: 13px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.5s;
    object-fit: cover;
}

.image-overlay .close {
    outline: solid 1px #ffffffb2;
    outline-offset: -1px;
    border-radius: 8px;
    background-color: #9264c7;
    padding: 15px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 2rem;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000a6;
    z-index: 89;
}
.welcomeback h1 {
    margin: 0;
    width: max-content;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.welcomeback p {
    margin: 0;
    width: 90%;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 300;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.header {
    position: relative;
    width: 100%;
    height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header.offset {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    height: auto;
    padding-top: calc(40px + 100px);
}


.header.offset h2 {
    margin-bottom: 30px;
}

.header span {
    color: #9747ff;
}

.header h1 {


    height: max-content;
    width: max-content;

    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    margin: 0;
    padding: 0;

    text-shadow: 0px 0px 20px #000;}

.header h2 {
    height: max-content;
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    margin: 0;
    padding: 0;
    width: 80%;
    text-align: center;

    text-shadow: 0px 0px 20px #000;
}

.header .buttons {
    gap: 10px;
    display: flex;
    margin-top: 20px;
}

.header .buttons div {
    box-shadow: 0px 4px 53.1px 0px #000;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.header video {
    object-fit: cover;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    filter: blur(10px);
    opacity: 0.2;
    animation: fade 2s cubic-bezier(.46, .43, .1, .99) forwards;
}

.button-primary {
    outline: solid 1px #ffffffb2;
    outline-offset: -1px;
    border-radius: 8px;
    background-color: #9264c7;
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    cursor: pointer;
    width: max-content;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.2s;
}

.button-primary:hover {
    background-color: #9f75cd;
}

.button-secondary {
    outline: solid 1px #ffffffb2;
    outline-offset: -1px;
    border-radius: 8px;
    background-color: #fff;
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    color: #9264c7;
    font-size: 20px;
    font-weight: 500;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    cursor: pointer;
    width: max-content;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.2s;
}

.button-secondary:hover {
    background-color: #ccc;
}


.offers {
    position: relative;
    width: 100%;
    height: max-content;
    background-color: #1b181e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 50px;
    padding-top: 50px;
    flex-direction: column;
}

.offers .ship {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    width: 100%;
    text-align: center;
}

.offers .ship a {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    width: 100%;
    text-align: center;
}

.offers .title {
    color: #fff;
    font-size: 48px;
    font-weight: 500;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    margin: 0;
    padding: 0;
    margin-top: 50px;
    margin-bottom: 50px;
}

.offers .offers-list {
    width: 70%;
    height: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-content: flex-start;
    padding-bottom: 20px;
    z-index: 1;
}

.offers .offers-list .offer-item {
    outline: solid 1px #ffffff1a;
    outline-offset: -1px;
    border-radius: 21px;
    background-color: #1b181e;
    width: max-content;
    padding: 15px;
    cursor: default;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: max-content;

    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.offers .offers-list .offer-item.new {
    position: relative;
}

.offers .offers-list .offer-item.new::before {
    content: "NOUVEAU";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #9264c7;
    color: #fff;
    padding: 5px 10px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 9px;
    font-size: 1rem;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.5s;
}


.offers .offers-list .offer-item.new:hover::before {
    transform: scale(1.1) translate(-7px, 5px);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.offers .offers-list .offer-item.promo {
    position: relative;
}

.offers .offers-list .offer-item.promo::before {
    content: "-30%";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #9264c7;
    color: #fff;
    padding: 5px 10px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 9px;
    font-size: 1rem;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.5s;
}


.offers .offers-list .offer-item.promo:hover::before {
    transform: scale(1.1) translate(-7px, 5px);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}


.offers .offers-list .offer-item:hover {
    transform: translateY(-10px);
    background-color: #222128;
}

.offers .offers-list .offer-item h1 {
    color: #fff;
    font-size: 2rem;
    width: 95%;
    font-weight: bold;
    margin: 0;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.offers .offers-list .offer-item h2 {
    font-size: 2rem;
    color: #9264c7;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    margin: 0;
    width: 95%;
    font-weight: 500;
}


.offers .offers-list .offer-item p {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    width: 100%;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.offers .offers-list .offer-item .small {
    font-weight: 200;
    margin-left: 10px;
    color: white;
}

.offers .offers-list .offer-item .cut {
    font-weight: 200;
    color: white;
    text-decoration: line-through;
}

.categories {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.categories .subtitle {
    color: #9747ff;
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    margin-top: 50px;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.categories .title {
    margin: 0;
    color: #fff;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 50px;
    text-align: center;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.categories .categories-list {
    height: 70%;
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.categories .categories-list .category-item {
    outline: solid 1px #ffffff1a;
    outline-offset: -1px;
    border-radius: 21px;
    background-color: #1b181e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25%;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.2s;
    min-height: max-content;
    height: 80%;
}

.categories .categories-list .category-item > * {
    cursor: default;
}

.categories .categories-list .category-item:hover {
    transform: translateY(-10px);
    background-color: #222128;
}

.categories .categories-list .category-item i {
    color: #9264C7;
    font-size: 90px;
    padding-bottom: 30px;
    padding-top: 30px;
}

.categories .categories-list .category-item h1 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.categories .categories-list .category-item h2 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    margin-top: 20px;
    font-weight: 300;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    width: 75%;
    text-align: center;
    padding-bottom: 30px;
}



.button-order {
    outline: solid 1px #ffffffb2;
    outline-offset: -1px;
    border-radius: 8px;
    background-color: #9264c7;
    padding: 20px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    cursor: pointer;
    width: max-content;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.2s;
    width: 80%;
    text-align: center;
}

.button-order:hover {
    background-color: #9f75cd;
}


.panel {
    position: relative;
    width: 100%;
    height: 40vh;
    background-color: #1b181e;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.panel .panel-container {
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.panel .panel-content {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel .panel-content .panel-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: 10px;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.panel .panel-content .panel-description {
    color: #fff;
    font-size: 0.8rem;
    margin: 0;
    font-weight: 300;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.panel .panel-content .features-list {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    gap: 0px 30px;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-item {
    flex: 1 1 calc(33.33% - 10px); /* Chaque élément prend environ un tiers de la largeur */
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item.jump {
    clear: left; /* Force un saut de ligne après le troisième élément */
}

.panel .panel-content .features-list .feature-item i {
    color: #9264c7;
    font-size: 1.6rem;
}

.panel .panel-content .features-list .feature-item p {
    height: max-content;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 300;
    font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

.panel .panel-slider {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.panel .panel-slider .panel-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.panel .panel-slider .panel-slider-container .panel-slider-content {
    height: 80%;
    width: 70%;
    display: flex;
    align-items: center;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.2s;

}

.panel .panel-slider .panel-slider-container .panel-slider-content img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
    outline: solid 1px #ffffff3b;
    outline-offset: -1px;
    border-radius: 13px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.5s;
    cursor: pointer;
}

.panel-slider .panel-slider-arrow {
    outline: solid 1px #ffffffb2;
    outline-offset: -1px;
    border-radius: 8px;
    background-color: #9264c7;
    padding: 15px;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
    transition: all cubic-bezier(.46, .43, .1, .99) 0.2s;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}   
.panel-slider .panel-slider-arrow:hover {
    transform: scale(1.1);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

@media (max-width: 642px) {
    .header h1 {
        font-size: 2rem;
    }

    .header h2 {
        font-size: .7rem;
    }
}

@media (max-width: 1000px) {
    .panel .panel-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100vw;
    }

    .panel .panel-content {
        margin-top: 30px;
    }

    .panel .panel-slider {
        width: 100%;
        height: min-content;
    }

    .panel {
        height: 70vh;
    }

    .panel .panel-content {
        width: 80%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .panel .panel-content .features-list {
        display: flex;
        flex-wrap: wrap;
        width: 80%;
        gap: 0px 30px;
        align-items: center;
        justify-content: center;
    }

    .panel .panel-slider .panel-slider-container .panel-slider-content img {
        height: fit-content;
    }
}

@media (max-width: 1340px) {

    .welcomeback {
        width: 85%;
    }
}



@media (max-width: 720px) {
    .welcomeback p {
        text-align: center;
        font-size: 4vw;
    }
    .welcomeback h1 {
        font-size: 5vw;
    }
}

@media (max-width: 470px) {
    .offers .offers-list .offer-item.new::before {
        top: 10px;
        right: 10px;
        font-size: 0.8rem;
    }

    .header h1 {
        font-size: 1.6rem   ;
    }
}

@media (max-height: 902px) {
    .panel {
        height: 75vh;
    }
}


@media (max-height: 868px) {
    .panel {
        height: max-content;
        padding-bottom: 20px;
    }
}
