@font-face {
  font-family: 'cdaFont';
  src: url('../fonts/helvetica-regular.otf'); /*URL to font*/
}

@font-face {
  font-family: 'cdaFontBold';
  src: url('../fonts/helvetica-bold.otf'); /*URL to font*/
}


/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes logoAnimation {
  0% {
    transform: translateY(20%);
    opacity: 0;
  }
  60% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes loginAnimation {
  0% {
    opacity: 0;
    transform: translateY(-8%);
  }
  60% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes desplazamiento {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}


@keyframes pulsate {
  0% {
    transform: scale(1); /* tamaño original */
  }
  50% {
    transform: scale(1.05); /* tamaño aumentado */
  }
  100% {
    transform: scale(1); /* tamaño original */
  }
}
/* End Animations */

body {
  margin: 0;
  padding: 0;
  background-color: black;
  font-size: 16px;
  font-family: 'cdaFont';
}
#menu_button_screen_container{
  position: absolute;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menuButtonInline{
  cursor: pointer;
  text-align: center;
}
.menuButtonInline img{
  height: 60px;
  width: 60px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
}
.menuButtonInline span{
  color: white;
  font-family: "cdaFont";
  display: inline-block;
}



#menu_button_screen img{
  width: 40px;
  height: 40px;
}
#menu_open_buttons_container{
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
}

.select-vr-title{
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  font-family: 'cdaFont';
}
.flex-container {
  background: url("../images/background.png");
  background-size: cover;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.div_content {
  height: 100%;
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.startButton {
  color: white;
  background-color: #4194cb;
  font-family: "cdaFont";
  border: 2px;
  border-radius: 8px;
  font-size: 1.5em;
  height: 50px;
  width: 100%;
  max-width: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -40px;
  margin: 1rem;
  animation: loginAnimation 4s ease-in-out;
}

.startButton:hover {
  border: 2px;
  border-style: solid;
  border-radius: 8px;
  cursor: pointer;
  color: white;
}

.div-yoy-dev{
  position: absolute;
  bottom: 1.2rem;
  right: 3rem;
}
.yoy-dev{
  width: 300px;
}

.yoy-logo {
  margin-bottom: 1rem;
  width: 70%;
  max-width: 400px;
  animation: logoAnimation 3s ease-in-out;
}

/* login section */
.login_container {
  flex-direction: column;
  border-top-color: rgb(65, 148, 203);
  border-top-style: solid;
  border-top-width: 0.4rem;
  border-radius: 6px;
  display: flex;
  width: 80%;
  max-width: 450px;
  max-height: 280px;
  height: 35%;
  background-color: #121623;
  text-align: center;
  color: #fff;
  padding: 4%;
  padding-top: 2%;
  margin-top: 1rem;
  padding-bottom: 3rem;
  align-items: center;
  animation: loginAnimation 3s ease-in-out;
}

.login_button {
  cursor: pointer;
  border: none;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  border-radius: 6px;
  background-color: rgb(65, 148, 203);
  color: #fff;
  font-size: 1.1rem;
  line-height: 50px;
  font-weight: 100;
  height: 50px;
  width: 97%;
  font-family: 'cdaFont';
}

.input-field {
  box-sizing: border-box;
  max-width: 440px;
  width: 100%;
  background-color: #272934;
  margin: 15px 0;
  height: 45px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 10% 90%;
  padding: 0 0.4rem;
  position: relative;
}

.input-field i {
  text-align: center;
  line-height: 45px;
  color: #fff;
  transition: 0.5s;
  font-size: 1rem;
}

.input-field input {
  background: none;
  outline: none;
  border: none;
  line-height: 1;
  font-weight: 200;
  font-size: 1rem;
  color: #aaa;
}


.input-field input::placeholder {
  color: #aaa;
  font-weight: 500;
}


.verification-container{
  margin-left: -50px;
  font-family: 'cdaFont';
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.3rem;
  padding-top: 7%;
  animation: loginAnimation 3s ease-in-out;
}

.container-code{
  padding-top: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.5rem;
}

.digit-code{
  font-family: 'cdaFont';
  margin: 0.2rem;
  border: 2.8px solid #346b92;
  border-radius: 10px;
  font-size: 3rem;
  color: #fff;
  width: 4.7rem;
  height: 7rem;
  background-color: transparent;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}


#textForgotPass {
  font-family: 'cdaFont';
  color: rgb(65, 148, 203);
  font-size: 0.95rem;
}
/* end login section*/




/********************************************* SCENE SECTION *********************************************/



#progress_scene_container{
  position: absolute;
  width: 270px;
  height: 50px;
  z-index: 10;
  left: 0;
  right: 0;
  top: 0.5em;
  margin-left: auto; 
  margin-right: auto; 
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50px;
  font-size: 20px;
  font-family: "cdaFont";
  color: white;
  justify-content: center;
  align-items: center;
  user-select: none;
  animation: fadeIn 3s;
}
#next_scene_container{
  position: absolute;
  width: 300px;
  height: 54px;
  z-index: 10;
  top: 70px;
  left: 0;
  right: 0;
  margin-left: auto; 
  margin-right: auto; 
  justify-content: center;
  align-items: center;
  animation: fadeIn 3s;
  animation: pulsate 1.5s ease-out infinite;

}

