/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Young+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: hsl(330, 100%, 98%);
  color: hsl(30, 10%, 34%);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}

.cards {
  background-color: hsl(0, 0%, 100%);
  max-width: 720px;
  width: 90%;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 100px auto;
}

img {
  width: 90%;
  margin: 20px;
  border-radius: 10px;
}

.data {
  width: 90%;
  text-align: left;
  margin: 10px 0px;
}

.heading1 {
  font-family: 'Young Serif', serif;
  width: 90%;
}

.text1 {
  font-family: 'Outfit', sans-serif;
  margin: 10px 0px;
}

.box {
  background-color: hsl(330, 100%, 98%);
  width: 90%;
  border-radius: 10px;
}

li {
  font-family: 'Outfit', sans-serif;
  margin: 10px;
  margin: 10px 0px;
}

.heading2 {
  font-family: 'Young Serif', serif;
  color: hsl(14, 45%, 36%);
}

table {
  font-family: 'Outfit', sans-serif;
  width: 90%;
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid hsl(30, 18%, 87%);
}

tr:last-child {
  border-bottom: none;
}

td {
  padding: 15px 30px;
}

td strong {
  color: hsl(14, 45%, 36%);
}

/* ✅ Mobile View Fix */
@media (max-width: 480px) {
  html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
  }

  body {
    display: block;
    padding: 0;
  }

  .cards {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
  }

  img {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .data, .box, table {
    width: 100%;
    padding: 0 16px;
  }

  td {
    padding: 12px 16px;
  }
}
