*{
    font-family: 'Montserrat', sans-serif;
}
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}
body{
    background-color:#e8e9ef
}

#newsandarticles{
    margin-left: 240px;
}

/* styles for alll filters  */
#news_categories{
    display: flex;
    width:68%;
    margin: auto;
    gap: 30px;
}
#Latest{
    padding: 3px;
    width: 100px;
    border: 1px solid black;
    text-align: center;
    border-radius: .25rem;

}
#Latest:hover{
    padding: 3px;
    width: 100px;
    color: white;
    border: 1px ;
     background-image: linear-gradient(270deg, rgb(212, 64, 48), rgb(155, 0, 13));
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    /* background-repeat-x: initial;
    background-repeat-y: initial; */
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
}
#News{
     padding: 3px;
    width: 100px;
    border: 1px solid black;
    text-align: center;
    border-radius: .25rem;

}
#News:hover{
    cursor: pointer;
    padding: 3px;
    width: 100px;
    color: white;
    border: 1px ;
    background-image: linear-gradient(270deg, rgb(212, 64, 48), rgb(155, 0, 13));
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    /* background-repeat-x: initial;
    background-repeat-y: initial; */
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;

}
#On_this{
    padding: 3px;
    width: 100px;
    border: 1px solid black;
    text-align: center;
    border-radius: .25rem;
}
#On_this:hover{
     cursor: pointer;
    padding: 3px;
    width: 100px;
    color: white;
    border: 1px ;
    background-image: linear-gradient(270deg, rgb(212, 64, 48), rgb(155, 0, 13));
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    /* background-repeat-x: initial;
    background-repeat-y: initial; */
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;

}
#Match{
    padding: 3px;
    width: auto;
    border: 1px solid black;
    text-align: center;
    border-radius: .25rem;
}
#Match:hover{
     cursor: pointer;
    padding: 3px;
   width: auto;
    color: white;
    border: 1px ;
    background-image: linear-gradient(270deg, rgb(212, 64, 48), rgb(155, 0, 13));
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    /* background-repeat-x: initial;
    background-repeat-y: initial; */
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;

}
#Features:hover{
    cursor: pointer;
    color: white;
    border: 1px;
    background-image: linear-gradient(270deg, rgb(212, 64, 48), rgb(155, 0, 13));
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    /* background-repeat-x: initial;
    background-repeat-y: initial; */
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;

}
#Features{
    padding: 3px;
    width: 100px;
    border: 1px solid black;
    text-align: center;
    border-radius: .25rem;
    
}

/* styling for news cards */
#card{
    background-color: white;
    width: 65%;
    margin: auto;
    padding: 20px;
    display: flex;
    
}
#banner{
    width: 480px;
    height: 220px;
}
#category{
    position: relative;
    width: auto;
    height: 20px;
    margin-left: -480px;
    margin-top: 180px;
    /* margin-top: -40px; */
    font-size: 12px;
    padding: 4px ;
    text-align: center;
    color: white;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 8px;
    background-image: linear-gradient(270deg, rgb(212, 64, 48), rgb(155, 0, 13));
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    /* background-repeat-x: initial;
    background-repeat-y: initial; */
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
}
/* css on box   */
#box{
    margin-top: 15px;
}

#details{
   position:absolute;
   margin-left: 500px;
   width: 480px;
   font-size: 14px;
   
}
#anony_img{
    width: 15px;
}
#author{
    margin-left:-115px;
    
    width: auto;
}
#author_time{
    display: flex;
    font-size: 12px;
    align-content: space-between;   
    gap: 120px;
    
}
#time{
    margin-top: 10px;
   width: auto;
   height: auto;
   font-size: 13px;
   margin-left: 100px;
}