#text_next_scene{
  position: absolute;
  width: 203px;
  height: 50px;
  z-index: 20;
  top: 68px;
  left: -50px;
  right: 0;
  margin-left: auto; 
  margin-right: auto; 
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-family: "cdaFont";
  color: white;
  animation: fadeIn 3s;
  animation: pulsate 1.5s ease-out infinite;
}





#next_scene_button img{
  width: 300px;
  height: 50px;
}


#rightArrow{
  background-image: url("../images/right_arrow.png");
  background-size: 241px 50px;
  position: absolute;
  height: 50px;
  width: 241px;
  z-index: 9999;
  right: 2%;
  cursor: pointer;
  top: 2%;
}

#selectVRPanel{
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.999)
}
#selectVRPanel > div > span{
  color: white;
  font-family: "cdaFontBold";
  text-align: center;
}

#selectVRPanel img{
  /* background-color: rgba(0, 0, 0, 0.6); */
  padding: 20px;
  border: 2px;
  margin: 10px;
  border-color: #19a7e0;
  border-style: solid;
  border-radius: 20px;
}
#selectVRPanel img:hover{
  cursor: pointer;
}


@media only screen and (orientation:portrait) and (max-width : 640px) {
  .initButtonDiv{
    background: url("../images/mobile_portrait.png");
    background-repeat: no-repeat;
    background-size: cover;
  }

  .menuButtonInline{
    margin: 10px;
  }
  .login_container{
    border-top-width: 0.4rem;
    border-radius: 10px;
    margin-top: 2rem;
    height: auto;
    padding: 6%;
    padding-top: 4%;
  }
  .login_button {
    line-height: 40px;
    height: 35px;
    width: 100%;
    font-size: 1rem;
  }
  input{
    width: 100%;
  }
  #loginText{
    margin-bottom: 1.2rem;
  }

  .startButton {
    margin-left: 0;
    width: 70%;
    margin-top: 3rem;
    font-size: 1.2rem;
    height: 45px;
    padding-top: 8px;

  }


  #selectVRPanel img{
    width: 15vw;
    height: 15vw;
  }
  .div-yoy-dev{
    left: 42%; /* establece la posición del borde izquierdo en el 50% del contenedor */
    transform: translateX(-50%);
  }
  .yoy-dev{
    width: 200px;
  }
  #menu_open_buttons_container {
    width: 100%;
    justify-content: space-evenly
  }
  #menu_button_screen_container{
    bottom: 0px;
    width: 100%;
    /* height: 60px; */
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    align-content: space-around;
    background-color: rgba(0, 0, 0, 0.4);
  }
  #menu_button_screen{
    margin: 0;
    margin-top: 10px;

  }

  #progress_scene_container{
    width: 250px;
    height: 40px;
    font-size: 1.1rem;
    font-family: 'cdaFont';
    padding-top: 7px;
  }

  #next_scene_container{
    position: absolute;
    width: 300px;
    height: 40px;
    z-index: 10;
    top: 70px;
  }
  .yoy-logo{
    width: 60%;
  }



}







/* mobile landscape */
@media only screen and (orientation:landscape) and (max-height : 640px) {
  #menu_open_buttons_container{
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
  }
  #menu_button_screen_container{
    right: 0px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }
  .menuButtonInline{
    margin: 10px;
  }
  .startButton{
    margin-top: 1rem;
    width: 30%;
    margin-left: -12px;
    height: 40px;
    font-size: 1.1rem;
    margin-top: 1rem;
    padding-top: 10px;
  }
  .yoy-logo{
    width: 25%;
  }
  .div-yoy-dev{
    left: 54%; /* establece la posición del borde izquierdo en el 50% del contenedor */
    transform: translateX(-50%);
    bottom: 0.3rem;
  }
  .yoy-dev{
    width: 200px;
  }

  #selectVRPanel img{
    width: 10vw;
    height: 10vw;
  }
  #progress_scene_container{
    width: 250px;
    height: 40px;
    font-size: 1.1rem;
    font-family: 'cdaFont';
    padding-top: 7px;
  }

  #next_scene_container{
    position: absolute;
    width: 300px;
    height: 40px;
    z-index: 10;
    top: 70px;
  }
}

.vrbutton{
  background-image: url("../images/lentesVR.png");
  background-size: 60px 60px;
  position: absolute;
  height: 60px;
  width: 60px;
  z-index: 50;
  right: 2%;
  cursor: pointer;
  bottom: 2%;
  display: none;
}

