.main {
    margin: 50px auto;
    max-width: 1200px;
    padding: 10px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

h1 {
    padding: 20px;
    color: blueviolet;
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
}

h2 {
    color: rgb(180, 180, 255);
    padding: 5px;
    font-size: 1.5rem;
}

.card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(145deg, #1e1e1e, #2b2b2b);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

.card img {
    width: 220px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card img:hover {
    transform: scale(1.05);
}

.left-content {
    text-align: center;
    margin: 20px;
}

.right-content {
    text-align: left;
    flex: 1;
}

.right-content p {
    color: #eaeaea;
    padding: 10px 0;
    line-height: 1.6;
    max-width: 500px;
}

.link {
    display: inline-block;
    background: blueviolet;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.link:hover {
    background: rgb(100, 35, 160);
    transform: scale(1.05);
}

/* Responsividade */
@media only screen and (max-width: 768px) {
    .card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .card img {
        width: 100%;
        max-width: 300px;
    }

    .right-content {
        text-align: center;
    }
}
