
.containers {
    width: 350px;
    height: 400px;
    perspective: 800px;
  }
  
  .containers:hover > .cards {
    cursor: pointer;
    transform: rotateY(180deg);
  }


  .cards {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 1500ms;
    transform-style: preserve-3d;
  }
  
  .front,
  .back {
    height: 100%;
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    position: absolute;
    backface-visibility: hidden;
  }
  
  .front {
    background-image: url(../img/banner/meglevohalozat_1.jpg);
    background-repeat: no-repeat;
    background-position: center;
  }

  .front2,
  .back2 {
    height: 100%;
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25);
    position: absolute;
    backface-visibility: hidden;
  }
  
  .front2 {
    background-image: url(../img/banner/meglevohalozat_2.jpg);
    background-repeat: no-repeat;
    background-position: center;
  }


  .cards .front h4 {
    font-weight: bold;
vertical-align: middle;
    align-items: center;
    text-align: center;

  }
  
  .back {
    background-color: #3a3a3a;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5rem;
  }


.span {
  color: #3d8303;
}

/* Form With Shadow */
.form-with-shadow-2 .form-control {
	box-shadow: 0px 0px 17px -4px rgba(255, 255, 255, 0.411) !important;
}
