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

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

body {
  background-color: #F4D04E;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  font-family: 'Figtree', sans-serif;
  padding: 0.5em;
}

.white_box {
  width: 90%;
  max-width: 384px;
  background-color: white;
  border: 1px solid black;
  border-radius: 20px;
  box-shadow: 12px 12px 0 0 #000;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image_box {
  width: 100%;
  height: 200px;
}

.image_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.small_box {
  width: fit-content;
  padding: 0.5rem 1rem;
  background-color: #F4D04E;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
}

.text_1 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111;
}

.text_2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111;
  transition: color 0.3s ease;
  cursor: pointer;
}
/* .text_2:hover {
    color: #F4D04E;
}   */
.text_3 {
  font-size: 1rem;
  font-weight: 500;
  color: #6b6b6b;
  line-height: 1.6;
}

.avatar_div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar_div img {
  width: 32px;
  height: 32px;
}

.avatar_div .text_4 {
  font-weight: bold;
  font-size: 0.95rem;
  color: #111;
}


  @media (max-width: 768px) {
    .text_2:hover {
      color: black;
    }
  }
  
  /* Desktop view: hover = yellow */
  @media (min-width: 769px) {
    .text_2:hover {
      color: #F4D04E;
    }
  }