/* Scaling System */

:root {
  --color-white: #ffffff;
  --color-warm-white: #f5f2ec;
  --color-red: #d81525;
  --color-red-white: #ffc5ca;
  --color-gray-white: #e9e6e1;
  --color-gray: #808080;
  --color-black: #0c0c0e;

  --gap: 2em;
  --section-padding: calc(3.5em + (var(--gap) * 2));
  --container-padding: 2em;
  --header-height: calc(1.5em + (var(--gap) * 2));
  --footer-height: calc(2.785em + (var(--gap) * 2));
  --mask-corner-cut-circle-6: radial-gradient(
      1rem at 1rem 1rem,
      transparent 99%,
      #000
    ) -1rem -1rem;
}
@media screen and (max-width: 991px) {
  :root {
    --container-padding: 1.5em;
  }
}
@media screen and (max-width: 767px) {
  :root {
    --container-padding: 1em;
    --section-padding: calc(var(--gap) * 2);
  }
}
@media screen and (max-width: 479px) {
  :root {
  }
}
:root {
  --size-unit: 16;
  --size-container-ideal: 1440;
  --size-container-min: 992px;
  --size-container-max: 1920px;
  --size-container: clamp(
    var(--size-container-min),
    100vw,
    var(--size-container-max)
  );
  --size-font: calc(
    var(--size-container) / (var(--size-container-ideal) / var(--size-unit))
  );
}
@media screen and (max-width: 991px) {
  :root {
    --size-container-ideal: 991;
    --size-container-min: 578px;
    --size-container-max: 991px;
  }
}
@media screen and (max-width: 767px) {
  :root {
    --size-container-ideal: 767;
    --size-container-min: 480px;
    --size-container-max: 767px;
  }
}
@media screen and (max-width: 479px) {
  :root {
    --size-container-ideal: 590;
    --size-container-min: 0px;
    --size-container-max: 479px;
  }
}

/*DEFAULT - style*/

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  -webkit-font-smoothing: antialiased;
}

svg {
  max-width: none;
  height: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: middle;
}

a {
  color: inherit;
}

body {
  font-size: var(--size-font);
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  line-height: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--color-black);
  font-family: "Inter", sans-serif;
}

h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 4.5em;
  line-height: 1;
}

h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 4.2em;
  line-height: 1.05;
}

h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 3.4em;
  line-height: 1.1;
}

h4 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 2.9em;
  line-height: 1.15;
}

h5 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 2.2em;
  line-height: 1.2;
}

h6 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 1.575em;
  line-height: 1;
}

li,
p {
  margin-bottom: 0;
  margin-top: 0;
  font-weight: 500;
  color: var(--color-gray);
  letter-spacing: -0.035rem;
  font-size: 1.25em;
  line-height: 1.215;
}

p:not(:last-of-type) {
  margin-bottom: 1em;
}

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

strong {
  font-weight: 600;
}

.container {
  z-index: 1;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
}

.container.is--full {
  max-width: 100%;
}

.container.is--medium {
  max-width: calc(var(--size-container) * 0.85);
}

.container.is--small {
  max-width: calc(var(--size-container) * 0.7);
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 4.8em;
  }

  h2 {
    font-size: 3em;
  }

  h3 {
    font-size: 2.9em;
  }

  h4 {
    font-size: 2.8em;
  }
}

@media screen and (max-width: 767px) {
  li,
  p {
    font-size: 1.3em;
    line-height: 1.215;
  }
}

