/* Conteneur principal */ .container { width: 100%; padding: 12px; box-sizing: border-box; margin: 0 auto; } .profileboard { width: 100%; padding: 16px; border-radius: 20px; box-sizing: border-box; } .contentWrapper { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 20px; } .profilePictureContainer { width: 120px; height: 120px; margin-bottom: 0; position: relative; display: flex; justify-content: center; } .profilePicture { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; } .editPictureButton { margin-top: 16px; padding-top: 12px; padding-bottom: 12px; background: rgba(255, 255, 255, 0.95); border: none; border-radius: 24px; cursor: pointer; font-size: 0.95rem; font-weight: 600; color: #e74c3c; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); transition: all 0.3s ease; backdrop-filter: blur(5px); white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-width: 140px; } .editPictureButton:hover { background: rgba(255, 255, 255, 1); transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2); color: #c0392b; } .description { width: 100%; text-align: left; } .headerProfile { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .headerProfile h2 { font-size: 1.6rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Conteneur des informations principales */ .topDescription { display: flex; flex-direction: column; gap: 16px; width: 100%; margin-bottom: 20px; } /* Bloc d'informations */ .infoBlock { width: 100%; padding: 12px; box-sizing: border-box; } /* Conteneur pour les paramètres */ .settingImage { width: 100%; display: flex; justify-content: center; margin-top: 16px; } /* Adaptation pour tablette et PC */ @media (min-width: 768px) { .contentWrapper { flex-direction: row; align-items: flex-start; gap: 24px; } .profilePictureContainer { width: 150px; height: 150px; margin-right: 0; } .description { width: calc(100% - 180px); } .topDescription { flex-direction: row; justify-content: space-between; flex-wrap: wrap; } .infoBlock { flex: 1; min-width: calc(50% - 8px); max-width: calc(50% - 8px); } .editPictureButton { margin: 16px auto 0 auto; display: block; } .headerProfile h2 { font-size: 1.8rem; } } /* Adaptation pour grand écran */ @media (min-width: 1024px) { .container { max-width: 1200px; padding: 24px; } .profileboard { padding: 28px; } .profilePictureContainer { width: 180px; height: 180px; } .description { width: calc(100% - 220px); } .headerProfile h2 { font-size: 2rem; } }