body {
    margin-top: 20px;
    background-color: #eee;
}

.home-5-bg {
    background: #1E90FF;
    position: relative;
    background-size: cover;
    height: 50vh;
    background-position: center center;
}

.section {
    height: 100vh;
    position: relative;
}

.home-5-content {
    z-index: 1;
    position: relative;
}

.bg-overlay {
    background-color: #000;
    opacity: 0.7;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.home-center {
    display: table;
    width: 100%;
    height: 100%;
}

.home-desc-center {
    display: table-cell;
    vertical-align: middle;
}

.home-5-content {
    z-index: 1;
    position: relative;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.8);
}

.f-15 {
    font-size: 15px;
}

.home-5-bg #particles-js {
    z-index: 1 !important;
    position: absolute;
    width: 100%;
    height: 100%;
}

/* From Uiverse.io by Thomasfadi */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.cards .card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 150px;
    width: 180px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: 400ms;
    background-color: transparent;
    border-color: #314d43;
}


.cards .card p.tip {
    font-size: 11.5px;
    font-weight: 700;
    color: black;
}

.cards .card p.second-text {
    font-size: 0.7em;
}

.cards .card:hover {
    transform: scale(1.2, 1.2);
}

.cards:hover > .card:not(:hover) {
    filter: blur(10px);
    transform: scale(0.9, 0.9);
}

.cards .card .icon img{
    length: 50px;
    width: 50px;
}

.cards .card .icon {
    display: inline-block;
    position: relative;
    margin-bottom: 20px; 
}
.cards .card .icon:before {
    content: "";
    width: 33px;
    height: 33px;
    position: absolute;
    background: rgba(59, 93, 80, 0.2);
    border-radius: 50%;
    right: -8px;
    bottom: 0; 
}

@media (max-width: 768px) {
    .cards .card {
        height: 120px;
        width: 140px;
    }
    .cards .card p.tip {
        font-size: 10px;
    }
    .cards .card .icon img{
        length: 20px;
        width: 20px;
    }

}

@media (max-width: 480px) {
    .cards .card {
        height: 100px;
        width: 120px;
    }
    .cards .card p.tip {
        font-size: 9px;
    }
    .cards .card .icon img{
        length: 18px;
        width: 18px;
    }
}