img {
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.visible-991 {
  display: none;
}

@media only screen and (max-width: 991px) {
  .visible-991 {
    display: block;
  }
  .hidden-991 {
    display: none;
  }
}

.container-fluid {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.container-mid {
  margin: 0 auto;
  max-width: 1450px;
  width: 100%;
}

html :where(.wp-block) {
  max-width: 100%;
}

body {
  background-color: var(--color-warm-white);
}

/*HEADER - style*/

* {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

::-moz-selection {
  background: var(--color-red);
  color: var(--color-warm-white);
}

::selection {
  background: var(--color-red);
  color: var(--color-warm-white);
}

.hidden-overflow {
  overflow: hidden;
}

#smooth-wrapper {
  height: 100dvh !important;
  overflow: visible !important;
}

.site-header {
  padding: 20px 2em;
  position: fixed;
  width: 100vw;
  top: 0;
  z-index: 11;
  /* background-color: var(--color-warm-white); */
}

.site-header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  max-width: 10em;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  gap: 2em;
  margin: 0;
  padding: 0;
}

.main-navigation ul li a {
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.main-navigation ul li a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0%;
  border-bottom: 1px solid var(--color-gray);
  transition: all 0.4s ease-out;
}

.main-navigation ul li.current-menu-item a::after {
  border-color: var(--color-red);
  width: 100%;
}

.main-navigation ul li a:hover::after {
  width: 100%;
}

.main-navigation ul li.current-menu-item a {
  font-weight: 700;
  color: var(--color-red);
}

.rcdp-icon,
.site-header__created,
.site-header__menu-top,
.open-menu {
  display: none;
}

.site-header__menu-top {
  display: flex;
  padding: 20px 0px;
  align-items: center;
  justify-content: space-between;
}

.site-header__menu {
  position: fixed;
  left: 0;
  top: 0;
  padding: 0px 2em;
  z-index: 2;
  width: 100%;
  height: 100dvh;
  background-color: var(--color-warm-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6em;
  opacity: 0;
  pointer-events: none;
  filter: blur(10px);
  transition: opacity 0.6s, filter 0.6s;
}

.site-header__menu.is--active {
  opacity: 1;

  pointer-events: auto;
  filter: blur(0);
}

.main-navigation {
  padding-top: 100px;
}

.main-navigation ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 3.2em;
}

.main-navigation ul li a {
  font-size: 1.53em;
}

.close-menu,
.open-menu {
  font-size: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--color-black);
  display: block;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s ease-out;
  position: relative;
}

.open-menu {
  padding-right: 12px;
}
.open-menu::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-red);
}

.site-header__created {
  display: block;
  padding-bottom: 25px;
}

.site-header__created p {
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-size: 0.8em;
}
.site-header__created a {
  color: var(--color-black);
  font-weight: 700;
  transition: all 0.4s ease-out;
}

.close-menu:hover,
.open-menu:hover,
.site-header__created a:hover {
  color: var(--color-red);
}

.open-menu.is-hidden,
.site-header__wrap > .site-branding.is-hidden {
  opacity: 0;
}

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

.rcdp-icon {
  display: block;
  position: fixed;
  right: -50%;
  bottom: -10%;
  z-index: -1;
  animation: spin360 10s linear infinite;
  width: 100%;
  max-height: 80%;
}

@media only screen and (max-width: 991px) {
  .site-header {
    padding: 20px 20px;
  }
  .site-header__menu {
    padding: 0px 20px;
  }

  .site-branding {
    max-width: 105px;
  }

  .close-menu,
  .open-menu {
    font-size: 16px;
  }
}

@media only screen and (max-width: 575px) {
  .close-menu,
  .open-menu {
    font-size: 14px;
  }

  .open-menu {
    padding-right: 10px;
  }
  .open-menu::before {
    width: 6px;
    height: 6px;
  }
}

.btn-rcdp {
  background-color: var(--color-red-white);
  border-radius: 10em;
  display: inline-block;
  gap: 0.8em;
  padding: 5px;
  display: flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  transition: all 0.1s ease-out;
}

.btn-rcdp::before {
  content: "";
  left: 5px;
  top: 5px;
  position: absolute;
  background-color: var(--color-red);
  height: calc(100% - 10px);
  width: 2.4em;
  border-radius: 10em;
  transition: all 0.4s ease;
}

.btn-rcdp:hover::before {
  left: 0;
  top: 0;
  width: calc(100%);
  height: 100%;
}

.btn-rcdp:hover {
  color: var(--color-warm-white);
  transition: all 0.4s ease-out;
}

