
*,
html {
    padding: 0;
    margin: 0;
    font-family: "Lato", sans-serif;
}
body{
    height: 100vh;
    width: 100%;
    font-family: "Poppins", sans-serif;
    background: rgb(2, 0, 36);
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(95, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
}

.shape-box {
    display: inline-block;
    position: relative;
    z-index: 1;
    max-width: 500px;
    height: 430px;
    margin: 30px 10px 30px;
    box-shadow: 0 6px 30px 0 rgba(0, 0, 0, .12);
    filter: drop-shadow(5px 5px 10px #666);
    overflow: hidden;
    width: 23.333%;
}

.shape-box_half {
    overflow: hidden;
    text-align: left;
}

.shape-box_half:before {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    right: 0;
    bottom: 0;
    transform: skewY(53.5deg);
    transform-origin: top left;
    transition: \transform .4s;
    background: rgb(217 217 217);
    opacity: .9;
    z-index: 1;
}

.shape-box>img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.bg-black {
    background-color: #000;
}

.shape-box_half figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 30px 30px;
    transition: \transform .4s;
    transform: translateY(100%);
    z-index: 3;
}

.shape-box_half figcaption .show-cont {
    position: absolute;
    bottom: calc(100% + 30px);
    left: 30px;
    right: 30px;
    transition: bottom .4s;
}

.card-no {
    font-size: 36px;
    color: rgb(2, 0, 36);
    padding: 0;
    margin: 10px 0;
}

.card-main-title {
    margin-top: 8px;
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    color: #292b2c;
}

.card-content {
    color: #9f9f9f;
    margin-top: 20px;
    line-height: 22px;
    font-size: 15px;
}

.read-more-btn {
    border: 2px solid #db3236;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    background: #db3236;
    color: #fff;
    border-radius: 2px;
    margin-top: 25px;
    text-decoration: none;
}

.read-more-btn:hover {
    background: transparent;
    color: #db3236;

}

.shape-box_half>.after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(2, 0, 36);
    opacity: 0;
    transition: opacity .4s;
}

/*On hover*/
.shape-box_half:hover:before {
    transform: skewY(20deg);
}

.shape-box_half:hover figcaption {
    transform: translateY(0);
}

.shape-box_half:hover figcaption .show-cont {
    bottom: 100%;
}

.shape-box_half:hover>.after {
    opacity: 1;
}
.box-wrapper{
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
}
@media (max-width: 1000px) {
    .box-wrapper {
        display: flex;
        justify-content: center;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 5%;
    }
    .shape-box {
        /* display: flex !important; */
        /* flex-direction: column; */
        display: inline-block;
        position: relative;
        z-index: 1;
        max-width: 500px;
        height: 450px;
        margin: 30px 13px 30px;
        box-shadow: 0 6px 30px 0 rgba(0, 0, 0, .12);
        filter: drop-shadow(5px 5px 10px #666);
        overflow: hidden;
        width: 100%;
    }
    .banner-style-one .heading {
        display: none;
        position: absolute;
        top: 77%;
        right: 5%;
        margin: 0;
        padding: 0;
        list-style: none;
        z-index: 2;
    }
    
    .heading p {
        color: black;
        font-size: 36px;
        font-family: sans-serif;
        letter-spacing: 4px;
    }
    
    .text-color {
        background-color: rgb(255, 6, 42);
        padding: 0px 20px;
    }
    .shape-box_half:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0%;
        width: 100%;
        right: 0;
        bottom: 0;
        transform: skewY(36.5deg);
        transform-origin: top left;
        transition: \transform .4s;
        background: rgb(217 217 217);
        opacity: .9;
        z-index: 1;
    }
}
@media (max-width: 1000px) {
    .card-main-title {
        margin-top: 8px;
        font-weight: 700;
        font-size: 16px;
        text-transform: uppercase;
        color: #292b2c;
    }
    .read-more-btn {
        border: 2px solid #db3236;
        font-size: 10px;
        cursor: pointer;
        padding: 10px 20px;
        display: inline-block;
        text-transform: uppercase;
        letter-spacing: .08em;
        font-weight: 600;
        position: relative;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
        background: #db3236;
        color: #fff;
        border-radius: 2px;
        margin-top: 25px;
        text-decoration: none;
    }
}
