@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.37, 0, 0.45, 0.99);
}

body {
  background-color: white;
  font-family: 'Arimo', sans-serif;
  color: #000;
  margin: 0;
  line-height: 1.6;
}

.l-page-wrap {
  padding: 2em;
  max-width: 40em;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.unit-converter {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.unit-converter__header {
  background-color: #007bff;
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
}

.unit-converter__title {
  font-weight: 300;
  margin: 0;
}

.unit-converter__controls {
  display: flex;
  justify-content: space-around;
  padding: 1em 2em;
}

.inputs {
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.inputs__input {
  width: 48%;
  margin-bottom: 1em;
}

.inputs__field {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
   text-align: center; 
}

.inputs__label {
	 background-color: #e6e7e8;
  display: block;
  font-size: 0.85em;
  margin-bottom: 0.5em;
   padding: 0.25em 1em;
  color: black;
   text-align: center; 
}

.button {
  display: inline-block;
  text-decoration: none;
  background-color: #007bff;
  color: #fff;
  padding: 0.5em 1em;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
}

.button:hover, .button:focus {
  background-color: #0056b3;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
