
* {
    margin:0;
    padding:0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
    background-image: url(../images/fondo.jpg);
    background-repeat: repeat;
    background-position: center top;
  }

  /* Style the container */
  .container {
    background-color: #fff;
    width: 95%;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

    /* Style the header */
  header{
    background: #0066cc;
    color: #fff;
    padding: 10px 0;
    position: relative;
    display: block;
    z-index: 1000;
}

  header::after{
    content: '';
    clear: both;
    display: block;
  }
  
  .content {
    background-color: #808080;
  }

  /* Container for flexboxes */
  .content .row-editorial {
    padding-top: 50px;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Create three equal columns that sits next to each other */
  .content .row-editorial .column {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 30px;
    /* height: 280px; */  /* Should be removed. Only for demonstration */
    align-items: center;
    justify-content: center; 
    flex-wrap: wrap;
    display: inline-flex;
  }

  .content .row-editorial .column img {
    float: left;
    opacity: 0;
    visibility: hidden;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  .img1{
    animation: aparecer .7s ease-in 0s forwards;
  }
  .img2{
    animation: aparecer .7s ease-in .7s forwards;
  }
  .img3{
    animation: aparecer .7s ease-in 1.4s forwards;
  }
  .img4{
    animation: aparecer .7s ease-in 2.1s forwards;
  }
  .img5{
    animation: aparecer .7s ease-in 2.8s forwards;
  }
  .img6{
    animation: aparecer .7s ease-in 3.5s forwards;
  }

  .content .row-varios {
    margin-top: 50px;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 50px;
  }
  
  /* Create three equal columns that sits next to each other */
  .content .row-varios .column {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 30px;
    /* height: 280px; */  /* Should be removed. Only for demonstration */
    align-items: center;
    justify-content: center; 
    flex-wrap: wrap;
    display: inline-flex;
  }

  .content .row-varios .column img {
    float: left;
    opacity: 0;
    visibility: hidden;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  .imgaparece{
    max-width: 200px;
    width: 100%;
    height: auto;
    animation: aparecer 3s linear 0s forwards;
  }

.content-cards{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.card{
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .5);
    transform: scale(1);
    transition: transform 0.6s;
}

.card:hover{
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    transform: scale(1.03);
    cursor: pointer;
}

.cta{
  display: inline-block;
  text-decoration: none;
  background-image: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
  padding: 12px 15px;
  border-radius: 8px;
  color: #fff;
}
  /* Style the footer */
  .footer {
    background-color: #0066cc;
    padding: 10px;
    text-align: center;
  }
  
  @keyframes aparecer {
    0% {
      opacity: 0;
      visibility: hidden;
    }
    100% {
      opacity: 1;
      visibility: visible;
    }
  }

  /* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
  @media (max-width: 700px) {
  
    .container {
      margin-top: 10px;
      margin-bottom: 10px;
    }
  
    .row-editorial {
      -webkit-flex-direction: column;
      flex-direction: column;
    }

    .row-varios {
        -webkit-flex-direction: column;
        flex-direction: column;
      }
  }

  .content .row-varios .column img {
    opacity: 0;
    visibility: hidden;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    width: 100%;
    height: auto;
  }
