body {
    margin: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background-image: url(assets/img/tempo_background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    color: white;
}


/* couche de transparence */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-color: rgba(21, 27, 39, 0.75); /* ajuste l'opacité ici */
    z-index: 0;
}

/* tout le contenu au-dessus */
body > * {
    position: relative;
    z-index: 1;
}

textarea {
    color: white;
}

.card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px;
    flex-grow: 1;  
    z-index: 1; 
}

.card {
    background-color: rgba(60, 13, 87, 0.9);
    width: 100%;
    max-width: 780px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.left-section,
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-image img {
    width: 150px !important;   
    height: 150px !important;  
    object-fit: cover; 
    border-radius: 50% !important; 
    margin-bottom: 20px; 
}

.card-action a {
    color: #e2a3ff !important;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.card-action a i {
    margin-right: 10px;
}

footer {
    text-align: center;
    font-size: 0.8rem;
    padding: 10px;
    width: 100%;
    /* background-color: #151b27 ;*/ 
    z-index: 2; 
}

#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; 
}

@media only screen and (max-width: 768px) {
    .card {
        width: 100%;
        max-width: none;
        padding: 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .left-section,
    .right-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card-image img {
        margin-bottom: 10px; 
    }

    #tsparticles {
        display: block; 
    }
}
