@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  --fluid-16-28: clamp(1rem, 0.7391rem + 1.3043vw, 1.75rem);
  --fluid-18-42: clamp(1.125rem, 0.6033rem + 2.6087vw, 2.625rem);
  --fluid-24-48: clamp(1.5rem, 0.9783rem + 2.6087vw, 3rem);
  --fluid-28-62: clamp(1.75rem, 1.0109rem + 3.6957vw, 3.875rem);
  --fluid-18-36: clamp(1.125rem, 0.7337rem + 1.9565vw, 2.25rem);
  --fluid-18-48: clamp(1.125rem, 0.4728rem + 3.2609vw, 3rem);
  --fluid-24-64: clamp(1.75rem, 0.9674rem + 3.913vw, 4rem);
  --fluid-48-80: clamp(3rem, 2.3043rem + 3.4783vw, 5rem);
  --fluid-48-100: clamp(2.875rem, 1.7011rem + 5.8696vw, 6.25rem);

  --space-3xs: clamp(.25rem, .2283rem + .1087vw, .3125rem);
  --space-2xs: clamp(.5rem, .4783rem + .1087vw, .5625rem);
  --space-xs: clamp(.75rem, .7065rem + .2174vw, .875rem);
  --space-s: clamp(1rem, .9565rem + .2174vw, 1.125rem);
  --space-m: clamp(1.5rem, 1.4348rem + .3261vw, 1.6875rem);
  --space-l: clamp(2rem, 1.913rem + .4348vw, 2.25rem);
  --space-xl: clamp(3rem, 2.8696rem + .6522vw, 3.375rem);
  --space-2xl: clamp(4rem, 3.8261rem + .8696vw, 4.5rem);
  --space-3xl: clamp(6rem, 5.7391rem + 1.3043vw, 6.75rem);

  --flow-space: var(--space-s);
  --flow-space--medium: var(--space-xl);
  --flow-space--large: var(--space-2xl);
  --height--header: 7rem;
  --width--content: 64rem;
  --width--content--medium: 80rem;
  --width--content--large: 100rem;
  --width--site-gutter: var(--space-m);

  --clr--blue: rgb(6, 10, 61);
  --clr--dark: rgb(51, 51, 51);
  --clr--sun: #FAB522;
  --clr--orange: #D87421;
  --clr--maroon: #A03A55;
  --clr--purple: #5B316C;
  --clr--violet: #1B355A;
}

* {
  box-sizing: border-box;
}

.violet {
  color: var(--clr--violet);
}

.orange {
  color: var(--clr--orange);
}

.sun {
  color: var(--clr--sun);
}

.maroon {
  color: var(--clr--maroon);
}

.bg-violet {
  background-color: var(--clr--violet);
}

.bg-orange {
  background-color: var(--clr--orange);
}

.bg-sun {
  background-color: var(--clr--sun);
}

.bg-maroon {
  background-color: var(--clr--maroon);
}

.blue {
  color: var(--clr--blue);
}

.purple {
  color: var(--clr--purple);
}

.orange {
  color: var(--clr--orange);
}

.bg-purple {
  background-color: var(--clr--purple);
}

.white {
  color: white;
}

.bg-white {
  background-color: white;
}

.bg-white-50 {
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, 0.1) 100%);
}

.bg-black-50 {
  background-color: rgba(0, 0, 0, .5);
  color: white;
}

.bg-violet {
  background: var(--clr--violet);
  color: white;
}

.booknow h4 {
  font-size: var(--fluid-16-28);
  text-transform: uppercase;
  color: white;

  & strong {
    font-size: var(--fluid-18-42);
    display: block;
  }
}

.gradient-gold {
  position: relative;
  overflow: hidden;
}


.gradient-gold::before {
  position: absolute;
  content: "";
  width: 100%;
  aspect-ratio: 1;
  animation: bg-move 2s linear infinite;
  transition: all 6s;
  z-index: -1;
  /* background: rgb(255, 182, 50);
  background: linear-gradient(45deg, rgba(255, 230, 157, 1) 0%, rgba(236, 189, 40, 1) 50%, rgba(255, 182, 50, 1) 100%);*/
  background: rgb(216, 116, 33);
  background: linear-gradient(45deg, rgba(216, 116, 33, 1) 0%, rgba(244, 143, 59, 1) 50%, rgba(255, 127, 19, 1) 100%);
  background-size: 400% 400%;
}

@keyframes bg-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/*  &:hover {background: rgb(236,189,40);
background: linear-gradient(45deg, rgba(236,189,40,1) 0%, rgba(255,182,50,1) 50%, rgba(255,230,157,1) 100%) }*/

.font-serif {
  font-family: "Gelasio", serif;
}

.small-padding {
  padding-block: var(--space-s);
}

.medium-padding {
  padding-block: var(--space-m);
}

.large-padding {
  padding-block: var(--space-l);
}

.is-medium-width-content {
  --width--max: var(--width--content--medium)
}

.is-large-width-content {
  --width--max: var(--width--content--large)
}

.is-full-width-content {
  max-inline-size: none
}

