@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: rgb(255, 215, 142);
    background-size:cover;
}

.animation {
    width: 200px;
    height: 200px;   
    position:absolute;
    bottom:3%;
    right:3%;
    z-index:2;
}

.inner > div:first-of-type .animation{
    -webkit-animation: play 15s steps(464);
    -moz-animation: play 15s steps(464);
    -ms-animation: play 15s steps(464);
    -o-animation: play 15s steps(464);
    animation: play 15s steps(464);
    background-image: url("../img/lapiz_1.png");
}


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

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

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

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

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

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

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

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

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

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

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

@-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;
    } 
}

::-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);
}


#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:5%;
}

.inner h4:nth-of-type(2){
    margin-top:8%;
}

.inner h4:last-of-type{
    margin-top:8%;
}

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

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

.notebook{
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQA\
    gMAAAASNuJIAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpg\
    AAA6mAAAF3CculE8AAAADFBMVEX///8tQV0tQV3////Lf7vBAAAAAnRSTlMAwO33D4gAAAABYkt\
    HRACIBR1IAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAFElEQVQoz2NgGAWjYMQCB4YG/BAAi2AIQX\
    Wxvm8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMTUtMDQtMjhUMTc6MDU6MjUrMDI6MDDD9mZeAAAAJ\
    XRFWHRkYXRlOm1vZGlmeQAyMDE1LTA0LTI4VDE3OjA1OjI1KzAyOjAwsqve4gAAABl0RVh0U29m\
    dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=');
    background-size:100% 17%;
     background-color:transparent;
     background-position:0% 17%;
     border:none;    
     font: normal 14px verdana;
     line-height: 25px;
     padding: 2px 10px;
     border:none;
     resize:none;
     position:absolute;
     width:93%;
     height:84%;
     left:4%;
     top:9%;
     font-family:'cabin-regular';
     font-size:3em;
     line-height:1.48em;
     overflow-y:scroll;
     text-align:justify;
}

.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;
}