body{
    margin: 0;
    font-family: Poppins;
    height: fit-content;

}

@media screen and (max-width:500px){
    body{
        width: fit-content;
    }
}

MArquee{
    scroll-behavior: auto;
    position: absolute;
    bottom: -70%;
}

@media screen and (max-width:500px){
    MArquee{
        scroll-behavior: auto;
        position: absolute;
        bottom: -270%;
    }
}

.container{
    width: 900px;
    margin: auto;
    max-width: 90vw;
    text-align: center;
    padding-top: 10px;
    transition: transform .5s;
}
svg{
    width: 30px;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
.icon-cart{
    position: relative;
    cursor: pointer;
}

@media screen and (max-width:500px){
    .icon-cart{
        position: absolute;
        right: 30px;
        top: 135px;
        cursor: pointer;
    }
}

.icon-cart span{
    position: absolute;
    background-color: red;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    top: 50%;
    right: -20px;
}
.title{
    font-size: xx-large;
}
.listProduct .item img{
    width: 90%;
    filter: drop-shadow(0 50px 20px #0009);
}
.listProduct{
    display: grid;
    grid-template-columns: repeat(4,1fr) ;
    gap: 20px;
}



.listProduct .item{
    background-color: #fdc673;
    padding: 20px;
    border-radius: 20px;
}



.listProduct .item h2{
    font-weight: 500;
    font-size: large;
}
.listProduct .item .price{
    letter-spacing: 7px;
    font-size: small;
}
.listProduct .item button{
    background-color: #353432;
    color: #eee;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 20px;
    cursor: pointer;
}

/* cart */
.cartTab{
    width: 400px;
    background-color: #353432;
    color: #eee;
    position: fixed;
    top: 0;
    right: -400px;
    bottom: 0;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    transition: .5s;
}
body.showCart .cartTab{
    right: 0;
}
body.showCart .container{
    transform: translateX(-200px);
}
.cartTab h1{
    padding: 20px;
    margin: 0;
    font-weight: 300;
}
.cartTab .btn{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.cartTab button{
    background-color: #E8BC0E;
    border: none;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
}
.cartTab .close{
    background-color: #eee;
}

/*---------------------------------------------------------------------------*/
/* MESSAGE ACHAT VALIDE */
/*---------------------------------------------------------------------------*/


.cartTab .popup{
    width: 400px;
    background-color:#fff;
    border-radius: 6px;
    position: absolute;
    top: 0;
    right: 110%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 0 30px 60px;
    color: #333;
    visibility: hidden;
    transition: tranform 0.4s, top 0.4s;
}

@media screen and (max-width:500px){
    .cartTab .popup{
        width: 400px;
        background-color:#fff;
        border-radius: 6px;
        position: absolute;
        top: 0;
        right: -50%;
        transform: translate(-50%, -50%) scale(0.1);
        text-align: center;
        padding: 0 30px 60px;
        color: #333;
        visibility: hidden;
        transition: tranform 0.4s, top 0.4s;
    }
}


.cartTab .open-popup{
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}

.cartTab .popup p{
    color: black;
    text-align: center;
    align-items: center;
}

.cartTab .popup h2{
    font-size: 38px;
    font-weight: 500;
    margin: 30px 0 10px;
}

.cartTab .popup img{
    width: 200px;
    margin-top: -70px;
    border-radius: 50%;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
}

.cartTab .popup button{
    width: 100px;
    margin-top: 50px;
    padding: 10px 0;
    background: #6fd649;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.listCart .item img{
    width: 100%;
}
.listCart .item{
    display: grid;
    grid-template-columns: 70px 150px 50px 1fr;
    gap: 10px;
    text-align: center;
    align-items: center;
}
.listCart .quantity span{
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #eee;
    border-radius: 50%;
    color: #555;
    cursor: pointer;
}
.listCart .quantity span:nth-child(2){
    background-color: transparent;
    color: #eee;
    cursor: auto;
}
.listCart .item:nth-child(even){
    background-color: #eee1;
}
.listCart{
    overflow: auto;
}
.listCart::-webkit-scrollbar{
    width: 0;
}
@media only screen and (max-width: 992px) {
    .listProduct{
        grid-template-columns: repeat(3, 1fr);
    }
}


/* mobile */
@media only screen and (max-width: 768px) {
    .listProduct{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 500px) {
    .listProduct{
        position: absolute;
        top: 220px;
        left: 100px;
        grid-template-columns: repeat(1,1fr);
    }
}

img {
    height: 210px;
}





/*---------------------------------------------------------------------------*/
/* MENU DE PAGES */
/*---------------------------------------------------------------------------*/
ul{
    position: absolute;
    top: 0%;
    left: 0%;
    right: 0%;
    list-style-type: none ;
    margin: 0;
    padding: 0;
    width: auto;
    background-color: #283645;
    overflow: hidden;
}
li{
    float: left;
    font-family: cursive;
}


li a{


    color: white;
    padding: 20px;
    text-decoration: none;
    display: block;
}
li a:hover{
    background-color: #23b8f3;
}

/*---------------------------------------------------------------------------*/
/* ANIMATION ENTREE DE PAGE */
/*---------------------------------------------------------------------------*/


@font-face {
    font-family: "Snowinter";
    src: url("polices/Snowinter-Free-For-Personal-Use.ttf");
}


.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 110px 20px 0;
}

@media screen and (max-width:800px){
    .container {
        max-width: 1600px;
        margin: 0 auto;
        padding: 110px 20px 0;
    }
}

p {
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 900;
    color: transparent;
    font-size: 0px;
}
p span {
    display: inline-block;
    position: relative;
    font-family: "Snowinter";
    overflow: hidden;
    font-size: clamp(20px, 8vw, 120px);
}
p span::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateY(-100%);
}
p:nth-child(1) {
    font-weight: 300;
    animation: txt-appearance 0s 1s forwards;
}


p:nth-child(1) span::after {
    background: #ffffff;
    animation: slide-in 0.75s ease-out forwards,
    slide-out 1s 1s ease-out forwards;
}




@keyframes slide-in {
    100% {
        transform: translateY(0%);
    }
}
@keyframes slide-out {
    100% {
        transform: translateY(100%)
    }
}
@keyframes txt-appearance {
    100% {
        color: #ffffff;
    }
}


/*---------------------------------------------------------------------------*/
/* Background */
/*---------------------------------------------------------------------------*/


:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
 
    color: black;
    background-color: rgb(241, 188, 126);
 
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
 
 
  .bouncing-blob {
    width: 32vw;
    aspect-ratio: 1;
    border-radius: 50%;
    will-change: transform;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    transform-origin: left top;
  }
 
  .bouncing-blob--blue {
    background: #fcd98d;
  }
 
  .bouncing-blob--white {
    background: #ffdaa3;
    z-index: 2;
    width: 15vw;
  }
 
  .bouncing-blob--purple {
    background: #d1984d;
  }
 
  .bouncing-blob--pink {
    background: #e9c15450;
  }
 
  .bouncing-blobs-container {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
 
  .bouncing-blobs-glass {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(140px);
    -webkit-backdrop-filter: blur(140px);
    pointer-events: none;
  }
 
  .bouncing-blobs {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
 
 
  @media (max-width: 1200px) {
    .bouncing-blobs-glass {
      backdrop-filter: blur(120px);
      -webkit-backdrop-filter: blur(120px);
    }
  }
 
  @media (max-width: 500px) {
    .bouncing-blob {
      width: 60vw;
    }
    .bouncing-blob--white {
      width: 30vw;
    }
    .bouncing-blobs-glass {
      backdrop-filter: blur(90px);
      -webkit-backdrop-filter: blur(90px);
    }


  }


  .menu-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    background-color: #d13fb9;
    border: none;
    border-radius: 25px; /* Bords arrondis */
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu-button:hover {
    background-color: #992ac5;
    transform: scale(1.1);
}