@import url("https://fonts.googleapis.com/css2?family=Covered+By+Your+Grace&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Schoolbell&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "Host Grotesk", sans-serif;
}

.navbar {
    width: 100%;
    background-color: #0f1823;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    position: relative;
    z-index: 1000; /* Assurez-vous que la navbar est au-dessus */
}

.nav-logo-title {
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px; /* Add margin to the right of the logo */
}

.nav-title {
    color: #eee;
    font-size: 1.5em;
    font-weight: bold;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #eee;
    font-size: 1.5em;
    cursor: pointer;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: #eee;
    font-size: 1em;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: #333;
}

.nav-link:active {
    background-color: #555;
}

.coins {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 5px;
}

.coins img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Footer styles */
.footer {
    background-color: #0f1823;
    color: #eee;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-section p,
.footer-section ul {
    font-size: 1em;
    line-height: 1.6;
}

.footer-section ul {
    padding: 0;
}

.footer-section ul li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #eee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ddd;
}

.footer-bottom {
    background-color: #0d141e;
    color: #bbb;
    padding: 10px 0;
    font-size: 0.9em;
}

.footer-bottom a {
    color: #bbb;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ddd;
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        background-color: #0f1823;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.2em;
        padding: 10px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin: 20px 0;
    }
}
