@import "style_term.css";

.centralizado{
  position: absolute;
  height: 100vh;
  width: 100vw;
  position: fixed;
}

body{width: 100vw;overflow: hidden;text-align: center;}

#fly-in {
  font-size: 4em;
  margin: 40vh auto;
  height: 20vh; 
  text-transform: uppercase;
  z-index: -1000;
  position:  fixed;
}

#fly-in span {
  display: block;
  font-size: .4em;
  opacity: .8;
}

#fly-in div {
 position: fixed;
  margin: 2vh 0;
  opacity: 0;
  left: 10vw;
  width: 80vw;
  animation: switch 42s 1;
  animation-delay: 1s;
}

#fly-in div:nth-child(2) { animation-delay: 5s}
#fly-in div:nth-child(3) { animation-delay: 9s}
#fly-in div:nth-child(4) { animation-delay: 13s}

#content-node {
  opacity: 0;
  animation: contentAppear 2s 1;
  animation-delay: 14.5s;
}

@keyframes contentAppear{
  0% {opacity: 0;}
  100% {opacity: 1;}
}

@keyframes switch {
    0% { opacity: 0;filter: blur(20px); transform:scale(12)}
    3% { opacity: 1;filter: blur(0); transform:scale(.9)}
    10% { opacity: 1;filter: blur(0); transform:scale(.9)}
    13% { opacity: 0;filter: blur(10px); transform:scale(.1)}
    80% { opacity: 0}
    100% { opacity: 0}
}



/*css principal*/

.imgbox{
  display: flex;
}

.imagen{
  max-width: 80%;
  margin: auto;
}

#main li .disableop {
	display: block;
  color: white;
	width: 100%;
	height: 100%;
  background-color: darkred;
  border-radius: 16px;
	padding: 10px 0px;
	font-size: 1.3em;
  }


#nino-espada{
  max-width: 50%;
  filter: brightness(0%);
}

.nombre{font-weight: bold;}

i{
  color: #000033;
}

.objetos{
  width: 60%;
  float: right;
}

#messenger{
  width: 100%;
  height: 100%;
}

#dialogos{
  display: none;
}

.talk-bubble {
  position: relative;
	width: 70%;
	height: auto;
  margin: 10px;
}

.talk-left{
  left: 7%;
  background-color: #dedede;
}
.talk-left2{
  left: 7%;
  background-color: #ffc4c4;
}
.talk-right{
  left: 17%;
  background-color: #008d93;
}
.talk-center{
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;
  font-style: italic;
  background-image: url(pictures/bg-blue-black.png);
  background-repeat: repeat;
}

.tri-left.border.left-top:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: -40px;
	right: auto;
  top: -8px;
	bottom: auto;
	border: 32px solid;
	border-color: #666 transparent transparent transparent;
}
.tri-left.left-top:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: -20px;
	right: auto;
  top: 0px;
	bottom: auto;
	border: 22px solid;
	border-color: #dedede transparent transparent transparent;
}
.tri-left2.left-top:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: -20px;
  right: auto;
  top: 0px;
  bottom: auto;
  border: 22px solid;
  border-color: #ffc4c4 transparent transparent transparent;
}

.tri-right.border.right-top:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -40px;
  top: -8px;
	bottom: auto;
	border: 32px solid;
	border-color: #666 transparent transparent transparent;
}
.tri-right.right-top:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -20px;
  top: 0px;
	bottom: auto;
	border: 22px solid;
	border-color: #008d93 transparent transparent transparent;
}

.talktext{
  padding: 0.8em;
}
#main .talk-bubble .talktext p{
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
  font-size: 30%;
  text-align: justify;
}
#main .talk-left p{
  color: #000033;
  text-shadow: none;
  text-align: justify;
}

#main .talk-right p{
  color: white;
  text-shadow: none;
  text-align: justify;
}

#main .talk-center p{
  color: white;
  text-shadow: none;
  text-align: justify;
}

#inventario {
  float:right;
}

#inventario a{
  color: #00DF00;
  text-shadow: 0 0 10px #00DF00;
}

.vida{
  color: red;
  text-shadow: none;
}

#barra{
  position: absolute;
  margin-top: 0em;
  float: left;
  font-weight: bold;
}

#barra:last-child{
  z-index: 101;
  opacity: 0.3;
  user-select: none;
  color: darkred;
  margin-top: -2.5px;
  float: left;
}
#barra:last-child .green{
  text-shadow: none;
}

#main #creditos{
  margin-top: 0em; 
  font-size: 1em;
  font-family: 'Cinzel', serif;
  text-align: center;
  background-color: black;
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
}

/* The Modal (background) */
.modal {
  display: block;
  position: fixed; /* Stay in place */
  z-index: 200; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.68); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #000000;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 60px;
  border: 3px solid white;
  width: 80%; /* Could be more or less, depending on screen size */
  font-size: 1.2em;
}

  #accion{
  color: white;
  line-height: 1.3em;
  text-align: justify;
  text-shadow: 0 0 10px #3e3e3e;
  -webkit-hyphens: auto; 
  -moz-hyphens: auto; 
  -ms-hyphens: auto; 
  hyphens: auto;
  }


body{
  overflow: auto;
}

#textalab {
  font-size: 0.7em;
}
#main h1{
	/*display: none;*/
}
pre{line-height: 1em;}

#main {
	position: relative;
	transform-origin: 50% 100%;
  }

@keyframes blinkingText{
  0%{	  color: darkred; font-weight: bold;	}
  25%{	color: darkred; font-weight: bold;	}
  50%{	color: transparent;text-shadow: none;	}
  75%{	color: transparent;text-shadow: none;	}
  100%{	color: darkred; font-weight: bold;	}
}

