@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/lato-v23-latin-regular.eot");
  src: url("./fonts/lato-v23-latin-regular.eot?#iefix") format("embedded-opentype"),
       url("./fonts/lato-v23-latin-regular.woff2") format("woff2"),
       url("./fonts/lato-v23-latin-regular.woff") format("woff"),
       url("./fonts/lato-v23-latin-regular.ttf") format("truetype"),
       url("./fonts/lato-v23-latin-regular.svg#Lato") format("svg");
}

@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/lato-v23-latin-700.eot");
  src: url("./fonts/lato-v23-latin-700.eot?#iefix") format("embedded-opentype"),
       url("./fonts/lato-v23-latin-700.woff2") format("woff2"),
       url("./fonts/lato-v23-latin-700.woff") format("woff"),
       url("./fonts/lato-v23-latin-700.ttf") format("truetype"),
       url("./fonts/lato-v23-latin-700.svg#Lato") format("svg");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lato", sans-serif;
  font-size: 1.25rem;
  line-height: 1.5;
  padding: 2rem 1rem;
}

h1 {
  font-weight: 700;
  text-align: center;
}

form {
  max-width: 600px;
  margin: 2rem auto;
}

label {
  display: block;
  cursor: pointer;
  width: 100%;
}

.required {
  color: red;
}

form > p.required {
  font-size: 0.75rem;
}

form input[type=url], form input[type=text] {
  width: 100%;
  padding: 5px 12px;
  font-size: 14px;
  line-height: 20px;
  color: #24292e;
  vertical-align: middle;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: right 8px center;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  outline: none;
  box-shadow: rgba(225, 228, 232, 0.2) 0px 1px 0px 0px inset;
}

form input[type=url]:focus, form input[type=text]:focus {
  border-color: #0366d6;
  outline: none;
  box-shadow: rgba(3, 102, 214, 0.3) 0px 0px 0px 3px;
}

form input[type=color] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
form input[type=color]::-webkit-color-swatch {
  border-radius: 10px;
  border: none;
}
form input[type=color]::-moz-color-swatch {
  border-radius: 10px;
  border: none;
}

form input[type=checkbox] {
  margin-left: 0.25rem;
}

form button {
  margin-top: 0.5rem;
  display: inline-block;
  outline: 0;
  width: 100%;
  cursor: pointer;
  padding: 5px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  vertical-align: middle;
  border: 1px solid;
  border-radius: 6px;
  color: #0366d6;
  background-color: #fafbfc;
  border-color: #1b1f2326;
  box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px 0px, rgba(255, 255, 255, 0.25) 0px 1px 0px 0px inset;
  transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  transition-property: color, background-color, border-color;
}

form button:hover {
  color: #ffffff;
  background-color: #0366d6;
  border-color: #1b1f2326;
  box-shadow: rgba(27, 31, 35, 0.1) 0px 1px 0px 0px, rgba(255, 255, 255, 0.03) 0px 1px 0px 0px inset;
  transition-duration: 0.1s;
}

footer {
  font-size: 0.75rem;
  color: rgba(0%, 0%, 0%, 60%);
  text-align: center;
}
