 *{
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
a{
    text-decoration: none;
    color: black;
}
body{
    /* border: 2px solid orange; */
    height: 5480px;
    box-sizing: border-box;
}
.header{
display:grid;
justify-content: center;

}
#all_categories{
    width: 100%;
    background-color: #2c4bff;
    color: white;
    margin-top: 10px;
    padding: 25px 0;
    display: flex;
    justify-content:space-evenly;
   position: absolute;
   top: 15%;
   line-height: 50px;
   /* display: none; */

}
#all_categories::after{
    content: "";
    position: absolute;
    left: 66%;
    top: -13%;
    margin-top: 6px;
    margin-left: -17px;
    width: 0;
    height: 0;
    border: 17px solid transparent;
    border-bottom-color: #2c4bff;
}

#navbar{
    
    height: 52px;
    width: 1400px;
    display: flex;
    font-size: 1.2rem;
    margin-top: 35px;
    justify-content: space-between;
}

/* --------------------------------------------------------navbar done */
#hr1{
    width: 1200px;
    margin-left: 150px;
    position: relative;
    bottom: 25px;
    
}

.mains{
    
    display: flex;
    justify-content:center ;
    
}
.mains>div{
    width: 1220px;
    
    /* border: 1px solid red;  */
    
}
.mains>#top{
    
    display: flex;
    justify-content: center;
    margin-top: 100px;
    padding-bottom: 20px;
    padding-left: 25px;
}
#image{
    margin-top: 15px;
}
#image>img{
    width: 650px;
    height: 400px;
    
}
#top h1:hover{
    text-decoration: underline;
}
#author_image{
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    overflow: hidden;
    margin-right: 18px;
}
#author_image-wrap:before{
    content: "";
    display: block;
    position: relative;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    z-index: 10;
    border: 2px solid #fff;
    border-radius: 100%;
}
#post1{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:10px;
    border-right: 1px solid rgb(208, 208, 208);
}
.child{
    box-sizing: border-box;
    padding: 15px ;
}
.child:hover img{
    transform: scale(1.01);
    z-index: 2;
}
.child:hover h3{
    text-decoration: underline;
}
.innerdiv{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: auto;
    width:fit-content;
    color: grey;
    font-size: 14px;
    line-height: 50px;
}
.glass1{
    width: 24px;
    height: 24px;
    align-self: center;
}
#badgebtn{
    height: 25px;
    
    padding:3px 10px 10px;
    border: none;
    border-radius: 3px;
    margin-left: 20px;
}
#badgebtn::before{
    height: 7px;
    width: 7px;
    margin-right: 5px;
    content: "";
    display:inline-block;
    flex-shrink: 0;
    background: #636363;
    border-radius: 100%;
}
.author_pic{
    height: 35px;
    width: 35px;
    border-radius: 100%;
    position: relative;
    top: 15px; 
     left: 0;
    
}
.author_name{
    font-weight: bold;
    margin-left: 10px;
}
.innerdiv2{
    margin-top: 15px;
    padding: 10px;
}
.innerdiv2:hover{
    opacity: 0.5;
}
.innerdiv2_text{
    margin-top: 10px;
    margin-bottom: 5px;
}
.glass2{
    width: 24px;
    height: 24px;
    position: relative;
    top: 5px;
    left: 10px;
    margin-right: 10px;
}
#hr2{
width: 350px;
margin-left: 20px;
}
#post2, #post3{
    margin-left: 10px;
}
#subscribe_section{
    width: 600px;
    text-align: center;
    padding: 100px 0;
}
#subscribe_section>h1{
    margin-bottom: 30px;
    font-size: 35px;
}
#subscribe_section>p{
    margin-bottom: 30px;
    font-size: 17px;
    font-weight: 500;
    color: #636363;
}
#subscribe_input{
    height: 3rem;
    width: 337px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    padding: 0 10px;
    font-size: 18px;
    margin-right: 15px;
}
#subscribe_btn{
    background-color:#e97284;
    width: 142px;
    height: 50px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    color:white;
    box-shadow: 0 1px 2px rgb(35 31 32 / 20%), 0 4px 14px rgb(35 31 32 / 30%);
}
#subscribe_btn:hover{
    background-color: #db4b60;
}
#update_section{
    width: 1220px;
}
#update_section>img{
    width: 1220px;
}

.bf-home-bb-episode-image {
    flex: 0 0 240px;
    width: 90%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;

}
#update_section_btm{
    padding-top: 50px;
    color: white;
}
#update_section_btm_lft{
    width: 600px;
    border-right: 1px solid ;
}
#update_section_btm_lft:hover h1{
    color:#28e8a3;
}
.bf-home-bb-episode-image2{
    flex: 0 0 240px;
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 5px;
    overflow: hidden;
    
}
.update_section_btm_rht:hover h1{
    color:#28e8a3
}
.smalllogo{
    width: 30px;
    height: 30px;
    display:flex;
    
    flex-direction: row;
    
}

.post_section{
    display:grid;
    justify-items: center;
}
.post_section>div{
    width: 1220px;
    height:1050px;

    
}
.post_section >div:first-child{
    height: 80px;
    border-bottom: 1px solid #e0e0e0;
}
.post_section>div:last-child{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 5px;
    height: 1100px;
    box-sizing:content-box;
    margin-top: 10px;
    
}
.post_title{
    padding: 5px 20px 10px;
    background-color: transparent;
    border: none;
    font-size: 18px;
    margin-top: 40px;

}

.post_title:hover{
    
    border-bottom: 3px solid #2c4bff; 
}
#all_post>div{
    padding: 5px 5px;
}
#all_post>div:hover .post_image{
    transform:scale(1.01);
    z-index: 1;
}
#all_post>div:hover h3{
    text-decoration: underline;
}
.innerdiv3{
    display: flex;
    align-items: center;
    

}
.innerdiv3>div{
    width:fit-content;
    display: flex;
    
    align-items: center;
    color: #636363;
}







