/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

@font-face {
  font-family: "Figgins Sans V3 Bold";
  src: url("./assets/FigginsSansV3-Bold.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  font-family: "Figgins Sans V3 Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* =========================================================
   Pleasure page styles
   ========================================================= */

html, body {
  height: 100%;
}

/* Root container */
#pleasure-root {
  position: relative;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-color: #BDAEF7;
}

@media (min-width: 1024px) {
  #pleasure-root {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Star background overlay */
.star-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

/* left-[45%] top-1/3 w-[140dvh] h-[140dvh] max-w-none origin-[52%_58%] */
/* desktop: top-1/2 min-w-[1024px] min-h-[1024px] */
#star {
  position: absolute;
  left: 45%;
  top: 33.333333%;
  width: 140dvh;
  height: 140dvh;
  max-width: none;
  transform-origin: 52% 58%;
  transform: translate(-50%, -50%) rotate(0deg);
}

@media (min-width: 1024px) {
  #star {
    top: 50%;
    min-width: 1024px;
    min-height: 1024px;
  }
}

/* absolute top-0 left-0 right-0 pt-[38px] px-[28px] flex justify-start */
/* desktop: pt-[68px] px-[38px] justify-end */
.logo-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 38px;
  padding-left: 28px;
  padding-right: 28px;
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 1024px) {
  .logo-bar {
    padding-top: 68px;
    padding-left: 38px;
    padding-right: 38px;
    justify-content: flex-end;
  }
}

/* h-[79px] desktop:h-auto */
.logo {
  height: 79px;
}

@media (min-width: 1024px) {
  .logo {
    height: auto;
  }
}

/* max-h-dvh h-full justify-center relative z-10 w-full px-5 py-6 flex flex-col max-w-[450px] mx-auto */
/* desktop: h-auto flex-row justify-center max-w-none */
.content {
  max-height: 100dvh;
  height: 100%;
  justify-content: center;
  position: relative;
  z-index: 10;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .content {
    height: auto;
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}

/* self-end */
.title-wrap {
  align-self: flex-end;
}

/* h-[100px] desktop:h-auto height-650-desktop:h-[180px] */
.title-img {
  height: 100px;
  display: block;
}

@media (min-width: 1024px) {
  .title-img {
    height: auto;
  }
}

@media (max-height: 650px) and (min-width: 1024px) {
  .title-img {
    height: 180px;
  }
}

/* shrink self-center */
/* desktop: -ml-[160px] mt-[80px] -mr-[60px] self-start */
/* height-700-desktop: -ml-[80px] -mr-5 */
.horse-wrap {
  flex-shrink: 1;
  align-self: center;
}

@media (min-width: 1024px) {
  .horse-wrap {
    margin-left: -160px;
    margin-top: 80px;
    margin-right: -60px;
    align-self: flex-start;
  }
}

@media (max-height: 700px) and (min-width: 1024px) {
  .horse-wrap {
    margin-left: -80px;
    margin-right: -20px;
  }
}

/* max-h-[320px] height-650:max-h-[220px] desktop:!max-h-[80dvh] */
.horse-img {
  max-height: 320px;
  display: block;
}

@media (max-height: 650px) {
  .horse-img {
    max-height: 220px;
  }
}

@media (min-width: 1024px) {
  .horse-img {
    max-height: 80dvh !important;
  }
}

/* self-center -mr-10 -mt-[60px] */
/* desktop: self-start -mr-0 -mt-0 */
.cta-wrap {
  align-self: center;
  margin-right: -40px;
  margin-top: -60px;
}

@media (min-width: 1024px) {
  .cta-wrap {
    align-self: flex-start;
    margin-right: 0;
    margin-top: 0;
  }
}

/* -translate-x-1/2 -rotate-[14deg] h-[100px] */
/* desktop: -translate-x-[65%] h-auto */
.arrow-img {
  display: block;
  transform: translateX(-50%) rotate(-14deg);
  height: 100px;
}

@media (min-width: 1024px) {
  .arrow-img {
    transform: translateX(-65%) rotate(-14deg);
    height: auto;
  }
}

/* hover:scale-105 transition-all duration-[50ms] cursor-pointer */
#button-wrapper {
  display: inline-block;
  transition: transform 50ms;
  cursor: pointer;
}

@media (hover: hover) {
  #button-wrapper:hover {
    transform: scale(1.05);
  }
}

#button-wrapper.pressed {
  transform: scale(0.98) !important;
}

/* -rotate-[4deg] max-w-[130px] desktop:max-w-none */
.icon-img {
  display: block;
  transform: rotate(-4deg);
  max-width: 130px;
  max-height: 130px;
}

@media (min-width: 1024px) {
  .icon-img {
    max-width: none;
  }
}

/* -rotate-[10deg] -mt-5 -ml-4 bg-[length:100%_100%] bg-no-repeat h-[58px] px-[18px] */
/* flex items-center justify-center text-white outline-none border-none */
/* uppercase font-sans-bold text-[24px] leading-[32px] relative transition-transform duration-100 */
/* desktop: h-[69px] text-[28px] */
#main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  margin-top: -20px;
  margin-left: -16px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url(assets/button.svg);
  background-color: transparent;
  height: 58px;
  padding-left: 18px;
  padding-right: 18px;
  color: #FFFFFF;
  outline: none;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  position: relative;
  transition: transform 100ms;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

@media (min-width: 1024px) {
  #main-button {
    height: 69px;
    font-size: 28px;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
