/* SVG de la bordure animée */
.form-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    fill: none;
    pointer-events: none;
}

.border-rect {
    width: 100%;
    height: 100%;
    stroke: url(#borderGradient);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;

    /* Animation */
    stroke-dasharray: 0;
    /* on calcule dynamiquement */
    stroke-dashoffset: 0;
    animation: dash 6s linear infinite;
}

.xs-cards {
    width: 400px;
    height: 350px;
    padding: 1rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

}

.xl-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 2rem;

}

.xm-cards {
    display: flex;
    padding: 1rem;
    margin: 1rem
}

.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-cards-wrapper {
    width: 29rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
}

.contact-presentation,
.contact-cta {
    flex-direction: column;
}


.hero-wrapper {
    max-width: 800px;
    height: 100%;
    display: flex;
    margin: 2rem;
}



.hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.hero-title,
.hero-cta {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;

    align-items: center;
    padding: 1rem;

}

.hero-title {
    width: 400px;
}

.hero-cta {
    width: 300px;
    align-items: center;
    justify-content: space-around;

}

.hero-cta p {
    margin-bottom: 2rem;
}

.form-wrapper {
    position: relative;
    display: flex;
    max-width: 29rem;
    width: 450px;

}


/*------------
ContactForm
------------------*/
.form-card {

    position: relative;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 10, 0.5);
    justify-items: center;

}

#contactForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

select {
    color: #57595c;
    font-size: 1rem;
    line-height: 1.5rem;
    letter-spacing: 1px;

}

.field {
    width: 100%;
    margin-bottom: 14px;
}

label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

input,
select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    font-size: 14px;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.field-checkbox {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: start;
    font-size: 1rem;
    margin: 1rem 0rem 1rem 0rem;
}

.field-checkbox input {
    height: 1rem;
    width: 2rem;
    display: flex;
    justify-content: center;
    align-self: center;
    gap: 1rem;
    font-size: 1rem;
}

.field-checkbox span {
    display: flex;
    align-items: center;
    font-size: .9rem;
    width: 100%;
}

.success,
.error {
    margin-top: 2rem;
    font-size: 14px;
}

.success {
    color: green;
}

.error {
    color: red;
}