body {
    font-family: 'Urbanist',serif;
    /* background-color: #F2F2F2; */
}

h3 {
    font-family: "roboto";
    text-align: center;
    font-weight: bold;
    /* color: #0000ff; */
    font-size: 35px;
    /* font-size: 3rem; */
    letter-spacing: 0.025em;
    font-weight: 700;
}

h4 {
    /* text-transform: uppercase; */
    margin-top: 2px!important;
    display: block;
    /* font-family: 'Urbanist',serif; */
    margin-bottom: 3px !important;
}

#cards-containers {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cards-wrappers {
    width: 300px;
    text-align: center;
    display: inline-block;
    padding: 20px;
    /* height: 400px; */
}

.cards {
    height: 280px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 5px 5px gray;
    background-color: #fff;
    padding: 0;
    z-index: 0;
}

.card-tops {
    height: 100px;
    position: relative;
    background-color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.icon {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #d3d3d3;
    border: 5px solid #fff;
    box-sizing: border-box;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.9rem;
}

.card-contents {
    padding: 10px;
    height: auto;
    background-color: #fff;
    height: 100%;
}

.card-titles {
    color: #000;
}

.card-content p,
.overlay p {
    /* font-family: 'Urbanist',serif;
    color: #fff; */
    padding: 0px;
}

.overlay p {
    color: #fff;
}

/* card-top colors */
.gradient-red {
    background: linear-gradient(to top, transparent, #CB422A), linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.gradient-blue {
    background: linear-gradient(to top, transparent, #2D699B), linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.gradient-green {
    background: linear-gradient(to top right, transparent, #7cd1e6), linear-gradient(to bottom left, transparent, rgb(0 0 0));
}

.gradient-pink {
    background: linear-gradient(to bottom left, transparent, #CE3B67), linear-gradient(to top right, transparent, rgba(0, 0, 0, 0.8));
}

/* overlay  */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(102 105 110);
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #FFF;
    justify-content: center;
    padding: 10px;
    border-radius: 5px;
}

/*overlay-btn  */
.overlay-btn {
    background-color: transparent;
    color: #FFF;
    font-family: 'Urbanist',serif;
    font-weight: bold;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #FFF;
    transition: all 0.2s ease;
}

.overlay-btn:hover {
    color: #FFF39A;
    background-color: transparent;
    border-bottom: 1px solid #FFF39A;
    transform: scale(1);
}

/* slide */
.slider {
    transform: translateX(-100%);
    transition: all 0.4s ease-out;
}

.cards:hover .slider {
    transform: translateX(0);
}

/* fade */
.fade {
    transition: all 0.6s ease-in;
    opacity: 0;
}

.cards:hover .fade {
    opacity: 1;
}

/* Zoom */
.zoom {
    opacity: 0;
    transition: all 0.7s ease-in;
    border-radius: 5px;
    transform: scale(0);
}

.cards:hover .zoom {
    opacity: 1;
    transform: scale(1.1);
}

/* flip */
.flip-container {
    perspective: 1000px;
}

.flip-cards {
    transition: transform 3s ease;
    transform-style: preserve-3d;
    position: relative;
}

.front,
.back {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
}

.front {
    z-index: 5;
    background-color: #fff;
}

.back {
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #FFF;
    justify-content: center;
    padding: 10px;
    transform: rotateY(180deg);
}

.flip-cards:hover {
    transform: rotateY(180deg);
}

.flip-cards:hover .back {
    transform: rotateY(-180deg);
}