/* Styles de base et de reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('images/sign_up.webp'); /* Remplacez par votre image de fond */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
}

/* Conteneur principal */
.container {
    max-width: 400px;
    width: 90%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9); /* Légère transparence */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: fadeIn 0.8s ease; /* Effet d'apparition */
}

h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #007bff;
}

/* Styles de formulaire */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 0.9em;
    margin-bottom: 5px;
    text-align: left;
    color: #333;
}

input[type="email"],
input[type="text"],
input[type="password"] {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    outline: none;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Bouton de soumission */
button[type="submit"] {
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Liens sous le formulaire */
p {
    font-size: 0.9em;
    margin-top: 10px;
    color: #333;
}

p a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

p a:hover {
    text-decoration: underline;
}

/* Responsivité pour petits écrans */
@media (max-width: 480px) {
    h2 {
        font-size: 1.5em;
    }

    .container {
        padding: 20px;
    }

    button[type="submit"] {
        font-size: 0.9em;
    }

    p {
        font-size: 0.85em;
    }
}

/* Effet d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
