@import url("https://use.typekit.net/uar5anb.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5E503F;
    --secondary: #C6AC8F;
    --tertiary: #EAE0D5;
    --quaternary: #22333B;
    --color-text: #0A0908;
    --color-body: #F5F5F5;
    --color-black: #ececec;
    --nav-height: 3.5rem;
    --nav-width: 100%;
    --blocDemi: 30rem;
    --title-font: "indivisible-variable", sans-serif;
    --design-font: "neighbor", sans-serif;;
}

::-webkit-scrollbar {
    width: 1.2rem;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    margin-block-start: 2.5rem;
    border-radius: 100vw;
}

::-webkit-scrollbar-thumb {
    background-color: #cecece;
    border-radius: 100vw;
    border: rgb(250, 250, 250) solid 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #808080;
}

body {
    position: relative;
    color: var(--color-text);
    text-align: center;
    background-color: var(--color-body);
}

img{
    background-repeat: no-repeat;
    object-fit: cover;
    z-index: -2;
}

h1 {
    font-family: var(--title-font);
    font-variation-settings: "wght" 200;
    font-style: normal;
    font-size: 2.5rem;
    line-height: 1.5em;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1em;
}

@media screen and (max-width: 768px){
    h1 {
        font-variation-settings: "wght" 400;
    }
}

h2 {
    font-family: "indivisible-variable", sans-serif;
    font-variation-settings: "wght" 500;
    font-style: normal;
    font-size: 1.5rem;
    color: var(--secondary);
    line-height: 1.3em;
    margin-bottom: 1em;
}

h3 {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    color: var(--quaternary);
    font-weight: 700;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5em;
    margin-bottom: 2rem;
}

p {

    font-family: var(--title-font);
    font-variation-settings: "wght" 300;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5em;
}

.black{
    background-color: var(--color-black);
}

.black p, .black h1, .black h2, .black h3{
    color: var(--color-text);
}

.indice{
    font-size: .7em;
}

.container {
    position: relative;
    width: 100%;
    max-width: 2560px;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (max-width: 768px){
    .container {
        position: relative;
    }
}

.menu-hamburger {
    display: none;
    width: 3rem;
    position: fixed;
    top: calc(50%);
    transform: translateY(-50%);
    left: calc(100% - 3em);
    cursor: pointer;
}

.nav-block.mobile-menu {
    margin-left: 0vw;
    transition: ease-out 0.2s;
}

nav {
    position: fixed;
    width: var(--nav-width);
    background-color: var(--tertiary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    top: 0;
    height: var(--nav-height);
}
#premiernavlien {
    position: absolute;
    left: 0rem;
    margin: 0 1rem;
    height: var(--nav-height);
    width: calc(var(--nav-height) - 1rem);
    display: flex;
    align-items: center;
    z-index: 1000000;
}

#premiernavlien img{
    position: relative;
    width: 100%;
    margin: auto;
}

nav .navnav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--nav-height);
}

.nav-links {
    list-style: none;
    position: relative;
    margin: 0 1.5rem;
    line-height: 0;
}

#banknavlien {
    position: absolute;
    right: 0;
    margin: 0 1rem;
    display: flex;
    height: var(--nav-height);
    padding: .5rem 0;
}

nav .navPanier{
    position: relative;
    overflow: hidden;
    margin-left: 1rem;
    height: calc(var(--nav-height) - 1rem);
}


nav .navPanier #logoPanier{
    height: 100%;
}

nav a {
    text-decoration: none;
    transition: .5s;
    font-family: var(--design-font);
    font-weight: 700;
    color: var(--quaternary);
}


.buttonNav:hover{
    text-decoration: none;
}

.buttonNav{
    position: relative;
    min-height: none;
    padding: .3rem 1rem;
    border: none;
    border-radius: 12px;
    background-color: var(--color-body);
    cursor: pointer;
    color: var(--tertiary);
    transition: .2s;
}

