.hero {
  -webkit-animation-name: expand;
  -webkit-animation-duration: 2.5s;
  -webkit-animation-delay: 1s;
  animation-name: expand;
  animation-duration:2.5s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
  overflow: hidden;
  height: 100px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  max-height: 350px;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero.sale {
    -webkit-animation-name: none;
    -webkit-animation-duration: 2.5s;
    -webkit-animation-delay: 1s;
    animation-name: none;
    animation-duration: 2.5s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    overflow: hidden;
    height: 600px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
    max-height: 40vh;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.textcontainer h1 {
    color: #000;
    font-size: 2rem; /* 30px */
    padding-top: 15px;
}

.textcontainer p {
    color: #000;
    font-size: 0.933rem; /* 20px */
    display: block;
    margin-top: 15px;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes expand {
    from {height: 100px;}
    to {height: 60vh;}
}

/* Standard syntax */
@keyframes expand {
    from {height: 100px;}
    to {height: 60vh;}
}

@media only screen and (max-width: 1280px) {
    .hero {
        max-height: 400px;
    }
}

@media only screen and (max-width: 768px) {

    .hero {
        height: 250px;
        animation: none;
        -webkit-animation: none;
        margin-bottom: 10px
    }

    .hero.sale {
        height: 250px;
    }

}

@media only screen and (max-width: 468px) {

    .hero.sale {
        height: 200px;
    }
}