.no-vmargin {
  margin-block: 0;
}

img {
  display: block;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  --width--max: var(--width--content);
  margin: 0;
  padding: 0;
  background: var(--clr--purple);
  font-family: "Jost", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: 16px;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: white;
}

body> :is(header, main, footer),
section,
article {
  container-type: inline-size;
}

header>*,
main * {
  margin-inline: auto;
  max-inline-size: min(100% - var(--width--site-gutter) * 2, var(--width--max));
}

header {
  position: relative;
}

header::before {
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  background: var(--clr--sun);
  position: absolute;
  z-index: -1;
  background-size: 200%;

}

@keyframes header-bg-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

header>div {
  position: relative;
  display: flex;
  align-items: center;
}

main {
  position: relative;
}

strong {
  font-weight: 600;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0 auto;
  text-wrap: balance;
  text-align: center;
}

:is(main) :is(h1,
  h2,
  h3,
  h4,
  p) {
  margin-block: 2rem;
}

ul {
  margin-block: 4rem;
  max-width: 48rem;
}

p,
ul,
li,
figcaption,
button {
  font-size: var(--fluid-16-28);
  text-wrap: pretty;
}

li {
  text-align: left;
  margin-block: 2rem;
}


h1 {
  font-size: var(--fluid-18-48);
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

h2 {
  font-size: var(--fluid-18-36);
  font-weight: 400;
  line-height: 1.25;
  margin: 1rem auto 3rem;
}

h3 {
  font-weight: 600;
  font-size: var(--fluid-24-48);
  position: relative;
  display: block;
  line-height: 1;
}

h4 {
  font-weight: 300;
  font-size: var(--fluid-16-36);
  position: relative;
  display: block;
  line-height: 1;
}


blockquote {
  position: relative;
  padding-block: 1rem;
  font-family: "Gelasio", serif;
  color: transparent;
  background: linear-gradient(45deg, rgba(255, 230, 157, 1) 0%, rgba(236, 189, 40, 1) 26%, rgba(245, 213, 45, 1) 61%, rgba(255, 182, 50, 1) 100%);
  background-clip: text;
  text-align: center;
  scale: 120%;
}

blockquote::after {
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgba(255, 230, 157, 0) 0%, rgba(255, 230, 157, .5) 50%, rgba(255, 230, 157, 0) 100%);
  position: absolute;
  inset: 0;
  content: "";
  width: 100%;
  ;
  display: block;
  filter: blur(50px);
}

