/* Import the Material icons font */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* Use the Material color palette */
:root {
  --md-primary-color: #6200ee;
  --md-secondary-color: #018786;
  --md-background-color: #f5f5f5;
  --md-text-color: #212121;
}

/* Style the page */
body{
padding:5px;
}

/* Apply the Material design to the whole page */
html {
  font-family: 'Poppins';
  font-size: 16px;
  color: var(--md-text-color);
  background-color: var(--md-background-color);
}

/* Style the unit converters blocks, surrounded by a shadow */
.unit_converter
{
max-width:600px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 60px;
padding-top: 1px;
margin-bottom: 20px;
margin-left: auto;
margin-right: auto;
box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.5);
}

/*Style the intro block*/
#intro
{
text-align:center;
font-size:1em
margin-top: -50px !important;
padding:10px;
margin-bottom:20px !important;
max-width:600px;
margin:auto;}

/*Style the footer*/
#promo
{margin-top:100px;
font-size:11px;
text-align:center;}

/* Style the converters */

#converter1
{display: flex;
justify-content: space-between;
max-width:600px;
margin-left:auto;
margin-right:auto;}

#converter2
{display: flex;
justify-content: space-between;
max-width:600px;
margin-left:auto;
margin-right:auto;}

#converter3
{display: flex;
justify-content: space-between;
max-width:600px;
margin-left:auto;
margin-right:auto;}

#converter4
{display: flex;
justify-content: space-between;
max-width:600px;
margin-left:auto;
margin-right:auto;}

/* Style the select element */
select {
  display: block;
  margin: auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: 0.15px;
  color: #333333;
  border: none;
  border-radius: 4px;
  background-color: #f2f2f2;
  padding: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

}

/* Do not display an arrow in dropdown */
select::-ms-expand {
  display: none;
}

h1
{text-align:center;
font-size:2em}

h2
{text-align:center;
font-size:50px;
margin-top: -20px !important;
}

h3
{text-align:center;
font-size:2em}

/* Style the text input fields */
input{
 padding: 16px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
  background-color: white;
  font-size: 15px;
  resize: none;
  margin-right:5px;
  width: 100%;
}

/* Center the buttons */
#btndiv
{text-align:center;}

/* Style the buttons */
button {
  margin-top: 16px;
  height:60px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: var(--md-primary-color);
  color: white;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
}

/* Add Material icons to the buttons */
button .material-icons {
  margin-right: 8px;
}

/* Style the buttons on hover */
button:hover {
  background-color: var(--md-secondary-color);
}

/* Style the CLEAR button */
#clear
{background-color: gray;}
