body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body{  background-image: url('fondo.jpg');
  background-repeat: no-repeat;
  background-size: cover;


}

/*body{background:#ffffff;box-shadow: inset 0 0 20vmin 0 #69bbeb;}*/
.principal {
  height: 100%;
  display: grid;
  place-items: center;
}

.wrap {
  position: absolute;
  width: 100vmin;
  height: 100vmin;
  margin: 0 auto;
  background: inherit;
  transform: scale(0.2) translatez(0px);
  opacity: 0;
  transition: transform .5s, opacity .5s;
  display: grid;
  place-items: center;
}

a {
  position: absolute;
  left: 0;
  top: 0;
  width: 47.5%;
  height: 47.5%;
  overflow: hidden;
  transform: scale(.5) translateZ(0px);
  background: #38768f;
}

a .cuadros {
  height: 100%;
  background-size: cover;
  opacity: 1;
  transition: opacity .5s;
  border-radius: inherit;
}

a:nth-child(1) {
  /*border-radius:40vmin 0 0 0;*/
  transform-origin: 110% 110%;
  transition: transform .4s .15s;
}

a:nth-child(1) .cuadros {
  background-image: url('primero.png');
}

a:nth-child(2) {
  /*border-radius:0 40vmin 0 0;*/
  left: 52.5%;
  transform-origin: -10% 110%;
  transition: transform .4s .2s;
}

a:nth-child(2) .cuadros {
  background-image: url('segundo.png');
}

a:nth-child(3) {
  /*border-radius:0 0 0 40vmin;*/
  top: 52.5%;
  transform-origin: 110% -10%;
  transition: transform .4s .25s;
}

a:nth-child(3) .cuadros {
  background-image: url('tercero.png');
}

a:nth-child(4) {
  /*border-radius:0 0 40vmin 0;*/
  top: 52.5%;
  left: 52.5%;
  transform-origin: -10% -10%;
  transition: transform .4s .3s;
}

a:nth-child(4) .cuadros {
  background-image: url('cuarto.png');
}

a:nth-child(5) {
  width: 20%;
  height: 20%;
  left: 40%;
  top: 40%;
  border-radius: 50vmin;
  box-shadow: 0 0 0 5vmin #ffffff;
  transform: scale(1);
}

a:nth-child(5) .cuadros {
  opacity: 1;
  background-image: url('logo.png');
}

span {
  visibility: hidden;
  position: relative;
  display: block;
  margin: 0 auto;
  top: 45vmin;
  width: 10vmin;
  height: 10vmin;
  border-radius: 100%;
  background: #585247;
  transform: translateZ(0px);
}

span span {

  position: absolute;
  width: 60%;
  height: 3px;
  background: #96a6ac;
  left: 20%;
  top: 50%;
  border-radius: 0;
}

span span:after,
span span:before {
  content: '';
  position: absolute;
  left: 0;
  top: -1.5vmin;
  width: 100%;
  height: 100%;
  background: inherit;
}

span span:after {
  top: 1.5vmin;
}

span+.wrap,
.wrap {
  transform: scale(.8) translateZ(0px);
  opacity: 1;
}

span+.wrap a,
.wraph a {
  transform: scale(1) translatez(0px);
}

a:hover .cuadros {
  opacity: 1;
  transform: translatez(0px);
}

#primero {
  text-shadow: 2px 2px 4px #000000;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  position: absolute;
  top: 0px;
  left: 10px;
}

#segundo {
  text-shadow: 2px 2px 4px #000000;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
   font-weight: 800;
  position: absolute;
  top: 0px;
  right: 10px;
}

#tercero {
  text-shadow: 2px 2px 4px #000000;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  position: absolute;
  bottom: 0px;
  left: 10px;
}

#cuarto {
  text-shadow: 2px 2px 4px #000000;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  position: absolute;
  bottom: 0px;
  right: 10px;
}


@media only screen and (max-width: 1000px) {
  #primero,#segundo,#tercero ,#cuarto {
    font-size: 5.5cqw;
  }
}
@media only screen and (min-width: 1000px) {
  #primero,#segundo,#tercero ,#cuarto {
    font-size: 40px;
  }
}