/* ------------------------- Style ® Code by Sergio García & Pablo Andrés -------------------------------------------------- */

/* ------------------------- Cursor -------------------------------------------------- */
.cursor {
  width: 25px;
  height: 25px;
  position: fixed;
  top: 0;
  left: 0;
  border: 2px solid var(--color-border-light);
  border-radius: 50%;
  pointer-events: none;
}

/* ------------------------- Overlay -------------------------------------------------- */

.overlay {
  pointer-events: none;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
}

.overlay .grain {
  position: fixed;
  inset: 0;
  background-image: url("/assets/img/noise300x300.webp");
  background-repeat: repeat;
  background-size: 15%;
  opacity: 0.1;
  z-index: 999;
}

/* ------------------------- Radial Gradient -------------------------------------------------- */

.radial-gradient {
  position: fixed;
  top: 0;
  left: 0;
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgb(217, 217, 217) 0%,
    rgba(217, 217, 217, 0) 100%
  );
  opacity: 0.21;
  pointer-events: none;
}

/* ------------------------- Loading Screen -------------------------------------------------- */

.loading-screen {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 800;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap-padding);
}

.loading-screen .counter {
  position: absolute;
  font-size: 17px;
  line-height: 1.15;
}

.loading-screen .counter p {
  margin: 0;
}

.loading-screen .tl {
  top: 18px;
  left: 18px;
}

.loading-screen .tr {
  top: 18px;
  right: 18px;
}

.loading-screen .bl {
  bottom: 18px;
  left: 18px;
}

.loading-screen .br {
  bottom: 18px;
  right: 18px;
}

.loading-screen .ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--vh, 1vh) * 99);
  height: calc(var(--vh, 1vh) * 99);
}

.dokodon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dokodon-container .dokodon-item {
  opacity: 0;
  visibility: hidden;
  overflow: visible;
}

.pulse {
  position: absolute;
  z-index: 1;
  height: 200px;
  width: 200px;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -100px;
  /* background: var(--color-border-solid); */
  border: 1px solid var(--color-border-solid);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
}
.ellipse-svg {
  transform-origin: 6px 6px !important;
}

/* ------------------------- Loading Fade -------------------------------------------------- */

.loading-fade {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  z-index: 700;
  background: var(--color-dark);
  visibility: visible;
  opacity: 1;
  pointer-events: none;
}

.loading-fade svg {
  position: absolute;
  bottom: var(--gap-padding);
  right: var(--gap-padding);
  width: 2.5em;
}

.loading-fade svg path {
  fill: var(--color-light);
}

/* ------------------------- Main -------------------------------------------------- */
.main {
  height: 100vh;
  width: 100vw;
  display: flex;
  overflow: hidden;
}

/* ------------------------- Menu ------------------------- */

.main .menu {
  height: 100%;
  width: var(--menu-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0px;
  cursor: pointer;
}

.main .menu .logo {
  width: 32px;
  height: 32px;
}

/* ------- Hamburger ------- */
.hamburger {
  height: 90px;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hamburger .line {
  width: 2px;
  height: 100%;
  background-color: var(--color-text);
}

/* ------------------------- Landing ------------------------- */
.main .landing-container {
  position: relative;
  height: 100%;
  width: calc(100% - var(--menu-width) - 3rem);
}

.landing-container .dokodon {
  position: absolute;
  right: -4%;
  top: 0;
  z-index: 1;
}

/* ----------- Dividers ----------- */
.divider-vertical {
  height: 100%;
  width: 1px;
  background-color: var(--color-border-solid);
  opacity: 0.4;
  z-index: 3;
}

.divider-horizontal {
  height: 1px;
  width: 100%;
  background-color: var(--color-border-solid);
  opacity: 0.3;
}

.landing-container .divider-vertical.left {
  position: absolute;
  left: 0;
  top: 0;
}

.landing-container .divider-vertical.center {
  position: absolute;
  left: 50%;
  top: 0;
}

.landing-container .divider-vertical.right {
  position: absolute;
  left: 100%;
  top: 0;
}

.landing-container .divider-horizontal {
  position: absolute;
  top: 65%;
}

/* ----------- Rows ----------- */
.landing-container .row .item {
  width: 50%;
}

.landing-container .top-row {
  height: 65%;
}

.landing-container .bottom-row {
  height: 35%;
}

.item {
  height: 100%;
}

/* ----------- Item 1 ----------- */
.item.title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
}
.item.title .img-container {
  position: relative;
  align-self: flex-end;
}
.item.title .img-container img:nth-child(1) {
  min-width: 500px;
  width: 40vw;
  height: auto;
  max-width: none;
}
.item.title .img-container .seal {
  position: absolute;
  bottom: 1rem;
  left: 0;
}
.item.title p {
  margin-bottom: 2rem;
  font-size: clamp(0.875em, 1vw, 1.5em);
  font-weight: 700;
  line-height: 109%;
}

/* Default layout used in items 2,3 and 4 */
.item.default-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2%;
}

