@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Comfortaa:wght@300..700&family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

a {
    text-decoration: none;
    font-size: 13px;
}

/* ***********NAVBAR*********** */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 40px;
    height: 40px;
    margin-right: 20px;
}

header .logo h1 {
    font-size: 30px;
    color: #2768f3;
}

.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    /* Optionnel, mais plus moderne que margin-left */
}

.menu li {
    margin-left: 15px;
    padding-top: 10px;
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.menu li a {
    color: #000;
    transition: 0.5s;
}




/* FORMULAIRE */
main {
    margin-top: 4rem;
    background-color: #fff;
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

main h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 1rem;
    border: none;
    border-radius: 30px;
    background-color: #e8f0fe;
    font-size: 1rem;
    padding-left: 1rem;
}

button[type="submit"] {
    background-color: #4CAF50;
    border: none;
    border-radius: 30px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #3cb043;
}

/* MESSAGE */
p {
    margin: 1rem 0;
    font-size: 0.95rem;
}

p[style*="red"] {
    color: #e53935;
    font-weight: 500;
}

p[style*="green"] {
    color: #2e7d32;
    font-weight: 500;
}