@font-face {
    font-family: cabin-regular;
    src: url("../fonts/Cabin-Regular.ttf");
}

@font-face {
    font-family: cabin-bold;
    src: url("../fonts/Cabin-Bold.ttf");
}

@font-face {
    font-family: cabin-medium;
    src: url("../fonts/Cabin-Medium.ttf");
}

.ggb_contenidoInterno{
    background: #C0E0F0;
    background-size:cover;
}
h1, h3, h4, p, div{
	font-family:"cabin"!important;	
}

.animation {
    width: 200px;
    height: 200px;
    position:absolute;
    bottom: 4%;
    right:3%;
    z-index: 1045;
    /* position: fixed; */
}
div#tab_0 {
  height: 480px;
  overflow: auto;
  margin-top: 22px;
}
.inner > div:first-of-type .animation{
    -webkit-animation: play 17s steps(514);
    -moz-animation: play 17s steps(514);
    -ms-animation: play 17s steps(514);
    -o-animation: play 17s steps(514);
    animation: play 17s steps(514);
    background-image: url("../img/animation_1.png");
}


.inner > div:last-of-type .animation{
    -webkit-animation: second_play 6.7s steps(210);
    -moz-animation: second_play 6.7s steps(210);
    -ms-animation: second_play 6.7s steps(210);
    -o-animation: second_play 6.7s steps(210);
    animation: second_play 6.7s steps(210);
    background-image: url("../img/animation_2.png");
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar:hover{
    cursor:pointer;
}
 
/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(76, 75, 73, 1);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 1); 
}

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(76, 75, 73, 1);
}

@-webkit-keyframes play {
   from { background-position:    0px; }
     to { background-position: -102800px; }
}

@-moz-keyframes play {
   from { background-position:    0px; }
     to { background-position: -102800px; }
}

@-ms-keyframes play {
   from { background-position:    0px; }
     to { background-position: -102800px; }
}

@-o-keyframes play {
   from { background-position:    0px; }
     to { background-position: -102800px; }
}

@keyframes play {
   from { background-position:    0px; }
     to { background-position: -102800px; }
}

@-webkit-keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -42000px; }
}

@-moz-keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -42000px; }
}

@-ms-keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -42000px; }
}

@-o-keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -42000px; }
}

@keyframes second_play {
   from { background-position:    0px; }
     to { background-position: -42000px; }
}

@-webkit-keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}

@-moz-keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}

@-ms-keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}

@-o-keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}

@keyframes fadeIn {
    from {
        opacity:0;
        visibility: hidden;
    } 
    to {
        opacity:1;
        visibility: visible;
    } 
}


#header{
    width:100%;
    height: 7%;
    background:#96DBFA;
    position:absolute;
    top:23%;
    width:93%;
    left:50%;
    transform:translateX(-50%);
    background-image:url("../img/objetivos_bg.png");
    background-repeat:no-repeat;
    background-size:3%;
    z-index:2;
}

.character{
    height: 150%;
    margin:-1% 0 0 -2%;
}

#header h3{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    margin:0;
    left:6%;
    font-family:'cabin-regular';
    color:#2D415D;
    font-size:1.9em;

}

#header div{
    display:inline-block;
    width:17%;
    position:absolute;
    border-radius:6px;
    box-shadow: 
    0 0 0 2px #000,
    0 0 0 7px #ABE2FB,
    0 0 0 8px #000;
    transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    -ms-transition:all 0.2s ease;
    -webkit-transition:all 0.2s ease;
}

#header div.not_pressed{
    height:100%;
    background: rgba(125,160,204,1);
    background: -moz-linear-gradient(-76deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(125,160,204,1)), color-stop(48%, rgba(125,160,204,1)), color-stop(49%, rgba(92,137,191,1)), color-stop(100%, rgba(92,137,191,1)));
    background: -webkit-linear-gradient(-76deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    background: -o-linear-gradient(-76deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    background: -ms-linear-gradient(-76deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    background: linear-gradient(-15deg, rgba(125,160,204,1) 0%, rgba(125,160,204,1) 48%, rgba(92,137,191,1) 49%, rgba(92,137,191,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7da0cc', endColorstr='#5c89bf', GradientType=1 );
    box-shadow: 
    0 0 0 2px #000,
    0 0 0 7px #ABE2FB,
    0 0 0 8px #000,
    8px 9px 8px 4px rgba(50, 50, 50, 0.75);

}

#header div:first-of-type{
    right:20%;
}

#header div:last-of-type{
    right:0;
}

#header div.not_pressed:hover{
    transform:scaleY(1.15);
    cursor:pointer;
    opacity:0.85;
}

#header div.not_pressed:active{
    transform:scaleY(0.95);
    opacity:1;
    transition:none;
}

