*   {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
    body {
        height: 100vh;
        margin: 0;
        display:flex; 
        flex-direction: row;
        justify-content:center;
        align-items:center;
        color: rgb(67, 7, 7);
        font-family: Geneva, Tahoma, sans-serif;
        background-image: linear-gradient(120deg, #ffd7c5,#ffc5c5);
        gap: 25px; 
    } 
    .body-bg {
        filter: blur(0px);
        background-image: url('fondfeuilles.png'); 
        background-size: cover;
        background-position: center;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%; 
        height: 100%;
        opacity: 0.45; 
        border-radius: 10px; 
        z-index: -4; 
    }
    #wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        padding: 30px;
        background-color: rgb(255, 255, 255);
        border: 1px solid rgb(67, 7, 7);
        box-shadow: 2px 2px 8px rgb(67, 7, 7);
        height: 400px;
        min-width: 250px;
        width: fit-content;
        position: relative;
        z-index: -2;
    }
    .wrapper-bg {
        background-image: url('fleur.png'); 
        background-size: cover;
        background-position: center;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%; 
        height: 100%;
        opacity: 0.55; 
        border-radius: 10px; 
        z-index: -1; 
    }
    #wrapper::before,
    #wrapper::after {
        content: ""; 
        position: absolute;
        width: 85px; 
        height: 85px;
        background-image: url('feuille.png'); 
        background-size: cover;
    }
    #wrapper::before {
        top: -38px;
        right: 84%;
        transform: scaleX(-1);
    }
    #wrapper::after {
        top: -38px;
        left: 84%;
    }
    .wrapper-corner {
        content: "";
        position: absolute;
        width: 85px;
        height: 85px;
        background-image: url('feuille.png');
        background-size: cover;
    }
    .wrapper-bottom-left {
        bottom: -38px;
        right: 84%;
        transform: scaleX(-1) scaleY(-1);
    }
    .wrapper-bottom-right {
        bottom: -38px;
        left: 84%;
        transform: scaleY(-1);
    }

    .countvalue {
        text-align:center;
        font-size: 35px;
        margin-bottom: 20px;
        width: max-content;
        text-shadow: 3px 3px 7px rgba(255, 153, 0, 0.919);
    }
    .message-container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
    }
    textarea {
        font-size: 0.9rem;
        letter-spacing: 2px;
        padding: 1px;
        width: 100%;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        line-height: 1.5;
        border-radius: 5px;
        border: 1px solid rgb(67, 7, 7);
        box-shadow: 1px 1px 3px rgb(67, 7, 7);
        resize: none;
        margin-bottom: 5px;
        position: relative;
        z-index: 1;
    }
    textarea::placeholder {
        text-align: center; 
        color: rgb(67, 7, 7); 
        font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
        font-style: italic;
        font-size: 80%; 
        opacity: 0.4;
    }
    button {
        padding: 5px 10px;
        background-color: rgb(67, 7, 7);
        color: rgb(255, 255, 255);
        border: none;
        cursor: pointer;
        z-index: 2; 
        position: relative;
        margin-top: 10px;
    }
    button:hover {
        background-color:rgb(67, 7, 7);
        margin-top: 1px;
    }
    #message {
        position: relative;
        min-width: 400px;
        min-height: 100px;
        padding: 7px;
        border-radius: 7px;
        box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.268),
                    -5px -5px 12px rgba(245, 197, 181, 0.451);
        z-index: 2;
    }

    .message-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('fondfeuilles.png');
        background-size: 1720px;
        background-position-x: -660px;
        background-position-y: -710px;
        background-color: #ffc9c9 ;
        backdrop-filter: blur (5px);
        background-attachment:fixed; /* Fixe l'image pour qu'elle ne change pas avec la taille du .message */
        background-position: center;
        background-repeat: no-repeat;
        opacity: 1; /* Ajuste la transparence */
        z-index: 1; /* Met le fond en arrière-plan */
        border-radius: 7px; /* S'aligne avec #message */
        }
        
    .message {
        position: relative;
        z-index: 1; /* Assure que le texte est au-dessus du fond */
        color: rgba(67, 7, 7, 0.855);
        font-size: 80%;
        font-weight:100;
        min-width: 400px;
        min-height: 100px;
        padding-top: 4px;
        text-align: center;
        margin-top: 20px;
        font-family: Georgia, Times, 'Times New Roman', serif;
        letter-spacing: 0.5px;
        }
    
        label {
            font-family: Georgia, Times, 'Times New Roman', serif !important;
            font-size: 14px !important;
            color:rgba(67, 7, 7, 0.95) !important;
            padding-top: 8px !important;
        }
        input[type="checkbox"] {
            transform: scale(1.3) !important; 
            margin-right: 4px !important;
            vertical-align: -1.5px !important;
        }
    
    /* MENU DEROULANT */
.menu {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 100;
}

.menu-button {
    position: relative;
    background-color: rgb(67, 7, 7);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.menu-list {
    list-style: none;
    background: white;
    padding: 10px;
    position: absolute;
    top: 40px;
    left: 0;
    width: 150px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: none; /* Caché par défaut */
}

.menu-list li {
    padding: 8px 0;
    text-align: center;
}

.menu-list a {
    text-decoration: none;
    color: rgb(67, 7, 7);
    display: block;
    font-size: 14px;
}

.menu-list a:hover {
    background: rgba(67, 7, 7, 0.1);
}

/* Afficher le menu lorsque la classe active est ajoutée */
.menu-list.active {
    display: block;
}

.hidden {
    display: none;
}

.counter-container {
    text-align: center;
    font-size: 20px;
    color: white;
    background: url('background.jpg') center/cover; /* Remplace par ton image de fond */
    padding: 50px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

        /*Page web sur téléphone*/
@media screen and (max-width: 800px) {
    body {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 25px;
      height: 90vh;
    } 
    #wrapper {
      min-width: 200px; 
      max-width: 250px; 
      width: 100%; 
      flex-wrap: nowrap;
      padding: 30px;
      margin: 3%;
      margin-top: -20px;
    }  
    .countvalue { 
      text-align: center;
      align-content: center;
      font-size: 35px;
      margin-bottom: 20px;
      flex-direction: row;
      flex-wrap: nowrap;
      width: max-content;
    }
    textarea {
      font-size: 0.7rem;
      letter-spacing: 1px;
      display: flex;
      max-width: 100%;
      resize: none;
      padding: 4px;
      border: 0.5px solid rgb(67, 7, 7);
        box-shadow: 1px 1px 3px rgb(67, 7, 7);
    }
    #message {
        min-width: auto;
        width: 90%;
    }

    .message {
        min-width: auto;
        width: 100%
    }

    /* Ajustements spécifiques pour le label et la case à cocher sur mobile */
    label {
        font-family: Georgia, Times, 'Times New Roman', serif !important;
        font-size: 14px !important;
        color: rgba(67, 7, 7, 0.95) !important;
        padding-top: 8px !important;
    }

    input[type="checkbox"] {
        transform: scale(1.3) !important; 
        margin-right: 8px !important;
        vertical-align: -1.5px !important;
    }

    /* Si la case à cocher est toujours mal alignée, tu peux essayer de définir un margin-top ou vertical-align spécifique */
    input[type="checkbox"] {
        margin-top: -2px; /* Ajuste cette valeur si nécessaire */
    }
}
html, body {
  overflow: hidden; 
  margin: 0;
  padding: 0;
  touch-action:manipulation 
}