/*#guardado{
  animation:blinkingText 0.3s infinite 0s;
}*/

@media screen and (min-width: 320px){
  #fly-in{
    font-size: 2em;
  }
  .logo-area{
    margin-top: 60px;
  }
  .objetos{
    width: 50%;
  }
  #main .talk-bubble .talktext p{
    font-size: 75%;
  }
  #inventario, #barra{
    font-size: 0.8em;
  }
  .container{
    margin-left: 0px;
    margin-right: 0px;
  }
  #main{
    padding-left: 15px;
    padding-right: 15px;
  }
  .logo-area{
    font-size: 0.35em;
  }
  #main p, #accion{
    font-size: 1em;
  }
  #main #guardado{
    font-size: 1em;
  }
  #main p a{
    padding-top: 6px;
  }
  #main center a {
    font-size: 0.6em;
  }
  #main #creditos{
    font-size: 1em;
  }
  #main h2 {
    font-size: 1em;
  }
  #main li a{
    font-size: 0.6em;
  }
  #main li .disableop{
    font-size: 0.6em;
  }
  .modal-content{
    font-size: 0.8em;
    padding: 30px;
  }
    #barra:last-child{
      margin-top: -10px;
  }
}

@media screen and (min-width: 768px){
  #fly-in{
    font-size: 3.4em;
  }
  .objetos {
    width: 100%;
}
  #main .talk-bubble .talktext p{
    font-size: 120%;
  }
  #inventario, #barra{
    font-size: 1.4em;
  }
  #main{
    padding-left: 4em;
    padding-right: 4em;
  }
  .logo-area{
    font-size: 0.9em;
  }
  #textalab {
    font-size: 0.5em;
  }
  #main p, #accion{
    font-size: 1.7em;
  }
  #main #guardado{
    font-size: 1.7em;
  }
  #main p a {
    padding-top: 4px;
    padding-bottom: 9px;
}
  #main center a {
    font-size: 1.2em;
  }
  #main #creditos{
    font-size: 2em;
  }
  #main h2 {
    font-size: 1.7em;
  }
  #main li a{
    font-size: 1.2em;
  }
  #main li .disableop{
    font-size: 1.2em;
  }
  .modal-content{
    font-size: 0.9em;
    padding: 50px;
  }
  #barra:last-child{
      margin-top: -24px;
  }
}

@media screen and (min-width: 1024px){
  /*body{
    font-size: 16px;
  }*/
  .objetos {
    width: 80%;
}
  #main .talk-bubble .talktext p{
    font-size: 150%;
  }
  #inventario, #barra{
    font-size: 1.6em;
  }
  #main{
    padding-left: 9em;
    padding-right: 9em;
  }
  .logo-area{
    font-size: 0.9em;
  }
  #textalab {
    font-size: 0.5em;
  }
  #main p, #accion{
    font-size: 2em;
  }
  #main #guardado{
    font-size: 2em;
  }
  #main center a {
    font-size: 1.2em;
  }
  #main #creditos{
    font-size: 1.8em;
  }
  #main h2 {
    font-size: 2em;
  }
  #main li a{
    font-size: 1.2em;
  }
  #main li .disableop{
    font-size: 1.2em;
  }
  .modal-content{
    font-size: 0.9em;
    padding: 50px;
    width: 60%;
  }
  #barra:last-child{
    margin-top: -30px;
}
}

@media screen and (min-width: 1280px){
  .objetos {
    width: 60%;
}
  #main .talk-bubble .talktext p{
    font-size: 160%;
  }
  #inventario, #barra{
    font-size: 1.5em;
  }
  #main{
    padding-left: 15em;
    padding-right: 15em;
  }
  .logo-area{
    font-size: 0.6em;
    margin-top: 0px;
  }
  #textalab {
    font-size: 0.5em;
  }
  #main p, #accion{
    font-size: 2em;
  }
  #main #guardado{
    font-size: 2em;
  }
  #main center a {
    font-size: 1em;
  }
  #main #creditos{
    font-size: 1.6em;
  }
  #main h2 {
    font-size: 2em;
  }
  #main li a{
    font-size: 1.3em;
  }
  #main li .disableop{
    font-size: 1.3em;
  }
  .modal-content{
    font-size: 0.8em;
    padding: 50px;
    width: 50%;
  }
  #barra:last-child{
    margin-top: -30px;
  }
  #nino-espada{
    max-width: 30%;
  }
}

@media screen and (min-width: 1366px){
  #main .talk-bubble .talktext p{
    font-size: 170%;
  }
  #inventario, #barra{
    font-size: 1.5em;
  }
  #main{
    padding-left: 15em;
    padding-right: 15em;
  }
  .logo-area{
    font-size: 0.7em;
    margin-top: 15px;
  }
  #textalab {
    font-size: 0.5em;
  }
  #main p, #accion{
    font-size: 2em;
  }
  #main #guardado{
    font-size: 2em;
  }
  #main p a{
    padding-top: 2px;
  }
  #main center a {
    font-size: 1em;
  }
  #creditos{
    font-size: 0.9em;
  }
  #main h2 {
    font-size: 2em;
  }
  #main li a{
    font-size: 1.3em;
  }
  #main li .disableop{
    font-size: 1.3em;
  }
  .modal-content{
    font-size: 0.9em;
    padding: 50px;
    width: 50%;
  }
  #barra:last-child{
    margin-top: -30px;
  }
  #nino-espada{
    max-width: 0%;
  }
}