/* ============================================== */
/* ROOT */
/* ============================================== */

:root{
  /*-- Color  --*/

  --color-blue:        #9020FF;
  --color-blue-rgb:    144, 32, 255;
  --color-red:         #FF003D;
  --color-red-rgb:     255, 0, 61;
  --color-blue-black:  #181821;
  --color-blue-line:   #2B2B39;
  --color-green:       #62C400;
  --color-aqua:        #4CFFBE;
  --color-aqua-rgb:    76, 255, 190;

  /*-- Font Family --*/

  --f-family:   'Roboto', sans-serif;
  --f-family-h: 'Poppins', sans-serif;
}

.c-blue{
  background: var(--color-blue);
}
.c-blue-black{
  background: var(--color-blue-black);
}
.c-blue-line{
  background: var(--color-blue-line);
}
.c-red{
  background: var(--color-red);
}
.c-green{
  background: var(--color-green);
}

body{
  background-color:var(--color-blue-black);
  /*background-image: url("./../../images/body/noisy.png");*/
}

.h1.big{
  font-size: 80px;
}

@media screen and (max-width: 1080px){
  .h1,.h1.big{
    font-size: 32px;
  }
  .h3{
    font-size: 24px;
  }

  .h5{
    font-size: 18px;
  }
}


/* ============================================== */
/* COUNT */
/* ============================================== */

.count{
  counter-reset: item;
}
.count .item:before {
  content: counters(item, ".") ". ";
  counter-increment: item;
}

/* ============================================== */
/* MENU LIST */
/* ============================================== */

.menu-list li a.active{
  color: var(--color-blue);
}

.menu-list.small-pad li{
  padding: 5px;
}

/* ============================================== */
/* TERMS */
/* ============================================== */

.terms{
  max-width: 1440px;
  width: 100%;
  margin: 100px auto 50px auto;
  background: var(--color-blue-line);
  border-radius: 30px;
  padding: 30px;
}

.terms :is(p,a,h1,h2,h3,h4,h5,li){
  color: white;
  text-transform: lowercase;
}

.terms h1{
  text-align: center;
}

.terms p:first-letter,
.terms h1:first-letter,
.terms h2:first-letter,
.terms h3:first-letter,
.terms h4:first-letter,
.terms h5:first-letter,
.terms li:first-letter {
    text-transform: uppercase;
}

.terms p a{
  color: red;
}

.terms p{
  color: #9F9FB3;
}

.terms ul{
  margin: 30px 0;
}


/* ============================================== */
/* PRELOADER */
/* ============================================== */

.preloader::before{
  background: url("./../../images/logo/preloader_logo.svg") no-repeat 50% 50%/contain;
}

/* ============================================== */
/* BTN */
/* ============================================== */

.btn.c-blue {
  background: var(--color-blue);
}

.btn.c-blue:hover {
  background: rgba(var(--color-blue-rgb), 0.8); /* Cambia la opacidad a 0.8 al hacer hover */
}

.btn.c-red {
  background: var(--color-red);
}

.btn.c-red:hover {
  background: rgba(var(--color-red-rgb), 0.8); /* Cambia la opacidad a 0.8 al hacer hover */
}

.btn.c-aqua {
  color:#217A5A;
  background: var(--color-aqua);

}

.btn.c-aqua:hover {
  background: rgba(var(--color-aqua-rgb), 0.8); /* Cambia la opacidad a 0.8 al hacer hover */
}

/* ============================================== */
/* HERO */
/* ============================================== */

.hero{
  width: 100%;
}

.hero-bg{
  width: 80%;
  height: 80%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  object-fit: contain;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero .content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
}

.hero .content .info,
.hero .content .img-box{
  width: 50%;
  position: relative;
}

.hero .content .info{
  padding: 30px;
}

.hero .content .img-box{
  height: 400px;
}

.hero .content .img-box img{
  position: absolute;
}

.hero .content .img-box img.box-1{
  top: 0%;
  left: 10%;
  z-index: 3;
}

.hero .content .img-box img.box-2{
  top: 40%;
  left: 30%;
  z-index: 2;
}

.hero .content .img-box img.box-3{
  top: -40%;
  left: 50%;
  z-index: 1;
}

