main{
    display: block;
    margin: 0;
}
.summery{
    margin-top: 100px;
    color: rgb(53, 52, 52);
}
.cards{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0.5rem;
    margin-top: 1rem;
    text-align: center;
    background: #fff;
    padding:0 15px 15px 5px;

}
.summery_cards{
    height:100px ;
}

.card-single{
    border-radius: 3px;
}

.card-single:not(.summery):hover{
background: chocolate;
color: white;
cursor: pointer;
}

.card-single span{
    color: var(grey);
    font-size: 15px;
}

.card-single h2{
    color: var(grey);
    margin: 8px;
}

.notification{
    display: flex;
    max-width: 100%;
}
#notification_data{
    height: 25px;
    overflow: hidden;
}
#notification_data div{
    animation: pass 20s linear infinite ;
}
#notification_data div p{
    width: max-content;
    margin-top: 2px;
}
@keyframes pass {
    0%{
        margin-left: 0;
    }
    100%{
        margin-left: -100%;
    }
}
.post_heading{
    padding: 10px;
}
.post_heading_after{
    content: "";
    width: 100%;
    height: 10px;
    background-color: rgb(255, 255, 255);
}
.posts{
    width: 100%;
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
}
.post{
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin: 10px;
    width: 45%;
}
.post p{
    margin: 10px;
}
.impressions{
    display: flex;
    justify-content: space-between;
    margin: 10px;
    font-size: smaller;
    color: blue;
}

@media (max-width:500px) {
    .summery{
        margin-top: 140px;
        color: rgb(53, 52, 52);
    }
    .cards{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 0.5rem;
        margin-top: 1rem;
        text-align: center;
        background: #fff;
        padding:0 15px 15px 5px;
    
    }
    .summery_cards{
        height:unset;
    }
    .card-single span{
        color: var(grey);
        font-size: 11px;
    }
    .posts{
        display: block;
     }
    .post{
        display: grid;
        grid-template-columns: 1fr 2fr;
        margin: 10px;
        width: 100%;
    }
    .post img{
        width: 100%;
        height: 90px;
    }
    .impressions{
        font-size: 11px;
    }
}
