* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}


html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    margin: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/background.webp);
    background-size: cover;
    background-position: center center;
}

/* Styling du titre de la page */
h2 {
    text-align: start !important;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color:#000 !important
}

/* Conteneur principal */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    min-height: 70vh;
    padding: 20px;
    text-align: center;
}

.container p {
    font-size: 0.9rem;
    text-align: start;
}

/* Styling principal du formulaire */
form {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 2rem;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
}

/* Style des labels */
label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    text-align: left;
}

/* Style des champs de saisie */
input[type="email"] {
    padding-bottom: 10px;
    border: none;
    border-bottom: #f4f4f4 2px solid;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="email"]:focus {
    border-color: #86BD4A;
    outline: none;
}

/* Bouton d'inscription */
button[type="submit"] {
    background:linear-gradient(60deg, #c98853, #d5b763 80%, #c98853);
    color: #FFF;
    border: none;
    border-radius: 1rem;
    padding-block: 16px;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #000;
}

/* Style des messages d'erreur ou de confirmation */
.message {
    color: #FF6B6B;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
    line-height: 1.5;
}

.succes {
    color: #7CAE46;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
}

.container p{
    line-height: 1.5;
}

.connect {
    font-size: .9rem;
}

.connect a{
    color: black;
    text-decoration: underline;
}