@font-face {
    font-family: 'NewRocker';
    src: url('../fonts/NewRocker-Regular.ttf') format('truetype'); /* ../ pour remonter dans public/ */
}

@font-face {
    font-family: 'Lugrasimo';
    src: url('../fonts/Lugrasimo-Regular.ttf'); /* ../ pour remonter dans public/ */
}

main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    min-height: 100vh;
}

#background {
    width: 500px;
    min-height: 700px;
    flex-shrink: 0;
    background: url('../img/contact/parchemin.png') no-repeat center / 100% 100%; /* ../ pour remonter dans public/ */
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact form {
    display: flex; /*affiche les éléments du form en colonne*/
    flex-direction: column;
    padding: 7px 33px;
    border-radius: 5px;
    margin-top: 10px;
    font-family: 'Lugrasimo';
    font-size: 0.8em;
}

#contact input, #contact textarea {
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(150,120,80,0.4);
    padding: 7px 33px;
    resize: none;
    outline: none;
    border-radius: 5px;
    margin-bottom: 13px;
}

#contact button {
    align-self: center;
    padding: 12px 30px; /*même padding que commander*/
    background: #1F1D8B;
    color: #d4c08a;
    border: 2px solid #d4c08a;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#contact button:hover {
    background: #d4c08a; /*doré*/
    color: #1F1D8B; /*bleu*/
}

#commentaires_clients {
    display: flex;
    flex-direction: column;
    margin-left: 40px;
}

#titre_contact {
    font-family: 'NewRocker', serif;
    color: #ffffff; /*texte blanc sur fond noir*/
    font-size: 4em;
    font-weight: normal;
    display: inline-block;
    margin-bottom: 14px;
    margin-top: 0;
}

#commentaires_clients h3 {
    display: inline-block;
    align-self: flex-start;
    border: 1.5px solid #c400f1;;
    border-radius: 20px;
    padding: 4px 20px;
    margin-bottom: 30px;
    font-size: 1.6rem;
    color: #9400f1;; /*texte blanc sur fond noir*/
}

#commentaires {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 100px;
}

.nom_clients {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #ffffff; /*texte blanc sur fond noir*/
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nom { 
    font-weight: bold; 
    color: #ffffff; /*texte blanc sur fond noir*/
}

.texte_clients {
    font-size: 1.2rem;
    border-left: 3px solid #ffffff;
    padding-left: 7px;
    margin: 0;
    color: #ffffff; /*texte blanc sur fond noir*/
}

#voir_plus {
    align-self: center;
    padding: 5px 16px;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    cursor: pointer;
    background-color: #ffd7aa;
    text-transform: uppercase;
}

#voir_plus:hover {
    background-color: rgb(255, 236, 131);
}

/*Pour le déroulement du Voir plus*/
#extra_commentaires {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#extra_commentaires.ouvert {
    max-height: 500px;
    padding-top: 25px;
}