body {
    font-family: Arial, sans-serif;
    background-color: #f5f8fa;
    margin: 0;
    padding: 0;
}

.profile-header {
    background-color: white;
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 20px;
    position: relative;
    text-align: center;
}

.cover-photo {
    background-color: #1da1f2;
    height: 200px;
    width: 100%;
}


.profile-picture {
    background-color: rgba(255, 255, 255, 0);
    border: 4px solid #1da1f2;
    border-radius: 50%;
    height: 150px;
    left: 50%;
    position: absolute;
    top: 150px;
    transform: translateX(-50%);
    width: 150px;
    z-index: 1000;
}
.profile-picture img {
    border-radius: 50%;
    height: 150px;
    left: 50%;
    position: absolute;
 
    transform: translateX(-50%);
    width: 150px;
    z-index: 1000;
}

.profile-info {
    margin-top: 80px;
    padding: 20px;
}

.profile-info h1 {
    margin: 0;
}

.profile-info p {
    color: #657786;
    margin: 5px 0;
}

button {
    background-color: #1da1f2;
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
    width: max-content;
}

button:hover {
    background-color: #fff;
    border: none;
    border-radius: 20px;
    color: #1da1f2;
    cursor: pointer;
    padding: 10px 20px;
    width: max-content;
}

.profile-content {
    background-color: white;
    border-top: 1px solid #e1e8ed;
    margin-top: 20px;
    padding: 20px;
}

.tabs {

    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab {
    cursor: pointer;
    padding: 10px 20px;
}

.tab.active {
    border-bottom: 2px solid #1da1f2;
    color: #1da1f2;
}

.tab-content {
    display: none;
    
}

.tab-content.active {
    display: block;
    display: flex;
    justify-content: center;
}

.tweets {
    display: flex;
    flex-direction: column;
}

.tweet {
    background-color: #eaeef0;
    border: 1px solid #aaaaaa;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    width: min-content;
    flex-direction: column;


    text-align: center;
    width: max-content;
}
.profile-picture1 img {
    border-radius: 50%;
    height: 100px;
    width: 100px;
    z-index: 1000;
}
.tweet h2 {
    margin: 6px;
}
.tweet p {
    margin: 6px;
}

.listetweet{
    justify-content: center;

    display: flex;
}







table {
    
    border-collapse: collapse; /* Fusionner les bordures des cellules */
    text-align: center;
    width: 60%;
}

table th,
table td {
    border: 0px solid black; /* Bordure de 1 pixel solide noire pour chaque cellule */
    padding: 8px; /* Espace intérieur des cellules */
    text-align: center; /* Alignement du texte à gauche */
}

table th {
    background-color: #f2f2f2; /* Couleur de fond pour les en-têtes */
}

table tr:nth-child(even) {
    background-color: #f2f2f2; /* Couleur de fond pour les lignes paires */
}










.index-header {
    background-color: white;
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 20px;
    position: relative;
    text-align: center;
}
.index-info {

    padding: 20px;
}

.index-info h1 {
    margin: 0;
}

.index-info p {
    color: #657786;
    margin: 5px 0;
}
.index-info img{
    width: 100%;
}



.statistiques{
    background-color: #1da1f2;
    padding: 10px;
    border-radius: 10px;
}










.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}
a {
    text-decoration: none;
}
.card {
    background-color: #ffffff;
	color: #1da1f2;
    border: 2px solid #1da1f2;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
    max-width: 150px;
    overflow: hidden;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.05);
	background-color: #1da1f2;
	color: #ffffff;
}
.card:hover a {
    transform: scale(1.05);
	background-color: #1da1f2;
	color: #ffffff;
}
.card-image {
	margin-top: 10px;
    width: 90%;
    height: auto;
}
.card a {
    text-decoration: none;
    color: #1da1f2;
}
.card p {
    padding-left: 15px;
    padding-right: 15px;
}

.card h2 {

    padding-left: 15px;
    padding-right: 15px;
}
.card img {
 
    padding: 15px;
}


h3 {
    text-align: center;
    border: solid 2px #1da1f2; 
    border-radius: 10px;
    margin-left: 30%;
    margin-right: 30%;
    background-color: #1da1f2;
}

.ifnotcenter{
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    align-items: center;
}