body {
  font-family: Arial, sans-serif;
  background: #ff6e7f;
  background: -webkit-linear-gradient(to right, #bfe9ff, #ff6e7f);
  background: linear-gradient(to right, #bfe9ff, #ff6e7f);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  width: 100%;
  max-width: 500px;
  background: #314755;
  background: -webkit-linear-gradient(to right, #26a0da, #314755);
  background: linear-gradient(to right, #26a0da, #314755);

  padding: 20px;
  border-radius: 10px;
}

h1 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
}

.converter {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input,
.select {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 16px;
  margin-bottom: 8px;
  color: #ffffff;
}

input,
select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

input:focus,
select:focus {
  border-color: #4e9fff;
  outline: none;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}

button {
  padding: 10px 20px;
  width: 50%;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.convert-btn {
  background-color: #4e9fff;
  color: white;
}

.convert-btn:hover {
  background-color: #358bd1;
}

.clear-btn {
  background-color: #f44336;
  color: white;
}

.clear-btn:hover {
  background-color: #e53935;
}

.result {
  text-align: center;
  font-size: 18px;
  margin-top: 20px;
  color: #ffffff;
  background-color: #008cff;
  border-radius: 20px;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .container {
    width: 90%;
    padding: 15px;
  }

  h1 {
    font-size: 24px;
  }

  label,
  button {
    font-size: 14px;
  }

  input,
  select {
    font-size: 14px;
  }
}
