@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #faebd7;
}

body {
  width: 100%;
  height: 100vh;
  position: relative;
  text-align: center;
  padding: 6rem 0;
}

h1 {
  color: #333;
  font-size: 2rem;
}

input {
  position: relative;
  width: 80%;
  max-width: 350px;
  height: 40px;
  font-size: 16px;
  padding: 8px;
  margin-top: 20px;
  border-radius: 8px;
  outline: none;
  border: 2px solid #333;
}

.emoji-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#emojiContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  position: relative;
  width: 90%;
  max-width: 800px;
}

.emoji {
  font-size: 30px;
  margin: 5px;
  cursor: pointer;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  body {
    padding: 4rem 0;
  }

  h1 {
    font-size: 1.5rem;
  }

  input {
    width: 90%;
    max-width: 300px;
    font-size: 14px;
  }

  .emoji {
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 3rem 0;
  }

  h1 {
    font-size: 1.2rem;
  }

  input {
    width: 95%;
    max-width: 280px;
    font-size: 14px;
  }

  .emoji {
    font-size: 22px;
  }

  #emojiContainer {
    width: 100%;
  }
}
