*{
    margin: 0;
    padding: 0;
    /* user-select: all!important; */
}
body{
 background-color: #0e2352 !important;
 position: relative;
}

@font-face{
    font-family: "MyriadProBold";
    src: url("../fonts/MyriadProBold.OTF");
}

@font-face{
    font-family: "MyriadProMedium";
    src: url("../fonts/GothamMedium.otf");
}

@font-face{
    font-family: "MyriadProLight";
    src: url("../fonts/MyriadProLight.otf");
}

:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    --base-font-size: 1px;
  }
  
body{
    position: relative;
}

p{
    font-size: calc(var(--base-font-size) + 1vw);
    font-family: "MyriadProMedium";
  }

  ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    list-style: none;
    gap: 20px;
    line-height: .9em;
}

ul > li {
    width: 90%;
    font-size: calc(var(--base-font-size) + 1vw);
    line-height: 1vw;
}

#ARButton, #VRButton {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    border: 50px solid rgb(7, 33, 70);
    box-sizing: border-box;
    opacity: 0.5;
    background: #102e56;
    color: white;
    font-size: 7em;
}

/* Bienvenida estilos----->Inicia */

#cont-bienvenida{
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    background: url(/imgs/bgGeneral.jpg) no-repeat #0e2252;
    background-position: center;
    background-size: contain;
  }

  .welcome-header{
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 24px;
  }

  .welcome-header>img{
    width: 10%;
  }

  .welcome-header>h1{
    font-size: calc(var(--base-font-size) + 1.5vw);
    font-family: "GothamBold";
    color: white;
    margin: 12px 0px;
  }

  .welcome-img-cont{
    width: 34%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .welcome-img-cont>img{
    width: 100%;
  }

  .welcome-img-cont>button{
    width: 90%;
    background: #d67d34;
    color: white;
    position: absolute;
    bottom: 14%;
    border: 0;
    border-radius: 10px;
    font-size: calc(var(--base-font-size) + 1.5vw);
    font-family: "GothamBold";
    padding: 24px;
    box-sizing: border-box;
  }

  /* Bienvenida estilos----->Fin*/

  /* Despedida estilos----->Inicia */

  #final-screen-wrapper{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    display: none;  
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    background: url(/imgs/bgGeneral.jpg) no-repeat #0e2252;
    background-position: center;
    background-size: contain;
    padding-top: 4%;
    box-sizing: border-box;
}

.final-img-cont{
    width: 49%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.final-img-logo{
    width: 30%;
}

.final-img-chars{
    width: 64%;
    display: flex;
}

.final-img-logo>img, .final-img-chars>img{
    width: 100%;
}

.final-img-txt{
    width: 100%;
    text-align: center;
}

.final-img-txt>h1{
    font-family: "GothamBold";
    color: #d67d34;
}

.final-img-txt>p{
    color: white;
    font-family: "GothamBold";
}

#ranking-wrapper{
    width: 49%;
}

  /* Despedida estilos----->Fin */

#main-2d-wrapper{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    z-index: 3;
    top: 0%;
    left: 0%;
    pointer-events: none;
}

#activities-wrapper{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: none;
}

/* Header logos */

#logo-wrapper{
    width: 100%;
    position: fixed;
    pointer-events: none;
    z-index: 100;
}

.logo-container, .qr-logo-container{
    width: 100%;
    display: flex;
    margin: 1% 0% 1% 0%;
    justify-content: space-between;
    align-items: center;
    padding: 0% 25%;
    box-sizing: border-box;
}

.qr-logo-container{
    justify-content: center;
}

.bbva-logo-instructor{
    width: 24%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bbva-logo-instructor>img{
    width: 100%;
}

.bbva-logo, .onboarding-logo{
    width: 14%;
}

.bbva-logo>img, .onboarding-logo>img{
    width: 100%;
}

/* Buttons */

.button{
    width: 30%;
    padding: 18px;
    justify-content: center;
    background-color: #1873b9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "GothamMedium";
    color: white;
    cursor: pointer;
}

.button:hover{
    background-color: rgb(40, 98, 175);
}

/* Activity Info */

#activity-info-wrapper{
    display: none;
    width: 100%;
    height: 100vh;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 6% 5% 2% 5%;
    box-sizing: border-box;
    background-color: #102e56
}

