body {
  font-family: 'helvetica', 'sans serif';
}

p {
  font-size: 18px;
}

.fly-to-moon {
  background-image: url('../img/background--fly-to-moon.jpg');
  width: 100vw;
  background-size: cover;
  background-position: center top;
}

.fly-to-moon--get {
  text-align: center;
}

@media (min-width: 600px) {
  .fly-to-moon--get {
    text-align: right;
  }
}

.signup {
  background-image: url('../img/background--search.jpg');
  width: 100vw;
  background-size: cover;
  background-position: center top;
}

.search {
  background-image: url('../img/background--signup.jpg');
  width: 100vw;
  background-size: cover;
  background-position: center center;
}

.container {
  width: 80%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 4vw;
  padding-bottom: 4vw;
}

.container__fly-to-moon {
  padding-top: 10vw;
}

img {
  max-width: 100%;
  height: auto;
}
  
.heading {
  color: #FFF;
  margin-top: 36px;
  font-size: 36px;
  line-height: 42px;
}

.banner {
  margin-top: 48px;
}

.sub-heading {
  color: #FFF;
  font-size: 18px;
  font-weight: bold;
  margin-top: 18px;
  margin-bottom: 36px;
}

.black-pill {
  background-color: #0066b3;
  color: #FFF;
  font-weight: bold;
  border-radius: 36px;
  padding: 18px 36px;
  text-decoration: none;
  text-align: center;
  font-size: 24px;
  display: inline-block;
  margin-bottom: 10px;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .heading {
    margin-top: 68px;
    font-size: 42px;
    line-height: 52px;
  }

  .heading br {
    display: none;
  }

  .banner {
    margin-top: 12px;
  }

  .sub-heading {
    font-size: 18px;
    margin-top: 68px;
    margin-bottom: 0px;
  }
  
  .sub-heading br {
    display: none;
  }
  
  .black-pill {
    border-radius: 36px;
    padding: 12px 18px;
    font-size: 14px;
    margin-bottom: 10px;
    margin-left: 14px;
  }
}

@media (min-width: 975px) {
  .heading {
    margin-top: 68px;
    font-size: 68px;
    line-height: 68px;
  }

  .heading br {
    display: inherit;
  }

  .sub-heading {
    font-size: 18px;
    margin-top: 68px;
    margin-bottom: 0px;
  }
  
  .sub-heading br {
    display: inherit;
  }

  .black-pill {
    border-radius: 36px;
    padding: 18px 36px;
    font-size: 24px;
    margin-bottom: 10px;
  }
}

@media (min-width: 600px) {
  .grid {
    display: flex;
    justify-content: space-between;
  }
}

.fly-to-moon .grid {
  align-items: flex-end;
}

.learn-more.pane {
  padding-top: 36px;
}

.learn-more .grid div,
.roman-mission .grid div {
  flex-basis: 50%;
}

.logo {
  text-align: center;
}

.text p {
  font-size: 18px;
}


@media (min-width: 600px) {
  .logo img {
    max-width: 80%;
    margin-bottom: 48px;
  }

  .text p {
    font-size: 16px;
    margin-top: 0;
  }
}

@media (min-width: 975px) {
  .text p {
    width: 80%;
    font-size: 18px;
    margin-top: auto;
  }
}


.callout h3 {
  font-weight: bold;
  margin-bottom: 0;
  margin-left: 10%;
}

.callout p {
  margin-top: 0;
  line-height: 0.75;
  margin-left: 10%;
  margin-bottom: 64px;
}

.callout a {
  text-decoration: none;
}

@media (min-width: 600px) {
  .container__search, .container__signup {
    padding-right: 30%;
  }
}

@media (min-width: 975px) {
  .container__search, .container__signup {
    padding-right: 50%;
  }
}

@media (min-width: 1600px) {
  .container__search, .container__signup {
    padding-right: 800px;
  }
}

@media screen and (max-width: 599px) {
  #logo-to-hide {
    display: none;
  }
}

.callout .grid {
  flex-wrap: wrap;
  column-gap: 24px;
}

.callout .grid img {
  width: 80%;
  margin-left: 10%;
}

.callout .grid .callout--content {
  flex-basis: 100%;
}

@media (min-width: 600px) {
  .callout .grid .callout--content {
    flex-basis: calc(50% - 24px);
  }
}

@media (min-width: 975px) {
  .callout .grid .callout--content {
    flex-basis: calc(25% - 24px);
  }

  .callout h3 {
    margin-left: 0;
  }

  .callout p {
    margin-left: 0;
  }

  .callout .grid img {
    width: 100%;
    margin-left: 0;
  }

}

.signup p, .search p {
  color: #FFF;
  margin-bottom: 48px;
  filter: drop-shadow(2px 2px 1px #000000);
}

input[type=text],
input[type=email] {
  background-color: #FFF;
  border: 0;
  margin-bottom: 24px;
  font-weight: bold;
  font-size: larger;
  padding: 12px 24px;
  border-radius: 32px;
  filter: drop-shadow(1px 1px 1px #000000);
}

/* First and last name share one row: stacking three full-width boxes costs
   about 150px of height, which the 16:9 CMS frame does not have to spare. They
   drop to their own lines below ~370px of field width, where two boxes can no
   longer hold their placeholders. */
.name-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  max-width: 480px;
}

.name-field {
  flex: 1 1 150px;
  display: flex;
}

/* Sized as one column with the email box below, so the form reads as a block
   rather than three differently-sized boxes. */
.name-field input[type=text],
#email,
#search_email {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
}

