* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}


body {
  background: linear-gradient(135deg, #f8f9fa, #dbeafe);
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

h2 {
  margin-bottom: 25px;
  font-weight: 600;
  color: #343a40;
}

.input-container {
  background: rgba(255, 255, 265, 0.9);
  backdrop-filter: blur(10px);
  padding:40px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 100%;
  max-width: 450px;
  animation: fadein 0.6s ease;
}

input[type="text"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  transition: 0.3 ease;
}

input[type="text"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);

}

#answer {
  min-height: 50px;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  margin-bottom: 20px;
  transform: scale(0.95);
  transition: all 0.3 ease;
}


.btn-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 20px 0px;
}

.btn {
  padding: 12px 27px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}


.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-warning {
  background-color: #ffc107;
  color: #212529;
}

.green {
  color: green;
  font-weight: bold;
}

.red {
  color: red;
  font-weight: bold;
}


@media (max-width: 500px) {
  .btn-container {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}