body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c2f33;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #23272a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-logo {
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
}

.navbar-links {
    display: flex;
    gap: 15px;
}

.navbar-links a {
    color: #b9bbbe;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar-links a:hover {
    color: #ffffff;
}

.navbar-profile-section {
    display: flex;
    align-items: center;
    position: relative;
}

.profile-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
}

.profile-avatar:hover {
    transform: scale(1.1);
}

#profile-dropdown {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background-color: #40444b;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 5px 0;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.dropdown-button {
    background: none;
    border: none;
    color: #ffffff;
    padding: 10px 15px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.dropdown-button:hover {
    background-color: #7289da;
}

.hero-section {
    background: url('94846503-4k-cozy-anime-wallpaper.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px; /* Ajustable selon vos besoins */
    position: relative;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6); /* Ajoute un effet d'ombre pour le texte */
    padding: 20px;
    border-radius: 10px;
    animation: slideUp 1s ease-in-out;
    max-width: 600px;
}

.btn-discord {
    display: inline-block;
    background-color: #7289da;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-discord i {
    margin-right: 10px;
}

.btn-discord:hover {
    background-color: #5a6fb3;
    transform: translateY(-3px);
}

.hero-content h1 {
    font-size: 48px;
    margin: 0;
    font-weight: bold;
}

.hero-subtext {
    font-size: 20px;
    margin: 15px 0;
}


.button-discord {
    display: inline-block;
    background-color: #5865F2; /* Couleur de Discord */
    color: #FFFFFF; /* Couleur du texte */
    padding: 12px 24px;
    border-radius: 8px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4); /* Ombre douce */
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-discord {
    display: inline-block;
    background-color: #5865F2 !important;
    color: #FFFFFF !important;
    padding: 12px 24px !important;
    /* autres propriétés avec !important si nécessaire */
}


.button-discord:hover {
    background-color: #4752C4; /* Couleur légèrement plus foncée */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6); /* Ombre plus prononcée */
}

.button-discord:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.4); /* Ombre réduite */
}

.content-section {
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.content-wrapper {
    max-width: 800px;
    margin: auto;
}

.events-section {
    background-color: #36393f;
    border-radius: 10px;
    padding: 40px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background-color: #40444b;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
    overflow: hidden;
}

.event-card:hover {
    transform: scale(1.05);
}

.event-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.event-link a {
    display: inline-block;
    background-color: #7289da;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 3px;
    margin-top: 10px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.event-link a:hover {
    background-color: #5a6fb3;
}

.contact-button {
    display: inline-block;
    background-color: #7289da;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-button:hover {
    background-color: #5a6fb3;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .hero-section {
        height: auto;
        padding: 50px 10px;
    }

    .hero-content {
        max-width: 100%;
        padding: 15px;
    }

    .content-section {
        padding: 40px 10px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        padding: 15px;
    }
}