@import url("fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css?family=Roboto:100,300,100italic,300italic");



* {

    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
    box-sizing: border-box;
    font-family: "Roboto", Helvetica, sans-serif;


}

:root {

    
--container-color:#1a1e21;

  
}

a {

text-decoration: none;

}

li{ 

    list-style:none;
}

img {

    width: 100%;
}

section {

    padding: 3rem 0 2rem;
}



.home {

    width: 100%;
    min-height: 150px;
    max-height: 200px;
    display:grid;
    justify-content: center;    
    align-items: center;   
    background-color: #1a1e21;
     
}

.home-text {

    text-align: center;
    color: aliceblue;

}

.home-title {

    font-size: 3.5rem;
}

.home-subtitle {
font-size: 1rem;
font-weight: 400;

}


.nav {
    max-height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    background-color: #1a1e21;
}

.logo {

    font-size: 1.5rem;
    font-weight: 600;
    width: 8%;
}


.post-filter {
display: flex;
justify-content: center;
align-items: center;
column-gap: 1.5rem;
margin-top:2rem;

}

.filter-item{

    font-size:0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.active-filter {

    padding:4px 10px;
    background-color: #00bfff;
    border-radius: 4px;
}

.active-filter:hover {

    background-color: blue;
}


.post{

display: grid;
grid-template-columns: repeat(auto-fit,minmax(280px,auto));
justify-content: center;
gap: 1.5rem;
}

.post-box {
    max-width: 400px;
     background: #f0efef;
box-shadow: 0 4px 14px hsl(355deg, 25% 15%/ 10%)
color: #000000;

padding: 15px;

border-radius: 0.5rem;




}

.post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position:center;
    border-radius:0.5rem;


}

.category {

    font-size:0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    color: blue;
}

.post-title {

    font-size:1.3rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-date{

    display: flex;
    font-size:0.875rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom: 4px;
}

.post-description {

    font-size:0.9rem;
    line-height: 1.5rem;
    margin: 5px 0 10px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile { 

    display: flex;
    align-items: center;
    gap: 10px;
}       

.profile-img {

    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius:50%;
    object-position: center;
    
}


.post-header {

    width: 100%;
    height: 500px;
    background: #1a1e21; 
    align-items: center;
}

.post-container {

max-width: 800px;
margin:auto;
width: 100%;    

}

.header-content{
    display:flex;
    flex-direction: column;
    align-items: center;
    margin-top:4rem;
}

.back-home {

    color: aliceblue;
    font-size:0.9rem;
   

}

.back-home:hover {

    color: #ffff00;
}


.header-title {

    width: 90%;
    font-size:2.6rem;
    color:aliceblue;
    text-align:center;
    margin-bottom:1rem;
}

.header-img {

    width: 100%;
    height:420px;
    object-fit:cover;
     object-position: center;
}




.post-content {

  margin-top:10rem;

}

.sub-heading {

    font-size: 1.2rem; 

}

.post-text {

    font-size:1rem;
    line-height:1.7rem;
   margin:1rem 0;
   text-align:justify;

}