@media screen and (max-width: 768px) {

    .menu-hamburger {
        display: block;
    }

    nav {
        position: fixed;
        width: 100%;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 100;
    }

    .nav-block {
        position: absolute;
        margin-top: var(--nav-height);
        width: 100%;
        height: calc(100vh - var(--nav-height));
        margin-left: -100vw;
        background-color: rgba(255, 255, 255, 0.9);
        transition: ease-out 0.3s;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    nav .navnav {
        display: flex;
        flex-direction: column;
        top: var(--nav-height);
        transform: translateY(-0%);
        display: block;
        justify-content: center;
        align-items: baseline;
    }

    .nav-links {
        margin: 3em 1em;
    } 

    #premiernavlien {
        position: absolute;
        left: 0rem;
        margin: 0 1rem;
        height: var(--nav-height);
    }

    #premiernavlien img{
        position: relative;
        width: 100%;
        margin: auto;
    }

    #banknavlien {
        position: relative;
        right: auto;
        transform: auto;
        display: flex;
        justify-content: center;
        height: var(--nav-height);
        padding: .4rem 0;
    }
}

a {
    color: var(--color-text);
    text-decoration: underline;
    font-family: var(--title-font);
    font-variation-settings: "wght" 500;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5em;
}

a:hover {
    text-decoration: none;
}

.texteseul{
    margin: 2rem 5rem;
    text-align: center;
}

@media screen and (max-width: 768px){
    .texteseul{
        margin: 2rem 1rem;
    }
}

strong{
    color: var(--primary);
    font-variation-settings: "wght" 600;
}

header{
    position: relative;
    height: var(--nav-height);
    width: var(--nav-width);
    margin-bottom: 2rem;
}

.full{
    padding: 2rem 2rem;
    position: relative;
}

