:root{
    --red: #ee0000;
    --black: #292F36;
    --blue: #4ECDC4;
    --white: #F7FFF7;
    --yellow: #FFE66D;
    --error: #F28080;
    --success: #8DC641;
}

.bg-black{
    background-color: var(--black) !important;
}
.bg-yellow{
    background-color: var(--yellow) !important;
}
.bg-blue{
    background-color: var(--blue) !important;
}
.bg-red{
    background-color: var(--error) !important;
}
.bg-black h1{
    color: var(--white) !important;
}

.text-white{
    color: var(--white);
}
.text-red{
    color: var(--red);
}
.text-blue{
    color: var(--blue);
}

.border-dark{
    border-color: var(--black) !important;
}

.card-img{
    min-height: 200px;
}

#principal-nav{
    border-radius: 0% 0% 50% 50%;
    min-height: 90px;
}

#footer{
    bottom: 0px;
    width: 100%;
    border-radius: 40px 40px 0px 0px;
    padding-top: 25px;
}
.fixed-footer {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}
#imagen-personaje{
    background-color: white;
    width: 55px;
    height: 55px;
    position: absolute;
    top: -35px;
    left: 20px;
    border-radius: 50%;
    border: none;
}
#imagen-personaje > div{
    width: 49px;
    height: 49px;
    border: 2px solid var(--black);
    border-radius: 50%;
}
#imagen-diario{
    background-color: white;
    width: 55px;
    height: 55px;
    position: absolute;
    top: -35px;
    left: 82px;
    border-radius: 50%;
    border: none;
}
#imagen-diario > div{
    width: 49px;
    height: 49px;
    border: 2px solid var(--black);
    border-radius: 50%;
}
#boton-personaje{
    background-color: white;
    width: 200px;
    height: 45px;
    position: absolute;
    top: -28px;
    right: 20px;
    border-radius: 10px;
    border: none;
}
#boton-personaje > div{
    width: 100%;
    height: 100%;
    border: 2px solid var(--black);
    border-radius: 5px;
}
#imagen-personaje i{
    font-size: 3rem !important;
}
#mensajePersonaje{
    min-height: 180px;
}

.texto-contenido{
    min-height: 210px;
    overflow-y: auto;
}
.texto-contenido-pruebas{
    min-height: 150px;
    overflow-y: auto;
}

svg [data-bs-toggle="modal"]{
    cursor: pointer !important;
}

.swal2-container{
    max-width: 400px;
    margin: auto;
}

body {
    height: 100vh;
    margin: 0;
    max-width: 400px;
    margin: auto;
    background-color: var(--white) !important;
}
.modal-dialog{
    max-width: 400px;
    max-height: 100vh;
    margin: auto;
}
.instagram-media{
    min-width: 300px !important;
}

.section-interna{
    overflow-y: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 35px;
    flex: 1 1 auto;
}

.fullscreen{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
    height: 100%;
    border: 0;
    border-radius: 0;
}

#sec_home{
    background-image: url("./img/Recursos/fondo_inicio.webp");
    min-height: 450px;
    background-position: center;
    background-size: cover;
    margin: 0px !important;
}




.personaje-movimiento{
    max-height: 60vh;
}

.logro-card{
    min-height: 130px;
}

.nav-pills-principal .nav-link.active, .nav-pills-principal .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: var(--black);
    border: 1px solid var(--black);
}
.nav-pills-principal {
    border: 1px solid var(--black);
    border-radius: var(--bs-nav-pills-border-radius);
}
.nav-link{
    color: var(--black);
}

.modal-header-white {
    background-color: var(--white);
    border-radius: 0% 0% 50% 50% !important;
    min-height: 90px;
}

.modal-header-white h1{
    color: var(--black) !important;
}

.modal-footer-white{
    border-radius: 40px 40px 0px 0px !important;
    padding-top: 15px;
    background-color: var(--white);
}

.modal-footer-white button{
    width: 200px;
    height: 45px;
    position: absolute;
    bottom: 6px;
    right: 17x;
    border-radius: 10px;
    border: none;
}

.modal-footer-white button div{
    width: 100%;
    height: 100%;
    border: 2px solid var(--black);
    border-radius: 5px;
}

.btn_referencias{
    color: var(--black);
    text-decoration: none;
}

.cifras_background{
    background-image: url("./img/Recursos/cifras.webp");
    min-height: 450px;
    background-position: center;
    background-size: cover;
}


.escala_grises .info_logro{
    filter: none;
}



.swal2-success-circular-line-right{
    background: transparent !important;
}
.swal2-success-circular-line-left{
    background: transparent !important;
}
.swal2-success-fix{
    background: transparent !important;
}
.swal2-title{
    padding-top: 55px;
}
.swal2-icon {
    position: absolute;
    top: -40px;
    margin: 0px;
    left: 37%;
    background: white;
}

.escala_grises{
    filter: grayscale(1);
}



/* IFRAME */
/* iframe styling */

