@font-face {
    font-family: Quatrocento;
    src: url(/font/QuattrocentoSans-Regular.ttf);
  }
  @font-face {
    font-family: QuatrocentoItalic;
    src: url(font/QuattrocentoSans-Italic.ttf);
  }
  @font-face {
    font-family: breakSemiBold;
    src: url(font/Break-SemiBold.ttf);
  }

  @font-face {
    font-family: MsMadi;
    src: url(font/MsMadi-Regular.ttf);
  }
/* Style de base */
body {
    background-color: #181822;
    font-family: Quatrocento;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.titre {
    margin-top: 3%;
    background-image: url(titreFondKraft.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 35vh;
    display: flex;
  }
  .titre p {
    text-decoration: underline;
    text-decoration-style: dashed;
    font-family: breakSemiBold;
    margin: auto;
    text-align: center;
    font-size: 5em;
    color: #941b80;
  }
/* Conteneur du formulaire */
.form-container {
    display: flex;
    flex-direction: column; /* Assure un alignement vertical */
    background-color: #ff581b;
    border-radius: 8px;
    width: 75%;
    max-width: 500px;
    margin: 2% auto;
}


/* Description sous le titre */
p {
    text-align: center;
    color: whitesmoke;
    margin-bottom: 2%;
    font-size: 0.9em;
}

/* Champs du formulaire */
label {
    font-size: 1em;
    display: block;
    margin-bottom: 1.2%;
    font-weight: bold;
    color: #f9f9f9;
}

#request-options {
    width: 95%;
    display: flex;
    flex-wrap: wrap; /* Affiche les options sur plusieurs lignes si nécessaire */
    gap: 1%; /* Ajoute un espacement entre les options */
    margin-top: 1%;
    justify-content:space-evenly;
  }
  
  #request-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #181822;
    padding:1% 2%;
    border-radius: 5px;
    border: 1px solid #707070;
    transition: background-color 0.3s ease;
    color: #707070;
  }
  
  #request-options label:hover {
    border: white solid 2px;
    color: #f9f9f9;
  }

  #request-options input[type="checkbox"] {
    margin: 3%; /* Ajoute un espace entre la case et le texte */
  }


input, textarea, select, button {
    font-family: Quatrocento;
    width: 95%;
    padding: 1%;
    margin-bottom: 1%;
    border: 1px solid #666666;
    border-radius: 4px;
    font-size: 1em;
}

textarea {
    resize: vertical;
}
input, select, textarea {
    background-color: #181822;
    color: #707070;
}

/* Bouton */
button {
    display: block;
    width: 50%;
    margin: 2% auto ;
    background-color: #ffffff ;
    color:orangered;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: rgb(217, 217, 217);
}
.required {
    color: #181822;
    ;
  }
.detail p{
    font-family: QuatrocentoItalic;
    text-align: left;
}
#char-count {
    text-align: end;
    margin-right: 3%;
    color: #181822;
}

#preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }
  .preview-item {
    position: relative;
    width: 10vh;
    height: 10vh;
    margin-bottom: 2%;
  }
  .preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .blablaFin p{
    font-family: MsMadi;
    font-size: 2em;
  }
/* Pour les petits écrans (téléphones) */
@media (max-width: 600px) {


    input, textarea, select, button {
        font-size: 16px; /* Augmente la taille des éléments pour les petits écrans */
    }

    h1 {
        font-size: 18px; /* Réduit la taille du titre pour les petits écrans */
    }

    p {
        font-size: 12px; /* Réduit la taille de la description */
    }
}

/* Pour les écrans moyens (tablettes) */
@media (max-width: 900px) {
    .form-container {
        padding: 20px; /* Ajuste le padding pour les tablettes */
        max-width: 80%; /* Permet au formulaire de s'ajuster sur les tablettes */
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 13px;
    }
}

/* Pour les très grands écrans (ordinateurs de bureau) */
@media (min-width: 1200px) {
    .form-container {
        padding: 25px 40px; /* Plus de padding sur les grands écrans */
        max-width: 50%; /* Formulaire plus étroit sur les grands écrans */
    }

}

.hidden-popup{
  padding:3px;
  border-style: solid;
  border-width: 2px;
  border-color: #f9f9f9;
  border-radius: 10px;
  background-color: #181822;
  display:none;
}

.display-popup{
  display:inline-block;
}