body {
    touch-action: manipulation;
    background: linear-gradient(to bottom, #430139, #45008b);
    color: white;
    font-family: 'Asap', sans-serif;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .category {
    height: 46px;
    padding: 0 12px 0 12px;
    margin: 0 5px 10px;
    border-radius: 100px;
    font-size: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px) grayscale(0.5) opacity(0.8);
    display: flex;
    align-items: center;
    background-color: rgba(137, 11, 118, 0.3); 
    color: #fff;
    font-family: 'Asap', sans-serif;
    font-weight: 600;
    cursor: pointer;
  }
  .category-icon {
    margin-right: 7px;
    width: 30px;
  }
  .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    max-width: 600px;
    margin: 0 auto;
  }
  h1 {
    font-size: 24px;
    margin: 0;
  }
  .button-container {
    display: flex;
    justify-content: center;
  }
  button {
    background-color: #fff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 100px;
    margin: 10px;
    cursor: pointer;
  }
  .button-truth-dare {
    height: 60px;
    background-color: #fff;
    color: #8b008b;
    font-family: 'Asap', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    padding: 0 33px;
    border: none;
    border-radius: 100px;
    margin: 10px;
    cursor: pointer;
  }
  .button-truth-dare:hover, .category:hover{
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  .button-truth-dare:active, .category:active{
    -ms-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }
  .button-truth-dare:focus, .category:focus{
    outline: none;
  }
  .enlarged-icon {
    width: 100px;
    height: 100px;
  }


  @media (min-width: 768px) {
    h1 {
      font-size: 36px;
    }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .fadeIn {
    opacity: 0;
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-fill-mode: forwards;
  }

  
.title-newquestion {
  height: 46px;
  padding: 0 12px 0 12px;
  margin: 0 5px 10px;
  color: #fff;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  max-width: 100%;
  padding: 0 20px;
}

.search-container {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #430139;
}

.checkbox-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.search-input:focus + .checkbox-container,
.checkbox-container:hover {
  display: block;
}

.checkbox-container label {
  display: block;
  margin-bottom: 5px;
  color: #430139;
  font-weight: bold;
  cursor: pointer;
}

.question-text {
  color: #fff;
  margin-bottom: 20px;
}

.question-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #430139;
  margin-bottom: 20px;
}

.submit-button {
  background-color: #fff;
  color: #8b008b;
  font-family: 'Asap', sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  padding: 10px 30px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.3s;
}

.submit-button:hover {
  transform: scale(1.05);
}

.submit-button:active {
  transform: scale(0.95);
}

.submit-button:focus {
  outline: none;
}

@media (max-width: 480px) {
  .title-newquestion {
    font-size: 24px;
    height: auto;
    padding: 10px;
    margin: 0 0 20px;
  }

  .search-input, .question-input, .submit-button {
    font-size: 14px;
  }

  .submit-button {
    padding: 8px 20px;
  }
}