* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

#google_translate_element{
    display: flex;
    justify-content: center;
}

/* 🧱 Card */
.card {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    width: 80%;
    margin: 20px auto;
    text-align: center;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
}

.img-container {
    width: 70%;
    height: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

.card .img-container img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}


/* 🔘 Buttons container */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* espacio entre botones */
}

/* 🖼️ Imágenes */
.buttons img {
    width: 50px;
    height: 50px;
    object-fit: contain; /* evita deformación */
    cursor: pointer;
    transition: transform 0.2s;
}

.buttons img:hover {
    transform: scale(1.1);
}

/* 📱 Mobile */
@media (max-width: 600px) {
    .card {
        width: 95%;
        padding: 15px;
    }

    .buttons img {
        width: 40px;
        height: 40px;
    }
}

/* 📱 Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
    .card {
        width: 90%;
    }

    .buttons img {
        width: 45px;
        height: 45px;
    }
}