.holder {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.icon-holder {
  position: absolute;
  inset: auto 0;
  filter: drop-shadow(0 0 10px orange);
  mix-blend-mode: plus-lighter;
}

.icon {
  position: relative;
  width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: auto auto;
  mix-blend-mode: color-dodge;
}

.icon div {
  --size: 100px;
  --offset: 50px;
  width: var(--size);
  aspect-ratio: 1;
  position: absolute;
  left: calc(var(--size) / 2);
  top: calc(var(--size) / 2);
  transform: translate(calc(cos(var(--degrees)) * var(--offset)), calc(sin(var(--degrees)) * var(--offset)));
}

.icon div img {
  rotate: var(--degrees);
  animation-name: rotate-line;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  filter: drop-shadow(10px 10px 10px #fce7d4);
}


.icon:hover div img {
  animation-play-state: paused;
}

.icon div:nth-of-type(1) {
  --degrees: calc(0 * (360deg / 16));
}

.icon div:nth-of-type(2) {
  --degrees: calc(1 * (360deg / 16));
}

.icon div:nth-of-type(3) {
  --degrees: calc(2 * (360deg / 16));
}

.icon div:nth-of-type(4) {
  --degrees: calc(3 * (360deg / 16));
}

.icon div:nth-of-type(5) {
  --degrees: calc(4 * (360deg / 16));
}

.icon div:nth-of-type(6) {
  --degrees: calc(5 * (360deg / 16));
}

.icon div:nth-of-type(7) {
  --degrees: calc(6 * (360deg / 16));
}

.icon div:nth-of-type(8) {
  --degrees: calc(7 * (360deg / 16));
}

.icon div:nth-of-type(9) {
  --degrees: calc(8 * (360deg / 16));
}

.icon div:nth-of-type(10) {
  --degrees: calc(9 * (360deg / 16));
}

.icon div:nth-of-type(11) {
  --degrees: calc(10 * (360deg / 16));
}

.icon div:nth-of-type(12) {
  --degrees: calc(11 * (360deg / 16));
}

.icon div:nth-of-type(13) {
  --degrees: calc(12 * (360deg / 16));
}

.icon div:nth-of-type(14) {
  --degrees: calc(13 * (360deg / 16));
}

.icon div:nth-of-type(15) {
  --degrees: calc(14 * (360deg / 16));
}

.icon div:nth-of-type(16) {
  --degrees: calc(15 * (360deg / 16));
}

@keyframes rotate-line {
  0% {
    transform: rotate(0deg) scale(50%);
    opacity: 1;
  }

  50% {
    transform: rotate(180deg) scale(100%);
    opacity: 1;
  }

  100% {
    transform: rotate(360deg) scale(50%);
    opacity: 1;
  }
}

.title {
  background: radial-gradient(circle, var(--clr--maroon) 0%, var(--clr--purple) 100%);
  color: transparent;
  background-clip: text;
  font-weight: 900;
  text-transform: uppercase;
  width: min-content;
  font-size: var(--fluid-48-100);
  line-height: .8;
}

.subtitle {
  line-height: 1;
}

.highlight {
  background: rgb(246, 226, 169);
  background: radial-gradient(circle, rgba(246, 226, 169, 1) 0%, rgba(246, 187, 138, 1) 100%);
}

.bg-maroon-orange {
  background: var(--clr--maroon);
  background: linear-gradient(180deg, var(--clr--maroon) 0%, var(--clr--orange) 100%);
}

.bg-purple-orange {
  background: var(--clr--purple);
  background: linear-gradient(180deg, var(--clr--purple) 0%, var(--clr--orange) 100%);
}

.bg-orange-purple {
  background: var(--clr--orange);
  background: linear-gradient(180deg, var(--clr--orange) 50%, var(--clr--purple) 100%);
}

.bg-maroon-purple {
  background: var(--clr--maroon);
  background: linear-gradient(180deg, var(--clr--maroon) 0%, var(--clr--purple) 100%);
}

.bg-violet-purple {
  background: var(--clr--violet);
  background: linear-gradient(180deg, var(--clr--violet) 0%, var(--clr--purple) 100%);
}

.bg-violet-maroon {
  background: var(--clr--violet);
  background: linear-gradient(180deg, var(--clr--violet) 0%, var(--clr--maroon) 100%);
}


.sun-glow {
  box-shadow: 0 0 100px rgb(216, 116, 33);
  /*var(--clr--sun);*/
}

.capital {
  text-transform: uppercase;
}

button,
a {
  width: fit-content;
  text-decoration: none;
  font-weight: 900;
  color: white;
  line-height: 4rem;
  background: rgb(216, 116, 33);
  /*var(--clr--sun);*/
  border-radius: 2rem;
  display: block;
  padding-inline: 2rem;
  transition: all .5s ease-in-out;

  &:hover {
    background-color: var(--clr--purple);
  }
}

dialog {
  position: fixed;
  inset: 0;
  border: none;
  border-radius: 1rem;
  text-align: center;
  width: min(600px, 70%);
  padding-block: 2rem;
  box-shadow: 0 0 100px var(--clr--sun);
}

dialog div {
  position: relative;
}

.close {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: 1;
  background: no-repeat;
  color: black;
  padding: 0;
  line-height: 1;
  outline: none;

  &:hover {
    background: none;
    color: var(--clr--orange);
  }
}

.close:focus,
.close:active {
  border: none;
  outline: none;
}

form {
  border: none;
  padding-block-start: 2rem;
  display: grid;
  row-gap: 1rem;
}

form>* {
  margin-inline: auto;
}

button {
  border: none;
  cursor: pointer;
  outline: none;
}

button:focus,
button:active {
  outline: none;
}

input,
textarea {
  border: none;
  display: block;
  padding: .5rem;
  border: 1px solid var(--clr--dark);
  width: 100%;
  font-size: 1rem;
  font-family: "Jost", serif;
  outline: none;

  &:hover {
    border-color: var(--clr--maroon);
  }
}

input:focus,
textarea:focus {
  outline: none;
}


#hidden {
  display: none;
  width: 1px;
}

textarea {
  aspect-ratio: 3/1;
  resize: none;
}

.header-grid,
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  text-align: center;
  row-gap: 2rem;
}

.grid {
  margin-block: 2rem;
}

.grid>div {
  background-color: rgba(255, 255, 255, .4);
  border-radius: 1rem;
  padding: .5rem;
  transition: all .5s;

  &:hover {
    translate: 0 -1rem 0;
    background: white;
    color: var(--clr--purple);
  }
}

.grid img {
  max-width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
}

.col-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.col-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.col-3 img {
  margin-block-start: 2rem;
}

.grid.col-2>div {
  margin-top: 10rem;

  &:hover a {
    background-color: var(--clr--purple);
  }

}

.pic {
  position: relative;
  aspect-ratio: 1;
  width: max-content;
  margin-top: -100px;
}

.pic::after,
.pic::before {
  position: absolute;
  content: "";
  inset: -.5rem;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(rgba(255, 230, 157, 1) 25%, rgba(236, 189, 40, 1) 50%, rgba(255, 182, 50, 1) 75%, rgba(255, 230, 157, 1) 100%);
  animation: rotating 2s linear infinite;
}

.pic::after {
  filter: blur(3rem);
}

@keyframes rotating {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.pulse {
  text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  /*transform: scale(1);*/
  animation: pulse 10s infinite;
}

@keyframes pulse {
  0% {
    /*transform: scale(0.95);*/
    text-shadow: 0 0 0 #D87421;
  }

  100% {
    /*transform: scale(0.95);*/
    text-shadow: 0 0 200px rgba(255, 255, 255, 0);
  }
}