/* The Yucatan Resort Playa del Carmen – czmpdup */
:root {
  --color-bg: 255, 255, 255;
  --color-bg-alt: 241, 241, 241;
  --color-bg-disabled: 228, 228, 228;
  --color-bg-inverse: 18, 18, 18;
  --color-bg-primary: 231, 242, 246;
  --color-bg-quarternary: 249, 219, 191;
  --color-border: 227, 227, 227;
  --color-border-alt: 220, 220, 220;
  --color-danger: 211, 3, 41;
  --color-danger-alt: 250, 229, 233;
  --color-info: 223, 196, 166;
  --color-info-alt: 229, 245, 251;
  --color-warn: 186, 131, 35;
  --color-warn-alt: 253, 237, 169;
  --color-success: 30, 97, 44;
  --color-success-alt: 226, 248, 226;
  --color-primary: 143, 26, 147; /* #8F1A93 */
  --color-primary-alt: 135, 18, 139;
  --color-secondary: 0, 0, 0; /* #000000 */
  --color-secondary-alt: 10, 10, 10;
  --color-tertiary: 181, 36, 85; /* #B52455 */
  --color-tertiary-alt: 173, 28, 77;
  --color-quarternary: 108, 120, 97; /* 6C7861 */
  --color-quarternary-alt: 100, 112, 89;
  --color-text: 0, 0, 0;
  --color-text-alt: 102, 102, 102;
  --color-text-disabled: 189, 189, 189;
  --color-text-inverse: 255, 255, 255;
  --color-outline-shadow: rgba(0, 156, 222, 0.3);
  --color-overlay: rgba(29, 29, 29, 0.3);
  --font-sans: 'national';
  --font-serif: 'Georgia';
  --font-mono: 'Menlo';
  --font-headline: 'basel-classic';
}

/* BASEL CLASSIC - HEADLINE FONT */
@font-face {
  font-family: 'basel-classic';
  src:
    url('https://www.hilton.com/modules/assets/fonts/basel-classic/regular.woff2') format('woff2'),
    url('https://www.hilton.com/modules/assets/fonts/basel-classic/regular.woff') format('woff');
  font-display: auto;
  font-style: normal;
  font-weight: 500;
}

/* NATIONAL - BODY FONT */
@font-face {
  font-family: 'national';
  src: url('https://www.hilton.com/modules/assets/fonts/national/light.woff2') format('woff2');
  font-display: auto;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: 'national';
  src: url('https://www.hilton.com/modules/assets/fonts/national/medium.woff2') format('woff2');
  font-display: auto;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: 'national';
  src: url('https://www.hilton.com/modules/assets/fonts/national/book.woff2') format('woff2');
  font-display: auto;
  font-style: normal;
  font-weight: 700;
}

.z-index-99 {
  z-index: 99;
}

a:focus,
button:focus,
.btn:focus {
  outline: -webkit-focus-ring-color auto 1px;
  outline-offset: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Room tile cta style fix */

@media (max-width: 1410px) {
  [data-element-id='room-types-ctas'] button {
    padding: 10.5px 16px;
  }

  [data-element-id='room-types-ctas'] > * {
    font-size: 0.75rem !important;
    letter-spacing: normal;
  }
}

@media (max-width: 1200px) {
  [data-element-id='room-types-ctas'] button {
    padding: 9px 10px;
  }
  [data-element-id='room-types-ctas'] > * {
    font-size: 0.6rem;
    padding: 12px 10px;
  }
}

@media (max-width: 1023px) {
  [data-element-id='room-types-ctas'] button {
    padding: 10.5px 16px;
  }

  [data-element-id='room-types-ctas'] > * {
    font-size: 0.85rem;
    padding: 12px 16px;
  }
}

@media (max-width: 415px) {
  [data-element-id='room-types-ctas'] button {
    padding: 10px 8px;
  }

  [data-element-id='room-types-ctas'] > * {
    font-size: 0.55rem;
    padding: 12px 8px;
  }

  [data-element-id='room-types-ctas'] svg {
    height: 10px;
    width: 10px;
  }

  [data-element-id='room-types-ctas'] span {
    margin-left: 6px;
  }
}

/**
    Apply site-wide overwrites to components here
    Add custom classes to components, and use them here to apply site-specific overwrites.
*/

/* hero-image.tsx */
[data-element-id='hero-image-title'] {
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  appearance: none;
  white-space: nowrap;
  border-radius: 0.375rem;
  border-width: 1px;
  border-style: solid;
  font-family: var(--font-headline), var(--font-sans), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: 0.05em;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

@media (min-width: 768px) {
  .btn {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}
.btn:hover {
  transition-duration: 100ms;
}
.btn:focus {
  --tw-shadow: 0 0 3px 3px var(--color-outline-shadow);
  --tw-shadow-colored: 0 0 3px 3px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-shadow-color: var(--color-outline-shadow);
  --tw-shadow: var(--tw-shadow-colored);
  transition-duration: 100ms;
}
