@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');

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

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3em;
  background-color: #FFF;
  color: #000;
  font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.6;
	padding: 1em 0 6em;
}

button,
input {
  outline: none;
  border: none;
  border-radius: 4px;
  transition: background-color 350ms;
  font-size: 1em;
  height: 2.5em;
  background-color: #EBEBEB;
}

button {
  cursor: pointer;
}

input {
  padding: 0 1em;
}

button:hover,
input:hover,
button:focus,
input:focus {
  background-color: #DDDDDD;
}

h1 {
  font-size: clamp(0.75rem, 1.6vw, 2.5rem);
  text-align: center;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: #9B9B9B;
  transition: color 350ms;
}

a:hover {
  color: #222;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 50em;
  width: calc(100%-2em);
  gap: 3em;
  margin: 0 2em;
}

div {
  width: 100%;
  text-align: justify;
}

#form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  width: 100%;
}

#form > div {
  grid-column: 1/-1;
}

#submit-button {
  grid-column: 1/-1;
  color: #9B9B9B;
}

#signature-count {
  font-weight: bold;
  font-size: 1.1em;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: rgba(255,255,255,0.95);
  font-size: 1.6em;
}

#signature-list {
  display: flex;
  flex-direction: column;
}

.h1-sml {
  font-size: 2em;
  line-height: 0.8em;
}

.h1-mid {
  font-size: 3em;
  line-height: 0.8em;
}

.h1-lrg {
  display: block;
  font-size: 7em;
  font-weight: bold;
  line-height: 0.8em;
  margin-bottom: -0.2em;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.list-item {
  display: grid;
  grid-template-columns: 2em 1fr;
}

.center-text {
  text-align:center;
}
	
.inspired {
  width: 100%;
}

.list-title {
  text-transform: uppercase;
  font-weight: bold;
  line-height: 3.5em;
}

.card {
  display: flex;
  flex-direction: row;
}

.card > .item {
  line-height: 2.7em;
  border-bottom: 1px solid #EEEEEE;
  padding-left: 1em;
}

@media screen and (max-width: 699px) {
  #form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    width: 100%;
  }

  #form > div {
    grid-column: 1;
  }

  #submit-button {
    grid-column: 1;
  }
}