@media screen and (max-width: 1080px){
  .hero-bg{
    object-fit: cover;
  }
  .hero .content{
    flex-direction: column-reverse;
    justify-content: center;
    padding: 30px;
  }
  .hero .content .info,
  .hero .content .img-box{
    width: 100%;
  }

  .hero .content .info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero .content .img-box img{
    width: 200px;
    transform: translate(-50%,-50%);
  }
  .hero .content .img-box img.box-1{
    top: 40%;
    left: 50%;
  }
  .hero .content .img-box img.box-2{
    top: 50%;
    left: 40%;
  }
  .hero .content .img-box img.box-3{
    top: 60%;
    left: 60%;
  }

  .btns{
    justify-content: center;
  }

  .btns .big{
    padding: 15px 20px;
    font-size: 18px;
  }

  .hero .info{
    background-image: linear-gradient(to bottom, transparent, var(--color-blue-black) 80px);
  }

}

/* ============================================== */
/* VIDEO */
/* ============================================== */

.video-popup{
  width: 100%;
  height: 100svh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  background-color: rgba(10,0,15,0.6);
  backdrop-filter: blur(1rem);
}

/* ============================================== */
/* ABOUT */
/* ============================================== */

.about{
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.about .wrap{
  width: 90%;
  border-radius: 30px 0 0 30px;
  background: var(--color-blue);
  position: relative;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
}

.about .wrap img{
  position: absolute;
  bottom: -10%;
  left:-10%;
  width: 50%;
}

.about .wrap .info{
  width: 30%;
  margin: 20vh 0;
  position: relative;
  right: 20%;
}

@media screen and (max-width: 1080px){
  .about .wrap{
    width: 100%;
    margin-left: 30px;
    border-radius: 20px 0 0 20px;
    justify-content: flex-start;
    flex-direction: column;
  }
  .about .wrap .info{
    width: 100%;
    margin: 0;
    padding: 30px;
    right: auto;
  }
  .about .wrap img{
    position: relative;
    bottom: 0;
    left:0;
    width: 100%;
  }
}

/* ============================================== */
/* OTC */
/* ============================================== */

.otc .content{
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

.otc .content .info{
  width: 35%;
  position: relative;
  z-index: 2;
  padding: 30px;
}

.otc .content .video-wrap{
  width: 65%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video {
  --width: 95%; /* Define la anchura base en píxeles */
  width: var(--width);
  aspect-ratio: 16/9;
  /*height: calc(var(--width) * 9/16); /* Mantiene la relación de aspecto 16:9 */
  position: absolute;
  right: -15%;
}

@media screen and (max-width: 1440px){
  .otc .content .video-wrap{
    height: 60%;
  }
}

@media screen and (max-width: 1080px){
  .otc .content{
    flex-direction: column-reverse;
    justify-content: center;
  }
  .otc .content .info,
  .otc .content .video-wrap{
    width: 100%;
  }
  .otc .content .video-wrap{
    height: auto;
  }
  .video {
    --width: 100%;
    position: relative;
    right: auto;
    left: 0;
  }

}

/* ============================================== */
/* MAN */
/* ============================================== */

.man{
  width: 90%;
  margin: 0 auto;
  background: var(--color-blue);
  border-radius: 30px;
}

.man .content{
  display: flex;
  position: relative;
  justify-content: flex-end;
}

.man .info{
  width: 60%;
  display: flex;
  padding: 30px;
}

.man_cell img{
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 30%;
}
@media screen and (max-width: 1080px){
  .man .info{
    width: 100%;
    height: auto;
    justify-content: center;
    padding: 40px 30px 20px;
  }
  .man .content{
    flex-direction: column;
    justify-content: space-between;
  }
  .man_cell img{
    position: relative;
    max-width: 50%;
    left: 50%;
    transform: translateX(-50%);
  }
  .man_cell{
    height: auto;
    position: relative;
    width: 100%;
  }
}

/* ============================================== */
/* BOTH-SECTION */
/* ============================================== */

.both-section {
  padding: 180px 30PX;
}

@media screen and (max-width: 1080px){
  .both-section {
    padding: 30px;
  }
}

/* ============================================== */
/* TEASER */
/* ============================================== */

.teaser{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 40px;
}

.teaser :is(p,h3){
  color: white;
  display: inline-block;
  margin: 0;
}

.teaser li{
  width: 30%;
  display: inline-block;
  background: var(--color-blue-line);
  padding: 30px;
  border-radius: 30px;
  margin: 1%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.teaser.number li{
  width: 20%;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin: 1%;
  border: none;
}

.teaser.number li:last-child{
  width: 30%;
}

.teaser.number li h2{
  color: var(--color-blue);
  width: 100px;
  height: 100px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--color-blue-line);
}

.teaser li img{
  width: 100px;
}

.teaser.number li .buy-text .if{
  background: var(--color-green);
}

.teaser.number li .sell-text .if{
  background: var(--color-blue);
}

.teaser.number li .buy-text,
.teaser.number li .sell-text{
  position: absolute;
  top:0;
  width: 100%;
}

.teaser.number .if{
  border-radius: 5px;
  padding: 3px 10px;
  display: inline-block;
  margin-right: 10px;
}

.wrap-bs{
  position: relative;
}

@media screen and (max-width: 1080px){

  .teaser{
    flex-direction: column;
    margin-top: 20px;
  }
  .teaser li{
    padding: 20px 30px;
    border-radius: 20px;
    margin: 10px 0;
  }
  .teaser.number li,
  .teaser.number li:last-child{
    text-align: center;
    margin-bottom: 40px;
  }
  .teaser.number li h2{
    border-radius: 20px;
    margin: 0 auto 20px;
  }

  .teaser :is(p,h3){
    display: block;
  }

  .teaser li,
  .teaser.number li,
  .teaser.number li:last-child{
    width: 100%;
    position: relative;
  }

}

/* ============================================== */
/* BORDER */
/* ============================================== */

.border-bottom{
  border-bottom: 1px solid var(--color-blue-line);
}

/* ============================================== */
/* BUY-SECTION */
/* ============================================== */

.buy-section{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.buy-section img{
  max-width: 100px;
}

.buy-section span:first-child{
  overflow: hidden;
  width: 100px;
  height: 100px;
  margin-right: 30px;
}

/* ============================================== */
/* IMG-DASHBOARD */
/* ============================================== */

.wrap-dashboard{
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  height: 80vh;
  display: block;
}

img.dashboard{
  max-width: 1080px;
  width: 80%;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.img-dashboard{
  position: absolute;
  bottom: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  width: 100%;
}

.img-dashboard span{
  position: relative;
  width: 25%;
  height: 100%;
  margin: 0 30px;
  bottom: 0;
}

.img-dashboard span:after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.2), transparent);
  height: 100%;
}


@media screen and (max-width: 1080px){
  .wrap-dashboard{
    height: auto;
    margin-top: 100px;
  }
  img.dashboard{
    position: relative;
    left: 0;
    transform: none;
  }
}

/* ============================================== */
/* LIGHTS */
/* ============================================== */

.lights{
  height: 50vh;
  position: absolute;
  bottom: 0;
  z-index: 3;
  left: 0;
  width: 30%;
}

.lights.dash{
  width: 100%;
}

@keyframes twinkle {
  0% {
    opacity: 0;
    transform: translateY(50vh);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(0vh);
  }
}

.light {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #C891FF;
  box-shadow: 0 10px 20px red;
  border-radius: 50%;
  animation: twinkle 2s linear infinite; /* Ajusta la duración según tu preferencia */
  animation-delay: calc(-0.1s * var(--delay)); /* Variable para retraso aleatorio */
  left: calc(10% * var(--position)); /* Variable para posición aleatoria */
}

@media screen and (max-width: 1080px){
  .lights{
    width: 100%;
  }
}


/* ============================================== */
/* BG COLOR */
/* ============================================== */

img.bg-color{
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  left: 50%;
  max-width: 80%;
  z-index: 1;
}

img.bg-color.home{
  max-width: 100%;
  left: 100%;
}

.letter{
  border-radius: 20px;
  padding: 5px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sell{
  background: var(--color-blue);
  box-shadow: 0 0 20px rgba(144, 32, 255, 1.0);
}

.buy{
  background: var(--color-green);
  box-shadow: 0 0 20px rgba(111, 179, 0, 1.0);
}

/* ============================================== */
/* CHART */
/* ============================================== */

.chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  margin: 0;
  animation: moveChart 8s infinite linear;
}

@keyframes moveChart {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.bar {
  height: calc(50px + 80px * Math.random()); /* Iniciar desde una altura aleatoria */
  width: 5px;
  border-radius: 20px;
  margin: 0 5px;
  background-color: #C891FF;
  animation: growRandomly 2s infinite alternate ease-in-out, moveRandomly 2s infinite alternate ease-in-out;
  transform-origin: bottom center;
}

@keyframes growRandomly {
  0%, 100% {
    height: calc(50px + 80px * Math.random());
  }
  50% {
    height: calc(50px + 80px * Math.random());
  }
}

@keyframes moveRandomly {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(calc(-20px + 50px * Math.random()));
  }
}






