/* Global reset */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Montserrat', sans-serif; } a { color: #007bff; text-decoration: none; background-color: transparent; } /* Hero Section Styles */ .hero-section { width: 100%; height: 100vh; display: flex; justify-content: center; align-items: center; position: relative; background-color: #f4f4f4; overflow: hidden; } .pana-accordion { width: 100%; height: 100%; } .pana-accordion-wrap { display: flex; width: 100%; height: 100%; } .pana-accordion-item { flex: 1; position: relative; background-size: cover; background-position: center; transition: flex 0.5s ease; display: flex; justify-content: center; align-items: center; overflow: hidden; } .pana-accordion-item:hover { flex: 3; } .pana-accordion-item.set-bg { background-size: cover; background-position: center; background-repeat: no-repeat; } /* Text Styles - centered at the bottom with full background */ .pa-text { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); text-align: center; color: white; z-index: 2; width: 90%; background-color: rgba(0, 0, 0, 0.7); padding: 20px; border-radius: 10px; } /* Tag and Title */ .pa-tag { font-size: 18px; margin-bottom: 10px; } /* Guild name styling */ .pa-text h2 { font-size: 28px; font-style: italic; margin-bottom: 15px; } /* Author details */ .pa-author { display: flex; justify-content: center; align-items: center; margin-top: 10px; } .pa-author img { width: 50px; height: 50px; border-radius: 50%; margin-right: 10px; } .pa-author h4 { font-size: 20px; } /* Ensure proper responsiveness */ @media (max-width: 768px) { .pana-accordion-item { flex: 1 !important; } .pa-text h2 { font-size: 22px; } .pa-author h4 { font-size: 16px; } } /* Section de la communauté */ .community-section { display: flex; width: 100%; min-height: 100vh; clear: both; } /* Partie gauche : représentants de la communauté */ .community-left { flex: 1; background-color: #2682C4; color: white; padding: 30px; display: flex; flex-direction: column; align-items: center; min-height: 100vh; box-sizing: border-box; } .community-left .representative { text-align: left; margin-bottom: 40px; width: 100%; max-width: 600px; } .community-left .representative img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto; display: block; } .community-left h3 { font-size: 24px; margin-bottom: 10px; } .community-left p { font-size: 16px; line-height: 1.5; } /* Styles des titres avec liseré café */ .community-left h2 { font-size: 26px; margin-bottom: 20px; position: relative; } /* Liseré café sous les titres */ .community-left h2::after { content: ''; display: block; width: 200px; height: 4px; background-color: #70685d; margin-top: 10px; border-radius: 2px; } /* Partie droite : description de la communauté */ .community-right { flex: 1; background-color: #70685d; color: black; padding: 30px; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; box-sizing: border-box; min-height: 100vh; } .community-right h2 { font-size: 26px; margin-bottom: 20px; } .community-right p, .community-right ul { font-size: 16px; line-height: 1.5; margin-bottom: 20px; } .community-right ul { padding-left: 20px; } .community-right li { margin-bottom: 10px; } /* Styles des titres avec liseré bleu */ .community-right h2 { font-size: 26px; margin-bottom: 20px; position: relative; } /* Liseré bleu sous les titres */ .community-right h2::after { content: ''; display: block; width: 200px; height: 4px; background-color: #2682C4; margin-top: 10px; border-radius: 2px; } /* Ajout d'un espace de défilement pour la partie droite */ .community-right { height: 100%; overflow-y: scroll; } /* Responsive adjustments */ @media (max-width: 768px) { .community-section { flex-direction: column; } .community-left, .community-right { width: 100%; min-height: 50vh; } }