html, body  {
  background: #004050;
  height: 100%;
  font-weight: 300;
  overflow-x: hidden;
}
body {display: flex;}
body > div {
	margin: auto;
}
h1, h1 a {
  font-size: 6vw;
  color: #00262F;
  text-align: center;
  text-decoration: none;
}
h1 a:hover {color: #0D757D;}
body > p {
  color: #00262F;
  font-size: 3vw;
  text-align: center;
  
}
.galeria {
  margin: 2vh auto 0;
  width: 80vw;
  height: 45vw;
  transform-style: preserve-3d;
}
.galeria:before {
  content: '';
  padding-top: 56.25%;
  display: inline-block;
  width: 0;
}
.card {
  background-size: 2px 2px, cover;
  background-repeat: repeat, none;
  background-position: 0 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 0 2rem rgba(0,0,0,.5);
  border-radius: 3px;
  font-family: 'Great Vibes';
}
.una {
  background: #fff;
}
.dos {
  background: #fff;
}
.tres {
  background: #fff;
}
h2 {
  color: #fff;
  font-family: lato;
  text-align: center;
  font-size: 6vh;
  font-weight: 300;
  line-height: 8vh;
  background: #FF7361;
  box-shadow: 0 0 5px rgba(0,0,0,.7);
}
h2:before {
  position: absolute;
  left: 1rem;
  font-weight: 300;
  color: #00262F;
}
h3 {
  font-size: 5vw;
  font-weight: 700;
  margin: 1vh 0 1vh;
}
.footer {
  background: #15BFCC;
  color: #0D757D;
  position: absolute;
  bottom: 0;
  width: 100%;
  list-style-type: none;
  border-top: 3px solid rgba(255,255,255,.3);
}
.technologies_block {
width: 100%; 
height: 100%; 
display: flex; 
flex-direction: row; 
justify-content: space-between;
align-items: center;
}
.technologies_block_1 {
display: flex; 
flex-direction: column; 
width: 56%; 
height: auto; 
justify-content: center; 
align-items: center;
}
.technologies_text {
font-family: 'Montserrat', sans-serif; 
font-weight: bold; 
font-size: 2vw; 
text-align: center; 
color: red; 
text-transform: uppercase;
}
.technologies_block_2 {
display: flex; 
flex-direction: column;
}
.technologies_text_1 {
font-family: 'Montserrat', sans-serif;
font-weight: bold; 
font-size: 1.1vw; 
text-align: left; 
color: #000;
padding-top: 1%;
padding-left: 5%;
}
.technologies_block_3 {
display: flex; 
width: 42%; 
height: auto; 
justify-content: center; 
align-items: center;
}
.technologies_img {
width: 80%; 
height: auto;
}
.technologies_block_4 {
display: flex; 
flex-direction: column; 
width: 50%; 
height: auto; 
align-items: center; 
justify-content: center;
}
.technologies_block_5 {
display: flex; 
flex-direction: row; 
width: 100%; 
height: auto; 
justify-content: center; 
align-items: center;
}
.technologies_block_6 {
display: flex; 
flex-direction: column;
width: 50%; 
height: auto; 
align-items: center; 
justify-content: center; 
padding-right: 5%;
}
.technologies_img_1 {
width: 55%; 
height: auto; 
padding-left: 30%;
}
.technologies_img_2 {
width: 35%; 
height: auto; 
padding-left: 30%;
}
#uno:checked ~ .una .footer,
#dole:checked ~ .dos .footer,
#tele:checked ~ .tres .footer {
  background: #0D757D;
  color: #15BFCC;
}
input {visibility: hidden;}
label {
  background: #15BFCC;
  position: absolute;
  top: 0; bottom: 0;
  margin: auto 0;
  color: #fff;
  font-size: 4vw;
  line-height: 15vh; 
  text-align: right;
  height: 15vh;
  width: 4vw;
  padding: 0 .5vw;
  cursor: pointer;
  opacity: .2;
  transition: .5s linear;
}
.otra + .otra,
#uno:checked ~ .tres .afin,
#dole:checked ~ .una .afin,
#tele:checked ~ .dos .afin {
  right: 0;
  text-align: left;
}
#uno:checked ~ .una .otra,
#dole:checked ~ .dos .otra,
#tele:checked ~ .tres .otra {
  background:  #0D757D;
  display: block;
}
#uno:checked ~ .una .afin,
#dole:checked ~ .dos .afin,
#tele:checked ~ .tres .afin,
:not(:checked) ~ .otra
{display: none;}

.card:hover label {
  animation: pulso 1s infinite alternate;
}
.card:hover label + label {
  animation-delay: .5s;
}
.card:hover label:hover {
  animation: none;
  opacity: .8;
  width: 10vw;
  font-size: 10vw;
}

#uno:checked ~ .dos,
#dole:checked ~ .tres,
#tele:checked ~ .una {
  animation: 1s fuera-izq;
  animation-fill-mode: forwards;
  transform-origin: center left;
  z-index: 2;
}
#uno:checked ~ .tres,
#dole:checked ~ .una,
#tele:checked ~ .dos {
  animation: 1.5s fuera-dch;
  animation-fill-mode: forwards;
  transform-origin: center right;
  z-index: 2;
}
#uno:checked ~ .una,
#dole:checked ~ .dos,
#tele:checked ~ .tres {
  animation: 2s central;
  animation-fill-mode: forwards;
  transform-origin: center center;
  z-index:3;
}

@keyframes fuera-izq {
  0% {transform: scale(1) translatex(0%);} 
  70% {transform: scale(.9) translatex(-100%);}
  100% {transform: scale(.9) translatex(-7%);}
}
@keyframes fuera-dch {
  0% {transform: scale(1) translatex(0%);}
  70% {transform: scale(.9) translatex(100%);}
  100% {transform: scale(.9) translatex(7%);}
}
@keyframes central {
  0% {transform: scale(.8);z-index: 1;}
  80% {transform: scale(.5);z-index: 3;}
  100% {transform: scale(1);z-index: 3;}
}
@keyframes pulso {
  50% {opacity: .7;}
}

@media screen and (orientation: portrait) {
.galeria {
  width: 80vw;
  height: 180vw;
}
.technologies_block {
flex-direction: column;
justify-content: center; 
align-items: center; 
}
.technologies_block_1 {
width: 90%; 
}
.technologies_text {
font-size: 4vw; 
}
.technologies_text_1 {
font-size: 2.6vw; 
padding-left: 0%;
}
.technologies_block_3 {
width: 100%; 
}
.technologies_img {
width: 70%; 
}
.technologies_block_4 {
width: 90%; 
}
.technologies_block_6 {
width: 90%; 
padding-right: 0%;
}
.technologies_img_1 {
padding-left: 0%;
}
.technologies_img_2 {
padding-left: 0%;
}
}