@font-face {
    font-family: "mango";
    src: url(font/Mangosteen.otf);
  }
  @font-face {
    font-family: "masi";
    src: url(font/Masiku.otf);
  }
  @font-face {
    font-family: "robotob";
    src: url(font/Roboto-Regular.ttf);
  }
  
  @font-face {
    font-family: "a";
    src: url(font/Market_Deco.ttf);
  }
  @font-face {
    font-family: "1";
    src: url(font/Fifties\ Movies.ttf);
  }
  @font-face {
    font-family: "bad";
    src: url(font/Bad_Signal.otf);
  }
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

:root {
    --container-color: black;
    --second-color: rgb(43, 255, 0);
    --text-color: rgb(0, 0, 0);
    --bg-color: rgb(255, 255, 255);
}
::selection{
    color: var(--bg-color);
    background: var(--second-color);
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
img{
    width: 100%;
}
section{
    padding: 3rem 0 2rem;
}
body{
    background-color: rgb(46, 46, 46);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.container{
    max-width: 1068px;
    margin: auto;
    width: 100%;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: rgba(0, 0, 0, 0.911);
}
header.shadow{
    background: rgba(255, 255, 255, 0.747);
    box-shadow: 0 1px 4px hsl(0 4% 14% / 10%);
    transition: 0.4s;
}
header.shadow .logo{
    color: var(--text-color);
}
.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.logo{
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bg-color);
    font-family:Verdana, Geneva, Tahoma, sans-serif
}
.logo span{
    color: var(--second-color);
}
.login{
    padding: 8px 14px;
    text-transform: uppercase;
    font-weight: 5000;
    border-radius: 4px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background: var(--second-color);
    color: var(--bg-color);
}
.login:hover{
    background: hsl(0, 0%, 0%);
    transition: 1s;
}
.home{
    background-image: url(../img/bg/bgblogm.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    min-height: 440px; 
    display: grid;
    justify-content: center;
    align-items: center;
}
.home-text{
    color: var(--bg-color);
    text-align: center;

}
.home-title{
    font-size: 8rem;
    font-family: 'bad';
    font-weight: 100;
    color: rgb(2, 255, 15);
    background-color: rgba(0, 0, 0);
    padding: 10px 30px;
    border-radius: 20px;
}
.home-subtitle{
    font-size: 2.5rem;
    font-family: 'a';
    font-weight: 400;
    background-color: rgba(0, 0, 0);
    padding: 10px 50px;
    border-radius: 20px;
}

.post-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
    margin-top: 2rem !important;
}
.filter-item{
    color: aliceblue;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;    
}
.active-filter{
    background: var(--second-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
}
/*--Posts--*/

.post{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,auto));
    justify-content: center;
    gap: 1.5rem;
}
.post-box{
    background: var(--bg-color);
    box-shadow: 0 4px 14px hsl(355deg 25% 15% / 10%);
    padding: 5px;
    border-radius: 0.5rem;
    overflow: hidden;
}
.post-img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem;
}
.post-img:hover{
    transform: scale(1.2);
    transition: 0.5s;
}
.category{
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'a';
    text-transform: uppercase;
    color: rgb(201, 0, 0);
}
.post-title{
    font-size: 1.3rem;
    font-weight: 600;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: var(--text-color);
    /*to remain titile in 2 lines*/
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-date{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 4px;
}
.post-decs{
    font-size: 0.9rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 500;
    line-height: 1.5rem;
    margin: 5px 0 10px;
    /*to remain titile in 2 lines*/
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-content ul li{
    margin-top: 10px;
    color: rgb(0, 155, 226);
    list-style-type: disc;margin-left: 50px;
}

/*---footer--*/
footer{
    padding-bottom: 0px;
    color: aliceblue;
    background-color: rgb(43, 43, 43);
}
.footer{
    bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}
.footer p{
    padding-left: 10px;
    padding-top: 20px;
    font-size: 0.7rem;
    font-family: monospace;
    margin-bottom: 20px;
    text-transform: uppercase;

}
.socials{
    padding-right: 10px;
    padding-top: 20px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: center;
    column-gap: 1rem;
    margin-bottom: 20px;
}
.socials .fa{
    font-size: 19px;
    color: white;
}
.socials .fa:hover{
    color: var(--second-color);
    transition: 0.3s all linear;
}
.footer-bottom{
    text-align: center;
    color: var(--second-color);
    font-family:sans-serif;
    font-size: 10px;
    width: 100%;
    padding: 20px 20px;
}

/*-post content-*/
.post-header{
    background-image: url(../img/bg/bgmmm.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    height: 500px;
}
.post-container{
    max-width: 800px;
    margin: auto;
    width: 100%;
}
.header-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem !important;
    text-align: center;
}
.back-home{
    color: var(--second-color);
    font-size: 0.9rem;
}
.header-title{
    width: 90%;
    font-size: 2.6rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color:chartreuse;
    text-align: center;
    margin-bottom: 1rem;
}
.header-img{
    border-radius: 20px;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
}
.post-content{
    margin-top: 10rem !important;
    color: rgb(255, 255, 255);
}
.sub-heading{
    margin-top: 40px;
    color: rgb(0, 255, 55);
    font-size: 2rem;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.sub-heading1{
    margin-top: 40px;
    color: rgb(0, 255, 55);
    font-size: 1.4rem;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.post-text{
    font-size: 1rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.7rem;
    margin: 1rem 0;
    text-align: justify;
}
.share{
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
}
.share-title{
    font-size: 1.1rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-transform: capitalize;
}

/*-responsive -*/
@media (max-width: 1060px) {
    .container{
        margin: 0 auto;
        width: 95%;
    }
    .home-text{
        width: 100%;
    }

}
@media (max-width: 800px) {
    .nav{
        padding: 14px 0;
    }
    .post-container{
        margin: 0 auto;
        width: 95%;
    }
}
@media (max-width: 768px) {
    .nav{
        padding: 10px 0;
    }
    section{
        padding: 2rem 0;
    }
    .header-content{
       margin-top: 3rem !important;
    }
    .home{
        min-height: 380px;
    }
    .home-title{
        font-size: 3rem;
    }
    .header-title{
        font-size: 2rem;
    }
    .header-img{
        height: 370px;
    }
    .post-header{
        height: 380px;
    }
    .post-content{
        margin-top: 9rem !important;
    }
}
@media (max-width: 570px) {
    .post-header{
        height: 390px;
    }
    .header-title{
        width: 100%;
    }
    .header-img{
        height: 340px;
    }
    .post-decs{
        font-size: 14px;
        line-height: 18px;
    }
    .post-text{
        font-size: 14px;
        line-height: 18px;
    }
    .post-content{
        margin-top: 7rem !important;
    }
    .share-title{
        font-size: 15px;
    }
}