#memorama {
    width: 100%;
    height: 400px;
    margin: 0 auto;
    border: 0;
    background-image: url(https://media.giphy.com/media/fVhOUH4d2hqQRg0H0k/giphy.gif);
    background-size: cover; 
  }

  #diferencias {
    width: 100%;
    height: 400px;
    margin: 0 auto;
    border: 0;
    background-image: url(https://media.giphy.com/media/fVhOUH4d2hqQRg0H0k/giphy.gif);
    background-size: cover; 
  }
  
  .startBtn {
    position: absolute;
    z-index: 1; 
    left: 50%;
    transform: translateX(-50%);
    margin-top: 42%;
    border: 0;
    background-color: #464766;
    border-radius: 15px;
    padding: 3px 0px 0px 3px;
    color: white;
    width: 50%;
  }
  
  .startBtn img {
    margin: 5px 20px;
  }
  
  .startBtn:focus {
    outline: none !important; 
    box-shadow: none !important;
  }
  
  .iframeControls {
    display: none;
    position: absolute;
    height: 7em;
    width: 100%;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
  }
  
  .stopBtn {
    margin-top: 1em;
    margin-left: 1em;
    float: left;
    border: 0;
    background: none;
    padding: 0;
  }
  
  .stopBtn:focus {
    outline: none !important; 
    box-shadow: none !important;
  }
  
  .stopImg {
    width: 30px;
    height: 30px;
    background-image: url(./assets/outer-website-assets/close-icon.svg);
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
    background-size: cover;
  }
  
  .expandBtn {
    margin-top: 1em;
    margin-right: 1em;
    float: right;
    border: 0;
    background: none;
    padding: 0;
  }
  
  .expandBtn:focus {
    outline: none !important; 
    box-shadow: none !important;
  }
  
  .expandImg {
    width: 30px;
    height: 30px;
    background-image: url(./assets/outer-website-assets/expand-icon.svg);
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
    background-size: cover;
  }
  
  .poweredByLogo {
    width: 30%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    padding: 1em;
  }
  
  .fullscreen-iframeControls {
    position: fixed !important;
    top: 0;
  }
  
  .fullscreen-iframe {
    position: fixed !important;
    height: 100% !important;
    top: 0;
    right: 0;
  }
  
  .fullscreen-btn {
    position: fixed !important;
    margin: 0;
    top: 1em;
    right: 0;
  }
  
  .fullscreen-btn #expandImg {
    background-image: url(./assets/outer-website-assets/shrink-icon.svg) !important;
  }
  
  .hidden {
    display: none !important;
  }
  
  /* Animations */
  
  .fade-in { animation: fade-in 0.25s linear forwards; }
  @keyframes fade-in {
    0% {opacity: 0;}
    100% {opacity: 1;}
  }
  
  .fade-out { animation: fade-out 0.25s linear forwards; }
  @keyframes fade-out {
    0% {opacity: 1;}
    100% {opacity: 0;}
  }
  

  
  #inline-ar {
    position: relative;
    max-width: 100%;
    max-height: 100%;
  }
  
  @media screen and (min-width: 981px) {
    #inline-ar {
      display: block;
      margin: 0 auto;
      max-width: 675px;
      max-height: 675px;
    }
    
    #memorama {
      height: 42em;
    }
    #diferencias {
        height: 42em;
    }
    
    p {
      font-size: 1em;
      line-height: 1.5em;
    }
    
    .content {
      padding: 0px 10em;
    }
    
    .content h1 {
      font-size: 4em;
    }
    
    #expandBtn {
      display: none !important;
    }
    
    #stopBtn {
      display: none !important;
    }
  }
  
  /* Prompt Box Styling */
  
  .prompt-button-8w-iframe {
    border-radius: 10px !important;
  }
  



/* Animaciones */
.animacion{
    -webkit-animation: animar .6s linear;
}
.rotacion{
    -webkit-animation: rotar .7s linear;
}
@-webkit-keyframes animar {
    0% {
        -webkit-transform: translate(0px, 0px);
    }
    10% {
        -webkit-transform: translate(5px, 0px);
    }
    20% {
        -webkit-transform: translate(0px, 0px);
    }
    30% {
        -webkit-transform: translate(5px, 0px);
    }
    40% {
        -webkit-transform: translate(0px, 0px);
    }
    50% {
        -webkit-transform: translate(5px, 0px);
    }
    60% {
        -webkit-transform: translate(0px, 0px);
    }
    70% {
        -webkit-transform: translate(5px, 0px);
    }
    80% {
        -webkit-transform: translate(0px, 0px);
    }
    90% {
        -webkit-transform: translate(5px, 0px);
    }
    100% {
        -webkit-transform: translate(0px, 0px);
    }
}

@-webkit-keyframes rotar {
    0% {
        -webkit-transform: rotate(0px);
    }
    10% {
        -webkit-transform: rotate(10deg);
    }
    20% {
        -webkit-transform: rotate(-10deg);
    }
    30% {
        -webkit-transform: rotate(10deg);
    }
    40% {
        -webkit-transform: rotate(-10deg);
    }
    50% {
        -webkit-transform: rotate(10deg);
    }
    60% {
        -webkit-transform: rotate(-10deg);
    }
    70% {
        -webkit-transform: rotate(10deg);
    }
    80% {
        -webkit-transform: rotate(-10deg);
    }
    90% {
        -webkit-transform: rotate(10deg);
    }
    100% {
        -webkit-transform: translate(0px);
    }
}