@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 400;
  src: local("Spectral Regular"), local("Spectral-Regular"),
    url("./fonts/spectral-v6-latin-regular.woff2") format("woff2"),
    url("./fonts/spectral-v6-latin-regular.woff") format("woff");
}
@font-face {
  font-family: "Spectral SC";
  font-style: normal;
  font-weight: 400;
  src: local("Spectral SC Regular"), local("SpectralSC-Regular"),
    url("./fonts/spectral-sc-v5-latin-regular.woff2") format("woff2"),
    url("./fonts/spectral-sc-v5-latin-regular.woff") format("woff");
}

@font-face {
  font-family: "Spectral SC";
  font-style: normal;
  font-weight: 700;
  src: local("Spectral SC Bold"), local("SpectralSC-Bold"),
    url("./fonts/spectral-sc-v5-latin-700.woff2") format("woff2"),
    url("./fonts/spectral-sc-v5-latin-700.woff") format("woff");
}
body,
input {
  font-family: "Spectral", serif;
}
h1,
h2,
h3,
label,
strong,
input[type="submit"],
.cloud {
  font-family: "Spectral SC", serif;
}
body {
  padding: 6px;
  font-size: 16px;
}
h1 {
  font-size: 28px;
  border-bottom: 3px solid #000000;
}
h2 {
  font-size: 24px;
  border-bottom: 2px solid #000000;
}
h3 {
  font-size: 22px;
}

@media (min-width: 576px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
}

h1,
h2,
h3,
p {
  margin-bottom: 1em;
  margin-top: 0;
}
small {
  font-size: 14px;
}

section,
header {
  margin: auto;
  max-width: 60em;
}

header {
  display: grid;
  grid-template-columns: 1fr;
}
header p {
  font-size: 18px;
}
header h1 {
  grid-column: 1 / span 2;
}
header .text {
  grid-column: 1;
}

header form {
  grid-column: 1;
  margin-top: 1em;
}
header form h3 {
  margin-bottom: 0;
}

@media (min-width: 576px) {
  header {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  header form {
    grid-column: 2;
    margin-top: 0;
  }

  header .text p:first-child {
    margin-top: 1em;
  }
}

ul.clouds {
  list-style-type: none;
  padding: 0;
}
.cloud {
  color: white;
  background-color: black;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2em;
}

.cloud img {
  width: 100%;
  border: 1px solid black;
  box-sizing: border-box;
  grid-column: 1 / span 2;
  margin: 0;
}
.cloud .name {
  padding: 8px;
  grid-column: 1;
}
.cloud .named-by {
  padding: 8px;
  grid-column: 2;
  justify-self: end;
  text-align: right;
}
form {
  box-shadow: 2px 2px 2px #888888;
  border: 1px solid black;
  padding: 20px 20px 20px 20px;
}
form label {
  width: 100%;
}
form input[type="email"],
form input[type="text"],
form textarea {
  width: 100%;
  border-radius: 0;
  border: 1px solid #888888;
  min-height: 2em;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 18px;
}
form input[type="checkbox"] {
  vertical-align: middle;
  height: 16px;
}
form label {
  display: block;
  margin-left: 2px;
  margin-top: 8px;
  margin-bottom: 4px;
}

form input[type="submit"] {
  margin-top: 10px;
  background-color: white;
  border: 0;
  border-radius: 0px;
  font-size: 20px;
  padding: 10px;
  box-shadow: 2px 2px 4px #444444;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

form input.address {
  visibility: hidden;
  width: 1px;
  height: 1px;
  border: 0px;
  min-height: 1px;
}
.inline {
  display: inline;
}
.nowrap {
  white-space: nowrap;
}