.visu {
    overflow: hidden;
    background-color: var(--tertiary);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visu img{
    width: 100%;
    height: 100%;
}

footer {
    background-color: var(--tertiary);
    margin: 0 2rem;
    border-start-start-radius: 24px;
    border-start-end-radius: 24px;
    margin-top: 2rem;
    padding: 2rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

@media screen and (max-width: 768px){
    footer {
        background-color: var(--tertiary);
        margin: 0 2rem;
        border-start-start-radius: 24px;
        border-start-end-radius: 24px;
        margin-top: 2rem;
        margin-bottom: -2rem;
        padding: 2rem;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
}

.logoFooter{
    width: 5rem;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.logoFooter img{
    width: 100%;
}

.link {
    margin-bottom: 1rem;
}

.link a {
    margin: 0 1rem;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.linkRS {
    display: flex;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.unRS {
    margin: 0 1rem;
    width: 4rem;
    height: 4rem;
    border: var(--secondary) 2px solid;
    border-radius: 50%;
    padding: .5rem;
    display: flex;
    justify-items: center;
    justify-content: center;
}

.unRS img{
    width: 100%;
    transition: .1s;
    z-index: 10;

}

.onePage{
    min-height: calc(100vh - var(--nav-height));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.onePage h1, .onePage h2, .onePage h3, .onePage p{
    font-size: 3rem;
    color: var(--color-body);
    text-shadow: black 5px 5px 10px;
}

.background{
    position: absolute;
    margin: -2rem 0 0 -2rem;
    top: 0;
    left: 0;
    min-width: calc(100% + 4rem);
    min-height: calc(100% + 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -3;
}

.background img{
    width: 100%;
    height: 100%;
}

.bloc {
    position: relative;
    background-color: #f4f4f4;
    border-radius: 24px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 1.5rem;
    margin: 1rem;
    display: flex;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .bloc {
        max-width: 100%;
        margin: 1rem;
    }
}

button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    border-radius: 12px;
    border: none;
    z-index: 5;
    transition: .3s;
    font-family: var(--design-font);
    background-color: var(--secondary);
    padding: .5rem 1.5rem;
    min-height: 2.5rem;
}

table{
    font-family: var(--title-font);
    line-height: 1.2em;
}

table th{
    padding-bottom: 1rem;
}

.controls {
    position: sticky;
    top: var(--nav-height);
    width: 100%;
    height: var(--nav-height);
    padding: .5rem 0;
    z-index: 20;
    margin-bottom: 2rem;
}

.controls button {
    
    border-radius: 12px;
    border: none;
    font-family: var(--design-font);
    background-color: transparent;
    padding: .5rem 1.5rem;
    min-height: 2.5rem;
    margin: 0 1rem;

}

.controls button:hover {
    background-color: var(--tertiary);
}

.controls button.active {
    background-color: var(--primary);
    color: var(--color-body);
}

.tableRemise{
    border-radius: 12px;
    border: 0px solid var(--secondary);
    padding: 1rem;
    font-size: .8em;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;

}

.tableRemise th:nth-child(1) {
    width: 70%;
}
  
.tableRemise th:nth-child(2) {
    width: 30%;
}

::placeholder{
    color: white;
}

::-ms-value {
    color: white;
}

.bloc:nth-last-child(1) {
    margin: 0 0rem 1rem 0;
}

.bloc:first-child {
    margin: 0 1rem 1rem 0;
}

@media screen and (max-width: 768px) {

    .bloc:nth-last-child(1) {
        margin: 1rem;
    }

    .bloc:first-child {
        margin: 1rem;
    }
}

.blocUnique {
    min-height: 17rem;
    width: 15rem;
}

.blocUnique h3 {
    margin-bottom: 1rem;
}

.bottomBloc {
    position: absolute;
    width: calc(100% - 1.4rem);
    top: calc(100% - .7rem);
    left: 50%;
    transform: translate(-50%, -100%);
}

.bottomBloc img {
    margin-top: .4rem;
    margin-bottom: -0.8rem;
    height: 2rem;
}

.blocDemi {
    height: 18rem;
    width: var(--blocDemi);
}

.blocPhotoPetit{
    padding: 0;
    width: 15rem;
    height: 20rem;
}

.time{
    position: absolute;
    transition: .3s;
    color: var(--primary);
    text-align: left;
    top: calc(100% - 1rem);
    transform: translateY(-100%);
}

.time p:nth-child(1){
    font-size: .8rem;
}

.teasEvent {
    text-align: left;
    position: relative;
    justify-content: space-between;
}

.infoTeasEvent{
    position: relative;
    background-color: var(--color-body);
    width: calc(50% + 2rem);
    left: -2rem;
    top: -2rem;
    height: calc(100% + 4rem);
    padding: 2rem;
}

.teasEvent .theDate{
    position: relative;
    font-family: var(--title-font);
    width: fit-content;
    font-size: 1.5rem;
    font-variation-settings: "wght" 900;
    line-height: 1em;
    filter:brightness(1.1);
}

.teasEvent a button{
    position: absolute;
    top: calc(100% - 0rem);
    left: calc(50% - 0rem);
    transform: translate(-0%, -100%);
    box-shadow: rgba(100, 100, 111, 0.795) 0px 7px 29px 0px;
    overflow: hidden;
    color: var(--color-body);
    background-color: var(--quaternary);
    font-size: 1.2rem;
    line-height: 0;
    width: calc(50% - 2rem);
    margin: -1rem 1rem;
}

.visuTeasEvent {
    position: absolute;
    width: calc(50% + 2rem);
    left: 50%;
    top: -2rem;
    height: calc(100% + 4rem);
    overflow: hidden;
}

.countdown {
    display: flex;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--title-font);
}

.visuBloc {
    position: absolute;
    width: 3rem;
    top: .5rem;
    left: .5rem;
}

.visuBloc img {
    width: 100%;
}

.visuBloc p {
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    font-size: 5rem;
    color: var(--secondary);
    font-weight: 700;
    opacity: .2;
    letter-spacing: -12px;
}

.blocUnique button {
    position: absolute;
    top: calc(100% - .7rem);
    left: 50%;
    transform: translate(-50%, -100%);
    width: calc(100% - 1.4rem);
}

#solutionParents {
    width: 28rem;
}

.blocFull{
    width: calc(100% - 6rem);
    min-height: 5rem;
}

.blocAuto{
    width: fit-content;
    height: auto;
}

.blocAuto button {
    position: relative;
    left: 50%;
    transform: translate(-50%, -0%);
    width: calc(100% - 1.4rem);
    transition: .3s;
}

@media screen and (max-width: 768px) {
    #solutionParents {
        width: 100%;
        height: auto;
    }

    #connexion {
        width: 100%;
        height: auto;
    }
}

.respecterPhotos {
    text-align: center;
    margin-bottom: 2rem;
}

#connexion p {
    margin-bottom: 3rem;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.column{
    flex-direction: column;
}

.space-between{
    justify-content: space-between;
}

.space-around{
    justify-content: space-around;
}

.left{
    justify-content: left;
}

.text-left{
    text-align: left;
}

.text-right{
    text-align: left;
}

.right{
    justify-content: right;
}

.align-center{
    align-items: center;
}

.align-bottom{
    align-items:end;
}

.nowrap{
    flex-wrap: nowrap;
}

.marginDeux{
    margin: 2rem 0;
}

@media screen and (max-width: 768px) {
    .flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nowrap{
        flex-wrap: wrap;
    }
}

.avanceTemps {
    display: flex;
    justify-content: space-between;
    border-top: var(--primary) 2px solid;
    margin: 0 2rem;
    margin-top: 4rem;
}

.unTemps {
    position: relative;
    text-align: left;
    padding-top: 2rem;
    margin-right: 4rem;
    max-width: 17rem;
}

.unTemps:nth-last-child(1) {
    margin-right: 0rem;
}

.pointRepere {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    top: 0%;
    left: 2.5rem;
    transform: translate(-50%, -50%);
    background-image: url(img/pointRepere.svg);  
}

.visuAvancer {
    position: absolute;
    width: 4rem;
    top: -4rem;
    left: 2.5rem;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px) {
    .avanceTemps {
        display: flex;
        flex-direction: column;
        justify-content: left;
        margin-top: 0;
        border-top: none;
        border-left: var(--primary) 2px solid;
        margin-bottom: 2rem;
    }

    .unTemps {
        position: relative;
        padding-top: 0rem;
        margin-right: 0rem;
        margin-bottom: 4rem;
        padding-left: 5rem;
        max-width: 100%;
    }

    .unTemps:nth-last-child(1) {
        margin-right: 0rem;
        margin-bottom: 0rem;
    }

    .pointRepere {
        position: absolute;
        width: 1.5rem;
        top: 50%;
        left: 0%;
        transform: translate(-50%, -50%);
    }

    .visuAvancer {
        position: absolute;
        width: 3rem;
        top: 50%;
        left: 2.5rem;
        transform: translate(-50%, -50%);
    }

}


.unSerpent {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 2rem;
}

.blocSerpent {
    padding: 2rem;
    width: 40rem;
    max-width: 100%;
}

.blocSerpentar {
    padding: 0rem;
    width: 15rem;
    margin: 1rem;
    max-width: 100%;
}

.blocGros {
    height: 30rem;
    width: 25rem;
}

@media screen and (max-width: 768px) {

    .blocSerpent {
        padding: 0;
        width: 100%;
    }

    .blocSerpentar {
        text-align: center;
        margin: 1rem auto;
    }
    
    .blocGros {
        height: 20rem;
        width: 100%;
    }

}

.blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blobs video {
    position: absolute;
    width: 20rem;
    z-index: -200;
}

.blobs video:nth-child(1) {
    top: 10vh;
    left: 10vw;
    transform: translate(-50%, -50%);
}

.blobs video:nth-child(2) {
    top: 35vh;
    left: 90vw;
    transform: translate(-50%, -50%);
}

.blobs video:nth-child(3) {
    top: 95vh;
    left: 20vw;
    transform: translate(-50%, -50%);
}

.blobs video:nth-child(4) {
    top: 110vh;
    left: 10vw;
    transform: translate(-50%, -50%);
}

.blobs video:nth-child(5) {
    top: 180vh;
    left: 95vw;
    transform: translate(-50%, -50%);
}

input {
    text-align: center;
    border-radius: 12px;
    border: 0;
    background-color: var(--color-black);
    font-family: var(--title-font);
    font-size: 1rem;
    color: var(--color-text);
    transition: .3s;
}

input:hover {
    opacity: .8;
}

input:checked {
    border: solid 1px var(--secondary);
}

input[type="submit"] {
    cursor: pointer;
}

.userEleves #idForm {
    position: relative;
    display: flex;
    width: 100%;
}

/*VosPhotos*/

#nophotos {
    position: absolute;
    display: block;
    opacity: 0;
    z-index: 20;
    height: 100%;
    width: 100%;
    border: solid 0em #bd8e4969;
}

#nophotos img {
    position: absolute;
    width: 100%;
    min-height: 100%;
}

