﻿/* Importing fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Reseting */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.containerP {
    margin-top: 100px;
}

    .container .row .col-lg-4 {
        display: flex;
        justify-content: center;
    }

.cardP {
    position: relative;
    padding: 0;
    margin: 0 !important;
    border-radius: 20px;
    overflow: hidden;
    max-width: 280px;
    max-height: 340px;
    cursor: pointer;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

    .cardP .card-image {
        width: 100%;
        max-height: 340px;
    }

        .cardP .card-image img {
            width: 100%;
            max-height: 340px;
            object-fit: cover;
        }

    .cardP .cardP-content {
        position: absolute;
        bottom: -180px;
        color: #fff;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(15px);
        min-height: 140px;
        width: 100%;
        transition: bottom .4s ease-in;
        box-shadow: 0 -10px 10px rgba(255, 255, 255, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .cardP:hover .cardP-content {
        bottom: 0px;
    }

        .cardP:hover .cardP-content h4,
        .cardP:hover .cardP-content h5 {
            transform: translateY(10px);
            opacity: 1;
        }

    .cardP .cardP-content h4,
    .cardP .cardP-content h5 {
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        text-align: center;
        transition: 0.8s;
        font-weight: 500;
        opacity: 0;
        transform: translateY(-40px);
        transition-delay: 0.2s;
    }

    .cardP .cardP-content h5 {
        transition: 0.5s;
        font-weight: 200;
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .cardP .cardP-content .social-icons {
        list-style: none;
        padding: 0;
    }


        .cardP .cardP-content .social-icons li {
            margin: 10px;
            transition: 0.5s;
            transition-delay: calc(0.15s * var(--i));
            transform: translateY(50px);
        }


    .cardP:hover .cardP-content .social-icons li {
        transform: translateY(20px);
    }

    .cardP .cardP-content .social-icons li a {
        color: #fff;
    }

        .card .cardP-content .social-icons li a span {
            font-size: 1.3rem;
        }

@media(max-width: 991.5px) {
    .containerP {
        margin-top: 20px;
    }

        .containerP .row .col-lg-4 {
            margin: 20px 0px;
        }
}