.activity-info-txt{
    width: 90%;
    box-sizing: border-box;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.fact-name{
    width: 100%;
}

.fact-name>h1{
    color: #5ea3fd;
    font-family: "MyriadProBold";
}

.fact-txt{
    width: 40%;
    text-align: right;
}

.activity-info-txt>p{
    width: 60%;
    margin: 2% 20%;
}

.activity-info-txt>p>span{
    color: #5ea3fd;
}

.activity-info-txt>ul{
    width: 60%;
    text-align: left;
    list-style-type: disc;
}
.activity-info-txt>ul>li::marker {
    color: #1873b9;
}


.activity-info-img{
    width: 18%;
   
}

.activity-info-img>img{
    width: 100%;
}

.info-btn-cont{
    width: 100%;
    margin-top: 24px;
}

.info-btn{
    width: 40%;
    height: 100px;
    border: none;
    background-color: #357ede;
    color: white;
    box-sizing: content-box;
    color: white;
    font-family: "MyriadProBold";
    letter-spacing: 2px;
    font-weight: 900;
    cursor: pointer;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Menu temporal */

#menu-wrapper{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.menu-container{
    width: 50%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.menu-btn{
    width: 40%;
    padding: 18px;
    height: auto;
    background-color: white;
    margin: 6px;
    color: #072146;
    font-family: "GothamBold";
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.menu-btn:hover{
    background-color: #d4d4d4;
}

.activity-instructions {
    width: 100%;
    background-color: #072146;
    padding: 14px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    margin-top: 10px;
}

.activity-instructions>p{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-align: center;
}

#info-maqueta{
    width: 45px;
    aspect-ratio: 1/1;
    border-radius: 50px;
    background-color: #003f98;
    position: absolute;
    display: flex;
    justify-content: center;
    -ms-grid-column-align: center;
    position: absolute;
    z-index: 3;
    right: 2%;
    bottom: 5%;
    cursor: pointer;
    pointer-events: all;
}

#info-maqueta>img{
    width: 70%;
    opacity: .3;
}

#info-maqueta:hover{
    background-color: #06316d;
}

/* Footer */
#reloadWrapper {
    width: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}
#reloadDisclaimer {
    height: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: rgb(14,35,82);
    background: linear-gradient(89deg, rgb(19 45 103) 50%, rgb(70 117 171 / 0%) 100%);
    backdrop-filter: blur(4px);
    padding: 6px;
    pointer-events: none;
}
#reloadDisclaimer > div{
    display: flex;
    align-items: center;
    flex-direction: row;
    cursor: pointer;
    pointer-events: all;
}
#reloadDisclaimer > div> p {
    /* color: #e67e2c; */
    color: white;
    font-size: calc(.6rem + ((0.2vw - 3px) * 0.625));
}
#reloadPageBtn {
    width: 20px;
    height: 20px;
    padding: 5px;
    margin-left: 5px;
    border: none;
    border-radius: 50%;
    background-color: rgb(40, 98, 175);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#reloadPageBtn:hover {
    background-color: #c46720;
}
#reloadPageBtn > img {
    width: 100%;
}

#sphereui-wrapper{
    width: 100%;
    position: absolute;
    z-index: 2;
    bottom: 10%;
    justify-content: center;
    align-items: center;
}

#gameprogress-wrapper{
    width: 20%;
    height: auto;
    background-color: #0075E1;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 12px;
    display: none;
    opacity: 0;
    flex-wrap: wrap;
    justify-content: center;
    position: absolute;
    right: 2%;
    top: 10%;
}

.gamepro-cont{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

#gamepro-icon{
    width: 15%;
}

#gamepro-icon>img{
    width: 100%;
}

#gamepro-text>p{
    text-align: left;
    font-family: "MyriadProBold";
    color: white;
    line-height: 1em;
    margin-left: 12px;
}

#gamepro-cont{
    position: absolute;
    right: 1%;
}

#gamepro-cont>p{
    color: white;
    font-family: "MyriadProBold";
    font-size: calc(var(--base-font-size) + 1.5vw);
}

#gamepro-cont>p>span{
    color: #F79342;
}

