body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 350vh;
}

main {
    max-width: 80%;
    height: 370vh;
    margin: 20px auto;
    padding: 1em;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
    background: linear-gradient(to right, #ff6666, #ff3333);
    color: #fff;
    text-align: center;
    padding: 1em 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

nav {
    background-color: #fff;
    padding: 1em;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background-color 0.3s ease; 
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style: none;
    margin: 10px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
}

nav li {
    margin: 15px 10px;
}

nav a {
    text-decoration: none;
    padding: 10px;
    background-color: #ff6666;
    color: #fff;
    margin: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease; 
}

.coinmarketcap-currency-widget-container {
    margin: 20px auto;
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

section {
    width: 100%;
    height: 500px;
    margin-top: 20px; 
    overflow: hidden; 
}

.centered-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 600px;
}

.mining-info {
    max-width: 80%;
    margin: 20px auto;
    padding: 1em;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.mining-info h2 {
    color: #333;
    text-align: center;
}

#block-info {
    margin-top: 20px;
}

#block-info p {
    margin: 0;
    padding: 5px 0;
    font-size: 16px;
    color: #666;
    border-bottom: 1px solid #ccc;
}

.button-container {
    text-align: center;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    color: #fff;
    margin-bottom: 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.buy-button {
    background-color: #28a745;
}

.buy-button:hover {
    background-color: #218838;
}

.sell-button {
    background-color: #dc3545;
}

.sell-button:hover {
    background-color: #c82333;
}

footer {
    background: linear-gradient(to right, #ff6666, #ff3333);
    color: #fff;
    text-align: center;
    padding: 0.5em 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}