.exitbutton{
  background-image: url("../images/exitNoMask.png");
  background-size: 60px 60px;
  position: absolute;
  height: 60px;
  width: 60px;
  z-index: 10;
  left: 2%;
  cursor: pointer;
  top: 2%;
  display: none;
}

.video {
  position: fixed;
  display: none;
  height: 100%;
  width: 100%;
  z-index: 20;
  top: 0px;
}

.videoControlsContainer {
  position: fixed;
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 60px;
  z-index: 30;
}
.videoControls {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 250px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.6);
}
.videoControls > div > img {
  height: 100%;
  width: 100%;
}
.videoControls > div > img:hover {
  cursor: pointer;
}
.videoControls > div > span {
  color: white;
}

.cursorPointer {
  cursor: pointer;
}
/* desktop */
@media only screen and (min-width : 640px) and (min-height : 640px) {
  .initButtonDiv{
    background: url("../images/mobile_portrait.png");
    background-repeat: no-repeat;
    background-size: cover;
  }
  .menuButtonInline{
    margin: 10px;
  }

  #menu_button_screen_container{
    bottom: 0px;
    margin-left: calc(50vw - 80px);
    flex-direction: row;
  }
  #menu_button_screen{
    padding-left: 40px;
    padding-right: 40px;
    margin: 0px;
  }
  .menuButtonInline{
    cursor: pointer;
    text-align: center;
  }
  .menuButtonInline img{
    height: 60px;
    width: 60px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .menuButtonInline span{
    color: white;
    font-family: "cdaFont";
    display: inline-block;
  }
  
  .nextSceneButtonInline{
    cursor: pointer;
    text-align: center;
  }
  .nextSceneButtonInline img{
    height: 54px;
    width: 241px;
    margin-left: 10px;
    margin-right: 10px;
  }
  
  #menu_button_screen_container{
    position: absolute;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .get-code-button {
    color: white;
    background-color: #4194cb;
    font-family: "cdaFont";
    border: 2px;
    border-radius: 8px;
    font-size: 1.2em;
    height: 50px;
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    animation: loginAnimation 4s ease-in-out;
  }
  .serial-number-input {
    height: 60px;
    margin-bottom: 1rem;
    border: none;
    width: 100%;
    font-size: 1.5rem !important; /* Aumenté el tamaño de fuente a 5rem */
    color: #fff;
    background-color: #282934;
    background-repeat: no-repeat;
    border-radius: 5px;
    box-sizing: border-box;
  }
  
  .title-code{
    text-align: center;
  }



  
  
}

#loginText{
  padding-bottom: 0.8rem;
  padding-top: 0.5rem;
  font-size: 1.2rem;
  margin: 0;
}


.login_button:hover {
  border: 2px;
  border-style: solid;
  border-radius: 8px;
  cursor: pointer;
  color: white;
}

.language {
  transition: transform .7s ease-in-out;
  position: absolute;
  top: 3rem;
  right: 5%;
}


.switch{
  position: relative;
  display: inline-block;
  width: 200px;
  height: 50px;
  cursor: pointer;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: flex-end;
}

.hLangText{
  width: 100px;
  font-family: "cdaFont";
  color: white;
}

.switch img{
  width: 25%;
  height: 100%;
}

.dropbtn {
  background-color: transparent;
  color:rgba(255, 255, 255, 0.9);
  padding: 16px;
  padding-bottom: 8px;
  font-size: 16px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid;
  border-color: #F0F0F0;
  cursor: pointer;
  font-family: 'cdaFont';
}

.dropdown {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: transparent;
  min-width: 110px;
  z-index: 1;
}

.dropdown-content a {
  color:rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  font-family: 'cdaFont';
}

.dropdown-content a:hover {background-color: rgba(255, 255, 255, 0.43);}
.dropdown:hover .dropdown-content {display: block;}
/*@media screen and (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }
  .div_content {
    width: 90%;
  }

  .login_button {
    height: 40px;
    padding: 0 0 0 0;
  }
  input {
    padding: 10px 15px;
    margin-bottom: 10px;
    width: 100%;
  }
  .div-yoy-dev{
    left: 50%; /* establece la posición del borde izquierdo en el 50% del contenedor 
    transform: translateX(-50%);
  }
  .yoy-dev{
    width: 200px;
  }
}*/


.download-progress-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	height: 3px;
  width: 30%;
  border-radius: 30px;
  z-index: 999;
}

.download-progress {
  border-radius: 22px;
	background-color: #FFF;
	display: inline-block;
	height: 100%;
  z-index: 999;
}

#percentVideo{
  position: fixed;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFF;
  font-size: 18px;
  font-family: 'cdaFont';
  z-index: 999;
}

#slogan{
  font-family: 'cdaFont';
}

.lock-screen{
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 999;
}