body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

section {
  width: 100%;
}

.wrapper {
  max-width: 1000px;
  padding: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.wrapper-lg {
  max-width: 1200px;
  padding: 1rem 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .wrapper,
  .wrapper-lg {
    padding: 1rem;
  }
}

.bg-gray {
  background-color: lightgray;
}

/* masthead */
.header-container {
  background-image: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 1) 90%), url(assets/MAP_galaxy_bg_clean.webp);
  background-position: center;
}

.masthead {
  display: flex;
  align-items: center;
  flex-direction: row;
  max-width: 1300px;
  padding-left: 1rem;
  padding-top: 1rem;
}

.mason-headshot {
  margin-bottom: -2rem;
  position: relative;
  z-index: 1;
  transform: scaleX(-1);
}

.mason-mobile-headshot {
  display: none;
  transform: scaleX(-1);
  border-radius: 50%;
  background: linear-gradient(160deg, hsla(0, 0%, 80%) 10%, hsla(0, 0%, 56%) 55%, hsl(0, 0%, 70%) 90%);
  box-shadow:
    inset 0 1px 0 0 hsla(0, 0%, 100%, 0.4),
    inset 0 -1px 0 0 hsla(0, 0%, 0%, 0.2),
    0 1px 6px 1px hsla(0, 0%, 0%, 0.3);
  filter: contrast(1.1) saturate(0.9);
  max-width: 100px;
  margin-bottom: 0.5rem;
}

/* masthead mobile */
@media (max-width: 950px) {
  .masthead {
    flex-direction: column;
    padding: 1rem;
  }

  .mason-headshot {
    display: none;
  }

  .mason-mobile-headshot {
    display: block;
  }
}

/* navigation section */
nav {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(8, auto);
  align-items: center;
  background-color: #222;
  border-radius: 0.4rem;
  padding: 1rem 0.25rem;
  text-align: center;
  max-width: 1400px;
  position: relative;
  z-index: 99;
  font-family: "Montserrat", serif;
}

@media (max-width: 1402px) {
  nav {
    border-radius: 0;
  }
}

nav div {
  flex: 1 0 0;
  max-width: 100%;
}

.nav-link {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: "\a0";
  width: 26px;
  height: 6px;
  background-color: #cc00ff;
  position: absolute;
  left: calc(50% - 13px);
  bottom: -5px;
  border-radius: 12px;
}

.nav-link-main-event {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-direction: column;
}

.nav-event-date {
  font-size: 0.5rem;
  color: #7b7b7b;
}

.nav-link:not(.disabled):hover {
  cursor: pointer;
}

.nav-link.disabled:not(.nav-link-main-event) {
  color: #7b7b7b;
}

[data-title]:hover:after {
  opacity: 1;
  visibility: visible;
}

[data-title]:after {
  content: attr(data-title);
  background-color: #fff;
  color: #111111;
  font-size: 0.45rem;
  position: absolute;
  padding: 1px 5px 2px 5px;
  bottom: 1rem;
  left: 0;
  box-shadow: 1px 1px 3px #222222;
  opacity: 0;
  border: 1px solid #111111;
  z-index: 99999;
  visibility: hidden;
}

[data-title] {
  position: relative;
}

.nav-link-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav-lock {
  width: 20px;
}

/* nav-mobile */
@media (max-width: 950px) {
  nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 950px) {
  .masthead {
    padding-bottom: 1.5rem;
  }

  .mobile-nav-line {
    display: block;
    background-color: #222;
    height: 4px;
    width: 100%;
    position: relative;
  }

  #toggle-mobile-nav:hover {
    cursor: pointer;
  }

  nav {
    display: none;
    padding-top: 1.5rem;
  }
}

@media (min-width: 951px) {
  nav {
    display: grid !important;
  }
}

.nav-icon {
  position: absolute;
  top: -1rem;
  left: calc(50% - 1rem);
  border: 2px solid #222;
  background-color: #fff;
  color: #222;
  height: 2rem;
  width: 2rem;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 999;
  padding: 10px 5px;
  border-radius: 0.25rem;
}

.nav-open-icon {
  justify-content: space-between;
}

.nav-close-icon {
  justify-content: center;
}

.nav-open-icon-line {
  width: 100%;
  height: 3px;
  background-color: #222;
  border-radius: 0.25rem;
}

.nav-close-icon-line {
  width: 75%;
  height: 3px;
  background-color: #222;
  border-radius: 0.25rem;
}

.close-line1 {
  transform: rotate(45deg);
  position: absolute;
}

.close-line2 {
  transform: rotate(-45deg);
  position: absolute;
}

.nav-toggle-active {
  display: flex;
}

.nav-active {
  display: grid;
}

