html {
  position: relative;
}

.blind-page {
  margin: 10px 150px;
}

.h1 {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 55px;
  margin-top: 30px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

.rocket-intro {
  font-size: 1.1rem;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #80808057;
  display: none;
}

.modal {
  background-color: white;
  padding: 2rem;
  position: absolute;
  left: 50%;
  top: 50vh;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 2fr 2fr;
  grid-template-rows: auto;
  grid-template-areas:
    "header header"
    "progress progress"
    "main1 image"
    "main2 image"
    "main3 image"
    "footer footer";
  justify-content: center;
}

.modal h2 {
  grid-area: header;
}

.modal img {
  grid-area: image;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.progress {
  grid-area: progress;
  margin-bottom: 2rem;
}

.progress p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.progress-bar {
  background-color: #896ca7;
  width: 0;
  height: 10px;
  transition: width 1s;
  border-radius: 3px;
}

.modal-header {
  font-family: "Quicksand", sans-serif;
}

.modal .button {
  grid-area: footer;
}

.modal-input {
  padding-bottom: 1rem;
  margin: 0;
}

.modal-input label {
  display: block;
  font-size: 0.875rem;
}

.modal-input input {
  box-sizing: border-box;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.5rem;
  border: 1px solid rgb(206, 206, 206);
  border-radius: 0.25rem;
  font-size: 1rem;
  line-height: 1.1875rem;
}

.validation-error {
  color: #ee3a64;
  font-size: 0.875rem;
}

.button {
  margin: 1rem auto 0;
  padding: 1.25rem;
  background-color: #896ca7;
  color: white;
  border: none;
  border-radius: 5px;
  font-family: "Inter";
  font-size: 1rem;
}

.button:hover {
  background-color: #493257;
}

.buy-button {
  width: 65%;
}

.person-bubble {
  background-color: #fff6f8;
}

.person-bubble > button {
  background-color: #ffc3d1;
}

.person-bubble > button:hover {
  background-color: #f38ba3;
}

.person-intro .side-by-side {
  max-height: 291px;
  height: 100%;
}

.hideable {
  margin-bottom: 2rem;
}

.hideable > h2 {
  font-weight: 400;
}

.hideable p {
  margin-left: 1.5rem;
}

.rocket-info {
  margin: 4rem 0 5rem 0;
}

.hidden.hideable .hideable-content {
  display: none;
}

.hidden.hideable h2::before {
  content: url("../assets/chevron-right.svg");
  padding-right: 0.5rem;
}

.hideable h2::before {
  content: url("../assets/chevron-down.svg");
  padding-right: 0.5rem;
}

footer {
  display: flex;
  align-items: center;
  padding-top: 5rem;
  justify-content: center;
  grid-gap: 0.3rem;
}

.info-content {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.rockets {
  margin: 4rem 0;
}

.rocket-header {
  font-size: 1.4rem;
  font-weight: 400;
}

.blind-splash {
  width: 16rem;
  display: block;
  margin: -3rem 1rem 1rem auto;
}
