html, body, ul, ol, li, form, fieldset, legend {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    color: #000;
    background: #fff;
    font: 90%/1.3"DejaVu Sans", "URW Gothic L", "Helvetica Neue", Helvetica, Arial, "Microsoft Sans Serif", sans-serif;
}
.encabezado {
    display: flex;}

.logo{
    width: 80px;
    height: auto
;}

/* ------- Estilos propios ------ */
/* Clearfix */
 .clearfix:before, .clearfix:after {
    content:" ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
.pagina {
    width: 80%;
    margin:auto;
    background-color: #eee;
}
.barra-menu {
    width: 100%;
    overflow: hidden;
    background-color: #666;
}
.menu {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #333;
}
.lista-menu li {
    display: inline-block;
    float: left;
    width: 20%;
    border-right: 1px solid #7E7E7E;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.lista-menu li:last-child {
    border-right: none;
}
.lista-menu a, .btn-menu {
    display: block;
    width: 100%;
    height: 3em;
    line-height: 3em;
}
.btn-menu {
    display: none;
}
}
/*  ------ tipografías----------------- */

/*........ Alineamiento........*/
 .aln-izquierda {
    text-align: left;
}
.aln-centro {
    text-align: center;
}
.aln-derecha {
    text-align: right;
}
/*......... Colores y Fuentes .......*/
 body {
    font-family: arial, helvetica, sans-serif;
    font-weight: normal;
    font-size: 100%;
    color: #333;
}
.lista-menu a, .btn-menu {
    text-decoration: none;
    color: #fff;
    background-color: #666;
}
.lista-menu a:hover {
    background-color: #505050;
}
/*  ------------- media queries ----------*/
 @media screen and (max-width:480px) {
    #pagina {
        width: 100%;
    }
    .btn-menu {
        display: block;
        background-color: #333;
    }
    #submenu {
        display: none;
    }
    .lista-menu li {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid #7E7E7E;
    }
}

.redes{
    width: 8%;
    height: auto;
}

.fotopersonal{
    width: 25%;
    height: auto;
}

.fotoschicos{
    width: 30%;
    height: auto;
}

/* Galeria */
.pasoxillia{
    display: flex;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.center {
    position: relative;
    width: 770px;
    left: -70px;
    perspective: 1200px;
  }
  
  .center .img-card{
    position: relative;
    height: 350px;
    width: 400px;
    /*overflow: hidden;*/
    transform-style: preserve-3d;
    transition: transform .5s ease-in; 
  }
  
  .img-card img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }
  
  .img-card img:nth-child(1){
    transform: rotateX(-270deg) translateY(-175px);
    transform-origin: top left;
  }
  
  .img-card img:nth-child(2){
    transform: translateZ(175px);
    /*opacity: 0;*/
  }
  
  .img-card img:nth-child(3){
    transform: rotateX(-90deg) translateY(175px);
    transform-origin: bottom center;
  }
  
  .img-card img:nth-child(4){
    transform: rotateX(-180deg) translateY(350px) translateZ(175px);
    transform-origin: bottom right;
  }
  
  #tab-1:checked ~ .img-card{
    transform: rotateX(-90deg);
  }
  
  #tab-2:checked ~ .img-card{
    transform: rotateX(0deg);
  }
  
  #tab-3:checked ~ .img-card{
    transform: rotateX(90deg);
  }
  
  #tab-4:checked ~ .img-card{
    transform: rotateX(180deg);
  }
  
  .sliders{
    position: absolute;
    display: block;
    right: 0;
    top: -30px;
  }
  
  .sliders label{
    height: 98px;
    width: 110px;
    display: flex;
    overflow: hidden;
    cursor: pointer;
    margin: 6px 0;
    border: 2px solid #cf6a87;
  }
  
  .sliders label:nth-child(1){
    margin-top: 0;
  }
  
  label img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: grayscale(1);
    opacity: .9;
  }
  
  label img:hover,
  #tab-1:checked ~ .sliders label:nth-child(1) img,
  #tab-2:checked ~ .sliders label:nth-child(2) img,
  #tab-3:checked ~ .sliders label:nth-child(3) img,
  #tab-4:checked ~ .sliders label:nth-child(4) img{
    filter: grayscale(0);
    opacity: 1;
  }
  
  input{
    display: none;
  }