/* Réinitialiser les styles des éléments de formulaire */
input, textarea, button {
    border: none;           /* Supprime les bordures */
    background: none;       /* Supprime le fond */
    font: inherit;          /* Hérite de la police du parent */
    color: inherit;         /* Hérite de la couleur du texte du parent */
    padding: 0;             /* Supprime les marges internes */
    margin: 0;              /* Supprime les marges externes */
    box-shadow: none;       /* Supprime les ombres */
    outline: none;          /* Supprime les contours */
    appearance: none;       /* Réinitialise l'apparence par défaut */
    spellcheck: false;
}

/* Réinitialiser le style des boutons */
button {
    cursor: pointer;        /* Change le curseur pour indiquer que le bouton est cliquable */
}

/* Pour les éléments <input> de type texte, password, etc. */
input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="url"] {
    /* Appliquer des styles spécifiques si nécessaire */
}

/* Pour les éléments <textarea> */
textarea {
    resize: none;           /* Empêche le redimensionnement de la zone de texte */
}

/* Pour les éléments <button> */
button {
    background: transparent; /* Rendre le fond transparent */
}

/* Pour les éléments <input> de type checkbox et radio */
input[type="checkbox"], input[type="radio"] {
    appearance: none;       /* Supprime le style par défaut */
}

/* Form */

.contact{
    margin: var(--7) 3% var(--9) 11.6%;
}
.title{
    font-family: Cormorant, serif;
    color: var(--grey);
    margin-bottom: var(--4);
}
.blockcontact{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.subtitle{
    margin-top: var(--8);
    padding-left: 4rem;
    padding-right: 4rem;
    color: var(--grey);
}
.form{
    margin-top: var(--8);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.formelement{
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.formelement label{
    font-size: 1.5rem;
    font-family: Cormorant, Serif;
    font-weight: bold;
    color: var(--grey);
    cursor: none;
}

.formelement label span{
    margin-left: 0.25rem;
    font-size: 1rem;
    color: var(--starcontact);
}

.formelement input{
    border: 1px solid var(--borderinput);
    transition: 0.4s;
    height: 2rem;
    padding: 0.5rem;
    border-radius: 5px;
    color: var(--grey);
    letter-spacing: 0.05rem;
    cursor: none;
}

.formelement input:focus, .formelement input:hover, .formelement textarea:focus, .formelement textarea:hover{
    border: 1px solid var(--borderinputhover);
}

.formelement textarea{
    border: 1px solid var(--borderinput);
    transition: 0.4s;
    padding: 0.5rem;
    color: var(--grey);
    border-radius: 5px;
    letter-spacing: 0.05rem;
    cursor: none;
}

button{
    border: 1px solid var(--borderinput);
    transition: 0.3s;
    padding: 0.5rem;
    color: var(--grey);
    border-radius: 5px;
    letter-spacing: 0.05rem;
    cursor: none;
    font-weight: bold;
}
button:hover {
    border: 1px solid var(--borderinputhover);
    background-color: var(--darkline);
    box-shadow: 0 0 15px rgba(217, 217, 217, 0.1);
}

#loadingAnimation {
    height: 1rem;
    aspect-ratio: 1/1;
    display: inline-block;
    color: var(--grey);
}
#animationContainer svg path {
    fill: var(--grey);
    color: var(--grey);
}
#animationContainer svg {
    fill: var(--grey);
    color: var(--grey);

}
#submitButton{
    display: flex;
    justify-content: center;
    align-items: center;
}
.messagereturn{
    font-size: 1rem;
}
.mailerror{
    text-decoration: none;
    color: inherit;
    border: none;
    margin: 0;
    display: inline;
    padding: 0;
    line-height: 0.2rem;
}
.mailerror:hover{
    text-decoration: underline;
    cursor: none;
}
.grecaptcha-badge{
    display: none;
}
@media (max-width: 480px) {
    .title{
        font-size: 3rem !important;
    }
    .subtitle{
        font-size: 1rem !important;
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .form{
        width: 100% !important;
    }
}
@media (max-width: 767px) {
}
@media (max-width: 991px) {
    .blockcontact{
        flex-direction: column !important;
    }
    .title{
        font-size: 4rem !important;
    }
    .subtitle{
        font-size: 1rem !important;
        width: 100% !important;
    }
    .form{
        width: 80%;
    }
}
@media (max-width: 1199px) {
    .title{
        font-size: 6rem;
    }
    .subtitle{
        font-size: 1.5rem;
    }
}
@media (max-width: 1599px) {
    .blockcontact{
        flex-direction: row;
    }
    .title{
        font-size: 8rem;
    }
    .form{
        width: calc(0.3925* 100vw);
    }
    .subtitle{
        font-size: 2rem;
        width: calc(0.384* 100vw);
    }
}
@media (min-width: 1600px) {
    .blockcontact{
        flex-direction: row;
    }
    .title{
        font-size: 8rem;
    }
    .form{
        width: calc(0.3925* 100vw);
    }
    .subtitle{
        font-size: 2rem;
        width: calc(0.384* 100vw);
    }
}