* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
}

main {
  width: 100%;
  height: 100%;
  background-color: #111629;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  width: 100%;
  padding-inline: 1rem;
}

.quote-details {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.heading {
  background-color: #20293a;
  padding: 3.5rem 1.5rem;
  border-radius: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 5;
  overflow: hidden; /* Ensure the image doesn't overflow */
}

.quote-img {
  width: 100%;
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  z-index: -1;
}

.interactive-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.interactive-btns button {
  outline: none;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;

  background-color: #20293a;
  border-radius: 0.8rem;
  padding: 0.7rem 1rem;
}

.interactive-btns button:hover {
  opacity: 0.9;
  cursor: pointer;
}

.quote-author {
  font-size: 2rem;
  font-weight: 800;
}

.category {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap; /* Ensure categories wrap if they overflow */
}

.category button {
  background: none;
  outline: none;
  border: 2px blue solid;
  border-radius: 0.8rem;
  color: white;
  padding: 0.5rem 0.5rem;
  cursor: pointer;
}

.quote {
  font-size: 1.45rem;
  text-align: center;
}

.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: #333;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.toast.show {
  opacity: 1;
}
