body {
    font-family: Arial, sans-serif;
    background-color: #1e1e30;
    color: #fff;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-left: 20px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.header-right {
    margin-right: 20px;
}

main {
    padding: 20px;
    text-align: center;
}

.crypto-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    max-width: 950px;
    margin: 0 auto;
}

.crypto-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #2a2a40;
    padding: 15px;
    margin: 10px;
    border-radius: 10px;
    width: calc(50% - 20px); /* 2 columns on mobile */
    box-sizing: border-box;
}

.crypto-info {
    text-align: center;
    margin-bottom: 10px;
}

.crypto-info p {
    margin: 0;
}

.price-indicator {
    background-color: #00b894;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .crypto-item {
        width: calc(33.333% - 20px); /* 3 columns on desktop */
    }
}

@media (min-width: 950px) {
    .crypto-list {
        width: 950px;
    }
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
}
