/* Global reset and basic styles */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  min-height: 100vh; 
  background-color: #19172e; 
  font-family: "Garamond", serif;
  color: white;
}

/* Container styling */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  margin: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

/* Heading styling */
.heading {
  font-family: "Roboto", sans-serif;
  color: white;
  font-size: 50px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 20px 20px;
  line-height: 1.2;
}

/* Query text styling */
#query {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

/* Button styling */
button {
  width: 45%;
  margin-top: 9px;
  padding: 15px; /* Increased button padding */
  border-radius: 10px; /* Increased button border radius */
  cursor: pointer;
  font-weight: bold;
  border: none;
  background-color: #333;
  color: white;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #555;
}

button:active {
  background-color: #1e8e3e;
}

/* Specific button IDs */
#submit {
  background-color: #007bff;
}


/* Button styling */
#submit, #cls {
  width: 300px; /* Increased width */
  height: 80px; /* Increased height */
  margin-top: 20px;
  padding: 20px; /* Increased padding */
  font-weight: bold;
  font-size: 24px; /* Increased font size */
  border-radius: 8px; /* Increased border radius */
  cursor: pointer;
  background-color: #333;
  color: white;
  border: none;
  outline: none;
  transition: background-color 0.3s ease;
}

#submit:hover, #cls:hover {
  background-color: #1e8e3e;
}


#cls {
  background-color: #dc3545;
}

/* Result text styling */
#result {
  color: white;
  font-size: 23px;
  text-align: center;
  margin-top: 20px;
}

/* Input box styling */
input[type="text"] {
  width: 100%;
  height: 60px; /* Increased input box height */
  outline: none;
  border: none;
  font-size: 24px; /* Increased font size */
  padding: 0 20px; /* Increased padding */
  margin-bottom: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Responsive adjustments for small screens */
@media only screen and (max-width: 480px) {
  .heading {
    font-size: 25px;
    padding: 50px 20px;
  }

  .container {
    width: 90%;
  }

  #query {
    font-size: 18px;
  }

  #result {
    font-size: 16px;
  }

  button {
    width: 100%;
  }
}