input[type=submit] {
  background-color: #96000c;
  border: 0;
  color: #FFF;
  margin-bottom: 24px;
  font-weight: bold;
  font-size: 24px;
  padding: 12px 24px;
  border-radius: 32px;
  cursor: pointer;
  filter: drop-shadow(1px 1px 1px #000000);
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #000;
}

.boarding-pass {
  padding-top: 36px;
  padding-bottom: 100px;
  background-color: #000;
  display: none;
}

.boarding-pass--wrapper {
  max-width: 100%;
  clear: both;
}

.boarding-pass--pass {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  cursor: pointer;
  max-width: 100%;
  text-align: center
}

.boarding-pass--text {
  color: #FFF;
  text-align: center;
}

.boarding-pass--newsletter {
  margin-top: 24px;
}

.newsletter-close {
  right: 5px;
  position: absolute;
  top: 5px;
  color: #000;
  background: none;
  border: 1px solid #000;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
}

.ctct-popup-form {
  display: none !important;
}

#subscribe,
.boarding-pass--newsletter-link {
  text-decoration: none;
  color: #FFF;
  border-radius: 32px;
  padding: 12px 24px;
  font-size: 12px;
  background-color: #96000c;
  text-transform: uppercase;
  font-weight: bold;
  background-color: #96000c;
  border: 0;
  filter: drop-shadow(1px 1px 1px #000000);
  cursor: pointer;
  margin: 0 -10%;
}

@media (min-width: 768px) {
  #subscribe,
  .boarding-pass--newsletter-link {
    font-size: large;
    margin: 0; 
  }
}

.boarding-pass--social-media {
  color: #FFF;
  text-align: center;
}

.boarding-pass--social-media ul {
  list-style: none;
  padding-left: 0;
}

.boarding-pass--social-media li {
  display: inline-block;
  margin-left: 16px;
  margin-right: 16px;
}

@media (min-width: 600px) {
  .boarding-pass--social-media {
    text-align: right;
  }

  .boarding-pass--text {
    text-align: left;
  }

  .boarding-pass--social-media li {
    margin-left: 24px;
    margin-right: 0;
  }
}

.boarding-pass .container {
  padding-top: 0;
  padding-bottom: 2vw;
}

.boarding-pass .grid div {
  flex-basis: 50%;
}

.error {
  color: #FF0;
  font-weight: bold;
  font-size: 24px;
  filter: drop-shadow(2px 2px 1px #000000);
  margin-top: -32px;
  margin-bottom: 24px;
}

.form-link {
  color: #FFF;
  filter: drop-shadow(2px 2px 1px #000000);
  text-decoration: none;
  font-size: 16px;
}

.form-link:hover {
  text-decoration: underline;
}

.astronaut-link {
  color:#B60109;
  text-decoration: none;
}

.astronaut-link:hover {
  text-decoration: underline;
}

.user-information {
  padding-top: 46px;
}

.search {
  display: none;
}

.boarding-pass--links {
  width: 1320px;
  max-width: 100%;
  padding-right: 20px;
  text-align: right;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.boarding-pass--link {
  font-weight: bold;
  color: #FFF;
  font-size: 24px;
  text-decoration: none;
  padding-left: 24px;
}

.download::after {
  content: "";
  margin-left: 12px;
  margin-bottom: -4px;
  height: 27px;
  width: 27px;
  display: inline-block;
  background-image: url('/sites/all/ember/dist/images/send-your-name/icon-download.png');
}

.print::after {
  content: "";
  margin-left: 12px;
  margin-bottom: -4px;
  height: 27px;
  width: 27px;
  display: inline-block;
  background-image: url('/sites/all/ember/dist/images/send-your-name/icon-print.png');
}

#menu-boarding, #menu-boarding-mobile {
  display: none;
}

.counter {
  color: #FFF;
  background-color: #0066b3;
  text-align: center;
  padding: 10px;
  font-size: 18px;
}

.top-banner {
  color: black;
  background-color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  border: 0 2px 2px 2px;
  border-color: lightgray;
}

/* --- Certificate ---------------------------------------------------------
   The certificate is drawn on a canvas from the exported Illustrator artwork.
   DM Mono is self-hosted (SIL OFL) and subset to the characters the pixel
   number uses. font-display:block, not swap — a swap would let the canvas
   rasterize in a fallback face before the real font arrives. */
@font-face {
  font-family: 'CYP Mono';
  src: url('../fonts/DMMono-Medium.subset.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

.certificate-canvas {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.certificate-actions {
  margin-top: 24px;
}

#certificate-download {
  background-color: #96000c;
  border: 0;
  color: #FFF;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 32px;
  cursor: pointer;
  text-transform: uppercase;
  filter: drop-shadow(1px 1px 1px #000000);
}

#certificate-download:hover {
  background-color: #b60109;
}

#certificate-download:focus-visible,
#subscribe:focus-visible {
  outline: 3px solid #FFF;
  outline-offset: 2px;
}

/* Claim policy in the page footer. Constrained to a readable measure — the
   footer is w3-center, so full-width it would run the line edge to edge. */
.cyp-claim-policy {
  max-width: 640px;
  margin: 0 auto 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #D6D6D6;
}
