@font-face {
  font-family: "Raleway";
  src: local("Raleway Bold Italic"), local("Raleway-BoldItalic"),
    url("public/fonts/dehinted-Raleway-BoldItalic.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: local("Raleway Regular"), local("Raleway-Regular"),
    url("public/fonts/dehinted-Raleway-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: local("Raleway Bold"), local("Raleway-Bold"),
    url("public/fonts/dehinted-Raleway-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: local("Raleway Italic"), local("Raleway-Italic"),
    url("public/fonts/dehinted-Raleway-Italic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("public/fonts/dehinted-Rubik-ExtraBold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("public/fonts/dehinted-Rubik-ExtraBoldItalic.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Raleway;
  font-weight: normal;
  font-style: normal;
  color: #111;
  background: #fff;
  overflow-x: hidden;
  min-width: 360px;
}

/* SCROLL HINT */
.scroll-hint {
  width: 100%;
  justify-content: center;
  display: flex;
  position: fixed;
  bottom: 16px;
  text-align: center;
  /* font-size: 18px; */
  color: white;
  text-decoration: none;
  user-select: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 2;
}

.scroll-hint-joke {
  font-size: 20px;
  color: white;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px 0 0 8px;
  transition: width 0.5s ease, background 0.5s ease;
}

.scroll-hint:hover {
  transform: scale(1.02);
}

.scroll-hint:hover .scroll-hint-joke {
  background: rgba(0, 0, 0, 1);
}

.scroll-hint-down {
  background: #e3883e;
  width: 30px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-radius: 0 8px 8px 0;
  transition: width 0.5s ease;
}

.bored .scroll-hint-down {
  display: none;
}

.bored .scroll-hint-joke {
  border-radius: 8px;
}

.scroll-hint-joke {
  transform-origin: center center;
}

.scroll-hint.animate .scroll-hint-joke {
  animation: hundimientoTotal 12s ease-in-out forwards;
}

.scroll-hint.animate .scroll-hint-down {
  animation: hundimientoTotalDown 12s ease-in-out forwards;
}

@keyframes hundimientoTotal {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  10% {
    transform: translate(-15px, 0) rotate(-5deg);
  }
  20% {
    transform: translate(-15px, 0) rotate(3deg);
  }
  30% {
    transform: translate(-15px, 0) rotate(-3deg);
  }
  60% {
    transform: translate(-15px, 0) rotate(90deg);
  }
  70% {
    transform: translate(-15px, -5px) rotate(90deg);
  }
  85% {
    transform: translate(-15px, 150px) rotate(90deg);
    opacity: 1;
  }
  100% {
    transform: translate(-15px, 200px) rotate(90deg);
    opacity: 0;
  }
}

@keyframes hundimientoTotalDown {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  10% {
    transform: translate(-15px, -15px) rotate(-5deg);
  }
  20% {
    transform: translate(-5px, 30px) rotate(60deg);
  }
  40% {
    transform: translate(-5px, 60px) rotate(65deg);
  }
  100% {
    transform: translate(15px, 100px) rotate(0deg);
  }
}

@media (max-width: 639px) {
  .scroll-hint-joke {
    font-size: 16px;
  }
}

@media (max-width: 639px) and (min-height: 740px) {
  .scroll-hint-joke {
    font-size: 1rem;
  }
}

/* HERO SECTION */
.hero {
  display: flex;
  place-content: center;
  position: relative;
  height: 100dvh;
  width: 100%;
  background: url("public/img/background.jpg") no-repeat center;
  background-size: cover;
  overflow: hidden;
  z-index: 1;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
}

.hero-video {
  width: 100vw;
  height: 100dvh;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: clamp(5.3125rem, 5.0962rem + 0.9615vw, 6.25rem);
  background: white;
  padding: 0.5rem;
  border-radius: 8px;
}

.hero-caption {
  position: absolute;
  top: calc(50% + 35px);
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  z-index: 2;
  text-align: left;
  padding: 0 clamp(1rem, -1.8464rem + 12.6506vw, 6.25rem);
  max-width: 1180px;
  width: 100%;
  line-height: 1.5;
}

.hero-context {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
  z-index: 2;
  text-align: right;
  font-size: clamp(0.875rem, 0.8173rem + 0.2564vw, 1.125rem);
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
  max-width: clamp(14.375rem, 13.5817rem + 3.5256vw, 17.8125rem);
}

.hero-context-date {
  color: #e3883e;
}

.hero-hashtag {
  color: #e3883e;
  text-align: right;
}

@media (max-width: 679px) {
  .hero-caption {
    top: calc(50% + 35px);
  }
}

@media (max-width: 1080px) {
  .hero video {
    object-position: 20% center;
  }
}

/* INFO SECTION */
.info {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* text-align: center; */
  background: url("public/img/background.jpg") no-repeat center;
  background-size: cover;
  z-index: 1;
}

.info-points {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  text-align: left;
  background: black;
  color: white;
  z-index: 1;
}

.info video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.white-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 1;
}

.info-content {
  position: relative;
  z-index: 2;
  padding: clamp(1rem, 0.7692rem + 1.0256vw, 2rem)
    clamp(1rem, -1.8464rem + 12.6506vw, 6.25rem);
  width: 1440px;
  max-width: 1440px; /* 1180px; */
}

.info-points:first-of-type .info-content {
  padding-block-start: clamp(2rem, 0.6667rem + 5.9259vw, 6rem);
}

.info-points:last-of-type .info-content {
  padding-block-end: clamp(2rem, 0.6667rem + 5.9259vw, 6rem);
}

.info-points:last-of-type {
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 25%,
    rgba(118, 29, 183, 0) 100%
  );
}

.info-content.container {
  padding: clamp(2rem, 0.6667rem + 5.9259vw, 6rem)
    clamp(1rem, -1.8464rem + 12.6506vw, 6.25rem);
}

.info-content p,
.info-content ul {
  font-size: clamp(1rem, 0.9167rem + 0.3704vw, 1.25rem);
  font-style: normal;
  line-height: 1.7;
}

.info-content li {
  margin-block-end: 1rem;
}

.info-content h1 {
  font-family: "Rubik";
  font-size: clamp(2rem, 1.9167rem + 0.3704vw, 2.25rem);
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-block-end: 2rem;
}

.info-content h2 {
  font-family: "Rubik";
  font-size: clamp(1.75rem, 1.6667rem + 0.3704vw, 2rem);
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-block: 2rem;
}

.info-content h3 {
  font-family: "Rubik";
  font-size: clamp(1.5rem, 1.4167rem + 0.3704vw, 1.75rem);
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-block: 2rem;
  border-bottom: 4px solid #761db7;
}

.info-content h4 {
  font-size: clamp(1.2rem, 1.1333rem + 0.2963vw, 1.4rem);
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 1rem;
  border-bottom: none;
}

.info-content .point {
  content: "";
  position: relative;
  color: white;
  margin-right: 0.5rem;
}

.info-content .point:after {
  content: "";
  position: absolute;
  top: -17px;
  left: -6px;
  background: #761db7;
  color: wheat;
  padding: 0.2rem 1rem;
  border-radius: 100px 0 100px 0;
  width: calc(100% + 2rem);
  height: calc(100% + 0.5rem);
  z-index: -1;
}

.pink-color {
  color: #da1884;
  font-weight: bold;
}

.yellow-color {
  color: #ffff00;
   font-weight: bold;
}

.shit-color {
  color: #725b3d;
  font-weight: bold;
}

.orange-color {
  color: rgb(255, 100, 0);
  font-weight: bold;
}

.matcha-color {
  color: rgb(136, 175, 120);
  font-weight: bold;
}

.deep-blue-color {
  color: rgb(150, 180, 210);
  background: rgb(10, 20, 40);
  border-radius: 8px;
  padding: 0.2em;
}

.logo {
  width: clamp(120px, 22vw, 200px);
  margin-block-end: clamp(0rem, -1.4167rem + 6.2963vw, 4.25rem);
  /* filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2)); */
}

.logo-wrapper {
  display: flex;
  justify-content: center;
}

p {
  font-size: clamp(0.875rem, 0.6731rem + 0.8974vw, 1.75rem);
  line-height: 1.5;
  margin-bottom: 1rem;
}

@media (max-width: 639px) and (min-height: 740px) {
  p {
    font-size: 1rem;
  }
}

.info-content-wrapper {
  text-align: left;
  word-break: break-word;
}

/* GHOST BLOCK */
.ghost {
  height: 100dvh;
}

/* CTA BLOCK */
.cta {
  position: fixed;
  inset: 0;
  z-index: 0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100dvh;
  text-align: center;
  background: url("public/img/background.jpg") no-repeat center;
  background-size: cover;
}

.cta-inner {
  max-width: 1180px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  padding: 0 clamp(1rem, -1.8464rem + 12.6506vw, 6.25rem);
}

.cta-text span {
  color: #f0802d;
}

.cta-text p:last-child {
  margin-bottom: 0;
}

.cta-button {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  text-wrap: nowrap;
  padding-inline: 0.5rem;
  border-radius: 1rem;
  color: white;
  font-style: italic;
}

.cta p {
  font-weight: bold;
  line-height: 1.9;
}

.cta-button.whatsapp {
  border-inline: 0.5rem solid #25d366;
}

.cta-button.phone {
  border-inline: 0.5rem solid #6a48e6;
}

.cta-button.email {
  border-inline: 0.5rem solid #f0802d;
}

.cta-button::after {
  content: attr(data-hover-label);
  position: fixed;
  inset: 0;
  color: white;
  font-size: clamp(1rem, 0.8269rem + 0.7692vw, 1.75rem);
  line-height: 1.5;
  font-weight: bold;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  white-space: pre;
}

.cta-button:hover::after {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .cta-button:hover::after {
    opacity: 1;
  }
}

.cta-button.whatsapp::after {
  background-color: #25d366;
}

.cta-button.phone::after {
  background-color: #6a48e6;
}

.cta-button.email::after {
  background-color: #f0802d;
}

/* Rating */
.rating {
  background: #006213;
  max-width: 552px;
  margin: 0 auto;
  color: white;
  padding: 8px;
  border-radius: 8px;
  margin-block-end: 2rem;
  margin-block: clamp(3rem, 2.3333rem + 2.963vw, 5rem);
  font-family: "Courier New", Georgia, serif;
}

.rating-wrapper {
  border: 4px solid white;
  border-radius: 6px;
}

.rating-type {
  display: flex;
}

.rating-content {
  border: 1px solid white;
  padding: 8px;
  font-weight: bold;
  text-align: center;
}

.rating a {
  color: #00fa2f;
}

.rating p {
  font-size: clamp(0.875rem, 0.7917rem + 0.3704vw, 1rem);
  line-height: 1.5;
  margin-bottom: 0;
}

.rating .rating-1 {
  border-top: none;
  border-right: 3px solid; 
  border-left: 1px solid; 
  border-bottom: 1px solid;
  padding: 4px 10px 4px 8px; 
  font-size: 40px;
  flex-shrink: 0;
}

.rating .rating-2 {
  border: none;
  border-right: 1px solid; 
  border-bottom: 1px solid;
  width: 100%; 
  font-size: 40px;
}

/* Boring petals */
.boring-petals {
  display: none;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: clamp(2rem, 0.6667rem + 5.9259vw, 6rem)
    clamp(1rem, -1.8464rem + 12.6506vw, 6.25rem);
  z-index: 1;
  font-family: "Courier New", Georgia, serif;
  color: black;
  background: white;
  width: 100%;
}

.boring-petals a {
  color: #0000ee;
}

.boring-petals-wrapper {
  max-width: 1440px;
}

.boring-petals h1,
.boring-petals h2 {
  font-size: clamp(1.75rem, 1.6667rem + 0.3704vw, 2rem);
  font-style: normal;
  line-height: 1.1;
  font-weight: bold;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.boring-petals h2 {
  font-size: clamp(1.5rem, 1.4167rem + 0.3704vw, 1.75rem);
}

.boring-petals p,
.boring-petals ul {
  font-size: clamp(1rem, 0.9167rem + 0.3704vw, 1.25rem);
  font-style: normal;
  line-height: 1.7;
  list-style-position: inside;
  padding-left: 1em;
}

.boring-petals li {
  margin-bottom: 1rem;
}

#show-boring-mode {
  color: #00fa2f;
  transition: all .3s ease;
  text-decoration: none;
  padding: .3em;
  border-radius: 8px;
}

#show-boring-mode:hover {
  background: white;
  color: #006213;
}

.info-content.point,
.info-content.point-reverse  {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "graphic" 
    "column ";
     gap: 2rem;
}

.graphic-column {
  grid-area: graphic;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content-column {
  grid-area: column;
}

img {
  width: 100%;
  max-width: clamp(12.5rem, 10.0543rem + 10.8696vw, 18.75rem);
  height: auto;
}

.code-sample {
  margin-inline: auto;
  margin-block: clamp(3rem, 2.3333rem + 2.963vw, 5rem);
  max-width: 1024px;
}

.desktop-only {
  display: none;
}

.code-sample .caption {
  margin-block-start: .5rem;
}

.code-sample-wrapper {
  background: #111;
  color: #c2d2f3;
  font-family: monospace;
  padding: 0 1.5rem 1rem 2rem;
  border-radius: .5rem;
  white-space: pre-wrap; 
  word-break: break-word; 
}

.code-sample-wrapper .color-tag {
  color: #8294ba;
}

.code-sample-wrapper .color-attr {
  color: #ca8e72;
}

.easter-egg {
  color: black;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: rgba(0, 0, 0, 0.3); 
  text-underline-offset: 3px;
  transition: text-decoration-color .3s ease;
}

.easter-egg.light {
  color: white;
  text-decoration-color: rgba(255, 255, 255, 0.3); 
}

.easter-egg:hover {
   text-decoration-color: #f0802d; 
   text-decoration-style: initial;
}

.easter-egg.light.green:hover {
  text-decoration-color: #00fa2f;
  text-decoration-style: initial;
}

a:focus-visible {
  outline: 1px solid #e3883e;
  outline-offset: 2px;
  border-radius: 8px;
}

/* Audio inline */
.this-is-us-audio {
    margin-block-end: 1rem;
    border-block-end: 1px solid rgba(0, 0, 0, 0.1);
}

.audio-inline-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  margin-inline: .5em;
  padding: 0 1.5em;
  min-width: 200px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 8px;
  line-height: 1;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.audio-inline-button  {
  font-family: Raleway;
  font-size: clamp(1rem, 0.9167rem + 0.3704vw, 1.25rem);
  font-style: normal;
  line-height: 1.7;
  margin-block: 0;
}

.audio-inline-button:hover {
  background: black;
  transform: scale(1.02);
}

.audio-inline-button .timer {
  line-height: 1;
  font-weight: normal;
  color: #f0802d;
}

.audio-inline-button .reset-icon {
  position: relative;
  top: -2px;
  display: none;
  font-size: 1.5em;
  color: #a16cb5;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.audio-inline-button .reset-icon.visible {
  display: inline;
}

.audio-inline-button .reset-icon:hover {
  transform: scale(1.3);
  color: white;
}

.boring-audio {
  margin-block: clamp(3rem, 2.3333rem + 2.963vw, 5rem) 0;
  border-block-end: 1px solid rgba(0, 0, 0, 0.1);
}

.boring-audio .reset-icon {
  top: 1px;
}

.boring-audio button {
    font-family: "Courier New", Georgia, serif;
    font-size: clamp(1rem, 0.9167rem + 0.3704vw, 1.25rem);
    font-style: normal;
    line-height: 1.7;
}

/* Responsive */
@media (min-width: 1024px) {

.desktop-only {
  display: inline;
}

  img {
    max-width: 300px;
  }

  .info-content.point {
    grid-template-columns: auto 300px;
    grid-template-areas: "column graphic";
  }

  .info-content.point-reverse {
    grid-template-columns: 300px auto;
    grid-template-areas: "graphic column";
  }

}