/* Reset */

body,
h1,
h2,
h3,
p,
ul {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: Georgia, serif;
  background: #faf6ed;
  color: #222;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

* {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
}

@media (max-width: 739px) {
  .container {
    flex-direction: column;
    max-width: 340px;
  }
}

/* Header */

.header {
  background-color: #222;
  padding: 20px;
  margin-bottom: 100px;
}

.header-item ul li {
  text-decoration: none;
  list-style: none;
}

.header-item a {
  box-shadow: inset 0 0 0 0 #fff;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border-radius: 5px;
}

.header-item a:hover {
  box-shadow: inset 100px 0 0 0 #fff;
  color: #000;
  border-radius: 5px;
}

@media (max-width: 739px) {
  .header {
    margin-bottom: 60px;
  }
}

/* Form */

.form-title h1 {
  margin: 20px 0 20px 0;
  text-align: center;
  font-size: 4em;
  margin-bottom: 60px;
}

.form {
  background: #14140f;
  width: 560px;
  padding: 20px;
  flex-direction: column;
  border: 3px solid #f26800;
  border-radius: 5px;
}

label,
input {
  display: block;
  width: 100%;
  outline: none !important;
  margin-bottom: 15px;
  font-family: monospace;
  font-weight: bold;
  font-size: 1rem;
}

input {
  border: 2px solid #f26800;
  padding: 5px;
  border-radius: 5px;
}

input::placeholder {
  color: #000;
}

#formulario h2 {
  margin-bottom: 30px;
  font-size: 2.25em;
  color: #fff;
}

#formulario label {
  font-size: 1.25em;
  font-weight: bold;
  color: #fff;
}

#calcular {
  box-shadow: inset 0 0 0 0 #fff;
  width: 160px;
  height: 40px;
  background: white;
  border-radius: 5px;
  border: 2px solid #f26800;
  font-family: Georgia, monospace;
  margin: 10px 0 40px 0;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#calcular:hover {
  box-shadow: inset 160px 0 0 0 #f26800;
  color: #fff;
  border-radius: 3px;
}

.result span {
  color: #fff;
}

.result strong {
  color: #f26800;
  font-weight: bold;
}
