/* ============================================== */
/* FONTS */
/* ============================================== */

@font-face {
font-family: 'Aeonik-Pro-Regular';
src: local('Aeonik-Pro-Regular'), url('./../../fonts/Aeonik-Pro-Regular.woff') format('woff');
}

@font-face {
font-family: 'Aeonik-Pro-Medium';
src: local('Aeonik-Pro-Medium'), url('./../../fonts/Aeonik-Pro-Medium.woff') format('woff');
}

/* ============================================== */
/* 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,h2,h3{
  color: white;
  font-family: 'Aeonik-Pro-Medium';
  font-weight: normal;
}

p,li,a{
  color: #bdc6e0;
  font-family: 'Aeonik-Pro-Regular';
}

.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;
  }
}

/* ============================================== */
/* BTNS */
/* ============================================== */

.btns-app{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btns-app img{
  margin: 0 10px;
  max-width: 200px;
  width: 100%;
}

/* ============================================== */
/* 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);
}

.check-list{
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.menu-list.col-list{
  flex-direction: column;
}

.menu-list.col-list li{
  width: auto;
}

.check-list li{
  background: var(--color-blue-line);
  border-radius: 10px;
  margin: 1%;
  color: white;

  width: 48%;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.check-list.token-list li img{
  max-width: 35px;
  margin-right: 10px;
}

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

@media screen and (max-width: 1080px){
  .menu-list.col-list{
    margin: 20px auto;
    width: 80%;
  }
}

/* ============================================== */
/* 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: white;
}

.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;
  gap:100px;
}

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

.hero .content .img-box{
  height: 100vh;
}

.hero .content .img-box .wrap-img,
.hero .content .img-box .widget{
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  background: var(--color-blue);
  overflow: hidden;
  border-radius: 50px;
  left: 10%;
}

.hero .content .img-box .widget{
  padding: 20px 30px 20px 80px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  width: 270px;
  display: flex;
  justify-content: space-between;
  border: 1px solid white;
  position: absolute;
  top:50%;
  box-shadow:none;
  align-items: center;
}

.hero .content .img-box .widget:before{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  width: 60px;
  height: 60px;
  background: var(--color-blue);
  border-radius: 50%;
}

.hero .content .img-box .widget.buy:before{content: url("./../../images/body/arrow_down.svg");}
.hero .content .img-box .widget.sell:before{content: url("./../../images/body/arrow_up.svg");}
.hero .content .img-box .widget.inter:before{content: url("./../../images/body/arrow_change.svg");}

.hero .content .img-box .widget p{
  margin: 0;
  width: auto;
  line-height: 18px;
  color: black;
}

.hero .content .img-box .widget p:last-child{
  text-align: right;
  display: flex;
  flex-direction: column;
}

.hero .content .img-box .widget p span{
  font-size: 12px;
}

.hero .content .img-box .widget.buy{
  left: 0%;
  top: 30%;
}

.hero .content .img-box .widget.sell{
  left: 60%;
}

.hero .content .img-box .widget.inter{
  top: 80%;
  left: 20%;
}

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

  .hero .content .info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero .content .info p{
    margin: 0;
  }

  .btns .btn-med{
    padding: 10px 15px;
    font-size: 16px;
  }

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

  .hero .content .img-box .widget{
    display: none;
  }

  .hero .content .img-box .wrap-img,
  .hero .content .img-box .widget{
    position: relative;
    top:0;
    transform: none;
    border-radius:0;
    left: 0;
  }

  .hero .content .img-box .wrap-img{
    border-radius: 20px;

  }
  .hero .content .img-box img{
    width: 180px;
    margin: 0 auto;
  }

}

/* ============================================== */
/* 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);
}

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

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

.otc .content .info{
  width: 50%;
  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%;
  z-index: 1;
}

.img-video{
  display: none;
}

@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;
    height: auto;
    gap: 0;
  }
  .otc .content .info,
  .otc .content .video-wrap{
    width: 100%;
  }
  .otc .content .video-wrap{
    height: auto;
  }
  .video {
    --width: 100%;
    position: relative;
    right: auto;
    left: 0;
  }

  #demo_video1{
    display: none;
  }
  .img-video{
    display: block;
  }

}

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

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

.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%;
  }
}

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

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

.teaser :is(p,h3){
  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{
  border-top: 1px solid var(--color-blue-line);
  border-bottom: 1px solid var(--color-blue-line);
  background: #13131A;
}

/* ============================================== */
/* 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: auto;
  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;
  }
  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()));
  }
}

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

.both-section {
  padding: 180px 30px;
  position: relative;
  z-index: 2;
}

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

@media screen and (max-width: 1080px){
  .both-section {
    padding: 30px;
  }
  .both-section.bottom {
    padding: 30px 30px 200px;
  }
  .both-section.bottom .h2{
    font-size: 24px;
  }
}

/* ============================================== */
/* CRYPTOS */
/* ============================================== */

.cryptos{
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 200px;
  left: 0;
  bottom: 0;
  align-items: flex-end;
  overflow: hidden;
}

.cryptos img{
  position:relative;
  border-radius: 50%;
  box-shadow: 0 5px 10px rgba(1, 1, 1, 0.5);
  transition:all 350ms ease;
}

.cryptos .crypto_03{
  z-index:3;
  width: 200px;
  height: 200px;
}

.cryptos .crypto_02,
.cryptos .crypto_04{
  z-index:2;
  width: 170px;
  height: 170px;
}

.cryptos .crypto_01,
.cryptos .crypto_05{
  z-index:1;
  width: 150px;
  height: 150px;
}

.cryptos .crypto_02{ left:100px; }
.cryptos .crypto_04{ left:-100px; }
.cryptos .crypto_01{ left:170px; }
.cryptos .crypto_05{ left:-170px; }

.cryptos.fade-in .crypto_02{ left:10px; }
.cryptos.fade-in .crypto_04{ left:-10px; }
.cryptos.fade-in .crypto_01{ left:20px; }
.cryptos.fade-in .crypto_05{ left:-20px; }

@media screen and (max-width: 1080px){
  .cryptos .crypto_03{
    width: 150px;
    height: 150px;
  }

  .cryptos .crypto_02,
  .cryptos .crypto_04{
    width: 120px;
    height: 120px;
  }

  .cryptos .crypto_01,
  .cryptos .crypto_05{
    width: 100px;
    height: 100px;
  }

}


