.galeria {
    display: flex;
    width: 100%;
    padding: 2% 1%;
    box-sizing: border-box;
    height: 80vh;
  }
  .caja {
    flex: 1;
    overflow: hidden;
    transition: 0.5s;
    margin: 0 2%;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    line-height: 0;
  }
  .caja > img {
    width: 200%;
    height: calc(100% - 10vh);
    object-fit: cover;
    transition: 0.5s;
  }
  .caja > span {
    font-size: 2vh;
    display: block;
    text-align: center;
    height: 1vh;
    line-height: 2.6;
  }
  .caja:hover {
    flex: 1 1 50%;
  }
  .caja:hover > img {
    width: 100%;
    height: 100%;
  }
  .container-g{
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* @media only screen and (min-width: 310px) and (max-width: 768px) {
    .container-g{
      height: 50vh;
    }
  } */
  .gallery {
    display: grid;
    grid-template-rows: repeat(5, 18vh);
    grid-template-columns: repeat(2, 45vw);
    transition: all 0.3s cubic-bezier(0.5, 0.8, 0.5, 0.2);
    background-color: #E9EFF4;
    border-radius: 10px;
    padding: 0.25em;
    cursor: zoom-in;
  }
  @media (min-width: 40em) {
    .gallery {
      grid-template-rows: repeat(2, 20vh);
    }
  }
  @media (min-width: 10em) and (orientation: landscape) {
    .gallery {
      grid-template-columns: repeat(5, 18vw);
      grid-template-rows: repeat(2, 45vh);
    }
  }
  @media (min-width: 60em) {
    .gallery {
      grid-template-columns: repeat(10, 8vw);
      grid-template-rows: 25vh;
    }
  }
  
  .img-g {
    object-fit: cover;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: all 0.15s cubic-bezier(0.3, 0.1, 0.3, 0.85);
    position: relative;
    box-shadow: 0 0 0 #0000;
    opacity: 0.67;
    filter: opacity(80%) hue-rotate(10deg);
  }
  .img-g:first-child {
    border-radius: 10px 10px 0 0;
  }
  .img-g:last-child {
    border-radius: 0 0 10px 10px;
  }
  @media (min-width: 40em) and (max-width: 59.99em) {
    .img-g:first-child {
      border-radius: 10px 0 0 0;
    }
    .img-g:nth-child(5) {
      border-radius: 0 10px 0 0;
    }
    .img-g:nth-child(6) {
      border-radius: 0 0 10px 0;
    }
    .img-g:last-child {
      border-radius: 0 0 0 10px;
    }
  }
  @media (min-width: 60em) {
    .img-g:first-child {
      border-radius: 10px 0 0 10px;
    }
    .img-g:last-child {
      border-radius: 0 10px 10px 0;
    }
  }
  .img-g:hover {
    opacity: 1;
    z-index: 1;
    box-shadow: 1em 1em 1em #0004;
    transition: all 0.3s cubic-bezier(0.3, 0.1, 0.3, 0.85);
    filter: sepia(0%) hue-rotate(0deg);
    border-radius: 5px;
    width: 300%;
    height: 300%;
    left: -100%;
    top: -100%;
  }
  @media (min-width: 40em) {
    .img-g:hover {
      width: 250%;
      height: 500%;
      left: -75%;
      top: -200%;
    }
  }
  @media (min-width: 10em) and (orientation: landscape) {
    .img-g:hover {
      width: 250%;
      height: 200%;
    }
  }
  @media (min-width: 40em) and (orientation: portrait) {
    .img-g:hover {
      width: 300%;
      height: 300%;
      left: -100%;
      top: -100%;
    }
  }
  @media (min-width: 60em) {
    .img-g:hover {
      width: 350%;
      height: 150%;
      left: -75%;
      top: -25%;
    }
    .img-g:hover ~ .img-g {
      left: 175%;
    }
  }
  @media (min-width: 60em) and (orientation: landscape) {
    .img-g:hover {
      width: 300%;
      height: 300%;
      left: -75%;
      top: -100%;
    }
    .img-g:hover ~ .img-g {
      left: 100%;
    }
  }
  .blockquote-custom {
    position: relative;
    font-size: 0.8rem;
    background-color: rgba(255, 255, 255, 0.473);
  }
  
  .blockquote-custom-icon {
    background-color: #E7374A;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -25px;
    left: 50px;
  }

  .card-big-shadow {
    max-width: 100%;
    position: relative;
  }
  
  .coloured-cards .card-1 {
    margin-top: 30px;
  }
  
  .card-1[data-radius="none"] {
    border-radius: 0px;
  }
  .card-1 {
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
    background-color: #FFFFFF;
    color: #252422;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }
  
  
  .card-1[data-background="image"] .title, .card-1[data-background="image"] .stats, .card-1[data-background="image"] .category, .card-1[data-background="image"] .description, .card-1[data-background="image"] .content, .card-1[data-background="image"] .card-1-footer, .card-1[data-background="image"] small, .card-1[data-background="image"] .content a, .card-1[data-background="color"] .title, .card-1[data-background="color"] .stats, .card-1[data-background="color"] .category, .card-1[data-background="color"] .description, .card-1[data-background="color"] .content, .card-1[data-background="color"] .card-1-footer, .card-1[data-background="color"] small, .card-1[data-background="color"] .content a {
    color: #FFFFFF;
  }
  .card-1.card-1-just-text .content {
    padding: 50px 65px;
    text-align: center;
  }
  .card-1 .content {
    padding: 10%;
  }
  .card-1[data-color="blue"] .category {
    color: #E7374A;
  }
  
  .card-1 .category, .card-1 .label {
    font-size: 14px;
    margin-bottom: 0px;
  }
  .card-big-shadow:before {
    background-image: url("http://static.tumblr.com/i21wc39/coTmrkw40/shadow.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    bottom: -12%;
    content: "";
    display: block;
    left: -12%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
  }
  .card-tex {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.2em;
  }
  .card-subtitle {
    font-size: 0.9em;
    font-weight: 600;
  }
  .card-1 .description {
    font-size: 15px;
    text-align: justify;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: normal;
    color: #66615b;
  }
  .content-card{
    margin-top:5px;    
  }
  a:hover, a:focus {
    text-decoration: none;
  }
  
  /*======== COLORS ===========*/
  .card-1[data-color="blue"] {
    background: #b8d8d8;
  }
  .card-1[data-color="blue"] .description {
    color: #506568;
  }
  
  .card-1[data-color="green"] {
    background: #d5e5a3;
  }
  .card-1[data-color="green"] .description {
    color: #60773d;
  }
  .card-1[data-color="green"] .category {
    color: #E7374A;
  }
  
  .card-1[data-color="yellow"] {
    background: #ffe28c;
  }
  .card-1[data-color="yellow"] .description {
    color: #b25825;
  }
  .card-1[data-color="yellow"] .category {
    color: #E7374A;
  }
  
  .card-1[data-color="brown"] {
    background: #d6c1ab;
  }
  .card-1[data-color="brown"] .description {
    color: #75442e;
  }
  .card-1[data-color="brown"] .category {
    color: #a47e65;
  }
  
  .card-1[data-color="purple"] {
    background: #baa9ba;
  }
  .card-1[data-color="purple"] .description {
    color: #3a283d;
  }
  .card-1[data-color="purple"] .category {
    color: #5a283d;
  }
  
  .card-1[data-color="azul"] {
    background: #77a0da;
  }
  .card-1[data-color="azul"] .description {
    color: #1A365D;
  }
  .card-1[data-color="azul"] .category {
    color: #44546a;
  }
  
  .card-1[data-color="red"] {
    background: #e18278;
  }
  .card-1[data-color="red"] .description {
    color: #3f0b06;
  }
  .card-1[data-color="red"] .category {
    color: #502a26;
  }
  @-webkit-keyframes orbit {
    0% {
      -webkit-transform: rotateY(90deg) rotate(0deg);
    }
    60% {
      -webkit-transform: rotateY(90deg) rotate(-180deg);
    }
    100% {
      -webkit-transform: rotateY(90deg) rotate(-360deg);
    }
  }
  @-moz-keyframes orbit {
    0% {
      -moz-transform: rotateY(90deg) rotate(0deg);
    }
    60% {
      -moz-transform: rotateY(90deg) rotate(-180deg);
    }
    100% {
      -moz-transform: rotateY(90deg) rotate(-360deg);
    }
  }
  @keyframes orbit {
    0% {
      -webkit-transform: rotateY(90deg) rotate(0deg);
      -moz-transform: rotateY(90deg) rotate(0deg);
      -ms-transform: rotateY(90deg) rotate(0deg);
      -o-transform: rotateY(90deg) rotate(0deg);
      transform: rotateY(90deg) rotate(0deg);
    }
    60% {
      -webkit-transform: rotateY(90deg) rotate(-180deg);
      -moz-transform: rotateY(90deg) rotate(-180deg);
      -ms-transform: rotateY(90deg) rotate(-180deg);
      -o-transform: rotateY(90deg) rotate(-180deg);
      transform: rotateY(90deg) rotate(-180deg);
    }
    100% {
      -webkit-transform: rotateY(90deg) rotate(-360deg);
      -moz-transform: rotateY(90deg) rotate(-360deg);
      -ms-transform: rotateY(90deg) rotate(-360deg);
      -o-transform: rotateY(90deg) rotate(-360deg);
      transform: rotateY(90deg) rotate(-360deg);
    }
  }
  body {
    margin: 100px auto;
    text-align: center;
  }
  