* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
@font-face {
  font-family: 'Patrick Hand';
  src: url('PatrickHand-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

body {
    position: relative;
    background-color: #172025;
    font-family: 'Patrick Hand', cursive;
    overflow-x: hidden;
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.bg-green{
    background: #007520;
}
.bg-blue{
    background: #044476;
}
.bg-purple{
    background: #9900ff;
}
.bg-rosa{
    background: #E91E63;
}
.bg-orange{
    background: #BA4A00;
}
h4{
	font-size: 30px;
	color: white;
	font-family: 'Patrick Hand', cursive;
	margin: 10px 0;
}
.text-right{text-align: right;}
.text-warning{
    color: #F4D03F;
}
header nav{
    position: fixed;
    top: 0;
    right: 0;
    box-shadow: 0 5px 10px black;
    background: #172025;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
header nav a{
    color: #F4D03F;
    margin: 0 10px;
    transition: all .3s ease;
}

header nav a:hover{
    text-decoration: underline;
}

header nav a.logo img{
    vertical-align: top;
    width: 50px;
}
.marco {
    position: absolute;
    width: 1060px;
    height: 560px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 5px 10px black;
    background: #172025;
    top: -30px;
    left: 50%;
    margin-left: -530px;
}
.container {
    position: relative;
    margin: 20vh auto 10vh auto;
    width: 1000px;
    height: 500px;
    background: #1C2833;
}

.container .home {
    position: absolute;
    width: 1000px;
    height: 500px;
    top: 0;
    left: 0;
    background: #9900ff;
    font-family: 'Patrick Hand', cursive;
}

.container #carga {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 1000px;
    height: 500px;
    background: black;
    text-align: center;
    font-size: 40px;
    color: white;
    opacity: 1;
    transition: opacity 1s ease;
    font-family: 'Patrick Hand', cursive
}
.container #carga #preload {
    padding-top: 17%
}

.center{
	display: block;
	margin: 0 auto;
	text-align: center;
}

footer {
    position: relative;
    padding: 8px;
    font-family: sans-serif;
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
}
footer p{
	margin-bottom: 5px;
}
footer a {
    color: #F4D03F;
    transition: all .3s ease;
}

footer a:hover{
	text-decoration: underline;
}

footer nav{
	margin-bottom: 5px;
}

footer nav a{
	text-decoration: none;
	font-size: 12px;
	color: #F4D03F;
	margin-right: 10px;
}

footer nav a:hover{
	text-decoration: underline;
}

.vertical {
    display: none;
}

@media all and (orientation: portrait) {
    .container {
        display: none;
    }
    .vertical {
        display: block;
        position: fixed;
        width: 100%;
        height: 100vh;
        z-index: 1;
        background: url(../img/vertical.jpg);
        background-size: cover;
        background-position: center;
        z-index: 1100;
    }
}

.legal-terms{
	position: relative;
	z-index: 200;
	padding: 40px;
}

.legal-terms figure img{
	text-align: left;
}

.legal-terms p{
	font-family: sans-serif;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    margin-bottom: 10px;
}

#regre {
    position: absolute;
    right: 0;
    text-align: center;
    color: white;
    top: -25px;
    cursor: pointer;
}

#regre a{
	color: #F4D03F;
	font-size: 15px;
}

.page .curisik-top{
    position: absolute;
    top: 0;
    right: 0;
    /*width: 100%;*/
    z-index: 10;
}


.page .curisik-letf{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 15;
    text-align: left;
}

.page p{
    font-family: sans-serif;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    margin-bottom: 10px;
}

.page .content{
    width: 100%;
    padding-left: 200px;
    padding-top: 100px;
    z-index: 30;
}
.page .line-once{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 7px 30px 0px rgba(0, 0, 0, 0.3);
}
.page .line-once p{
    color: #F4D03F;
    font-size: 15px;    
    margin: 0;
    padding: 10px;
    text-align: right;
    font-weight: bold;
}
.page .line-twu{
    display: block;
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
}
.page .line-twu p{
    color: #F4D03F;
    font-size: 15px;    
    margin: 0;
    padding: 10px;
    text-align: right;
    font-weight: bold;
}
.page .content-menu{
    position: absolute;
    right: 100px;
    top: 85px;
}