.btn-rcdp__icon {
  background-color: var(--color-red);
  border-radius: 50%;
  width: 2.4em;
  height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.btn-rcdp__icon svg {
  max-width: 70%;
  width: 100%;
}

.btn-rcdp__text {
  padding-right: 1.5em;
  position: relative;
}

.sound-wave {
  display: flex;
}

.sound-bar {
  width: 2px;
  height: 1.3em;
  background-color: var(--color-red);
  border: 2px;
  margin-right: 2px;
  transform: scaleY(1);
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.music-play.is--active .sound-bar {
  height: 2px;
}
.music-play.is--active .sound-bar:nth-child(4n) {
  animation-name: bar-scale-xl;
  animation-duration: 1s;
}
.music-play.is--active .sound-bar:nth-child(4) {
  animation-duration: 1.15s;
}
.music-play.is--active .sound-bar:nth-child(3) {
  animation-name: bar-scale-lg;
  animation-duration: 0.8s;
}
.music-play.is--active .sound-bar:nth-child(6) {
  animation-name: bar-scale-md;
  animation-duration: 0.85s;
}
.music-play.is--active .sound-bar:nth-child(2),
.music-play.is--active .sound-bar:nth-child(5),
.music-play.is--active .sound-bar:nth-child(7),
.music-play.is--active .sound-bar:nth-child(9) {
  animation-name: bar-scale-sm;
  animation-duration: 0.9s;
}

@keyframes bar-scale-sm {
  0%,
  50% {
    transform: scaleY(1);
  }
  25% {
    transform: scaleY(6);
  }
  75% {
    transform: scaleY(4);
  }
}
@keyframes bar-scale-md {
  0%,
  50% {
    transform: scaleY(2);
  }
  25% {
    transform: scaleY(6);
  }
  75% {
    transform: scaleY(5);
  }
}
@keyframes bar-scale-lg {
  0%,
  50% {
    transform: scaleY(8);
  }
  25% {
    transform: scaleY(4);
  }
  75% {
    transform: scaleY(6);
  }
}
@keyframes bar-scale-xl {
  0%,
  50% {
    transform: scaleY(1);
  }
  25% {
    transform: scaleY(7);
  }
  75% {
    transform: scaleY(11);
  }
}

.page-transition {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 100vh;
  left: 0;
  z-index: 99;
  background-color: var(--color-red);
  pointer-events: none;
  opacity: 1;
}

.page-transition--after {
  height: 100%;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  display: block;
  z-index: 99;
  background-color: var(--color-red);
  -webkit-transform: translateY(0%);
  -ms-transform: translateY(0%);
  transform: translateY(0%);
}

@-webkit-keyframes loading-page-animation {
  0% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
  100% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@keyframes loading-page-animation {
  0% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
  100% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@-webkit-keyframes pre-loading-page-animation {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  100% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
}

@keyframes pre-loading-page-animation {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  100% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
  }
}

.page-transition.active {
  opacity: 1;
  -webkit-animation: pre-loading-page-animation 0.8s ease-in-out forwards;
  animation: pre-loading-page-animation 0.8s ease-in-out forwards;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-warm-white);
  z-index: 9999;
}
.loading-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  width: 100%;
  height: 100px;
  line-height: 100px;
}
.loading-text span {
  display: inline-block;
  margin: 0 5px;
  color: var(--color-red);
  font-family: "Inter", sans-serif;
  font-weight: 600;
}
.loading-text span:nth-child(1) {
  filter: blur(0px);
  animation: blur-text 1.2s 0s infinite linear alternate;
}
.loading-text span:nth-child(2) {
  filter: blur(0px);
  animation: blur-text 1.2s 0.1s infinite linear alternate;
}
.loading-text span:nth-child(3) {
  filter: blur(0px);
  animation: blur-text 1.2s 0.2s infinite linear alternate;
}
.loading-text span:nth-child(4) {
  filter: blur(0px);
  animation: blur-text 1.2s 0.3s infinite linear alternate;
}
.loading-text span:nth-child(5) {
  filter: blur(0px);
  animation: blur-text 1.2s 0.4s infinite linear alternate;
}
.loading-text span:nth-child(6) {
  filter: blur(0px);
  animation: blur-text 1.2s 0.5s infinite linear alternate;
}
.loading-text span:nth-child(7) {
  filter: blur(0px);
  animation: blur-text 1.2s 0.6s infinite linear alternate;
}
.loading-text span:nth-child(8) {
  filter: blur(0px);
  animation: blur-text 1.2s 0.7s infinite linear alternate;
}
@keyframes blur-text {
  0% {
    filter: blur(0px);
  }
  100% {
    filter: blur(4px);
  }
}
