.cards, 
.cards__item,
.cards__content {
  display: flex;
  flex-wrap: wrap;
}

.cards__item {
  position: relative;
  flex-flow: column;
}

.cards-button-download{
  display: flex;
  flex-flow: column;
}

.cards--image-aside .cards__item {
  flex-flow: row;
}

.cards__item .cards__item-link {
  flex-flow: column;
  height: 100%;
}

.cards--image-aside .cards__item .cards__item-link {
  flex-flow: row;
}

.cards__content {
  height: 100%;
}

.cards__content-image {
  display: inline-block;
}

.cards-button-form{
  text-align: center;
  cursor: pointer;
}
.cards__content-cta {
  width: 100%;
  display: flex;
  background-color: #a7ce38;
  padding: 17px 22px;
  justify-content: center;
  color: #FFF;
}

.cards__item-link {
  display: flex;
  background-color: transparent;
  text-decoration: none;
}

{# Layouts - Text on Image #}
.cards__content-text-on-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s;
}

.cards__item:hover .cards__content-text-on-image,
.cards-button-form:hover .cards__content-text-on-image,
.cards__content-cta:hover .cards__content-text-on-image {
  transform: scale(1.1);
}

.cards--text-on-image  .cards__item {
  overflow: hidden;
}

.cards--text-on-image .cards__content {
  height: 100%;
  position: relative;
}
{# End Layouts - Text on Image #}

{# Button PopUp #}
.button {
  position: relative;
  z-index: 2;
}

.cards-button-popup {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255,255,255,0.8);
  width: 100vw;
  height: 100vh;
  z-index: 11;
}

.cards-button-popup-btn-close{
  cursor: pointer;
  font-weight: 700;
  font-size: 40px;
  font-family: Poppins,sans-serif;
  color: black;
  float: right;
}

.cards-button-popup-btn-close svg {
  width: 40px;
  height: 40px;
}

.cards-button-popup--active {
  display: block;
}

.cards-button-popup-container{
  max-width: 700px;
  background-color: rgba(255,255,255,1);
  width: 600px;
  margin: 10px auto;
  padding: 30px;
  border: 2px solid black;
  overflow: scroll;
  height: 90vh;
}

.cards-button-popup {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  transition: opacity 0.3s ease, visibility 0.3s ease;

}
.cards-button-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0%); 
}
.cards-button-popup-container {
  position: absolute;
  top: -150%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  transition: 0.3s ease;
}
.visible .cards-button-popup-container {
  top: 50%;
  transition: 0.3s ease;
}

form .hs-button{
  cursor: pointer;
}

{# ---- Tablet Breakpoint ---- #}
@media (max-width: 992px) {
  .cards-button-popup-container {
    width: 80%;
  }
}

{# End Button PopUp #}