*{
    font-family: 'poppins', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
    box-sizing: border-box;
}

:root{
    --container-color: #1a1e21;
    --second-color: rgba(77, 228, 225);
    --text-color: #172317;
    --bg-color: white;
}

::selection{
    color: var(--bg-color);
    background: var(--second-color);
}

a{
    text-decoration: none;
}

i{
    list-style: none;;
}
img{
    width: 100%;
}
section{
    padding: 3rem 0 2rem;
}
.container{
    max-width: 1068px;
    margin: auto;
    width: 100%;
}

a{
    color: white;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
}

header.shadow{
    background: var(--bg-color);
    box-shadow: 0 1px 4px hs1(0 4% 14% / 10%);
    transition: .5s;

}

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: black;
}
.logo span{
    color: var(--second-color);
}
.login{
    padding: 8px 14px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 4px;
    background: var(--second-color);
    color: var(--bg-color);
}
.login:hover{
    background: blue;
    transition: .5s;
}

.home{
    width: 100%;
    min-height: 750px;
    background: url("image-3.jpg");
    display: grid;
    justify-content: center;
    align-items: center;
}


.home-text{
    color: var(--bg-color);
    text-shadow: 0 0 5px #00f, 0 0 10px #00f, 0 0 15px #00f, 0 0 20px #00f, 0 0 25px #00f, 0 0 30px #00f;
    text-align: center;
}

.home-title{
    font-size: 3.5rem;
}

.home-subtitle{
    font-size: 1.4rem;
    font-weight: 400;;
}

.about{
    position: relative;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    
}

.about .contentBx{
    max-width: 50%;
    width: 150%;
    text-align: left;
    padding-right: 40px;
}

.titleText{
    font-weight: 600;
    color: #111;
    font-size: 2rem;
    margin-bottom: 10px;
}
.title-text{
    color: #111;
    font-size: 1rem;
}

.about .imgBx{
    position: relative;
    min-width: 50%;
    width: 50%;
    min-height: 500px;
}
.imgBx img{
    border-radius: 50px;
    
}
.about .contentBx h2{
    color: black;
    margin-left: 12rem;
    position: absolute;
    margin-top: -80px;
    font-size: 2rem;
    
}
.about .contentBx p{
    color: BLACK;
    font-size: 3vh;
    margin-left: 4rem;
    display: flex;
}

.btn2{
    position: relative;
    display: inline-block;
    margin-top: 30px;
    padding: 10px 30px;
    background: rgb(122, 114, 114);
    border: .8px solid #111;
    color: white;
    text-decoration: none;
    transition: 0.5s;
    margin-left: 65px;
}

.btn2:hover{
    background: var(--second-color);
    border:none;
    color: white;
}

.post-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
    margin-top: 2rem !important;
}
.filter-item{
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}
.active-filter{
    background: var(--second-color);
    color: var(--bg-color);
    padding: 4px 10px;
    border-radius: 4px;
}