/* meet mason page */
.meet-mason-subhead {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  text-wrap: balance;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mason-print-section {
  max-width: 1400px;
}

.mason-in-print-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

@media (max-width: 575px) {
  .mason-in-print-grid {
    grid-template-columns: 1fr;
  }
}

.col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.print-container {
  border: 2px solid #66665b;
  border-radius: 0.25rem;
}

.print-body {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.65rem;
}

.quote {
  background-image: linear-gradient(
    hsla(0, 0%, 0%, 0.025),
    hsla(0, 0%, 100%, 0.05) 33%,
    hsla(0, 0%, 0%, 0.05) 33%,
    hsla(0, 0%, 100%, 0.05) 67%,
    hsla(0, 0%, 0%, 0.05) 67%,
    hsla(0, 0%, 100%, 0.025)
  );
  box-shadow:
    0 0 1em hsla(0, 0%, 0%, 0.08) inset,
    0 0.1em 0.25em hsla(0, 0%, 0%, 0.3);
  padding: 1rem 2.5rem;
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.quote-title {
  font-weight: 700;
  font-size: 1.1rem;
  font-style: italic;
}

.quote-paper {
  opacity: 0.7;
  font-size: 0.75rem;
}

@media (max-width: 450px) {
  .quote {
    padding: 1rem;
  }
}

@media (max-width: 550px) {
  .meet-mason-lists {
    padding-inline-start: 5px;
    list-style-position: inside;
  }
}

/* add to calendar */
#calendar {
  margin: 2rem auto;
}
.calendar_wrapper {
  border: 1px solid hsla(216, 98%, 10%, 0.1);
  background-color: hsl(216, 20%, 98%);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 1rem 1rem 2rem;
}

.add-to-calendar {
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 0.2rem;
  background-color: #fff;
  font-size: 0.85rem;
  border: 1px solid rgba(128, 128, 128, 0.438);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
}

.add-to-cal {
  margin-top: -2.5rem;
}

.add-to-cal label:hover {
  cursor: pointer;
}

@media (max-width: 450px) {
  .calendar_wrapper {
    padding: 0.25rem 0.5rem 1.5rem;
  }

  .add-to-calendar {
    padding: 0.25rem 0.75rem;
  }

  .add-to-cal {
    margin-top: -2rem;
  }
}
.add-to-calendar-checkbox[type="checkbox"] {
  display: none;
}

/* bonus section */
#bonus {
  background: linear-gradient(hsl(220, 20%, 94%), hsl(0, 0%, 100%) 40%);
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bonus-grid ol,
.bonus-grid img {
  justify-self: center;
  align-self: start;
}

@media (max-width: 1050px) {
  .bonus-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  .bonus-grid img {
    order: 1;
    width: 580px;
  }

  .bonus-grid ol {
    order: 2;
  }
}

@media (max-width: 600px) {
  #bonus h2 br {
    display: none;
  }
}

/* video section */
/* if video is side by side with content - use 2 column grid */
.wistia_responsive_wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 800px;
}

/* details section */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-top: 2rem;
  padding-bottom: 2rem;
  gap: 1rem;
}

@media (max-width: 650px) {
  .details-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 3rem;
  }

  .details-image {
    width: 125px;
  }
}

.details-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.details-title {
  display: flex;
  flex-direction: column;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.details-title h2 {
  background-color: #fff;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.details-line {
  height: 2px;
  background-color: #22222260;
  margin-top: -1rem;
  z-index: -1;
}

@media (max-width: 500px) {
  .details-line {
    display: none;
  }

  .details-title h2 {
    font-size: clamp(1.3rem, 7.2vw, 1.54rem);
  }
}

.details-line-bottom {
  max-width: 850px;
  height: 2px;
  background-color: #22222260;
}

.details-inner {
  max-width: 850px;
}

.details-cost u {
  text-decoration-color: #cc00ff;
  text-decoration-thickness: 4px;
}

.details-image {
  margin-bottom: 0.5rem;
}

.details-image-calendar {
  max-height: 100px;
}

/* sweepstakes disclaimer */
#sweepstakes-disclaimer div {
  border-top: 2px solid rgba(0, 0, 0, 0.25);
}
#sweepstakes-disclaimer p {
  font-size: 0.7rem;
  opacity: 0.65;
}

#sweepstakes-disclaimer a {
  color: #000;
  font-weight: 700;
}

/* sweepstakes rules page */
.sweepstakes-rules {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.75);
}
.sweepstakes-rules h2 {
  color: #000;
}
.sweepstakes-rules ol {
  padding-inline-start: 0;
}

/* vip page */
.blockquote {
  margin-left: 1.5rem;
  border-left: 4px solid rgba(0, 0, 0, 0.25);
  padding-left: 1rem;
}

