/* Copyright (c) 2022 by Cynthia Costa (https://codepen.io/cycosta/pen/vYLJxwq)   ============================================================================= */
.hello {
margin-top: 30px;
}
html {
  box-sizing: border-box;
}
html *,
html *:before,
html *:after {
  box-sizing: inherit;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 1360px;
  margin: 20px 0 80px;
}
.card {
  width: 46%;
  margin: 2.0%;
  background-color: #fff;
}
.card_long img {
  margin-bottom: 20px;
}
.card:hover .card__caption {
  top: 85%;
  transform: translateY(-85%);
}
.card:hover .card__image {
  transform: translateY(20px);
}
.card:hover .card__thumb::after {
  top: 0;
}
.card:hover .card__snippet {
  margin: 20px 0;
}
.card__thumb {
  position: relative;
  max-height: 600px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .card__thumb {
    max-height: 600px;
  }
}

@media (max-width: 720px) {
.card {
  width: 78%;
  margin: 10px 12.0% 10px 12.0%;
}
}
@media (max-width: 604px) {
.card {
  width: 84%;
  margin: 10px 8.0% 10px 8.0%;
}
}
@media (max-width: 380px) {
.card {
  width: 96%;
  margin: 10px 2.0% 10px 2.0%;
}
}
.card__thumb img {
  width: 100%;
}
.card__thumb::after {
  position: absolute;
  top: 0;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
background: rgba(0, 110, 130, 0.85);
  transition: 0.3s;
}
  .card__thumb::after {
    top: calc(100% - 0px);
  }

.card__image {
  transition: 0.5s ease-in-out;
}
.card__caption {
  position: absolute;
  width: 100%;
  top: 90%;
  z-index: 1;
  padding: 0 20px;
  color: white;
  transform: translateY(-50%);
  text-align: center;
  transition: 0.3s;
}
@media (min-width: 1024px) {
  .card__caption {
    top: calc(100% - 0px);
    transform: unset;
  }
}
  .card__caption {
    top: calc(100% - 0px);
    transform: unset;
  }
   
.card__title {
  display: -webkit-box;
  max-height: 85px;
  overflow: hidden;
  font-size: 20px;
  font-family: PantonBold;
  text-transform: uppercase;
  line-height: 28px;
  text-shadow: 0px 1px 6px #006e82;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.card__snippet {
  display: -webkit-box;
  max-height: 150px;
  margin: 20px 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 20px;
  text-overflow: ellipsis;
  transition: 0.5s ease-in-out;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
@media (min-width: 1024px) {
  .card__snippet {
    margin: 60px 0;
  }
}
.card__button {
  display: inline-block;
  padding: 5px 35px 0px 35px;
  margin-top: 30px;
  color: white;
  background-color: #ee7768;
  font-size: 16px;
  font-family: PantonLight;
font-weight: 300;
  text-decoration: none;
  transition: 1.3s;
}
.card__button:hover {
  background-color: #48bcbc;
  color: white;
}
