@font-face {
  font-family: 'SteradianRegular';
  src: url('/fonts/St100100-Rg.woff2') format('woff2'), /* Modern Browsers */
       url('/fonts/St100100-Rg.woff') format('woff'), /* Modern Browsers */
       url('/fonts/St100100-Rg.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/fonts/St100100-Rg.svg#font') format('svg'); /* Legacy iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

/*
 * The Typekit service used to deliver this font or fonts for use on websites
 * is provided by Adobe and is subject to these Terms of Use
 * http://www.adobe.com/products/eulas/tou_typekit. For font license
 * information, see the list below.
 *
 * handsome-pro:
 *   - http://typekit.com/eulas/00000000000000007735fccb
 *
 * © 2009-2023 Adobe Systems Incorporated. All Rights Reserved.
 */
/*{"last_published":"2023-11-09 11:00:14 UTC"}*/
@import url("https://p.typekit.net/p.css?s=1&k=wdh4wgm&ht=tk&f=49889.49890&a=87633138&app=typekit&e=css");

@font-face {
font-family:"handsome-pro";
src:url("https://use.typekit.net/af/a6f51b/00000000000000007735fccb/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/a6f51b/00000000000000007735fccb/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/a6f51b/00000000000000007735fccb/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
font-display:swap;font-style:normal;font-weight:700;font-stretch:normal;
}

:root {
  --spacing: 75px;
  --padding: 20px;
  --question-spacing: 40px;

  --color: #fff;
  --color-background: #003A2B;
  --color-background-hover: #003024;
  --color-accent: #AF9B5B;
  --color-accent-hover: #9b884e;
  --color-accent-contrast: #fff;
  --color-error: #ff6969;
  --color-copyright: #92aca4;
}

@media (min-width: 768px) {
  :root {
    --spacing: 100px;
    --padding: 50px;
    --question-spacing: 50px;
  }
}


/* Generic */
* {
  box-sizing: border-box;
}

body {
  background: var(--color-background);
  color: var(--color);
  margin: 0;
  min-width: 320px;
  font-family: 'SteradianRegular', Arial;
}

.container,
.container-narrow {
  margin: 0 auto;
  padding: 0 15px;
}

.container {
  max-width: 1000px;
}

.container-narrow {
  max-width: 780px;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.btn,
.btn-secondary,
button {
  background: var(--color-accent);
  border: 0;
  color: var(--color-accent-contrast);
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-size: 0.9em;
  letter-spacing: 0.075em;
  min-width: 175px;
  padding: 15px 22px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn:hover,
button:hover {
  background: var(--color-accent-hover);
}

.btn-secondary {
  background: var(--color-background);
  border: 1px solid var(--color-accent);
  padding: 14px 24px;
}

.btn-secondary:hover {
  background: var(--color-background-hover);
}

main {
  margin: var(--spacing) 0;
}

input {
  margin: 0;
}

img {
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

hr {
  background: var(--color-accent);
  border: 0;
  height: 1px;
  width: 80px;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

[v-if] {
  display: none;
}


/* Typography */
h1,
h2,
h3 {
  margin: 0;
  font-weight: normal;
}

h1 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  line-height: 1.2em;
  text-transform: uppercase;
}

h2 {
  font-size: 5rem;
  margin-bottom: 0.7em;
  margin-top: -0.04em;
}

h3 {
  font: inherit;
  font-size: 1.05em;
  letter-spacing: 0.075em;
  margin-bottom: 1.5em;
  text-transform: uppercase;
}

p,
address {
  margin: 0;
  text-wrap: balance;
  line-height: 1.5em;
}

p:not(:last-child),
address:not(:last-child) {
  margin-bottom: 1.5em;
}

address {
  font-style: normal;
}

.text-accent {
  color: var(--color-accent);
}

.font-handsome {
  font-family: 'handsome-pro', serif;
  line-height: 0.65em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 8.5rem;
  }
}


/* Header */
header {
  margin: var(--spacing) 0;
  text-align: center;
  text-wrap: balance;
}

.venues {
  display: grid;
  gap: 20px 50px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  margin-top: var(--spacing);
}

.venues img {
  max-width: 150px;
}

@media (min-width: 768px) {
  .venues {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* Box */
.box {
  border: 1px solid var(--color-accent);
  padding: var(--padding);
  position: relative;
}

.box-actions:first-child {
  margin-bottom: var(--question-spacing);
}

.box-actions:last-child {
  margin-top: var(--question-spacing);
}

.box-actions [type='submit'] {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.box-actions .btn-secondary {
  left: 50%;
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
}


/* Questions */
.field + .field {
  margin-top: var(--question-spacing);
}

.field-error {
  border-left: 5px solid var(--color-error);
  padding-left: 15px;
}

.options {
  --gap: 15px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--gap);
}

.option {
  position: relative;
  width: 100%;
}

.option input {
  appearance: none;
  height: 100%;
  position: absolute;
  width: 100%;
  cursor: pointer;
}

.option label {
  align-items: center;
  align-items: center;
  background: rgb(255 255 255 / 4%);
  border-radius: 4px;
  display: flex;
  font-size: 0.95em;
  gap: 10px;
  height: 100%;
  padding: 15px;
  text-wrap: balance;
  transition: all 0.3s ease;
}

.option input:not(:checked):hover + label {
  background: rgb(255 255 255 / 12%);
}

.option input:checked + label {
  background: #fff;
  color: #000;
}

.option-radio {
  align-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  display: flex;
  flex-shrink: 0;
  height: 15px;
  justify-content: center;
  width: 15px;
}

.option-radio::after {
  border-radius: 50%;
  content: '';
  display: block;
  height: 9px;
  transition: all 0.3s ease;
  width: 9px;
}

.option input:checked + label .option-radio::after {
  background: var(--color-accent);
}

.error-message {
  color: var(--color-error);
  display: block;
  font-size: 0.9em;
  margin-top: 1em;
}

@media (min-width: 768px) {
  .option {
    width: calc(50% - (var(--gap) / 2));
  }
}

[type="email"],
[type="checkbox"] {
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
}

[type="email"] {
  border: 0;
  font: inherit;
  padding: 0.7em;
  width: 100%;
}

[type="checkbox"] {
  align-items: center;
  background: none;
  border: 1px solid var(--color-accent);
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 27px;
  justify-content: center;
  width: 27px;
}

[type="checkbox"]:checked {
  background-image: url(/img/check.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 75% auto;
}

.consent {
  align-items: center;
  display: flex;
  gap: 15px;
  margin-top: calc(var(--question-spacing) / 2);
  text-wrap: balance;
}

.consent label {
  cursor: pointer;
}


/* Results */
.result {
  text-align: center;
  gap: var(--padding);
}

.result + .result {
  border-top: 1px solid var(--color-accent);
  margin-top: var(--question-spacing);
  padding-top: var(--question-spacing);
}

.result-image {
  aspect-ratio: 2/1;
  display: inline-flex;
  max-width: 290px;
}

@media (min-width: 768px) {
  .result {
    display: flex;
    align-items: center;
  }
  
  .result:nth-child(even) {
    flex-direction: row-reverse;
  }

  .result-image {
    width: calc(100% / 3);
    flex-shrink: 0;
  }
}


/* Footer */
.collection {
  font-size: 1.1em;
  margin: var(--spacing) auto;
  text-align: center;
}

.collection img {
  width: 10em;
}

.collection .font-handsome {
  display: block;
  font-size: 2.3em;
  margin-top: -0.075em;
}

.copyright {
  color: var(--color-copyright);
  display: flex;
  flex-direction: column;
  font-size: 0.8em;
  gap: 10px;
  justify-content: space-between;
  padding: 15px 0;
  text-align: center;
  text-wrap: balance;
}

.copyright a {
  transition: all 0.3s ease;
}

.copyright a:hover {
  color: var(--color);
}

@media (min-width: 768px) {
  .collection {
    font-size: 1.8em;
  }

  .copyright {
    flex-direction: row;
    text-align: inherit;
  }
}


/* Snow */
html {
  position: relative;
  z-index: 1;
}

.snow {
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

.snow-flake {
  height: 75px;
  max-height: 8vw;
  max-width: 8vw;
  position: absolute;
  top: 0;
  width: 75px;
}

.snow-flake:nth-child(1) {
  transform: translate(80vw, 15vh);
  animation: snow-one 38s -10s linear infinite;
}

@keyframes snow-one {
  from {
    transform: translate(80vw, -10vh);
  }
  to {
    transform: translate(83vw, 100vh) rotate(180deg);
  }
}

.snow-flake:nth-child(2) {
  transform: translate(65vw, -10vh);
  animation: snow-two 70s linear infinite;
}

@keyframes snow-two {
  from {
    transform: translate(65vw, -10vh);
  }
  to {
    transform: translate(68vw, 100vh) rotate(-160deg);
  }
}

.snow-flake:nth-child(3) {
  transform: translate(22vw, -10px);
  animation: snow-three 45s -24s linear infinite;
}

@keyframes snow-three {
  from {
    transform: translate(22vw, -10vh);
  }
  to {
    transform: translate(20vw, 100vh) rotate(-100deg);
  }
}
