* {
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Assure que la page prend toute la hauteur */
    width: 100%;
    overflow-x: hidden; /* Désactive le défilement horizontal */
    background: linear-gradient(135deg, #1f1f1f, #3f0071);
    background-size: cover; /* Assurer que le fond couvre toute la page */
}

body {
    font-family: Arial, sans-serif;
    color: white;
    text-shadow: 0 0 10px #FF1493, 0 0 20px #FF69B4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 120%;
    min-height: 120%; /* Le corps de la page prendra toujours au moins la hauteur de la fenêtre */
}



header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

header .connexion {
    background: #FF1493;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 1rem;
    width: 90%;
    max-width: 1200px;
    margin-top: 10rem;
    align-items: center;
    z-index: 2;
}

.card {
    background: linear-gradient(135deg, #ff0077, #7700ff);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0 10px #ff0077, 0 0 20px #7700ff;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-shadow: 0 0 5px #fff;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #ff0077, 0 0 30px #7700ff;
}

.card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
}

.card:nth-child(2) {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:nth-child(1), .card:nth-child(3) {
    height: 200px;
}

.card a {
    color: white;
    text-decoration: none;
}

footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        height: auto;
    }

    .card:nth-child(1), .card:nth-child(2), .card:nth-child(3) {
        height: auto;
    }
}