.InsertImagesEleves {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    align-items: center;
}

.InsertImagesEleves img {
    height: 10rem;
    margin: 0 2rem;
    min-width: 5rem;
    border-radius: 24px;
    border: #f4f4f4 .5rem solid;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-image: url('/img/noimg.jpg');
    background-size: cover, contain;
background-position: center, right bottom;
background-repeat: no-repeat, no-repeat;
}


.InsertImagesEleves img:nth-child(1) {
    height: 20rem;
    border-radius: 24px;
    border: 0;
    box-shadow: none;
}

.InsertImagesEleves img:nth-child(2) {
    position: relative;
}

.InsertImagesEleves img:nth-child(3) {
    position: relative;
}

.InsertImagesEleves img:nth-child(3) {
    filter: saturate(0%) contrast(1.2);
}

.pack {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
}

.nomdespack {
    position: relative;
    left: 2rem;
    width: auto;
    margin: 1rem;
    border: gold 2px solid;
    width: 20rem;
}

.nomdespack video {
    width: 10rem;
    position: absolute;
    top: .7rem;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.formulaireeleve {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;

}

.formueleve {
    position: relative;
    margin: 2rem;
}

.choixpack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 3rem;
}

.lespack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    width: 6rem;
    transition: .2s;
    margin-right: .5rem;
    margin-left: .5rem;
    border-radius: 10px;
    background-color: #d0f1dd00;
}

