.hero {
    position: relative;
    background: linear-gradient(to bottom, #00cefc8e , #0552c59b), url(https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=1740) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    text-align: center;
    color: #fff;
    padding-top: 150px;
    min-height: 400px;
    letter-spacing: 2px;
    border-radius: 0%;
  }
  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  .hero h1 span {
    font-size: 2rem;
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 12px;
    line-height: 3;
  }

  @media (max-width: 700px){
    .hero {
        position: relative;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
        text-align: center;
        color: #fff;
        padding-top: 110px;
        min-height: 400px;
        letter-spacing: 2px;
        font-family: "Montserrat", sans-serif;
        border-radius: 0 0 90% 90%/0 0 30% 30%;
      }
  }


  /** CARDS **/
  .card h1 {
    margin-top: 2rem;
    font-weight: 700;
    font-size: 1.25rem;
  }
  .container-blog {
    display: grid;
    /*grid-template-columns: repeat(4, 1fr);*/
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
     width: 70%; 
    margin: auto;
    max-width: 1280px;
    align-items: center;
  }
  .card {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 180px 70px auto 80px;
    grid-template-areas: "image" "title" "text" "footer";
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.2);
    transition: 0.2s ease-in;
    cursor: pointer;
    margin: 20px;
  }
  
  .card:hover {
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease-in-out;
  }
  
  .card:hover > .card-image-articulo img {
    transform: scale(1.05);
    transition: ease-in .3s;
  }
  
  .card-image-articulo {
    grid-area: image;
    /*background: radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 41%,
      rgba(0, 0, 0, 0.65) 100%
    );*/
    /*max-height: 100%;*/
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  
    overflow: hidden;
    /* width: 100%;*/
  }
  
  .card-image-articulo img {
    object-fit: contain;
    object-position: center top;
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: transform 1.2s ease;
  }
  
  .card-title {
    grid-area: title;
    margin: 0 20px 1rem 20px;
  }
  
  .card-text {
    grid-area: text;
    margin: 0 20px 1rem 20px;
  }
  .card-text .date {
    color: rgb(255, 7, 110);
  }
  .card-text p {
    color: #666;
    font-size: 1rem;
    line-height: 1.3rem;
  }
  .card-text h2 {
    margin-top: 0px;
    font-size: 28px;
  }
  .card-footer {
    grid-area: footer;
    display: grid;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background: #edf2f7;
  }
  .card-footer .info {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: black;
  }
  
  .card-footer .address {
    font-size: 1rem;
    font-weight: 500;
  }
  
  .card-footer .state {
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
  }
  
  
  @media (max-width: 1200px) {
    .container-blog {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      width: 90%;
      margin: auto;
    }
  }
  
  @media (max-width: 600px) {
    .container-blog {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      width: 90%;
      margin: auto;
    }
  }
  
  .cat-tag {
    border-radius: 99px;
    background: #edf2f7;
    padding: 0.5rem 0.75rem;
    display: inline-block;
    margin: 0.3rem;
    font-size: 0.8rem;
  }
  
  a.cat-tag {
    text-decoration: none;
    color: #666;
    font-weight: 700;
  }
  
  .author {
    display: flex;
    align-items: center;
    margin-left: 20px;
  }
  
  .author img {
    height: 3.5rem;
    width: 3.5rem;
    border-radius:99px;
    margin-right: 1rem;
    border: 3px solid var(--color-principal);
    object-fit: cover;
  }
  
  .author p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
  }





/*** Blog ***/
.container_blog{
  max-width: 1200px;
}


.container_blog
h1, h2, h3 {
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.87;
  color: var(--letras-contenido);
  max-width: 920px;
}


.container_blog img {
  width: 100%;
  border-radius: 12px;
  margin: 15px 0;
  box-sizing: border-box;
}

h2 {
  margin: 2rem 0 1.5rem;
  font-size: 2rem;
  color: var(--color-principal);
}

.container_blog{
  margin: 1rem auto;
  padding: 1rem;
  max-width: 900px;
  width: 90%;
}

@media (min-width: 800px) {
    .container_blog h2 {
    --margin-outside: -0.7em;
    --margin-inside: 0.6em;
    margin-left: 1rem;
    margin-right: 1rem;
    max-width: 6em;
    float: left;
    text-align: right;
    font-size: 5rem;
  }
  
/* Remove or comment out nth-of-type rule to stop alternation */
.container_blog h2:nth-of-type(even) {
    margin-left: 1rem;
    margin-right: 1rem;
    /* Left and right margins swap variables so the right-floated headings (even) mirror the left-floated ones (odd). By changing these variables in media queries below, both left- and right-floated headings will change at the same time */
    float: right;
    text-align: left;
  }
/* ================ */
  
  h2 + p {
    margin-top: 4.5rem;
  }
  
  p:nth-of-type(1) {
    margin-top: 3.45rem;
  }
}

@media (min-width: 1000px) {
  h2 {
    --margin-outside: -2em;
    margin-top: 3.55rem;
    font-size: 5rem;
  }
}

@media (min-width: 1250px) {
  h2 {
   
    font-size: 3rem;
  }
}