@media (max-width: 500px) {
  .blockquote {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
  }
}

/* text styles */
.highlight {
  background-color: rgba(255, 242, 0, 0.65);
}

.uppercase {
  text-transform: uppercase;
}

.text-dark-blue {
  color: #0f2038b7;
}

.text-very-dark-blue {
  color: #131416;
}

.black {
  font-weight: 900;
}

/* fonts */
.montserrat {
  font-family: "Montserrat", sans-serif;
}

.fz-15 {
  font-size: 0.625rem;
}

.fz-19 {
  font-size: 0.791rem;
}

.fz-25 {
  font-size: 1.04rem;
  font-size: clamp(1rem, 5vw, 1.04rem);
}

.fz-27 {
  font-size: 1.125rem;
  font-size: clamp(1rem, 5vw, 1.125rem);
}

.fz-31 {
  font-size: 1.3rem;
  font-size: clamp(1.1rem, 5vw, 1.3rem);
}

.fz-33 {
  font-size: 1.375rem;
  font-size: clamp(1.15rem, 5vw, 1.375rem);
}

.fz-35 {
  font-size: 1.458rem;
  font-size: clamp(1.25rem, 5vw, 1.458);
}

.fz-37 {
  font-size: 1.54rem;
}

/* misc */
.lh-1 {
  line-height: 1.1;
}

.blur {
  filter: blur(5px);
}

.mt-1 {
  margin-top: 1rem;
}

/* breaks */
@media (max-width: 500px) {
  .welcome-video-br {
    display: none;
  }
}

/* progress bar */
.progress {
  font-size: 0.65rem;
  padding: 2rem 0 0;
  max-width: 12rem;
  margin: 0 auto;
}
.progress span {
  position: relative;
  color: #c1c1c1;
}
.progress span:first-of-type {
  color: #6fb14d;
}
.progress span:nth-of-type(2) {
  color: #6fb14d;
}
.progress span::before {
  font-size: 1.325rem;
  content: "1";
  background-color: #6fb14d;
  position: absolute;
  color: white;
  top: -2.25rem;
  left: 0rem;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress span:nth-of-type(1)::after,
.progress span:nth-of-type(2)::after {
  content: "";
  background-color: #6fb14d;
  position: absolute;
  top: -1.35rem;
  right: -3.2rem;
  width: 3.1rem;
  height: 3px;
  z-index: -1;
}
.progress span:nth-of-type(2)::after {
  background-color: #6fb14d;
}
.progress span:nth-of-type(2)::before {
  content: "2";
  color: white;
  background-color: #6fb14d;
}
.progress span:nth-of-type(3)::before {
  content: "3";
  color: #b3b3b3;
  background-color: #d7d7d7;
}
/* video page titles */
.video-section-title {
  font-family: "Montserrat", serif;
  font-size: 1.75rem;
}

.video-section-time {
  text-align: center;
  font-size: 0.75rem;
  color: hsl(216, 8%, 40%);
  font-weight: 700;
}

.video-section-description {
  text-align: center;
  font-size: 0.9rem;
}

.video-section-video {
  margin-top: 1rem;
}

/* new sms */
.sms-copy-container {
  max-width: 850px;
  background-color: #131416;
  margin: 1rem auto;
  padding: 1rem;
}

@media (min-width: 850px) {
  .sms-copy-container {
    padding: 1.5rem 2rem;
    border-radius: 0.25rem;
  }
}

.sms-headline {
  font-family: "Montserrat", serif;
  font-size: 1.3rem;
  font-size: clamp(1.1rem, 5vw, 1.3rem);
  line-height: 1.1;
  font-weight: 700;
}

.sms-input-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sms-input-container input,
.sms-input-container button {
  padding: 0.5rem;
}

.sms-phone-input,
.sms-email-input,
.sms-submit-btn {
  font-size: 1rem;
  border-radius: 0.25rem;
  border: none;
}

.sms-phone-input:focus,
.sms-email-input:focus {
  outline: none;
}

.sms-submit-btn {
  font-weight: 700;
  background-color: hsl(60, 90%, 76%);
  color: #000;
}

.sms-submit-btn:hover:not([disabled]) {
  cursor: pointer;
  transform: scale(1.02);
}

.sms-submit-btn:active {
  transform: scale(1);
}

.disclaimer {
  font-size: 0.65rem;
  color: #939393;
  text-align: left !important;
  line-height: 1.3;
}

p.disclaimer a {
  color: #939393;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.success {
  font-size: 1.35rem !important;
}

.purple-underline {
  text-decoration-color: #cc00ff;
  text-decoration-thickness: 4px;
}
