/* https://www.color-hex.com/color-palette/38337 */
/* https://css-tricks.com/neumorphism-and-css/ */
/* header  */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
    text-decoration: none;
    --gray-1: rgb(239, 243, 245);
    --gray-2: rgb(207,212,218);
    --gray-3: rgb(134,142,150);
    --gray-4: rgb(52,58,64);
    --gray-5: rgb(33,37,42);
    --gray-6: #1F2023;
    --primary-color :#121212;
    --primary-color-light :var(--gray-6);
    --secondary-color : white;
    --purple : rgb(147, 61, 228);
    /* -ms-overflow-style: none; */
}
html {
    scroll-behavior: smooth;
}
::-webkit-scrollbar{
    display: none;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
/* header end */
/* ***************************** header start*****************************  */
body{
    height: 100%;
    background-color: var(--gray-1);
}
header{
    /* background-color:var(--primary-color); */

    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* position: sticky; */
    position: fixed;
    z-index: 1000;
    transition: all 0.3s ease;
    
    color: var(--secondary-color);
}
.logo{
    /* color: var(--secondary-color); */
    font-size: 35px;
    line-height:80px ;
    padding: 0 100px;
    font-weight: bold;
}
header ul{
    float: right;
    list-style: none; 
    margin-right: 50px;
}
header ul li{
    display: inline-block;
    line-height: 80px;
    margin:0 5px;
}
header ul li a{
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 600;
    border-bottom : 2px solid var(--primary-color);
    /* border-radius: 5px; */
    padding: 5px;
    transition: all 0.3s ease;
}
header ul li a:hover{
    border-color: var(--secondary-color);
}
.hambur{
    /* color: var(--secondary-color); */
    font-size: 30px;
    line-height: 80px;
    float: right;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
.side-nav{
    display: none;
}
@media (max-width:1200px){
    .logo{
        padding: 0 10px 0 15px;
    }
}

@media (max-width:900px){
    
    .hambur{
        display:block;
    } 
    .logo{
        padding: 0 30px;
        font-size: 30px;
    }
    header ul{
        position: fixed;
        /* display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column; */
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color-light);
        top:80px ;
        left:-100%;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        overflow: scroll;
    }
    header ul li{
        /* width: calc(100% - 50px); */
        width:100%;
        border-radius: 10px;
        display:block;
        line-height:30px;
        padding:10px 0;
        transition: all 0.2s ease;
    }
    header ul li a{
        /* makes parent i.e full li clickable */
        display: block;  
        border: 0px;
        width: 100%;
    }
    header ul li:hover{
        background-color: var(--gray-4);
    } 
    .active{
        left:0;
        z-index: 100;
    }
    
    

}
.scrolling-nav{
    background-color:var(--primary-color);
}
/* to prevent web site from rotating */
@media screen and (orientation : landscape){
    /* do nothing */
}

/* ***************************** header end*****************************  */
/* ***************************** content start*****************************  */

.home{
    /* background: url("images/mountain.jpg") no-repeat center;
    background-attachment: fixed;
    background-size: cover; */
    /* background-color: var(--primary-color); */
    color: var(--secondary-color);
    color:white;
    font-weight: 600;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.home::before{
    content:'';
    position: absolute;
    background: url("images/mountain.jpg") no-repeat center;
    /* background-attachment: fixed; */
    background-size: cover;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.95;
}
.home-child{
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.home-content .text-1,.text-3{
    font-size: 27px;
}
.home-content .text-2{
    font-size: 40px;
    margin: 5px 0;
    text-transform: uppercase;
    font-weight: 600;
}
.text-1 span,.text-2 span,.text-3 span{
    display: inline;
    color:black;
    background:var(--gray-1);
    padding:0 10px;
}
.down{
    /* position:absolute; */
    margin-top:50px;
    bottom: 0;
    margin-bottom: 15px;
}
.invisible{
    display: none;
}
@media (max-width:500px){
    .home-content .text-1,.text-3{
        font-size: 20px;
        text-align: center;
    }
    .home-content .text-2{
        font-size: 30px;
        margin: 5px 0;
        text-align: center;
        /* color: var(--primary-color); */
    }
}

.category{
    min-height: 150px;
    padding: 100px 35px 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.category h1{
    text-transform: capitalize;
    color: var(--primary-color);
    font-family: 'Poppins', cursive;
    /* font-family: 'Abril Fatface', cursive; */
}
#dp{
    width: 350px;
    margin: 25px;
    border-radius: 50%;
    box-shadow:  12px 12px 12px #c2bfbf,
                -12px -12px 12px #ffffff;
}
#resume{
    background-color: var(--gray-5);
    color: var(--secondary-color);
    padding: 20px;
    margin-top: 15px;
    border: 0;
    border-radius: 5px;
    transition: 0.2s all ease;
}
#resume:hover{
    cursor: pointer;
    box-shadow:  8px 8px 0px #1c1f24,
                -8px -8px 0px #262b30;
}
.content{
    display: flex;
    align-items: center;
    justify-content: center;
    /* nice wrap  */
    flex-wrap: wrap;
}
#about .content{
    flex-direction: row;
}
#about p{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.card{
    border-radius: 20px;
    background: var(--gray-1);
    box-shadow:  16px 16px 15px #c2bfbf,
                -16px -16px 15px #ffffff; 
    padding: 25px;
    margin: 15px;
    transition: 0.3s all ease;
    min-width: 150px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

    overflow: hidden;
    
}

