@-webkit-keyframes pulse {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}
@keyframes pulse {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}
.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.main {
  margin: 0 var(--small-space) 10em var(--small-space);
}

.form .inputs {
  border-bottom: 1px solid;
  display: grid;
  gap: 20px 10px;
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 640px) {
  .form .inputs {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .form .inputs {
    grid-template-columns: repeat(4, 1fr);
  }
}
.form .inputs .form-input {
  display: flex;
  flex-direction: column;
}
.form .inputs .form-input input {
  border: none;
  font-size: 1em;
  margin-bottom: 0.125em;
  outline: none;
}
.form .form-actions {
  display: grid;
  gap: 20px 0px;
  margin-top: 1.25em;
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 640px) {
  .form .form-actions {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .form .form-actions {
    grid-template-columns: repeat(4, 1fr);
  }
}
.form .submit:hover:before {
  background-color: #000;
}
.form .submit:before {
  background-color: #fff;
  border: 1px solid;
  content: "";
  display: inline-block;
  height: calc(1em - 2px);
  margin-bottom: -0.1em;
  margin-right: 0.25em;
  transition: background-color 0.3s ease;
  width: calc(1em - 2px);
}
.form .submit input[type=submit] {
  background-color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1em;
  font-weight: 400;
  padding: 0;
  width: auto;
  position: relative;
}
@media screen and (min-width: 640px) {
  .form .submit {
    grid-column: span 2;
  }
}
@media screen and (min-width: 1024px) {
  .form .submit {
    grid-column: span 3;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px 10px;
}
@media screen and (min-width: 480px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.grid .title {
  margin: 0.125em 0 0.5em 0;
}
