body {
    background: linear-gradient(270deg, #2e2e2e, #000);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

#logo {
    height: 50px;
}

button {
    background-color: #fef600;
    border: none;
    color: black;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #d4d400;
    transform: scale(1.05);
}

.intro {
    text-align: center;
    margin: 20px 0;
}

.intro h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
}

.intro p {
    margin: 5px 5px;
    font-size: 18px;
}

.container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os itens horizontalmente */
    padding: 20px;
    overflow: hidden;
}

.crypto img {
height: 50px;
width: 50px;
}


.crypto {
    position: relative;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    margin: 10px; 
    width: calc(25% - 20px); /* Ajusta a largura com margens */
    max-width: 300px; /* Adiciona um limite máximo de largura */
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 10px; 
    padding: 20px; 
    z-index: 1; 
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

/* Estilo para telas pequenas */
@media (max-width: 768px) {
    .crypto {
        width: calc(90% - 20px); /* Ajusta a largura para 90% com margens */
        margin: 10px; /* Mantém a margem */
    }
    
    .crypto img {
height: 40px;
width: 40px;
}

    .container {
        flex-direction: column;
        align-items: center;
    }
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.simulation-container {
    background-color: #333333;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    text-align: center;
    width: 80%;
    max-width: 600px;
}

.contact-container {
    background-color: #fef600;
    display: flex;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;
}

footer {
    display: block;
    text-align: center;
    padding: 20px;
}

.confirm-button {
    margin-top: 10px;
    font-weight: bold;
}

/* Estilo para telas pequenas */
@media (max-width: 768px) {
    .crypto {
        width: 100%;
        margin: 10px 10px;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    button {
        width: 100%;
        margin: 5px 0;
    }
}
