@font-face {
    font-family: 'Freestyle Script';
    src: url('../fonts/FreestyleScript-Regular.eot');
    src: url('../fonts/FreestyleScript-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/FreestyleScript-Regular.woff2') format('woff2'),
        url('../fonts/FreestyleScript-Regular.woff') format('woff'),
        url('../fonts/FreestyleScript-Regular.ttf') format('truetype'),
        url('../fonts/FreestyleScript-Regular.svg#FreestyleScript-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
.box{
    text-align: center;
    overflow: hidden;
    /*box-shadow: 0 0 3px rgba(0,0,0,0.3);*/
    position: relative;
    float: left;
    width: 100%;
}
.box:hover .cate_hover_effect{
    opacity: 0;
}
.cate_hover_effect{
    position: absolute;
    right: 0px;
    bottom: 52px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
    font-weight: 300px;
    width: 50%;
    margin: 0 auto;
    background: #e10c14;
    left: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.cate_hover_effect h2{
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-size: 25px;
    color: #fff;
    text-transform: uppercase;
}
.cate_hover_effect a{
    width: 100px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    border-radius: 20px;
    background: #000000;
    text-align: center;
    display: block;
    float: right;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
}

.box:before,
.box:after{
    content: "";
    width: 0;
    height: 0;
    background: rgba(0 0 0 / 27%);
    position: absolute;
    /*top: 5%;*/
    /*left: 5%;*/
    transition: all 0.3s ease-in-out;
}
.box:after{
    top: auto;
    left: auto;
    /*bottom: 5%;*/
    /*right: 5%;*/
}
.box:hover:before,
.box:hover:after{
    width: 100%;
    height: 100%;
}
.box img{
    width: 100%;
    height: auto;
}
.box .box-content{
    width: 100%;
    height: 100%;
    padding-top: 36%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
    transition: all 0.2s ease 0.3s;
}
.box:hover .box-content{ opacity: 1; }
.box .box-content:before,
.box .box-content:after{
    content: "";
    width: 95%;
    height: 95%;
    /*border: 2px solid transparent;*/
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translateY(-50%) translateX(-50%);
    transition: all 0.3s ease 0s;
}
.box .box-content:before{ width: 0; }
.box .box-content:after{ height: 0; }
.box:hover .box-content:before{
    width: 95%;
    border-top: 2px dashed #c80d14;
    border-bottom: 2px dashed #c80d14;
    transition-delay: 0.4s;
}
.box:hover .box-content:after{
    height: 95%;
    border-left: 2px dashed #c80d14;
    border-right: 2px dashed #c80d14;
    transition-delay: 0.4s;
}
.box .title{
    font-size: 20px;
    font-weight: 700;
    color: #3dbbff;
    letter-spacing: 1px;
    text-transform:uppercase;
    margin: 0 0 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300px;
    width: 50%;
    margin: 0 auto;
    background: rgb(200 13 20 / 87%);
    padding-top: 10px;
    padding-bottom: 10px;
}
.box .title a{
    font-family: 'Poppins', sans-serif;
    font-weight: 300px;
    color: #fff;
}
.box .post{
    display: block;
    font-size: 15px;
    font-style: italic;
    color: #fff;
    margin-bottom: 10px;
}
.box .icon{
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 999;
}
.box .icon li{ display: inline-block; }
.box .icon a{
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 15%;
    background: #fff;
    font-size: 15px;
    color: #2d2c2c;
    text-align: center;
    margin-right: 5px;
    transition: all 0.3s ease 0s;
}
.box .icon a:hover{
    background: transparent;
    color: #3dbbff;
    border-radius: 50%;
    /*box-shadow: 1px 1px 3px #3dbbff, -1px -1px 3px #3dbbff;*/
}
@media only screen and (max-width:990px){
    .box{ margin-bottom: 30px; }
}