body{
    background: #edf7ff;
    font-family: 'Unna', serif;
}

html,body{
    width: auto !important;
    overflow-x: hidden !important;
}

/* Page section */
#particles-js{
    position: relative;
    height: 390px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(../img/blogg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    z-index: 3;
    margin-bottom: 4%;
}
#particles-js p{
    z-index: 4;
    top: 35%;
}

/* cards */
.head{
    text-transform: capitalize;
    font-family: 'Noto Serif', serif;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -2px;
    position: relative;
    color: rgba(247, 249, 251, 0.755);
    -webkit-text-stroke: 0.1vw #424344;
    width: fit-content;
    white-space: nowrap;
    transition: 0.5s;
}
.head::before{
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    -webkit-text-stroke: 0.1vw transparent;
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(to left, #ed213a, #93291e); 
    -webkit-background-clip: text;
    color: transparent;
    animation: animatee 6s linear infinite;
}
@keyframes animatee{
    0%,10%
    {
        width: 0%;
    }
    70%, 90%, 100%
    {
        width: 100%;
    }
}

p{
    margin: 0%;
}
.card_wrap{
    box-shadow: 0 1px 4px rgba(0,0,0,0.16);
    background: #ffffff;
    overflow: hidden;
    transition: 0.5s all ease;
    width: 330px;
}
@media(max-width: 1199px) and (min-width:992px){
    .card_wrap{
        width: 300px;
    }
    
}
@media(max-width: 350px){
    .card_wrap{
        width: 100%;
    }
    
}
.card_wrap:hover{
    color: #fff;
    transform: scale(1.025);
    box-shadow: 0 5px 10px rgba(0,0,0,0.24);
}
.card_wrap .img_box{
    position: relative;
}
.card_wrap .date{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 90px;
    background: #ed213a;
    color: #fff;
    position: absolute;
    bottom: 0%;
    transition: 0.5s all ease;
    padding: 3% 0;
}
.card_wrap .day{
    font-size: 20px;
    font-weight: bolder;
}
.card_wrap .date .month,
.card_wrap .date .year{
    font-size: 20px;
    font-weight: bolder;
}
.card_wrap .text-muted{
    font-size: 14px;
}
.card_wrap:hover .text-muted{
    color: #ffffff !important;
}
.card_wrap .content{
    padding: 0 20px;
}
.card_wrap .content h6{
    font-weight: 400;
}
.card_wrap .content .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    background-color: #ed213a;
    border-radius: 25px;
    font-size: 12px;
    border: none;
}
.card_wrap:hover .content .btn{
    background-color: rgb(19, 18, 18);
    color: #fff;
}
.card_wrap .content .foot .admin{
    font-size: 15px;
}
.card_wrap:hover .content .foot .admin{
    color: white;
    font-size: 16px;
}

.card_wrap .bg_effect{
    bottom: 0;
    left: 0;
    width: 100%;
}
.card_wrap:hover .bg_effect{
    bottom: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
    background-color: #ed213a;
    animation: popBackground 0.3s ease-in;
}

@keyframes popBackground{
    0%{
        height: 20%;
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
    }
    50%{
        height: 40%;
        border-top-left-radius: 75%;
        border-top-right-radius: 75%;
    }
    75%{
        height: 80%;
        border-top-left-radius: 85%;
        border-top-right-radius: 85%;
    }
    100%{
        height: 100%;
        border-top-left-radius: 100%;
        border-top-right-radius: 100%;
    }
}