.pressed{
    display:inline-block;
    width:17%;
    height:100%;
    background:red;
    position:absolute;
    top:10%;
    height:80%;
    background: rgba(87,103,125,1);
    background: -moz-linear-gradient(-76deg, rgba(87,103,125,1) 0%, rgba(87,103,125,1) 49%, rgba(45,65,93,1) 49%, rgba(45,65,93,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(87,103,125,1)), color-stop(49%, rgba(87,103,125,1)), color-stop(49%, rgba(45,65,93,1)), color-stop(100%, rgba(45,65,93,1)));
    background: -webkit-linear-gradient(-76deg, rgba(87,103,125,1) 0%, rgba(87,103,125,1) 49%, rgba(45,65,93,1) 49%, rgba(45,65,93,1) 100%);
    background: -o-linear-gradient(-76deg, rgba(87,103,125,1) 0%, rgba(87,103,125,1) 49%, rgba(45,65,93,1) 49%, rgba(45,65,93,1) 100%);
    background: -ms-linear-gradient(-76deg, rgba(87,103,125,1) 0%, rgba(87,103,125,1) 49%, rgba(45,65,93,1) 49%, rgba(45,65,93,1) 100%);
}

.pressed:hover{
    cursor:default;
}

#header p{
    margin:0;
    color:white;
    font-family:'cabin-bold';
    font-size:2.5em;
    text-align:center;
    position:relative;
    top:50%;
    transform:translateY(-50%);
}

#header p::selection{
   background: transparent; 
}

.inner{
    height:65%;
    width:93.2%;
    background:rgba(255, 255, 255, 0.4);
    position:absolute;
    top:30%;
    left:3.5%;
    border-radius:0 0 10px 10px;
}

.inner h4{
    font-family:'cabin-bold';
    font-size:2em;
    margin-left:2%;
    color:#2D415D;
}

.inner h4:first-of-type{
    margin-top: 7%;
}

.inner h4{
    margin-top: 9%;
}

.inner h4:last-of-type{
    margin-top: 9%;
    /* display:none; */
}

.inner > div{
    position:absolute;
    width:100%;
    height:100%;
    visibility: visible;
}

.inner > div:last-of-type{
    display:none;
}

.text_field{
    position:absolute;
    width:93%;
    height:84%;
    left:4%;
    top:9%;
}
.notebook{
    background-size: 100% 47%;
     background-color:rgba(255, 255, 255, 0.7);  
     border-radius:10px;  
     border:none;    
     font: normal 14px verdana;
     line-height: 25px;
     padding: 2px 10px;
     border:none;
     resize:none;
     font-family:'cabin-regular';
     font-size:3em;
     line-height:1.48em;
     overflow:hidden;
     text-align:justify;
     display:inline-block;
     float:left;
     width:100%;    
    height: 33%;    
    margin-bottom: 0.8%;
    overflow-y:scroll;
    text-decoration: underline;
}

.inner > div:last-of-type > div:last-of-type{
    width:58%;
    height:88%;
    margin:2.5% 0 0 3%;
}

.inner > div:last-of-type > div > div{
    width:100%;
    height:43%;
    margin-bottom:7%;
    background:rgba(255, 255, 255, 0.4);
    border-radius:10px;
    overflow-y:scroll;
}

.inner > div:last-of-type p{
   margin:0;
   padding:1.5% 2%;
   color:#000000;
   font-family:'cabin-regular';
   font-size:1.5em;
   text-align:justify;
   width: 96%;
   word-wrap:break-word;
}

.animation i{
    color: rgb(87, 103, 125);
    font-size:4.5em;
    background: rgb(150, 219, 250);
    padding:5%;
    border-radius:13px;
    position:relative;
    top:60%;
    left:70%;
}

#tab_0 .animation i.fadeIn1{

    visibility:hidden;
    opacity:0;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    animation: fadeIn 1s;
    -webkit-animation-delay: 17s;
    animation-delay: 17s;
    -ms-animation-delay: 17s;
    -moz-animation-delay: 17s;
    -o-animation-delay: 17s;
    animation-fill-mode: forwards; 
    -webkit-animation-fill-mode: forwards; 
    -moz-animation-fill-mode: forwards; 
    -ms-animation-fill-mode: forwards; 
    -o-animation-fill-mode: forwards; 

}

#tab_1 .animation i.fadeIn2{
    visibility:hidden;
    opacity:0;    
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    animation: fadeIn 1s;
    -webkit-animation-delay: 6.8s;
    animation-delay: 6.8s;
    -ms-animation-delay: 6.8s;
    -moz-animation-delay: 6.8s;
    -o-animation-delay: 6.8s;
    animation-fill-mode: forwards; 
    -webkit-animation-fill-mode: forwards; 
    -moz-animation-fill-mode: forwards; 
    -ms-animation-fill-mode: forwards; 
    -o-animation-fill-mode: forwards; 
}

.animation i:hover{
    cursor:pointer;
    transform:scale(1.1);
}

.animation i:active{
    opacity:1;
    transform:scale(1);
}

.off{
 -webkit-animation: none !important;
 -moz-animation: none !important;
 -o-animation: none !important;
 -ms-animation: none !important;
 animation: none !important;
    visibility: visible !important;
}