/* ----------- Item 2 ----------- */
.item.default-layout.description {
  padding: 0;
  position: relative;
  overflow: hidden;
}
.item.description .gradient {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 140px;
  background: linear-gradient(90deg, #161616 0%, rgba(22, 22, 22, 0) 100%);
  z-index: 2;
  opacity: 0.3;
}
.item.description .img-container {
  position: absolute;
  left: 0;
  top: 2.5rem;
  transform: translateX(-70%);
}
.item.description .img-container img {
  min-width: 500px;
  width: 40vw;
  height: auto;
}
.item.description .img-container:nth-of-type(2) {
  transform: translateX(-60%);
}
.item.description .img-container:nth-of-type(3) {
  transform: translateX(-51.5%);
  opacity: 30%;
}
.item.description .img-container:nth-of-type(4) {
  transform: translateX(-43%);
  opacity: 10%;
}
.img-container .clip-container {
  position: relative;
}
.clip-container img {
  clip-path: inset(0 0 0 92%);
}
.item.description .ellipse {
  width: 50%;
  aspect-ratio: 1;
  display: inline-block;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid var(--color-border-light);
  opacity: 0.1;
}
.item.default-layout.description > div.divider-vertical {
  position: absolute;
  right: 10%;
  top: 0;
}
.item.default-layout.description p {
  position: absolute;
  left: 2%;
  bottom: 3%;
  font-size: clamp(0.5em, 0.6vw, 0.7em);
  line-height: 148%;
  max-width: 355px;

  @media screen and (min-width: 1700px) {
    max-width: 500px;
  }
}

/* ----------- Item 3 ----------- */
.item.default-layout .circle {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-white);
}

/* ----------- Item 4 ----------- */
.item.default-layout.bg {
  background-image: url("/assets/img/landing/whats.webp");
  background-size: cover;
  padding: 2% 10%;
}
.item.default-layout.bg .curve {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translateY(65%);
}

.item.default-layout div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item.default-layout div p {
  z-index: 2;
  margin-bottom: 0;
  color: var(--color-white);
  font-size: clamp(0.875em, 1vw, 1.2em);
  line-height: 128%;
}

/* ------------------------- Menu Slide -------------------------------------------------- */

.menu-slide {
  position: absolute;
  inset: 0;
  left: var(--menu-width);
  z-index: 99;
  display: flex;
  align-items: stretch;
}

.menu-slide .slide {
  flex: 1;
  border-left: 1px solid var(--color-border-solid);
}

.menu-slide .slide .img-container {
  height: 54%;
  position: relative;
  padding: 22px 40px;
}

.menu-slide .slide .img-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-slide .slide .img-container .title {
  position: relative;
  color: var(--color-white);
  z-index: 1;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: 0.02em;
}

.menu-slide .slide .img-container .title p {
  margin: 0;
}

.menu-slide .slide .description-container {
  height: 46%;
  padding: 22px 40px;
}

.menu-slide .slide .description-container .content {
  border-top: 1px solid var(--color-border-solid);
  border-bottom: 1px solid var(--color-border-solid);
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}

.menu-slide .slide .description-container .content .title p {
  margin: 0;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.menu-slide .slide .description-container .content .description p {
  margin: 0;
}

.menu-slide .curve-container {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 70%;
  transform: translateX(-50%);
  font-size: 45px;
  color: var(--color-white);
}
