/* Basic CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #F4F4F4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #333;
}

.container {
  text-align: center;
  max-width: 400px;
  width: 90%;
  padding: 20px;
  border-radius: 10px;
  background-color: #FFF;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #C0392B;
}

header p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.input-container {
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

#text-input {
  flex: 1;
  padding: 10px;
  margin-right: 10px;
  border: 2px solid #C0392B;
  border-radius: 5px;
  background-color: #F9F9F9;
  color: #333;
}

#check-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #C0392B;
  color: #FFF;
  font-size: 1rem;
  cursor: pointer;
}

#check-btn:hover {
  background-color: #E74C3C;
}

.result {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #C0392B;
}

/* Responsive Styling */
@media (max-width: 400px) {
  .input-container {
    flex-direction: column;
    align-items: stretch;
  }

  #text-input {
    margin-right: 0;
    margin-bottom: 10px;
  }

  #check-btn {
    width: 100%;
  }
}