:root {
    --primary-color: #1a56db;
    --secondary-color: #7e3af2;
    --bg-color: #f3f4f6;
    --text-color: #374151;
    --card-bg: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    text-align: center;
}

.main-content {
    background-color: var(--card-bg);
    border-radius: 0 0 10px 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.email-input {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

input[type="email"] {
    width: 60%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0 5px 5px 0;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

button:hover {
    opacity: 0.9;
}

.warning {
    color: #e74c3c;
    font-weight: bold;
    margin-top: 0.5rem;
}

.note {
    color: #374151a0;
    font-weight: lighter;
    margin-top: 0.5rem;
}

#result {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--bg-color);
    border-radius: 5px;
}

.stats {
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    background-color: var(--bg-color);
    padding: 1rem;
    border-radius: 5px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.image-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem; /* Ajoute un espacement au-dessus de l'image */
}

.image-container img {
    max-width: 100%; /* S'assure que l'image ne dépasse pas la largeur de son conteneur */
    height: auto; /* Maintient les proportions de l'image */
    border-radius: 10px; /* Coins arrondis pour un aspect plus agréable */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Effet d'ombre pour l'image */
}


@media (max-width: 600px) {
    .email-input {
        flex-direction: column;
        align-items: center;
    }

    input[type="email"], button {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 0.5rem;
    }
}