@charset "utf-8";

/*
    AUTHOR : Sergio
    DESCRIPTION: Estilo personalizado para la página de inicio, no reutilizable para las demás páginas.

*/

html, body {
    //height: 100vh;
    width: 100vw;
    //overflow: hidden;
}

 
main{
    position: relative;
    top: 8rem;
    left: 0;right: 0;
    z-index: -5;
    //bottom: 0;
    //background-image: url(/imagenes/fondom.jpg);
    //background-size: cover;
    //background-position: center;
}

@media all and (min-width:500px){
    main{
        //background-image: url(/imagenes/fondo.jpg);
        //bottom:100px;
        height: calc(100% - 8rem);
    }
}

main::before{
    content: "";
    //position: absolute;
    //top: 0;
    left: 0;right: 0;
    //bottom: 0;
}

article {
    position: fixed;
    top:15%;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: .5rem 1.5rem;
    transform: scale(0);
    transition: 1s linear;
    opacity: .3;
    overflow-y: auto;
    overflow-x:hidden;
}

article > h2 {
    color: #fff;
    text-shadow:#444 3px 3px 2px;
    font-size: 4rem;
    margin: 2rem 0;
    font-weight: 200;
    text-align: left;
}

article.active{
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-animation: show 1s linear;
    -moz-animation: show 1s linear;
    animation: show 1s linear;
    opacity: 1;
}

/*

    Estilos Fichas
    *********************

*/

section.section-card {
    display: inline-block;
    min-width: 80px;
    max-width: 220px;
    height: 140px;
    width:15%;
    margin: .9rem 1rem;
    text-align: center;
    position:relative;
}

section.section-card:not(:last-child){
    margin-right: 5px;
}

section.section-card:not(:first-child){
    margin-top: 5px;
}

section.section-card .section-card-content{
    position: relative;
    box-shadow: 0 0 4px 1px rgba(0,0,0,.4);
    height: 100%;
    border:3px solid #886611;
    border-radius: 20px; 
    background-color: #fff;
    -webkit-transition:-webkit-transform .6s,box-shadow .3s .6s;
          transition:transform .6s,box-shadow .3s .6s;
}

section.section-card:hover .section-card-content{
    -webkit-transform:scale(1.1) rotateY(180deg);
        transform:scale(1.1) rotateY(180deg);
    z-index: 3;
    box-shadow: #fff 0px 0px 10px 5px;
    cursor: pointer;
}

section.section-card .section-card-content > *{
    position: absolute;
    top: 0;left: 0;right: 0;bottom: 0;
    background: inherit;
    border-radius: 20px; 
    margin: 0;
    -webkit-transition:opacity .9s;
            transition:opacity .9s;

}

section.section-card .section-card-content .frontface{
    z-index: 2;
    opacity: 1;
}

section.section-card .section-card-content .backface{
    z-index: 1;
    opacity: 0;
    padding: 5% .8rem;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
   
}

section.section-card:hover .section-card-content .frontface{
    z-index: 1;
    opacity: 0;
}

section.section-card:hover .section-card-content .backface{
    z-index: 2;
    opacity: 1;
}

section.section-card .section-card-content .frontface .front{
    height: 20%;
    margin:0;
    overflow: hidden;
    position: relative;
    -webkit-transition: all 2s;
    -moz-transition: all 2s;
    transition: all 2s;
}

section.section-card .section-card-content .frontface .front.rotate{
    -webkit-transform:rotateX(-180deg);
    -moz-transform:rotateX(-180deg);
    transform: rotateX(-180deg);
}

section.section-card .section-card-content .frontface .front img{
    position: absolute;
    top: 0;bottom: 0;
    left: 0;right: 0;
    max-width: 100%;
    margin:auto;
    -webkit-transition: all .2s linear .5s;
    -moz-transition: all .2s linear .5s;
    transition: all .2s linear .5s;
}

section.section-card .section-card-content .frontface .front img:nth-child(1){
    z-index: 2;
    opacity: 1;
}

section.section-card .section-card-content .frontface .front img:nth-child(2){
    z-index: 1;
    opacity: 0;
    -webkit-transform:rotate(-180deg);
    -moz-transform:rotate(-180deg);
    transform: rotate(-180deg);
}

section.section-card .section-card-content .frontface .front.rotate img:nth-child(1){
    z-index: 2;
    opacity: 0;
}

section.section-card .section-card-content .frontface .front.rotate img:nth-child(2){
    z-index: 1;
    opacity: 1;
}

section.section-card .section-card-content .frontface h2 {
    font-size: 1rem !important;
    font-weight: 600;
    height: 30%;
    padding: .5rem 0;
    margin: 0;
    text-align: center;
}

section.section-card .section-card-content .frontface h2 > .icon + span{
    display: block;
    margin-top: 1rem;
}


/*DEscripción*/
section.section-card .section-card-content .backface .desc {
  font-size: .7rem;
  text-align:center;
  font-family: verdana;
  color: #444;
  margin-bottom: 1rem;
}

section.section-card .section-card-content .backface h2 {
    font-size: 1rem !important;
    font-weight: 600;
    height: 20%;
    padding: .5rem 0;
    margin: 0;
    text-align: center;
}

section.section-card .section-card-content .backface .go{
    padding: 5px 10px;
    text-align: right;
    font-size: 0.9em;
    border-radius: 8px;
    color: #fff;
}

section.section-card .section-card-content .backface .go > *{
    vertical-align: middle;
}

section.section-card .section-card-content .backface .go:hover img{
    -webkit-animation: follow 1s linear infinite;
    -moz-animation: follow 1s linear infinite;
    animation: follow 1s linear infinite;
}


.nav .item .item_link{
    display: block;
    color:#fff;
    overflow: hidden;
}

/* 
    Navegación Desktop
    =====================
    DESC: Navegación situada en el inferior de la pagina.

*/

.nav_desktop{
    position: fixed;
    height: 4rem;
    left: 0;top: 0;
    width:100%;
    color: #fff;
    text-shadow: 0 1px 1px #444;
    //overflow: hidden;
    z-index:5;
}


.nav_desktop .list:after {
    content:'';
    height:100%;
    background-color:rgba(255,255,255,0.6) ;
    //position: absolute;
    //top:0;
    transition: left .5s;
}

.nav_desktop .list .item.active{
    font-weight: bold;
    text-shadow:#fff 0 0 4px;
}

.nav_desktop .list .item{
    height: 4rem;
}

.nav_desktop .item .item_link{
    line-height: 4rem;
}

/*
    Navegación Mobile
    ====================

*/

.nav_mobile{
    max-height: 100%;
    overflow-y: auto;
}

.nav_mobile .item .item_link{
    text-align: left;
    padding: .4rem .5rem;
}

.nav_mobile .item .item_link .item_link_text{
    font-size: 1.2rem;
    margin-top: 5px;
    display: inline-block;
}

.nav_mobile .item .item_link + .item_content{
    opacity: 1;height: calc(100vh - 64px);
    width: 100%;
    -webkit-transition: all .5s;
    transition: all .5s;
    overflow: auto;
}

.nav_mobile .item[data-collapsed] .item_link + .item_content{
    opacity: 0;height: 0;
}



/*


nav .list[data-activeOption="socialPets"]:after{
    left: 0;
}

nav .list[data-activeOption="wikiPets"]:after{
    left:25%;
}

nav .list[data-activeOption="mediaPets"]:after{
    left: 50%;
}

nav .list[data-activeOption="petsmaniacos"]:after{
    left: 75%;
}
*/

#suggestions{
    top:150%; left:0;
    z-index: 99;
    padding:2rem 0;
}



