
html {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: Graphik-light,xingothic-w3,"Microsoft JhengHei",STHeiti;
  margin:0;
  padding:0;
    perspective: 1px;
    transform-style: preserve-3d;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  background-image: url(../images/blackwood.jpg);
}

h1 {
   font-size: 250%
}

p {
  font-size: 120%;
  line-height: 150%;
  color: #333;
  font-weight: bold;
}

.slide {
  position: relative;
  padding: 10vh 6%;
  min-height: 50vh;
  width: 100vw;
  box-sizing: border-box;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
    transform-style: inherit;
}

.slide img {
  position: absolute;
  top: 50%;
  left: 35%;
  width: 320px;
  height: 240px;
  transform: translateZ(.25px) scale(.75) translateX(-94%) translateY(-100%) rotate(2deg);
  padding: 10px;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

img:last-of-type {
  transform: translateZ(.4px) scale(.6) translateX(-104%) translateY(-40%) rotate(-5deg);
}*/

.slide:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left:0;
  right:0;
}

.title {
  width: 55%;
  padding: 2%;
  border-radius: 5px;
  background: rgba(240,230,220, .7);
  box-shadow: 0 0 8px rgba(0, 0, 0, .7);
}

.slide:nth-child(2n) .title {
  margin-left: 0;
  margin-right: auto;
}

.slide:nth-child(2n+1) .title {
  margin-left: auto;
  margin-right: 0;
}

.slide, .slide:before {
  background: 50% 50% / cover;
}

.header {
  text-align: center;
  font-size: 175%;
  color: #fff;
  text-shadow: 0 2px 2px #000;
}

#title {
  background-image: url(../images/steel.jpg);
   background-attachment: fixed;
}

#slide1 {
  background-image: url(../images/fotos/fondo1.jpg);
  background-attachment: fixed;
}

#slide1:before {
  background-image: url(../images/fotos/fondo1.jpg);
  transform: translateZ(-1px) scale(2);
  z-index:-1;
}

#slide2 {
  background-attachment: fixed;
}

#slide3 {
  background-image: url(../images/fotos/fondo1.jpg);
  background-attachment: fixed;
}

#slide3:before {
  background-image: url(../images/fotos/fondo1.jpg);
  transform: translateZ(-1px) scale(2);
  z-index:-1;
}

#slide4 {
  background: #222;
  height:40px;
  min-height: 10vh;
}
.footer {
  background: #222;
  height:1px;
  min-height: 4vh;
  margin-bottom: 0px;
  opacity: 0.5;
}
.footer p{
  color:white;
  font-size: 90%;
}
.telefono{
  margin-top:12px;
  margin-bottom:19px;
}
.telefono a{
  font-size: 130%;
  text-decoration:none;
  color:black;
}
button.librobotones {
  margin-left:auto;
  margin-right:auto;
  border: solid 2px;
  text-decoration:none;
  padding: 5px;
  text-align:center;
  color:black;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 1.0em;
  background-color: transparent;
  margin:20px;
}
a.librobotones {
  margin-left:auto;
  margin-right:auto;
  border: solid 2px;
  text-decoration:none;
  padding: 5px;
  text-align:center;
  color:black;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 1.0em;
  background-color: transparent;
  margin:20px;
}
fieldset{
  background-color: rgba(255, 255, 255, 0.3);
}
.logo{
  z-index:10000;
  position:absolute;
  left:20px;
}
.logo img{
  transform: translateZ(0px) scale(1) translateX(0%) translateY(0%) rotate(0deg);
}

#googleMap{
  border:solid 2px white;
}
/*Movimiento de Galeria*/

.gallery-wrapper{
  max-width:1050px;
  height:600px;
  display:table-row-container;
  margin: 20px auto;
  border-radius:7px;
  overflow: hidden;
  border: solid black;
  border-width:1px 1px 1px 0px;
}

.gallery-item{
  display:table-cell;
  border:solid black;
  width:1%;
  height:600px;
  border-width: 0px 0px 0px 1px;
  transition: width 0.15s linear 0s, filter 0.25s linear 0.1s, -webkit-filter 0.25s linear 0.1s, -moz-filter 0.25s linear 0.1s;
  font-size: 40px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: grayscale(90%);
  -moz-filter: grayscale(90%);
  -webkit-filter: grayscale(90%);
}

.gallery-item:hover{
  width:18%;
  filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
  /* transition: width 0.2s linear 0s; */
}

.hidden{
  display:none;
}

.filter-wrapper{
  height:20px;
  line-height:20px;
  padding:5px;
  margin:0 auto;
  width: 500px;
  display: table-row-container;
  text-align:center;
}

.filter-item{
  display:table-cell;
  width:1%;
  float:auto;
  border:solid black;
  border-width: 1px 1px 1px 0;
  font-size: 14px;
  transition: width 0.1s linear 0s;
}

