@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 140vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(https://th.bing.com/th/id/R.68d4965b1e29a53eaac1f6c24799b062?rik=t%2fI1bBkOTDqOdQ&pid=ImgRaw&r=0);
  background-size: cover;
  background-position: center center;
  font-family: 'Mukta', sans-serif;
}

.coin {
  display: flex;
  width: 100%; /* Fixed the typo here */
  max-width: 600px; /* Increased max-width to fit the card content */
  height: 120px; /* Increased height to accommodate content */
  border-radius: 8px;
  margin: 38px 10px;
  background-color: #000000;
}

.coin .coin-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin .coin-logo img {
  max-width: 60px;
  max-height: 60px;
}

.coin .coin-details {
  flex: 3;
  display: flex;
  align-items: center;
}

.coin .coin-name {
  flex: 1;
  display: flex;
  flex-direction: column; /* Adjusted to stack name and symbol */
  justify-content: center; /* Center vertically */
  padding-left: 10px;
}

.coin .coin-name h3 {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 2px; /* Add some spacing between name and symbol */
}

.coin .coin-name span {
  color: #aaa;
  font-size: 14px;
  font-weight: 500;
}

.coin .coin-price {
  flex: 1;
  display: flex;
  flex-direction: column; /* Adjusted to stack price and change */
  align-items: flex-end; /* Align to the right */
  justify-content: center; /* Center vertically */
  padding-right: 10px;
}

.coin .coin-price .price {
  font-size: 24px; /* Further reduced font size for mobile */
  font-weight: 700;
  color: #30ff20; /* Set the price color to green */
  line-height: 1; /* Ensures the price text doesn't break */
}

.coin .coin-price .change {
  color: #b6b6b6;
  font-size: 12px; /* Further reduced font size for mobile */
  font-weight: 600;
  margin-top: 4px; /* Increased spacing between price and change text */
}

/* Media Queries */

@media (max-width: 768px) {
  .coin .coin-name h3 {
    font-size: 16px;
  }
  
  .coin .coin-name span {
    font-size: 12px;
  }
  
  .coin .coin-price .price {
    font-size: 20px; /* Further reduced font size for mobile */
  }
  
  .coin .coin-price .change {
    font-size: 10px; /* Further reduced font size for mobile */
  }
}

/* Media Queries for Portuguese */


/* feio */
/* The rest of the CSS ... */