.proj{
    padding:0;
    width:600px;
    /* max-width:80%; */
    overflow-y:scroll;
}
.bottom,.proj .card-name,.card-name-other{
    width: 100%;
    padding:25px;
}
.proj .card-name{
    /* background-color: var(--gray-3); */
    background-color:rgb(240, 229, 243);
}
.proj .card-name{
    width: 100%;
}
.proj .card-name{
    text-transform: none;
    font-family: 'Roboto',sans-serif;
    margin:auto 5px;
    transition:all 0.45s ease;
}
.bottom{
    text-transform: none;
    font-family: 'Roboto',sans-serif;
    transition:all 0.2s ease;
    display:flex;
    background :  var(--gray-1);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.bottom > *{
    margin-top:10px;
}
.card a{
    width: auto;
}
.using{
    /* width: inherit; */
    display: flex;
    justify-content:center;
    align-items: center;
    flex-wrap: wrap;
}
.using p{
    background-color: var(--purple);
    margin: 5px;
    padding: 5px 7px;
    border-radius: 5px;
    color: white;
}
.proj-links{
    width: 100%;
    display: flex;
    /* justify-content: space-around; */
    justify-content: center;
}
.proj-links a i{
    border-radius: 5px;
    border:2px solid black;
    padding:10px 25px;
    margin:20px 10px;
    font-size:27px;
    transition: all 0.3s ease;
}
.proj-links a:hover i{
    background-color:rgb(64, 199, 64);
}

.proj{
    background-size: 60% auto;    
}
#projects .content a{
    color: var(--primary-color);
}

#projects .content a .card:hover{
    box-shadow:  3px 3px 9px #c2bfbf,
                -3px -3px 9px #ffffff;
    /* box-shadow: none; */
}

@media (max-width:815px){
    #about .content  img{
        width: 250px;
    }
    #about .content{
        text-align: center;
    }
}
@media (max-width:650px){
    #about .content  img{
        width: 200px;
    }
    #about .content{
        flex-direction: column;
    }
    h1{
        font-size:25px;
    }
    .proj{
        width:90%;
    }
}

/* ***************************** contetn end*****************************  */
/***************************** footer start *****************************  */
body{
    min-height: 100vh;    /*imp*/
}
footer{
    margin-top: 50px;
    background-color:var(--primary-color) ;
    width: 100%;
    /* position: sticky; */ 
    /* imp */
    top: 100%; 
    /*imp*/
    color: var(--primary-color);
    bottom: 0;
    left: 0;
}
.social a .fa{
    color: white;
    font-size: 30px;
    transition: all 0.3s ease;
}
.social a{
    padding: 10px;
    margin: 10px;
    width: 50px;
    height: 50px;
    text-align: center;
}
.social a:hover{
    
    border-bottom: 1px solid white;

}

footer .box{
    flex-basis: 50%;
    padding: 30px 20px;
}
.footer-about{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.social{
    display: flex;
    align-items: center;
    justify-content:center;
}
.contact{
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    text-align: center;
}
.contact a{
    color: var(--secondary-color);
    margin: 5px 0;
}
/* footer end  */