.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 hs1(35deg 25% 15% / 10%);
    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: var(--second-color);

}
.post-title{
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamb: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-date{
    display: flex;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 400;
}
.post-description{
    font-size: 0.9rem;
    line-height: 1.5rem;
    margin: 5px 0 10px;
    display: -webkit;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile{
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-img{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--second-color);
}

.profile-name{
    font-size: .8rem;
    font-weight: 500;
}

footer{
    position: absolute;
    width: 100%;
    padding: 50px 50px;
    background: black;
    display: inline;
    font-family: sans-serif;
    justify-content: space-between;
    height: auto;
}

.footer-container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    height: 15rem;
}


.footer-container h2{
    position: relative;
    display: inline-flex;
    color: blue;
    margin-bottom: 10px;
    
}

.footer-container .secaboutus .box h3{
    color: white;
    margin-top: -30px;

}

.footer-container .secaboutus .box a{
    color:lightblue;
    letter-spacing: 1px;
    font-size: .8rem;
    
}

.footer-container .secaboutus .box .cot a{
    color: white;
    letter-spacing: 1px;
    font-size: 50rem;
    
}

.footer-container .secaboutus .box a:hover{
    color: blue;
}



.footer-container h2::before{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: rgba(77, 228, 225);
}

footer p{
    color: white;
}
.sci{
    margin: 10px;
    margin-left: 35rem;
    margin-top: -3rem;
    display: flex;
    padding: 25px;
}
.sci li{
    list-style: none;
}
.sci li a{
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 4px;
    transition: .5s;
}

.sci li a:hover{
    background: rgba(77, 228, 225)
}

.sci i a .bx{
    color: white;
    font-size: 20px;
}


.quicklinks ul li{
    list-style: none;
    
}

.quicklinks ul li a{
    color: #999;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
    transition: .3s;
}

.quicklinks ul li a:hover{
    color: blue;
}

.contactBx{
    margin-top: -210px;
    margin-left: 400px;
}

.footer-container .secaboutus{
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
	gap: 2rem;
}

.footer-container .secaboutus h3{
    font-size: 1.2rem;
	color: white;
	padding: 1rem 0;
}

.contact{
    background: url("1681505200015.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
}

.contact form{
    background: black;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    margin: 2rem auto;
    max-width: 40rem;
    padding: 1rem;
    color: white;
}

.contact form h3{
    columns: black;
    text-align: center;
    padding-bottom: 2rem;
    font-size: 2rem;
    text-transform: capitalize;
}

.contact form .inputBox{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .inputBox input,
.contact form textarea{
    width:100%;
    background: grey;
    padding: .2rem;
    margin: .5rem 0;
    border-radius: .5rem;
    color: var(--black);
    font-size: 1rem;
}

.contact form .inputBox input{
    width: 40%;
    height: 25px;
}

.contact .btn{
    align-items: center;
    justify-content: center;
    margin-left: 15rem;
    background: blue;
    border-radius: 15px;
    padding: 10px;
    color: white;
    font-weight: 900;
    font-size: .8rem;

}

.contact .btn:hover{
    background: lightseagreen;
    color: blue;
    transition: 0.5s ease;
    color: black;
}
body{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    color: white;
    padding: 10px 20px;
}
.nav-links{
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links li{
    display: inline;
}
.nav-links a{
    text-decoration: none;
    color: white;
    font-size: 18px;
}
.menu-toggle{
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;;
}



@media (max-width: 1060px){
    .container{
        margin: 0 auto;
        width: 95%;
    }
    
    .home-text{
        width: 100%;
        font-size: 50px;;
        font-weight: 600;
        
    }
    .home{
        width: 54rem;
        height: 85rem;
    }
    .home-text h2{
        font-size: 65px;
    }
    .home-text span{
        font-size: 22px;
    }

}

@media (max-width: 768px){

    .nav{
        padding: 10px 0;
        width: 100%;
    
    }
    .about{
        height: 800px;
        
    }
    

    .about .contentBx p{
        color: black;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-right: -28rem;
    }
    
    .about .contentBx h2{
        color: black;
        font-weight: 600;
        font-size: 2.9rem;
        margin-left: 23rem;
    
    }
    .contactBx p{
        margin-left: 25rem;
        background: black;
    }
    .about p{
        text-align: center;
        justify-content: center;
        align-items: center;
        margin-right: -6.5rem;
        padding: 15px;
        
    }
    .about .btn2{

        margin-left: -3rem;
        border-radius: 4px;
    
    }

    .contact{
        width: 100%;
        margin-left: 8rem;
    }
    .contact img{
        display: none;
    }
    .about img{
        display: none;
    }
    .post-filter span{
        margin-top: -620px;
        margin-right: 1rem;

    }
    
    .post{
        margin-top: -280px;
        
    }
    .post img{
        width: 51rem;
    }

    .menu-toggle{
        display: block;
    }
    .nav-links{
        display: none;
        flex-direction: column;
        background: #444;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .nav-links.active{
        display: flex;
    }
    section{
        padding: 2rem 0 !important;
    }
    .header-content{
        margin-top: 3rem !important;
    }
    .home{
        min-height: 380px;
    }
    .home-title{
        font-size: 3rem;
    }
    
    .header-title{
        font-size: 2rem;
    }
    .header-img{
        height: 370px;
    }
    .about{
        flex-direction: column;
    }
    .about .contentBx{
        min-width: 100%;
        width: 100%;
        text-align: center;
        padding-right: 0px;
    }
    .about .contentBx,
    .about .imgBx{
        min-width: 100%;
        width: 100%;
        padding-right: 0px;
        text-align: center;
    }

    .about .imgBx{
        min-height: 250px;
    }

    .btn2{
        margin-bottom: 30px;
    }

    .post-header{
        height: 435px;
    }
    .post-header{
        margin-top: 9rem !important;
    }
    .footer-container{
        width: 100%;
        margin-left: -1.8rem;
       
    }
    .menu-toggle{
        margin-left: 15px;
    }
    .profile{
        width: 30%;
        
    }
    .contact{
        background: gainsboro;
        width: 850px;
        margin-left: -1px;
     
    }
    .contact .btn{
        background: BLACK;
        margin-right: 8rem;  
    }
   
    
    
}

@media (max-width:570px){
    .post-header{
        height: 390px;
    }
    .header-title{
        width: 100%;
    }
    
}
.header-img{
    height: 340px;
}

@media (max-width: 396px){
    .home-title{
        font-size: 2rem;;
    }

    .home-subtitle{
        font-size: 0.9rem;
    }
    .home{
        min-height: 300px;
    }
    .post-box{
        padding: 10px;
    }
    .header-title{
        font-size: 1.4rem;
    }

    .header-img{
        height: 240px;
    }

    .post-header{
        height: 335px;
    }
    .header-img{
        height: 340px;
    }

}

@media (max-width: 991px){
    footer {
            padding: 35px;
            font-size: 25px;
            width: 54rem;
            height: 26rem;
            background: black;
            
        }
        footer .footer-container{
            flex-direction: column;
            margin-top: 65px;
            margin-left: 15px;
            
        }
        footer .footer-container .sec{
            margin-right: 0;
            margin-bottom: 40px;
            
        }
        footer .footer-container .sec.aboutus{
            width: 100% !important;
            
        }
        footer .footer-container .quicklinks{
            width: 100%;
            
        }
        footer .footer-container .contactBx{
            width: 100%;
            
        }
   
}