.page .content-menu .menu{
    display: flex;
    flex-direction: row;
}

.page .content-menu .menu .line-y{
    margin: 0 20px;
    display: block;
    width: 1px;
    height: 358px;
    background: #F4D03F;
    margin-top: 20px;
}
.page .content-menu .menu .home-link a{
    display: inline-block;
    color: #F4D03F;
    font-size: 15px;
    padding: 10px 20px;
    background: #172025;
    transition: all. 2s ease;
}
.page .content-menu .menu .home-link a:before{
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: #F4D03F;
    position: absolute;
    margin-top: 10px;
    left: 80px;
}

.page .content-menu .menu a:hover{
    background: #F4D03F;
    color: #172025;
}
.page .content-menu .menu ul li{margin-bottom: 10px;}
.page .content-menu .menu ul li:before{
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: #F4D03F;
    position: absolute;
    margin-top: 20px;
    left: 100px;
}
.page .content-menu .menu ul li a{
    display: block;
    color: #F4D03F;
    font-size: 15px;
    padding: 10px 20px;
    background: #172025;
    transition: all. 2s ease;
}

.content-suprises{
    position: absolute;
    right: 100px;
    top: 85px;
}

.content-suprises p{margin: 10px 0;}

.content-suprises .cards-grid{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 20px 0;
}

.content-suprises .cards-grid .suprises{
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 20px;
}

.content-suprises .cards-grid .suprises .links{
    display: flex;
    flex-direction: column;
}
.content-suprises .cards-grid .suprises .links a{
    color: #F4D03F;
    font-size: 13px;
    text-decoration: underline;
    margin-top: 3px;
}

.container .tablero {
    position: absolute;
    width: 1000px;
    height: 500px;
    top: 0;
    left: 0;
    /*background: #9900ff;*/
}

.container .tablero .rect-hover-mouse-list{
    display: block;
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 200px;
    height: 200px;
    background: #d38458;
    opacity: 80%;
    box-shadow: 0 5px 10px #0000008c;
}

.container .tablero .menu-right-bottom{
    display: block;
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 200px;
    height: 130px;
    /*background: #000;*/
    text-align: right;
}

.container .tablero .menu-right-bottom .flex-btn-menu{
    height: 129px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: end;
}

.container .tablero .menu-right-bottom .flex-btn-menu a.btn-game{
    background: #b69c33;
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 70px;
    line-height: 70px;
    text-align: center;
    color: #ffffff;
    /*margin-left: 20px;*/
    transition: all .3s ease;
    box-shadow: 0 5px 10px #0000008c;
}

.container .tablero .menu-right-bottom .flex-btn-menu a.btn-game:hover {
    background: #a68a16;

}

.container .tablero .area-game{
    position: relative;
    opacity: 100%!important;
    padding: 10px;
}
.container .tablero .area-game h3{font-size: 19px;}
.container .tablero .area-game p{font-size: 18px;}