.gamepro-progressbar{
    width: 100%;
    height: 15px;
    border-radius: 20px;
    position: relative;
    background-color: #0B59A0;
    margin-top: 12px;
    overflow: hidden;
}

#gamepro-progressbar{
    width: 50%;
    height: 100%;
    position: absolute;
    background-color: #F79342;
    transition: 1s ease-in-out;
}

/* Pantalla de aviso de video en proyección */
#avisoProyeccion {
    display: none;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: rgb(16, 49, 122, 0.5);
    backdrop-filter: blur(7px);
    position: absolute;
    top: 0;
    z-index: 10;
    overflow: hidden;
    pointer-events: all;
}
.aviso-instrucciones {
    width: 70%;
    height: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
}
.aviso-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 10%;
    margin-bottom: 10%;
}
.aviso-contenido {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-top: 10%;
    box-sizing: border-box;
}
.aviso-eyeIcon {
    width: 100%;
    height: 10%;
    background-image: url(../imgs/2D/EyeIcon.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.aviso-texto {
    text-align: center;
    margin: 50px 0px;
    font-size: calc(1rem + ((0.8vw - 3px) * 0.625));
    color: white;
}
.aviso-image {
    width: 50%;
}

.aviso-image>img{
    width: 100%;
}

#loader-wrapper{
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: 2;
    background-color: rgba(0, 63, 152, 0.825);
}

.loader {
    color: #ffffff;
    font-size: 30px;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    transform: translateZ(0);
    animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
  }
      

@media screen and (max-width: 1366px) {
    ul {
        gap: 14px;
    }
    ul > li{
        font-size: .8em;
    }
    #activity-info-wrapper {
        padding: 5% 5% 1% 5%;
    }
    .activity-info-txt {
        font-size: calc(.6rem + ((0.8vw - 3px) * 0.625));
    }
    .info-btn {
        width: 20%;
        font-size: calc(.6rem + ((0.8vw - 3px) * 0.625));
    }
    .menu-btn{
        padding: 8px;
        height: 6px;
    }

    #info-maqueta{
        width: 35px;
        bottom: 8%;
    }
   
}

@media screen and (max-width: 767px) {
    /* Styles for small screens (e.g., smartphones) */
    .logo-container {
        padding: 2% 12%; 
    }
    .bbva-logo, .onboarding-logo {
        width: 22%;
    }
    .activity-info-txt {
        width: 95%;
        font-size: calc(.6rem + ((3.5vw - 3px) * 0.625));
    }
    #activity-info-wrapper{
        padding: 20% 5% 35% 5%;
    }
    .info-btn{
        width: 80%;
        font-size: calc(.6rem + ((3.5vw - 3px) * 0.625));
    }
}



@media screen and (min-width: 768px) and (max-width: 991px) {
    /* Styles for tablets */
    .logo-container {
        padding: 0% 12%; 
    }
    .activity-info-txt {
        width: 95%;
        font-size: 1em;
    }
    .flip-box-inner {
        width: 70%;
    }
}

/* Media query for 125% scaling */
@media (max-width: 2300px) and (max-height: 1084px) {
 
    .info-btn {
        height: 80px;
    }
    
    #activity-info-wrapper {
        padding: 7% 5% 2% 5%;
    }

    #info-maqueta{
        width: 35px;
        bottom: 8%;
    }

    
}

/* Media query for 150% scaling */
@media (max-width: 1907px) and (max-height: 864px) {

    .activity-info-img{
        width: 16%;
    }

    .info-btn {
        width: 40%;
        height: 50px;
    }
}

@keyframes mltShdSpin {
    0% {
      box-shadow: 0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    5%,
    95% {
      box-shadow: 0 -0.83em 0 -0.4em, 
      0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 
      0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    10%,
    59% {
      box-shadow: 0 -0.83em 0 -0.4em, 
      -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, 
      -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }
    20% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
       -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, 
       -0.749em -0.34em 0 -0.477em;
    }
    38% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
       -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, 
       -0.82em -0.09em 0 -0.477em;
    }
    100% {
      box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 
      0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
  }
  
  @keyframes round {
    0% { transform: rotate(0deg) }
    100% { transform: rotate(360deg) }
  }