@font-face{
    font-family: 'cabin-regular'; /*a name to be used later*/
    src: url('../fonts/Cabin-Regular.ttf'); /*URL to font*/
}

@font-face{
    font-family: 'cabin-italic'; /*a name to be used later*/
    src: url('../fonts/Cabin-Italic.ttf'); /*URL to font*/
}

@font-face{
    font-family: 'cabin-bold-italic'; /*a name to be used later*/
    src: url('../fonts/Cabin-BoldItalic.ttf'); /*URL to font*/
}

@font-face{
    font-family: 'big-noodle'; /*a name to be used later*/
    src: url('../fonts/big_noodle_titling.ttf'); /*URL to font*/
}

::-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);
}

.ggb_contenidoInterno{
    background:none;
}

.tab{
    position:absolute;
    width:97%;
    height:83%;
    border-radius:15px;
    overflow:hidden;
    background-size:cover;
    display:none;
}

#tab_1{
    background-image:url('../img/bg_1_1.png');
    display:block;
}

#tab_2{
    background-image:url('../img/bg_1_1.png');

}

.tab_nav{
    position:absolute;
    bottom:0;
    width:16%;
    height:9.5%;
    left: 42%;
}

.tab_nav div{
    display:inline-block;
    float:left;
    height:100%;
}

.items{
    position:absolute;
    left:1%;
    top:5%;
    width:18%;
    height:85%;
    background:#F6F1D1;
    padding:2%;
    border-radius:10px;
    box-sizing:border-box;
    border:solid 10px #C5C2A9;
}

.items > img{
    display:inline-block;
    float:left;
    width:100%;
    margin-bottom:20%;
}

.table{
    position:absolute;
    width:20%;
}

.table:nth-of-type(1){
    left:30%;
    top:40%;
}

.table:nth-of-type(2){
    left:54%;
    top:40%;
}

.table:nth-of-type(3){
    left:77%;
    top:40%;
}

.table:nth-of-type(4){
    left:25%;
    top:65%;
    width:28%;
}

.table:nth-of-type(5){
    left:53%;
    top:65%;
    width:28%;
}

.table:nth-of-type(6){
    left:81%;
    top:65%;
    width:28%;
}

.shape{
    position:absolute;
    width:18.6%;
}

.shape:nth-of-type(7){
    left:31.4%;
    top:47.4%;
}

.shape:nth-of-type(8){
    left:55.4%;
    top:47.4%;
}

.shape:nth-of-type(9){
    left:78.4%;
    top:47.4%;
}

.shape:nth-of-type(10){
    left:27%;
    top:75.2%;
    width:26%;
}

.shape:nth-of-type(11){
    left:55%;
    top:75.2%;
    width:26%;
}

.shape:nth-of-type(12){
    left:83%;
    top:75.2%;
    width:26%;
}

.object{
    position:absolute;
    width:11%;
}

.object:nth-of-type(13){
    left:70%;
    top:21%;
}

.object:nth-of-type(14){
    left:22%;
    top:42%;
    width:8%;
}

.paper{
    position:absolute;
    width:6%;
    pointer-events:none;
}

.paper:nth-of-type(15){
    left:36%;
    top:48%;
}

.paper:nth-of-type(16){
    left:90%;
    top:78%;
    width:8%;
}

.tab_nav{
  position:absolute;
  bottom:0;
  width:16%;
  height:9.5%;
  left: 42%;
  z-index:1;
}

.tab_nav div{
  display:inline-block;
  float:left;
  height:100%;
}


.custom_btn{
	width:33.3%;
	height:100%;
	background: #EB7F26;
	color:#FFF;
	font-size:3em;
	text-align:center;
	border-bottom:solid 6px #89380F;
	bottom:0;
	position:absolute;
}

.custom_btn:hover{
	cursor:pointer;
	background:#EA9D63;
}

.custom_btn:active{
	transform:scaleY(0.8);
	background:#89380F;
}

.btn_previous{
  border-radius:10px 0 0 0;
  left:1%;
}

.btn_home{
  border-radius:0;
  right:33%;
}

.btn_next{
  border-radius:0px 10px 0 0;
  right:0;
}

.text{
    position:absolute;
    z-index:10;
    width: 78%;
    left: 20.5%;
}

#tab_1 .text{
    top:2%;
}

#tab_2 .text:nth-of-type(1){
    top: 7%;
}

#tab_2 .text:nth-of-type(2){
    top: 50%;
}

textarea{
    resize:none;
    background:#F6F1D1;
    border:solid 6px #C5C2A9;
    border-radius:10px;
    padding:5px;
    outline:none;
    position:absolute;
    width:75.5%;
    height:21%;
    overflow-x:hidden;
    overflow-y:scroll;
    font-family:'cabin-regular';
    font-size: 1.8em;
}

textarea:nth-of-type(1){
    left:21%;
    top: 18%;
}

textarea:nth-of-type(2){
    left:21%;
    top: 61%;
}

.popup{
    position:absolute;
    z-index:40;
    width:100%;
    height:100%;
    background:rgba(0, 0, 0, 0.6);
    border-radius:15px;
    background-size: 40% !important;
    background-repeat:no-repeat !important;
    background-position:50% 50% !important;
    background-image:url("../img/popup_1.png");
    display:none;
}


.btn_close{
    width:5%;
    position:absolute;
}

.btn_close:hover{
    cursor:pointer;
    opacity:0.85;
    transform:scale(1.1);
}

.btn_close:active{
    transform:scale(0.95);
    opacity:1;
}

.popup .btn_close{
    top:6%;
    left:65%;
}

.element:hover{
    cursor:pointer;
    transform:scale(1.05);
}

.element:active{
    transform:scale(1);
}

.eraser{
  position:absolute;
  width:5%;
  left:63%;
  top:30%;
}

@keyframes expand {
    0%   {transform:scale(1.0);}
    25%  {transform:scale(1.2);}
    50%  {transform:scale(1.3);}
    100% {transform:scale(1.0);}
}

/* The element to apply the animation to */
.animate{
    animation-name: expand;
    animation-duration: 400ms;
}

#tab_1 .btn_next, #tab_2 .btn_previous{
  border-radius:10px 10px 0 0;
}