html * {
  box-sizing: border-box;
}

html {
  font-family: Arial, Helvetica, sans-serif;
}

.container {
  display: block;
  margin: 0 auto;
  max-width: 642px;
  padding: 80px 16px;
}

h1.logo {
  margin: 0;
  color: #222;
  margin-bottom: 16px;
  font-size: 38px;
  display: flex;
  align-items: center;
  width: 100%;
  /* fontface */
  font-family: "Pacifico", cursive;
}

h1 svg {
  height: 40px;
  display: inline;
  width: auto;
  margin-left: 8px;
}

h1 + p {
  margin: 0;
  margin-bottom: 32px;
}

h3 {
  color: #444;
}

form {
  margin-bottom: 24px;
}

form#chassi input {
  color: #444;
  background-color: #fff;
  font-size: 16px;
  font-weight: 400;
  min-height: 48px;
  text-transform: uppercase;
  width: 100%;
  padding: 8px;
  display: block;
  margin: 0 auto;
  margin-bottom: 8px;
  border: solid 2px #00CED1;
  border-radius: 4px;
  height: 56px;
}

form#chassi input::placeholder {
  text-transform: initial;
}

form#chassi button {
  font-size: 24px;
  font-weight: 400;
  width: 100%;
  display: flex;
  margin: 0 auto;
  padding: 0 16px;
  margin-bottom: 8px;
  border-radius: 4px;
  border: none;
  min-height: 56px;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  background-color: #00CED1;
  color: #fff;
  font-weight: 400;
  cursor: pointer;
  position: relative;
  transition: 200ms;
  overflow: hidden;
  gap: 8px;
  letter-spacing: 1px;
}

form#chassi button:hover {
  transition: 200ms;
  background-color: #008080;
}

form#chassi button svg {
  max-height: 24px;
  max-width: 24px;
}

form#chassi button.button--outlined {
  background: transparent;
  color: #444;
  border: solid 2px #444;
}

#results {
  padding-top: 16px;
}

#results article h2 {
  word-break: break-all;
}

#results img.vintage-ad {
  min-height: 200px;
  max-width: 100%;
  background-color: #f1f1f1;
}

label {
  color: #777;
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

article:not(:last-of-type) {
  padding-bottom: 24px;
  border-bottom: solid 1px #444;
}

dt, dd {
  padding: 0;
  margin: 0;
  color: #444;
}

dl {
  margin: 24px 0;
}

dl strong {
  color: #008080;
}

dt {
  font-size: 14px;
}

dd {
  margin-bottom: 16px;
  text-transform: capitalize;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul li, ol li {
  font-size: 14px;
  margin-bottom: 4px;
  color: #444;
}

ul li span, ol li span {
  color: #aaa;
}

img {
  max-width: 100%;
  display: block;
  margin-bottom: 24px;
}

p {
  color: #444;
}

.loading {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 100%;
  border: dotted 4px #00CED1;
  animation: spin 1s infinite linear;
}

.form-actions {
  display: flex;
  gap: 8px;
}

@keyframes spin {
  from {
      transform:rotate(0deg);
  }
  to {
      transform:rotate(360deg);
  }
}

@media screen and (max-width: 400px) {
  .form-actions {
    display: block;
  }
}