html {
  box-sizing: border-box;
  overflow-x: hidden;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  background-color: #2c2c2c;
  color: #ffffff;
}

h1 {
  font-size: 22px;
}

section {
  background-color: #282828;
  padding: 1em;
  border-radius: 8px;
  margin-bottom: 2em;
}

input[type=text],
input[type=number] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0 16px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=text]:focus,
input[type=number]:focus {
  outline: none;
  border: 1px solid #5978e2;
}

input[type=text]:invalid,
input[type=number]:invalid {
  border: 1px solid #d94a4a;
}

ul {
  margin: 0 0 1em 0;
  padding: 0;
  list-style-type: none;
}

a:link {
  text-decoration: none;
  color: #f0c2ef;
}

a:visited {
  text-decoration: none;
  color: #f0c2ef;
}

a:active {
  text-decoration: none;
  color: #b920b7;
}

a:hover {
  text-decoration: underline;
  color: #b920b7;
}

button {
  background-color: #f0c2ef;
  border: none;
  color: #282828;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 8px;
}

button:hover {
  opacity: 0.8;
}

button:disabled {
  background-color: #5e5e65;
  cursor: not-allowed;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}

td {
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 13px;
}

tr:nth-child(even) {
  background-color: #3f3f3f;
}

table td:nth-child(1),
table td:nth-child(3) {
  width: 5.5em;
}
