* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Minecraft';
    src: url('/fonts/minecraftia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.minecraft-text {
    font-family: 'Minecraft', monospace;
    color: #fff;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f0f, #1c1c1c);
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
    flex: 1; 
}


header {
    backdrop-filter: blur(6px);
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #5e5d5d;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 0px; 
}

.logo-title img {
    height: 50px;
}

.titleheight {
    height: 50%;
    padding: 10px 1px;
    padding-top: 15px;
}

header h1 {
    color: #90b6c3;
    margin: 0;
    font-size: 1.8rem;
}

nav button {
    background: none;
    border: none;
    color: #f0f0f0;
    font-size: 1rem;
    margin-left: 20px;
    cursor: pointer;
    transition: color 0.2s;
}
nav button:hover {
    color: #90B6C3;
}

.clickable_element {
    cursor: pointer;
}



.hero h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}
.hero p {
    max-width: 1000px;
    margin: auto;
    color: #aaa;
    font-size: 1.1rem;
    z-index: 1;
    text-align: left;
}

.hero {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1; 
}

.banner-img {
    width: 100%;
    height: auto;
    opacity: 0.25; 
    object-fit: cover;
}

.hero-title img {
    width: 500px;       
    max-width: 90%;     
    height: auto;       
    display: block;
    margin: 0px auto 0px; 
    z-index: 1;
}

.presentation {
    max-width: 1200px;
    margin: 40px auto;
    padding: 15px;
    line-height: 1.8;
    font-size: 18px;
    color: #f5f5f5;
    border-radius: 12px;
    border-bottom: 3px solid #303030ff;
}

.presentation h2 {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
}

.presentation p {
    margin-bottom: 20px;
}
.presentation a {
    color: #ff4444;
    font-weight: bold;
    text-decoration: none;
}
.presentation a:hover {
    text-decoration: underline;
}

.projects {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.projects h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #fff;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.card {
    background: linear-gradient(145deg, #1d1d1d, #2b2b2b);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center; 
}
.project-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(158, 158, 158, 1);
}
.card h3 {
    color: #e63946;
    margin-bottom: 10px;
    font-size: 1.4rem;
}
.card p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 15px;

    
    flex-grow: 1;
}
.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    align-self: center; 
    margin-top: auto;   
}
.actif { background: #2ecc71; color: #fff; }
.pause { background: #f1c40f; color: #000; }
.ferme { background: #f10a0a; color: #000; }


.team {
    background: #111;
    padding: 50px 20px;
}
.team h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.member {
    background: #1d1d1d;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    width: 220px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.4);
}
.team-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    border: 2px solid #e63946;
}
.member h3 {
    color: #e63946;
    margin: 10px 0 5px;
}
.member p {
    font-size: 0.9rem;
    color: #aaa;
}
.roles {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px; 
    align-items: center; 
}

/* =========================
            ROLES
   ========================= */

.chef-global { background:#ff2400; }
.chef-global::after { content:"↪ Chef Global"; }

.responsable-organisation { background:#ff2400; }
.responsable-organisation::after { content:"↪ Responsable D'Organisation"; }

.concepteur { background:#ff2400; }
.concepteur::after { content:"↪ Concepteur De Contenu"; }

.dev_discord { background:#4fa3d1; }
.dev_discord::after { content:"↪ Developpeur Discord"; }

.dev_web { background:#4fa3d1; }
.dev_web::after { content:"↪ Developpeur Web"; }

.r_blackroast { background:#2ecc71; }
.r_blackroast::after { content:"↪ Projet BlackRoast"; }

.r_afterwake { background:#2ecc71; }
.r_afterwake::after { content:"↪ Projet AfterWake"; }

.r_beginith { background:#2ecc71; }
.r_beginith::after { content:"↪ Projet BeginiTh"; }

.user { background:#979797; }
.user::after { content:"Utilisateur"; }


.discord {
    text-align: center;
    padding: 60px 20px;
}
.discord-btn {
    display: inline-block;
    margin-top: 15px;
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.2s;
}
.discord-btn:hover {
    background: #404EED;
}
.discord-btn2 {
    cursor: pointer;
    display: inline-block;
    margin-top: 15px;
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.2s;
}
.discord-btn2:hover {
    background: #404EED;
}


footer {
    background: #0f0f0f;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #222;
}

.staffedit {
    text-align: center;
    padding: 30px 20px !important;
}
.staffedit-btn {
    display: inline-block;
    margin-top: 15px;
    background: #494949;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.2s;
}
.staffedit-btn:hover {
    background: #909090;
}

.gopagearrow {
    font-size: 0.7em;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: background 0.2s;
}
.gopagearrow:hover {
    color: #ffffffb4;
}

.backbut-btn {
    display: inline-block;
    margin-bottom: 20px; 
    background: #494949;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.5s;
}

.backbut-btn:hover {
    background: #909090;
}