:root {
    --color1: #fcf8f8;
    --color2: #1a1a1a;
    --color3: rgb(230, 86, 134);
    --transitionDuration: 1s;
}

.product_card {
    background-color: rgba(255, 255, 255, 0.986);
    color: var(--color2);
    min-height: fit-content;
    height: 480px;
    width: 50%;
    letter-spacing: 1px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.055);
}

.mob_cards {
    display: none !important;
}

.product_card:hover {
    box-shadow: rgba(171, 161, 214, 0.2) 30px 50px 25px -40px, rgba(240, 125, 230, 0.1) 0px 15px 20px 0px;

}

.product_card::before {
    color: var(--color3);
    font-size: 50px;
    font-weight: bold;
    font-style: italic;
    opacity: 5%;
    position: absolute;
    top: 60%;
    transform: translate(-50%, -50%);
    box-shadow: rgba(171, 161, 214, 0.2) 30px 50px 25px -40px, rgba(240, 125, 230, 0.1) 0px 15px 20px 0px;

}


.product_card::after {

    background-image: url('/assets/img/products/certification.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 400px;
    height: 400px;
    border-radius: 10%;
    z-index: 0;
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out, transform 0.5s ease-in-out;
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(35%, -15%);

}

.product_card.certification::after {
    background-image: url('/assets/img/products/certification.svg');
}

.product_card.middleware::after {
    background-image: url('/assets/img/products/api.svg');
}

.product_card.compliance::after {
    background-image: url('/assets/img/products/ssl.svg');
}

.product_card.consulting::after {
    background-image: url('/assets/img/products/service.svg');
}

.product_card:hover::after {
    width: 500px;
    height: 500px;
    transform: translate(20%, 5%);
    box-shadow: rgba(171, 161, 214, 0.2) 30px 50px 25px -40px, rgba(240, 125, 230, 0.1) 0px 15px 20px 0px;
    opacity: .06;
}

.product_card:hover {
    cursor: pointer;
}

.product_card__img {
    width: 200px;
    height: 200px;
    z-index: 1;
    transition: top var(--transitionDuration);
    position: absolute;
    top: 8%;
    transform: translate(-50%, -50%);
}

.product_card:hover .product_card__img {
    top: 60%;
}

.product_card__sizeContainer span {
    color: black !important;
}

.product_card__title {
    font-weight: 600;
    color: var(--color2);
    transition: top var(--transitionDuration);
    position: absolute;
    left: 40%;
    top: 80%;
    transform: translateX(-50%);
    font-size: 24px;
    width: 65%;
    z-index: 1;
}

.product_card__sizeTitle {
    font-size: 16px;
    font-weight: 340;
}

.product_card:hover .product_card__title {
    top: 10%;
    z-index: 1;
    width: 65%;
}

.product_card__content {
    height: 150px;
    width: 500px;
    font-size: 16px;
    font-weight: 300;
    color: var(--color2);
    opacity: 0;
    transition: opacity var(--transitionDuration), top var(--transitionDuration);
    position: absolute;
    left: 35%;
    top: 10%;
    transform: translate(-40%, 10%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product_card:hover .product_card__content {
    opacity: 1;
    top: 25%;
}

.product_card__sizeContainer,
.product_card__colorContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product_card__sizeNumber {
    background-color: var(--color2);
    color: var(--color1);
    padding: 5px 10px;
    margin: 5px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product_card__sizeNumber:hover {
    background-color: var(--color3);
}

.product_card__colorTitle {
    color: var(--color2);
    font-weight: bold;
}

.product_card__link {
    background-color: var(--color2);
    color: var(--color1);
    padding: 10px 15px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 3px;
    transition: top var(--transitionDuration);
    position: absolute;
    top: 250%;
    transform: translate(-50%, -50%);
}

.product_card:hover .product_card__link {
    top: 88%;
}

.product_card__link:hover {
    background-color: var(--color3);
}

#large_cards {
    display: block;
}


@media screen and (min-width: 481px) and (max-width:768px) {
    .mob_cards {
        display: block !important;
    }

    #large_cards {
        display: none !important;
    }

    .product_card {
        width: 100%;
    }

    .product_card:hover .product_card__content {
        top: 20%;
    }
}


@media screen and (min-width: 769px) and (max-width: 1024px) {
    .mob_cards {
        display: block !important;
    }

    #large_cards {
        display: none !important;
    }

    .product_card {
        width: 100%;
    }

    .product_card:hover .product_card__content {
        top: 20%;
    }
}

@media screen and (max-width: 1536px) and (max-height: 819px) {
    .product_card {
        height: 60dvh;
    }

    .product_card__title {
        font-size: 20px;
        z-index: 1;
    }

    .product_card__content {
        left: 45%;
    }

    .product_card__sizeTitle {
        font-size: 14px;
    }

}

@media (max-width: 480px) {
    .mob_cards {
        display: block !important;
    }

    #large_cards {
        display: none !important;
    }

    .product_card {
        height: 430px;
        width: 95%;
    }

    .product_card:hover .product_card__title {
        top: 5%;
        left: 37%;
    }

    .product_card:hover .product_card__content {
        top: 18%;
        left: 40%;
        width: 90%;
    }

    strong {
        font-weight: 600 !important;
    }

    .product_card::after {
        width: 300px;
        height: 300px;
        border-radius: 10%;
        z-index: 0;
        transition: width 0.5s ease-in-out, height 0.5s ease-in-out, transform 0.5s ease-in-out;
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        transform: translate(35%, -15%);
    }

    .product_card__sizeTitle {
        font-size: 14px;
    }

    .product_card__sizeTitle {
        font-size: 12px;
    }
}

@media (max-width: 480px) {}