/* Styling for Page 13 (ID: #page_13) */

#page_13 p {
  margin-top: 1px;
  margin-bottom: 2px;
}

#page_13 h3 {
  margin-bottom: 2px;
  margin-top: 5px;
}

/* D. Let’s Play! (Matching Game) for Page 13 */
#game_p13 .item {
  width: 75px;
  height: 67px;
  border: 3px dashed #aaa;
  border-radius: 12px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: grab;
  touch-action: none;
}

#game_p13 .item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

#game_p13 .item img {
  max-width: 55px;
  max-height: 70px;
  pointer-events: none;
}

#game_p13 .target {
  width: 75px;
  height: 60px;
  font-size: 10px;
  border: 2px solid #aaa;
  background-color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: 400;
  transition: background-color 0.3s, border-color 0.3s;
  padding: 4px;
  gap: 3px;
}

#game_p13 .target.over {
  background-color: #d4f8e8;
  border-color: #005fa3;
}

#game_p13 .gambar, #game_p13 .kata {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

#game_p13.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6px; /* Adjusted gap */
}

@media (max-width: 700px) {
  #game_p13.container {
    flex-direction: column;
    gap: 30px;
  }
}

#hasil_p13 {
    margin-top: 2px;
    font-size: 14px;
    font-weight: bold;
}

/* Page 13 Buttons - Smaller */
#btns_p13 {
  margin-top: 1px;
  margin-bottom: 2px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

#btns_p13 button {
  font-size: 13px;
  padding: 3px 8px;
  border: none;
  background-color: #0078d7;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#btns_p13 button:hover {
   background-color: #005fa3;
}

#btns_p13 button.reset {
  background-color: #d9534f;
}

#btns_p13 button.reset:hover {
  background-color: #b52b27;
}

/* E. Let’s Write! Inputs and Button for Page 13 */
#lets_write_p13 {
    font-size: 13px;
    margin-bottom: 2px;
    line-height: 1;
}

#lets_write_p13 input {
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
  width: 80px;
  font-size: 11px;
  padding: 1px 2px;
}

#btn_check_p13 {
  background-color: #0078d7;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  padding: 3px 8px;
  margin-top: 2px;
}

#btn_check_p13:hover {
  background-color: #005fa3;
}
