*{
    margin:0;
    padding:0;
    font-family: "Montserrat", sans-serif;
}
*::selection{
    background-color: #670029;
}
.linkedin {
    background: #007bb5;
    color: white;
  }
  .github {
    background: #333;
    color: white;
  }
  .instagram {
    background:#a6093a;
    color: white;
  }
.fa {
    padding: 10px;
    font-size: 30px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
}
.fa:hover{
   opacity: 0.7;
}
body{
    background-color:#1f1b1b;
    padding: 0 100px;

    /* padding:0 100px 80px 100px; */
}
header{
    height: 60vh;
    font-size: 2em;
    padding-top: 100px;
    color:#fff;
    line-height: 80px;
    text-align: center;
}
header p{
    color:#ff0266;
    font-size: 1.7rem;
    line-height: 2.4rem;
}
header h1{
    font-size: 3rem;
}
/* navbar styling */
.navbar{
    width: 100%;
    height:15vh;
    font-weight: 300;
    display: flex;
    justify-content:space-evenly;
    align-items: center;
}
.navbar a{
    text-decoration:none;
    color:#fff;
    font-size: 18px;
    opacity: 0.4;
}
.navbar a:hover{
    opacity: 1;
}
#first{
    opacity: 1;
}
/* all btns */
button{
    /* padding: 9px 17px; */
    padding: 0.4rem 0.8rem;
    border-radius: 7px;
    /* font-size: 17px; */
    font-size:1em;
    cursor: pointer;
    margin-top: 3vh;
    border: 1px solid #ffffffb9;
    background-color: #1f1b1b;
    color: #fff;
}
button:hover{
    transform: scale(0.95);
}
button:active{
    background-color: #ff0266;
}
/* all headings like "about me" */
h4{
    display: flex;
    justify-content: center;
    padding:21vh 0 10vh 0;
    font-size: 40px;
     color:#ff0266;
}
.aboutimg{
    height: 250px;
    float: left;
    /* padding: 0 50%; */
    padding-left: 100px;
    border-radius:10px;
}
.aboutsec{
    margin-bottom: 38px;
    margin-left: 385px;
    margin-right: 100px;
    text-align: justify;
}
/* imgs of projects */
.projectimg{
    border-radius:2px; 
    float:right !important;
    /* margin: 10px; */
    /* height: 190px;  */
    /* width: 270px; */
}
.projectimg:hover{
    scale: 1.09;
    /* transition: 1s ease-out; */
}
.card{
    background-color: #1f1b1b ;
    color: white;
    border: 0.2px solid rgba(255, 255, 255, 0.279);
    overflow: hidden;
}
/* .card:hover{
       border: 0.2px solid rgba(255, 255, 255, 0.279);
} */
/* all outer container*/
.cont{
    color:#fff;
    /* font-family: "Roboto Slab", serif; */
    font-optical-sizing: auto;
    font-weight:250;
    line-height:5vh;
    font-size: 18px;
    
/* padding-bottom: 20px; */
}
.project{
    color:#fff ;
    font-optical-sizing: auto;
    font-weight:250;
    line-height:1.8rem;
    font-size: 1rem;
    display: flex;
    flex-wrap:wrap ;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}
/* contact section btns*/
.sec button a{
    text-decoration: none;
}
    /* project section all title */
.sec b{
    font-size: 25px;
    font-weight: 300;
}
    /* skill section */
.grid-box{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    width: 100%;
    grid-gap: 30px;
}
    /* all box of skills */
.item{
    text-align: center;
    border-radius: 5px;
    color:#fff;
    box-shadow: 2px 2px 9px #000;
    cursor: pointer; 
    font-size: 40px;
    padding: 10px; /* 7vh */
    text-decoration: none;
}
.item:hover{
    transition:all 1s ease-in;
    background-color: #ff0266;
    scale: 0.9;

}
    /* skill sec all names of skills*/
h5{
    font-size:0.8rem; 
    opacity: 0.8;
}
    /* skill imges */
.item img{
    width: 6vh;
}
    /* contact section */
.inp-form{
    width: 90%; /*513px*/
    padding: 2vh 2vh;
    margin-bottom: 1vh;
    font-size: 17px;
}
/* contact container */
.contactsec{
    margin: 0% 11% 0 21%;
    padding-bottom: 30px;  
}

.project-s{
    opacity: 0.7;
    font-size: 1rem;
}
@media(max-width :1110px){
    body{
        /* padding: 0 0 80px 30px; */
        padding: 0 30px;
    }
    h4{
        margin: -12vh 0 -5vh 0;
    }
    .projectimg{
        float: none;
        width: 100%;
    }
    .aboutsec{
        margin: 0;
        padding-bottom: 30px;
        /* text-align: center; */
        padding-top: 8px;
    }
    .navbar{
        display: none;
    }
    .projectbtn{
        display: none;
    }
    .project{
        margin-bottom: 50px;
        justify-content: center;
    }
    .cont{
        /* font-size: 23px; */
        display: flex;
    flex-wrap: wrap;
    justify-content: center;
    }
    header{
        height: 100%;
        padding-top: 200px;
        padding-bottom: 100px;
    }
    .aboutimg{
        padding:0;
    }
    .contactsec{
        margin: 0px;
    }
    .card{
        width: 100% !important;
        margin-bottom: 30px;
    }
    #about-margin{
        margin-top: -17vh;
    }
}
@media(min-width:1114px){
    .project{
        height: 300px;
    } 
}
@media(max-width:666px){
    button{
        padding: 15px 30px;
    }
}