/* LOADER PAGE */
.loader {
    background: #000;
    /*background: radial-gradient(#222, #000);*/
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.loader-inner {
    bottom: 0;
    height: 60px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
}

.loader-line-wrap {
    animation: 
        spin 2000ms cubic-bezier(.175, .885, .32, 1.275) infinite
    ;
    box-sizing: border-box;
    height: 50px;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    transform-origin: 50% 100%;
    width: 100px;
}
.loader-line {
    border: 4px solid transparent;
    border-radius: 100%;
    box-sizing: border-box;
    height: 100px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
}
.loader-line-wrap:nth-child(1) { animation-delay: -50ms; }
.loader-line-wrap:nth-child(2) { animation-delay: -100ms; }
.loader-line-wrap:nth-child(3) { animation-delay: -150ms; }
.loader-line-wrap:nth-child(4) { animation-delay: -200ms; }
.loader-line-wrap:nth-child(5) { animation-delay: -250ms; }

.loader-line-wrap:nth-child(1) .loader-line {
    border-color: hsl(0, 80%, 60%);
    height: 90px;
    width: 90px;
    top: 7px;
}
.loader-line-wrap:nth-child(2) .loader-line {
    border-color: hsl(60, 80%, 60%);
    height: 76px;
    width: 76px;
    top: 14px;
}
.loader-line-wrap:nth-child(3) .loader-line {
    border-color: hsl(120, 80%, 60%);
    height: 62px;
    width: 62px;
    top: 21px;
}
.loader-line-wrap:nth-child(4) .loader-line {
    border-color: hsl(180, 80%, 60%);
    height: 48px;
    width: 48px;
    top: 28px;
}
.loader-line-wrap:nth-child(5) .loader-line {
    border-color: hsl(240, 80%, 60%);
    height: 34px;
    width: 34px;
    top: 35px;
}

@keyframes spin {
    0%, 15% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.museito-loader {
    position: absolute;
    bottom: 30px;
    left: 20px;
}

.newPlay{
    position: absolute;
    bottom: 30px;
    right: 20px;
}

.newPlay a{
    background: #095ba6;
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    font-size: 25px;
    transition: all .3s ease;
}

.newPlay a:hover{background: #074782;}

/* ANIMATIONS */
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.fast {
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  animation-name: fadeIn;
}

/* GAMES */

.container .page-game{
    background: url('../img/backgroundgame.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 500px;
    width: 1000px;
}

.bg-grid{
    padding: 10px;
    position: absolute;
    right: 190px;
    bottom: 100px;
    width: 470px;
    height: 300px;
    background: #d38458;
    opacity: 85%;
    box-shadow: 0 5px 10px #0000008c;
    z-index: 100;
    overflow-y: scroll;
}
.grid-flex{
    display: flex;
    flex-direction: row;
}

.grid-flex .card-game{
    position: relative;
    padding: 10px 0;
    margin-right: 10px;
}
.grid-flex .card-game img{
    background: #ccc;
    padding: 3px;
    border-radius: 50px;
    text-align: center;
    height: 50px;
    width: 50px;
    line-height: 50px;
}

.page-game .line-once{
    box-shadow: none;
}
.page-game .line-once p{margin-right: 50px;}

/* EXPERIEMNAT */
.none{
    display: none;
}
.circles-section{
    position: absolute;
    /*width: 1000px;*/
    /*height: 500px;*/
    bottom: 10px;
    right: 60px;
    display: flex;
}

.circles-section a{
    font-size: 15px;
    font-weight: bold;
    display: block;
    width: 98px;
    height: 98px;
    border-radius: 50px;
    /*background: #ccc;*/
    /*line-height: 80px;*/
    text-align: center;
    margin-right: 10px;
    color: #fff;
    z-index: 50000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circles-section a span{
    padding: 5px;
    display: block;
    margin-top: 20px;
    transform: translateY(20px);
    z-index: 4000;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}


.circles-section a.area-agua span{  box-shadow: 0 0 20px #3498DB; }
.circles-section a.area-mundo span{     box-shadow: 0 0 20px #16A085 ;  }
.circles-section a.area-invisible span{     box-shadow: 0 0 20px #34495E ;  }
.circles-section a.area-aire span{  box-shadow: 0 0 20px #1ABC9C ;  }
.circles-section a.area-maquinas span{  box-shadow: 0 0 20px #8E44AD ;  }
.circles-section a.area-tierra span{    box-shadow: 0 0 20px #935116 ;  }
.circles-section a.area-maneras span{   box-shadow: 0 0 20px #B03A2E; }
.circles-section a.area-infinita span{  box-shadow: 0 0 20px #2874A6 ;  } 
.contern-section-circles{
    position: absolute;
    top: 80px;
    /*right: 10px;*/
}

.contern-section-circles .conten-area{
    width: 1000px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.contern-section-circles a{
    font-size: 18px;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    width: 200px;
    height: 60px;
    text-align: center;
    /*line-height: 70px;*/
    border-radius: 20px;
    /*color: #F4D03F;*/
    color: #000;
    margin-right: 10px;
    padding-top: 20px;
}

.contern-section-circles a.area-agua{background-color: #3498DB;}
.contern-section-circles a.area-mundo{background-color: #16A085;}
.contern-section-circles a.area-invisible{background-color: #34495E;}
.contern-section-circles a.area-aire{background-color: #1ABC9C; color: #000;}
.contern-section-circles a.area-maquinas{background-color: #8E44AD;}
.contern-section-circles a.area-tierra{background-color: #935116;}
.contern-section-circles a.area-maneras{background-color: #B03A2E;}
.contern-section-circles a.area-infinita{background-color: #2874A6;} 