html {
    display: block;
}


body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}


.nav-menu {
    z-index: 1000;
    list-style-type: none;
    overflow: hidden;
    background-color: #333;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    flex-direction: row;
    margin: 0;
    margin-bottom: 5%;
    padding-left: 20px;

}

.navbar-image {
    display: flex;
    align-items: center;

}

.navbar-image img {
    width: 50px;
    /* Taille réduite */
    height: auto;
    /* Garde le ratio */
    margin-right: 10px;
}

.nav-content {
    list-style-type: none;
    margin: 0;
    padding: 0;
}





li {
    display: inline-block;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover:not(.active) {
    background-color: #111;
}

.active {
    background-color: #04aa6d;
}


div.Restricted {
    float: right;
}

.nav-Togle-btn {
    font-size: 30px;
    cursor: pointer;
    border: none;

}

.nav-Togle-btn:hover {
    background-color: #111;
    color: white;

}


.homepage-logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    width: 200px;
    /* Taille réduite */
    height: auto;
    /* Garde le ratio */
}

.main-title {
    font-size: 40px;
    color: black;
    text-align: center;
}

.sec-faq {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 5%;
    padding: 20px;
}

div.content-container {

    max-width: 800px;
    margin: auto;
    text-align: center;

}

div.content-container h1 {
    margin: auto;
    display: block;
    width: fit-content;
}

section p {
    font-size: 20px;
    text-align: center;
}

#no0 {
    background-color: #a0a0a0;
    color: #000000;
}

#no1 {
    background-color: green;
    color: white;
}

#no2 {
    background-color: #2828a0;
    color: white;
}

#no2 a {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#no2:hover a {
    background-color: gray;
    color: white;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
}

#no3 {
    background-color: #a02828;
    color: white;
}

#no4 {
    background-color: #a0a028;
    color: black;
}

button#scrollIntoView {
    background-color: #000000;
    color: white;
    border: none;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 20px;
    margin-top: 10px;
}

span#Linked {
    color: #0077b5 !important;
}

span#In {
    width: 68px;
    height: 68px;
    background: #0077b5;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
    line-height: 68px;
    color: white;
    font-size: 38px;
    font-weight: bold;



}

/* .btn-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: wrap;
} */

div#projets button {
    background-color: #04aa6d;
    width: 200px;
    height: 200px;
    border: none;
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
    padding: 10px 24px;
    cursor: pointer;
}



.button-container {
    position: relative;
    display: inline-block;
}

.badge {
    position: absolute;
    top: -10px;
    right: 0px;
    background-color: red;
    padding: 5px 10px;
    color: white;
    font-size: 29px;
    font-weight: bold;
}



div#donate button,
div#parterners button {
    width: 200px;
    height: 200px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 10px;
    cursor: pointer;
}


button#handijojo-tiktok {
    background-color: #add8e6;
}

button#handijojo-facebook {
    background-color: #4e628b;
}

button#handijojo-twitter {
    background-color: #55acee;
}

button#handijojo-instagram {
    background-color: #a91968;
}

button#handijojo-youtube {
    background-color: #bb0000;
}

button#babylon {
    background-color: #777a7f;

}

button#hostinger {
    background-color: #673de6;

}

button#ebuyclub {
    background-color: #077bc2;

}

button#honey {
    background-color: #0099FF;

}

button#moovance {
    background-color: #145d92;

}

button#dictanote {
    background-color: #d45f84;

}

button#tipeee {
    background-color: #de4f59;

}


div#donate button:hover,
div#parterners button:hover {
    background: white;
    color: black;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

button#scrollIntoView:hover {
    background-color: #ff0000;
}

div#projets button:hover {
    background-color: #000000;
}

div.handijojoText-div {
    max-width: 800px;
    margin: auto;
    text-align: center;

}

div.handijojoText-div p {
    font-family: 'Arial', sans-serif;
    color: #333;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
}



.company-logo {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.donate-span {
    font-size: 16px;
    color: #000000;
}

a {
    text-decoration: none;
}


.secondary-title {
    font-size: 20px;
    color: black;
    text-align: center;
}

#sc-title {
    color: #fff;
}

div.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 50px;
    margin-top: 10px;
    margin-bottom: 10px;

    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

div.social-media .fab {
    width: 50px;
    height: 50px;
    padding: 20px;
    font-size: 30px;
    border-radius: 50%;
    text-decoration: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


div.social-media .fa-bento {
    background: #6d84f8;
}

div.social-media .fa-mastodon {
    background: #5e53eb;
    color: white;
}

div.social-media .fa-github {
    background: #333;
    color: white;
}

div.social-media .fa-discord {
    background: #7289da;
    color: white;
}

div.social-media .fa-rocketchat {
    background: #881214;
    color: white;

}

div.social-media .fa-facebook {
    background: #3b5998;
    color: white;
}

div.social-media .fa-twitter {
    background: #55acee;
    color: white;
}

div.social-media .fa-linkedin {
    background: #007bb5;
    color: white;
}

div.social-media .fa-instagram {
    background: #881253;
    color: white;
}

div.social-media .fa-youtube {
    background: #bb0000;
    color: white;
}



div.social-media .fab:hover {
    background-color: #ddd;
    color: black;
}

#no6 {
    background-color: #a028a0;
    color: white;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #333;
    color: white;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

footer a {
    color: white;
}

footer a:hover {
    text-decoration: underline;
    text-decoration-color: green;
    color: #04aa6d;
}

@media screen and (max-width: 1075px) {
    .nav-content {
        flex-direction: column;
        align-items: center;
    }

    ul.nav-menu {
        flex-direction: column;
    }

    div.homepage-logo {
        margin-top: 275px;
    }

    .nav-Togle-btn {
        display: block;
    }


    /* .btn-grid {
        flex-direction: column;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    } */

    div.social-media {
        flex-direction: column;
        gap: 10px;
    }

    body {
        overflow-x: hidden;
    }



}


div.scrolling-text {
    position: fixed;
    top: 0;
    background-color: #000;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1000;
}

div.scrolling-text span {
    color: #fff;
    display: inline-block;
    padding-right: 100%;
    animation: scroll 20s linear infinite;
    padding-bottom: 5px;
}

@keyframes scroll {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

ul.nav-menu {
    margin-top: 20px;
}

div.btn-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

div.btn-grid .btn {
    flex: 1 1 45%;
    /* Adjust the percentage to control the width of the buttons */
    max-width: 200px;
    /* Optional: Set a max-width for the buttons */
    margin: 5px;
    text-align: center;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    div.btn-grid .btn {
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    div.btn-grid .btn {
        flex: 1 1 90%;
    }
}