﻿@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;600&display=swap");







TechCardbody {
    font-family: 'Montserrat', sans-serif;
    background-color: #212121;
}
TechCardbody section {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
}

TechCardbody section .row {
            align-items: center;
            height: 100vh;
}

.TechCard .TechCoverItem .Tech-imgBox {
    position: absolute;
}
.TechCard {
    position: relative;
    height: 400px;
    width: 100%;
    margin: 10px 0;
    transition: ease all 2.3s;
    perspective: 1200px;
}

.TechCard:hover .TechCoverItem {
    transform: rotateX(0deg) rotateY(-180deg);
}



        .TechCard:hover .TechCoverItem:before {
            transform: translateZ(30px);
        }

        .TechCard:hover .TechCoverItem:after {
            background-color: black;
        }

        .TechCard:hover .TechCoverItem h1 {
            transform: translateZ(100px);
        }

        .TechCard:hover .TechCoverItem .price {
            transform: translateZ(60px);
        }

        .TechCard:hover .TechCoverItem a {
            transform: translateZ(-60px) rotatey(-180deg);
        }



    .TechCard .TechCoverItem {
        position: absolute;
        height: 100%;
        width: 100%;
        transform-style: preserve-3d;
        transition: ease all 2.3s;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 34%;
        background-color: white;
    }

        .TechCard .TechCoverItem:before {
            content: "";
            position: absolute;
            /*border: 5px solid rgba(255, 255, 255, 0.5);*/
            /* box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);*/
            top: 20px;
            left: 20px;
            right: 20px;
            bottom: 20px;
            z-index: 2;
            transition: ease all 2.3s;
            transform-style: preserve-3d;
            transform: translateZ(0px);
        }


        .TechCard .TechCoverItem:after {
            content: "";
            position: absolute;
            top: 0px;
            left: 0px;
            right: 0px;
            bottom: 0px;
            z-index: 2;
            transition: ease all 1.3s;
            background: rgba(0, 0, 0, 0.0);
        }


        .TechCard .TechCoverItem h1Tech {
            font-weight: 400;
            position: absolute;
            bottom: 5%;
            left: 3px;
            color: black;
            font-weight:bold;
            transform-style: preserve-3d;
            transition: ease all 2.3s;
            z-index: 3;
            font-size: 2em;
            transform: translateZ(0px);
            overflow-wrap: anywhere;
        }
.Tech-PropertiesH1 {
    transform-style: preserve-3d;
    transition: ease transform 2.3s, ease background 0.5s;
    position:absolute;
    background: transparent;
    /* border: 1px solid white;*/
    /*font-weight: 200;*/
    font-size: 2.1em;
    color: black;
    padding: 14px 32px;
    outline: none;
    text-decoration: none;
    bottom:1px;
    text-align:left;
}
        .TechCard .TechCoverItem .price {
            font-weight: 200;
            position: absolute;
            top: 55px;
            right: 50px;
            color: white;
            transform-style: preserve-3d;
            transition: ease all 2.3s;
            z-index: 4;
            font-size: 2em;
            transform: translateZ(0px);
        }

    .TechCard .TechCardBack {
        position: absolute;
        height: 100%;
        width: 100%;
        background: rgb(252 25 33);
        transform-style: preserve-3d;
        transition: ease all 2.3s;
        transform: translateZ(-1px);
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        align-content: center;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

        .TechCard .TechCardBack a {
            transform-style: preserve-3d;
            transition: ease transform 2.3s, ease background 0.5s;
            transform: translateZ(-1px) rotatey(-180deg);
            background: transparent;
            /* border: 1px solid white;*/
            font-weight: 200;
            font-size: 1.1em;
            color: white;
            padding: 14px 32px;
            outline: none;
            text-decoration: none;
        }

            .TechCard .TechCardBack a:hover {
               
            }

.overlay-container {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
}

.productbtnblackimage {
    overflow: hidden;
}


.text-center {
    text-align: center;
}

.color-white {
    color: #fff;
}

.box-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 35px 15px;
    width: 100%;
}

@media screen and (min-width:1380px) {
    .box-container {
        flex-direction: row
    }
}

