

.container {
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: #1a73e8;
  margin-bottom: 30px;
}

.converter-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.converter-item {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.converter-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.converter-item h3 {
  margin: 0 0 15px 0;
  color: #202124;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #e8eaed;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

input:focus {
  outline: none;
  border-color: #1a73e8;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #1557b0;
}

.result {
  margin: 15px 0;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #1a73e8;
}

.formula {
  font-size: 0.9em;
  color: #5f6368;
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
}
