.expanding-flex-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: 0.25s;
}
@media screen and (min-width: 768px) {
  .expanding-flex-cards {
    height: unset;
  }
}
.expanding-flex-cards .options {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  width: calc(100% - 100px);
}
@media screen and (max-width: 576px) {
  .expanding-flex-cards .options {
    width: calc(100% - 10px);
  }
}
.expanding-flex-cards .options .option {
  flex-basis: 50;
  position: relative;
  overflow: hidden;
  min-width: 100px;
  min-height: 100px;
  margin: 10px;
  border-radius: 5px;
  background-size: auto 120%;
  background-position: center;
  cursor: pointer;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.expanding-flex-cards .options .option.active {
  flex-grow: 10000;
  transform: scale(1);
  width: 100%;
  min-height: 400px;
  margin: 0px;
  background-size: contain;
}
@media screen and (max-width: 576px) {
  .expanding-flex-cards .options .option.active {
    min-height: 200px;
  }
}
.expanding-flex-cards .options .option.active .shadow {
  box-shadow: inset 0 -120px 120px -120px black, inset 0 -120px 120px -100px black;
}
.expanding-flex-cards .options .option.active .label {
  bottom: 20px;
  left: 20px;
}
.expanding-flex-cards .options .option.active .label .info > div {
  left: 0px;
  opacity: 1;
}
.expanding-flex-cards .options .option:not(.active) .shadow {
  bottom: -40px;
  box-shadow: inset 0 -120px 0px -120px black, inset 0 -120px 0px -100px black;
}
.expanding-flex-cards .options .option:not(.active) .label {
  display: none;
}
.expanding-flex-cards .options .option .shadow {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 120px;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}
.expanding-flex-cards .options .option .label {
  display: flex;
  position: absolute;
  right: 0px;
  height: 40px;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  backdrop-filter: blur(50px);
  background-color: rgba(0, 0, 0, 0.5);
}
.expanding-flex-cards .options .option .label .icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: white;
  color: var(--defaultBackground);
}
.expanding-flex-cards .options .option .label .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 10px;
  color: white;
  white-space: pre;
}
.expanding-flex-cards .options .option .label .info > div {
  position: relative;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity 0.5s ease-out;
}
.expanding-flex-cards .options .option .label .info .main {
  font-weight: bold;
  font-size: 1.2rem;
}
.expanding-flex-cards .options .option .label .info .sub {
  transition-delay: 0.1s;
}