/* Styles de base */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Conteneur principal */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

footer{
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background:  #f4f4f4;;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}
/* Titres */
h1 {
    color: #0056b3;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    color: #333;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    font-size: 1.5em;
    margin-top: 30px;
}

/* Paragraphes */
p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Liens */
a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #003d80;
    text-decoration: underline;
}

/* Boutons */
button {
    background-color: #0056b3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #003d80;
}

/* Media Queries pour les petits écrans */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.2em;
    }
    p {
        font-size: 1em;
    }
    .crypto-item {
        display: flex;
        flex-direction: column;
    }
    img{
        width: 40%;
    }
}


/* Tableau des crypto-monnaies */
#crypto-prices {
    margin-top: 20px;
    border-collapse: collapse; /* Assurez-vous que les bordures se rejoignent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: black;
}

.crypto-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.crypto-item:last-child {
    border-bottom: none;
}

.crypto-item > img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.crypto-item strong {
    font-size: 1.2em;
    color: #0056b3;
}

.crypto-item span {
    font-size: 1em;
    color: white;
}

/* Effet de survol */
.crypto-item:hover {
    background-color: #85bb65;;
}

/* Lignes de séparation */
/* .crypto-item::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #0056b3 ;
    margin-bottom: 10px;
} */

.crypto-item:first-child::before {
    display: none; /* Ne pas afficher la ligne de séparation avant le premier élément */
}