.lespack input[type="radio"] {
    position: absolute;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    border: solid 1.5px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lesetapes {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.etape {
    position: relative;
    width: 20rem;
    margin: 2rem 1rem;
}

.first {
    position: absolute;
    font-size: 7rem;
    font-weight: 700;
    z-index: 10;
    top: -3rem;
    transform: translateX(-50%);
    color: var(--secondary);
}

.etape img {
    position: relative;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 24px;
}

.linkpaiement {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.linkpack {
    width: 20rem;
    margin: 2rem;
}


.pinterest {
    width: calc(100% - 0);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.pinterest .gallery {
    column-gap: 1rem;
    margin: 0 auto;
    column-count: 5;
    margin: 2rem;
}

@media screen and (min-width: 1440px){
    .pinterest .gallery {
        column-count: 7;
    }
}

.pinterest .image {
    cursor: pointer;
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pinterest img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}

@media screen and (max-width: 768px) {
    .pinterest {
        width: calc(100vw - 2rem);
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .pinterest .gallery {
        column-gap: 1rem;
        margin: 0 auto;
        column-count: 2;
    }
}

.infoImage {
    position: absolute;
    width: 9rem;
    background-color: var(--quaternary);
    color: var(--color-body);
    box-shadow: rgba(0, 0, 0, 0.749) 0px -9px 38px, rgba(0, 0, 0, 0.621) 0px 10px 12px;
    z-index: 10;
    margin: .5rem;
    bottom: 0;
    min-height: auto;
    height: 1.5rem;
    font-family: var(--title-font);
    font-size: 1rem;
    box-shadow: rgba(0, 0, 0, 0.34) 0px -9px 38px, 
    rgba(0, 0, 0, 0.338) 0px 10px 12px,
    rgba(0, 0, 0, 0.162) 0px -2px 4px 2px inset;
    opacity: .8;
}

    .infoImage:hover{
        box-shadow: none;
        opacity: 1;
    }

.logoPanier::after{
    position: absolute;
    content: url(/img/site/panier.svg);
    display: inline-block;
    width: 1em;
    right: .5rem;
    top: .2em;
    z-index: 5;
}

.popup {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* Fond sombre */
    justify-content: center;
    align-items: center;
    z-index: 200;
}

.popup-content {
    position: relative;
    text-align: center;
    border-radius: 12px;
    width: 30rem;
    max-width: 90%;
    max-height: 80vh;
    overflow: hidden;
}

.popup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#imageTitle {
    z-index: 400;
    position: relative;
    margin-top: 2rem;
    color: var(--color-black);
    font-family: var(--title-font);
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #000;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

#imageWarning {
    font-size: 16px;
    color: var(--color-black);
    font-family: var(--title-font);
    font-size: .8em;
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
}






.thePanier{
    width: 80rem;
    max-width: 100%;
}

.panier{
    width: 45rem;
    max-width: 100%;
}

.panier-items{
    width: auto;
}

.unElementPanier{
    width: calc(100% - 4rem);
    display: flex;
    justify-content: space-between;
    height: 100%;
    border-bottom: 1px solid var(--secondary);
    margin-bottom: 2rem;
    padding: 1rem 1rem 1rem 0;
}

@media screen and (max-width: 768px){
    .unElementPanier{
        width: calc(100% - 0rem);
        padding: 0rem 0rem 1rem 0;
    }
}

.visuUnElementPanier{
    width: 8rem;
    height: 8rem;
    border-radius: 12px;
    margin: 0 1rem;
}

@media screen and (max-width: 768px){
    .visuUnElementPanier{
        margin: 0;
        margin-right: 1rem;
        margin-left: -1rem;
        width: 4rem;
        height: 4rem;
    }
}

.corpUnElementPanier{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    text-align: left;
    height: 100%;
}

@media screen and (max-width: 768px){
    .corpUnElementPanier{
        width: calc(100% - 7rem);
        height: 8rem;
    }
}

.imageTitle{
    font-weight: 700;
    font-family: var(--title-font);
}

@media screen and (max-width: 768px){
    .imageTitle{
        font-size: .9em;
    }
}

.imagePrice{
    font-size: .8em;
}

.been {
    width: 1.5rem;
    height: 1.5rem;
    background-image: url(/img/site/been.svg);
    background-repeat: no-repeat;
    margin-right: 1rem;
    min-height: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    cursor: pointer;
}

@media screen and (max-width: 768px){
    .been {
        position: absolute;
        left: 0rem;
        bottom: calc(2.5rem + 1rem);
        min-height: 0;
        padding: 0;
    }
}

@media screen and (max-width: 768px){
    .optionFormat{
        position: relative;
        top: 100%;
        transform: translateY(-100%);
        font-size: .9em;
    }
}

.troisButtonsPanier{
    display: flex;
}

.optionFormat button{
    border-radius: 0px;
    font-family: var(--title-font);
    background-color: var(--color-black);
    padding: .5rem;
    min-height: 2.5rem;
    outline: 1px solid #cecece;
    font-size: .8em;
}

.optionFormat button.activeFormat {
    background-color: var(--primary);
    color: var(--color-body);
}

.optionFormat button:first-of-type{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.optionFormat button:last-of-type{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.prixUnElementPanier{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

@media screen and (max-width: 768px){
    .prixUnElementPanier{
        position: absolute;
        right: 0%;
        margin-right: 2rem;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
}

.quantity {
    position: relative;
    width: 4rem;
    text-align: center;
    font-size: 16px;
    border-radius: 8px;
    padding: .5rem;
    background-color: var(--tertiary);
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

@media screen and (max-width: 768px){
    .quantity{
        margin-bottom: .5rem;
    }
}

.dropdown {
    position: absolute;
    top: 0;
    left: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background-color: var(--color-body);
    display: none;
    z-index: 10;
    max-height: 150px;
    overflow-y: auto;
    width: 60px;
}

.dropdown li {
    padding: .3rem;
    font-family: var(--title-font);
    text-align: center;
    cursor: pointer;
}

.dropdown li:hover {
    background-color: var(--color-black);
}

.prixIndividuelGlobal{
    font-weight: 700;
}

.resultPanier{
    width: calc(25rem - 0rem);
    height: fit-content;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.resultStockPanier{
    border-radius: 12px;
    border: 1.2px green solid;
    margin: 3rem 0;
    position: relative;
    z-index: -2;
}

.resultStockPanier::after{
    content: url(/img/site/colisSur.svg);
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    width: 6rem;
}



/* Style du bouton après clic */
.infoImage.clicked {
    background-color: var(--secondary);
    color: var(--color-text);
    border: none;
    cursor: default;
    box-shadow: none;
}


.infoImage.clicked .logoPanier::after{
    position: absolute;
    content: '';
    display: inline-block;
    width: 1em;
    right: .5rem;
    top: .2em;
    z-index: 5;
}

/* Message "Ajouté au panier" */
.addedToCartMessage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    z-index: 10;
    animation: fadeOut 2s forwards; /* Animation pour disparaître */
}

/* Animation pour faire disparaître le message */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}