.filter-item:first-child{
  border-width: 1px;

}

.filter-item:last-child{

}

.filter-item:hover{
  background:rgb(144,249,219);
  width:2%;
}

#all:checked ~ .filter-wrapper > [for='all']{
  width:2%;
  background:black;
  color:white;
}

#stairs:checked ~ .filter-wrapper > [for='stairs']{
  width:2%;
    background:black;
  color:white;
}

#doors:checked ~ .filter-wrapper > [for='doors']{
  width:2%;
    background:black;
  color:white;
}

#rejas:checked ~ .filter-wrapper > [for='rejas']{
  width:2%;
    background:black;
  color:white;
}

#baran:checked ~ .filter-wrapper > [for='baran']{
  width:2%;
    background:black;
  color:white;
}

#balcon:checked ~ .filter-wrapper > [for='balcon']{
  width:2%;
    background:black;
  color:white;
}

#varios:checked ~ .filter-wrapper > [for='varios']{
  width:2%;
    background:black;
  color:white;
}

#stairs:checked ~ .gallery-wrapper > :not([data-tag='stairs']){
  display:none;
}

#doors:checked ~ .gallery-wrapper > :not([data-tag='doors']){
  display:none;
}

#rejas:checked ~ .gallery-wrapper > :not([data-tag='rejas']){
  display:none;
}

#baran:checked ~ .gallery-wrapper > :not([data-tag='baran']){
  display:none;
}

#balcon:checked ~ .gallery-wrapper > :not([data-tag='balcon']){
  display:none;
}

#varios:checked ~ .gallery-wrapper > :not([data-tag='varios']){
  display:none;
}

/*Estilo de menu de navegación*/


.menu {
  position: relative;
  background: rgb(144,249,219);
  width: 3em;
  height: 3em;
  border-radius: 5em;
  margin: auto;
  margin-top: 5em;
  margin-bottom: 5em;
  cursor: pointer;
  border: 1em solid #36C59D;
  z-index:1000;

}
.menu:after {
  content: "";
  position: absolute;
  top: 1em;
  left: 1em;
  width: 1em;
  height: 0.2em;
  border-top: 0.6em double #fff;
  border-bottom: 0.2em solid #fff;
}
.menu ul {
  list-style: none;
  padding: 0;
}
.menu li {
  width: 5em;
  height: 1.4em;
  padding: 0.4em;
  margin-top: 0.2em;
  text-align: center;
  border-top-right-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
  transition: all 1s;
  background: #36C59D;
  opacity: 0;
  z-index: -1;
}
.menu:hover li {
  opacity: 1;
}
/**
 * Add a pseudo element to cover the space
 * between the links. This is so the menu
 * does not lose :hover focus and disappear
 */
.menu:hover ul::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  display: block;
  left: 50%;
  top: -5.0em;
  /**
   * The pseudo-element is a semi-circle
   * created with CSS. Top, bottom, and right
   * borders are 6.5em (left being 0), and then
   * a border-radius is added to the two corners
   * on the right.
   */
  border-width: 6.5em;
  border-radius: 0 7.5em 7.5em 0;
  border-left: 0;
  border-style: solid;
  /**
   * Have to have a border color for the border
   * to be hoverable. I'm using a very light one
   * so that it looks invisible.
   */
  border-color: rgba(0,0,0,0.01);
  /**
   * Put the psuedo-element behind the links
   * (So they can be clicked on)
   */
  z-index: -1;
  /**
   * Make the cursor default so it looks like
   * nothing is there
   */
  cursor: default;
}
.menu a {
  color: white;
  text-decoration: none;
  /**
   * This is to vertically center the text on the
   * little tab-like things that the text is on.
   */
  line-height: 1.5em;
}
.menu a {
  color: white;
  text-decoration: none;
}
.menu ul {
  transform: rotate(180deg) translateY(-2em);
  transition: 1s all;
}
.menu:hover ul {
  transform: rotate(0deg) translateY(-1em);
}
.menu li:hover {
  background: rgb(144,249,219);
  z-index: 10;
}

.menu li:nth-of-type(1) {
  transform: rotate(-90deg);
  position: absolute;
  left: -1.2em;
  top: -4.2em;
}
.menu li:nth-of-type(2) {
  transform: rotate(-45deg);
  position: absolute;
  left: 2em;
  top: -3em;
}
.menu li:nth-of-type(3) {
  position: absolute;
  left: 3.4em;
  top: 0.3em;
}
.menu li:nth-of-type(4) {
  transform: rotate(45deg);
  position: absolute;
  left: 2em;
  top: 3.7em;
}
.menu li:nth-of-type(5) {
  transform: rotate(90deg);
  position: absolute;
  left: -1.2em;
  top: 5em;
}
.hint {
  text-align: center;
}