* {
    margin: 0;
    padding: 0;
}
 body{
    cursor: url('./logo_img/blue-social-media-logo_197792-1759-removebg-preview.png'),auto;
}
.navbar {
    display: flex;
    justify-content: space-between;
    backdrop-filter: 20px;
    color: white;
    z-index: 1;
    position: sticky;
    top: 0;
    background-color: rgb(208, 209, 221);
    background-color: #1e293b;
    padding: 0px 20px; 
    height: 50px;

}
.toggle{
    display: none;
}



.logo {
    width: 100px;
    height: 45px;
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: 10px;
    width: 45px;

}
.navbar-brand{
    width: 50px;
}
ul {
    display: flex;
    align-items: center;
    margin-right: 10px;
    
}

ul li {
    margin: 10px 15px;
    list-style: none;
    text-align: center;
    font-weight: bold;

}

ul li a {
    text-decoration: none;
    /* color: black; */
    color: #F5F5F5;
    font-size: 15px;
    transition: 0.2s;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
  
    
}
/* ul li a:hover {
    scale: 2 50%;
} */
ul li a::before{
    content: "";
    width: 0px;
    height: 3px;
    /* background-color: rgb(55, 0, 255); */
    background-color: red;
    position: absolute;
    border-radius: 50px;
    top: 35px;
    transition: 0.5s;


}
a:hover::before{
    width: 45px;

}
.heading {
    position: absolute;
    font-size: 70px;
    font-weight: 600;
    left: 80px;
    top: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.mode{
    background-image: url('./logo_img/sun.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.items{
    display: flex;
    align-items: center;

}
/* .menu{
    margin: 0px 10px;
    display: block;
} */

.blur{
    width: 350px;
    height: 170px;
    position: relative;
    bottom: 170px;
    left: 35px;
    box-shadow: 8px 8px 20px 10px rgb(22, 22, 22);
}
.heading p{
    color: #F5F5F5;
}
.heading .eng{
position: relative;
left: 70px;
color: rgb(250, 60, 60);
font-style: italic;
}

.home_div {
    width: 100%;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
    background-color: #1e293b;
}
/* .dark{
   background-image: linear-gradient(rgb(255, 255, 255), rgb(159, 168, 218));
    color: black;
} */
.logo1{
    display: flex;
    /* color: black; */
    color: #F5F5F5;
    font-size: 20px;
}
.fa-brands{
    margin: 0px 4px;
}
.circle {

    width: 520px;
    height: 520px;
    position: relative;
    top: 180px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}
/* .dark{
    background-image: linear-gradient(to bottom, rgb(90, 87, 252), rgba(170, 179, 197, 0.5));
    
         box-shadow:0px 0px 16px 10px rgb(159, 168, 218);
} */

.image {
   
    background-image: url('./images/parvesh.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    width: 500px;
    position: relative;
    bottom: 150px;
    right: 60px;
    filter: drop-shadow(0 0 200px #F5F5F5);
    
}

.message{
    padding: 20px;
    width: 400px;
    height: 170px;
    border-radius: 10px;
    /* box-shadow: 0px 0px 20px 10px rgb(219, 217, 217); */
    box-shadow: 8px 8px 20px 10px rgb(22, 22, 22);
    position: absolute;
    right: 130px;
    top: 150px;
    /* backdrop-filter: blur(10px); */
    /* background-color: white; */
    background-color: #1e293b;
    color: #F5F5F5;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.message .h1{
    margin:2px 0px;
    font-size: 30px;
    font-weight: bold;
    color: #F5F5F5;

}
.message p{
    font-size: 18px;
    color: gray;
    margin-bottom: 10px;
}
.btn{
    background-color: rgb(84, 84, 196);
    /* color: white; */
    color: #F5F5F5;
    padding: 5px;
    border-radius: 5px;
    font-size: 17px;
}
.chat{
    width: 100px;
    height: 35px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    border-radius: 10px;
    background-color: rgb(84, 84, 196);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 50;
}

.chat:hover{
    background-color: rgb(134, 134, 223);


}

/* **************Second Section************** */

.second_section{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-image: linear-gradient( rgb(159, 168, 218),rgb(255, 255, 255)); */
    background-color: #1e293b;
    background-attachment: fixed;
    padding-top: 50px;
  
 
    
}
.skills_heading{
    font-size: 45px;
    font-weight: bold;
    margin: 20px;
    font-family: 'Roboto', sans-serif;
    position: relative;
    color: #F5F5F5;
}
.skills_heading::before{
    content: "";
    position: absolute;
    bottom: 0px;
    width: 110px;
    left: 5px;
    height: 3px;
    /* background-color: blue; */
    background-color: red;
}
.head{
    font-size: 45px;
    font-weight: bold;
    margin: 20px;
    font-family: 'Roboto', sans-serif;
    position: relative;
    color: #F5F5F5;
}

.head::before{
    content: "";
    position: absolute;
    bottom: -5px;
    width: 160px;
    left: 5px;
    height: 3px;
    /* background-color: blue; */
    background-color: red;
}
.skils{
display: flex;
justify-content: center;

width: 100%;
height: 500px;
background-size: cover;
position: relative;


}
.cards{

    display: grid;
    grid-template-columns: auto auto auto auto;
}
.card{
    width: 250px;
    height: 300px;
   background-color:transparent;
    margin: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;

   
}
.card span:nth-child(1)
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right,transparent,red);
    animation: animate_one 2s linear infinite;
    /* #1e293b */
    

    /* #17f3fd */
}

@keyframes animate_one {
    0%{
        transform: translateX(-100%);
    }
    100%{
        transform: translateX(100%);
    }
    
}

.card span:nth-child(2)
{
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom,transparent,red);
    animation: animate_two 2s linear infinite;
    animation-delay: 1s;
}
@keyframes animate_two {
    0%{
        transform: translatey(-100%);
    }
    100%{
        transform: translatey(100%);
    }
    
}

.card span:nth-child(3)
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to left,transparent,red);
    animation: animate_three 2s linear infinite;
   

}
@keyframes animate_three {
    0%{
        transform: translateX(100%);
    }
    100%{
        transform: translateX(-100%);
    }
    
}

.card span:nth-child(4)
{
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to top,transparent,red);
    animation: animate_four 2s linear infinite;
    animation-delay: 1s;
}
@keyframes animate_four {    
    0%{
        transform: translatey(100%);
    }
    100%{
        transform: translatey(-100%);
    }
    
}

.skill_logo{
    width: 100px;
    height: 100px;
}
.skill_logo p{
    text-align: center;
    /* color: black; */
    color: #F5F5F5;
    font-size: 35px;
    font-weight: bold;
    
}
.info{
    width: 250px;
    height: 300px;
    backdrop-filter: blur(5px);
    position: absolute;
    bottom: -100%;
    transition: 0.5s;
    font-family: sans-serif;
}
.hide_info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* color: black; */
    color: #F5F5F5;
    font-family: sans-serif;
}
.hide_info ul{
    display: flex;
flex-direction: column;
font-size: 20px;
font-family: sans-serif;

}
.hide_info ul li{
    text-align: start;
    font-family: sans-serif;
}
.hide_info ul li p{
font-size: 12px;
font-family: sans-serif;
}
.card:hover{
    scale:1.05;

    
    box-shadow: 2px 2px 20px 5px red;
   
}
.card:hover .info{
    bottom: 0px;
    
}


/* **************Third Section************** */

.third_section{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image:url('./images/html_bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    box-sizing: border-box;
    padding-top: 50px;
 
    
}
.project_heading{
    /* color:black; */
    color: #F5F5F5;
    font-size: 35px;
    font-weight: bold;
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-top: 30px;
    
}
.project_heading::before{
    content: "";
    position: absolute;
    bottom: -10px;
    height: 4px;
    width: 130px;
    left: 5px;
    height: 3px;
    background-color: red;
}
.projects{
    width: 90%;
    height: 90%;
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.project{
    width: 300px;
    height: 250px;
    margin: 20px;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;


}
.project .img{
    width: 300px;
    height: 160px;
    box-shadow: 2px 2px 19px 0px rgb(31, 30, 30);

}
.content{
    height: 70px;
    width: 180px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.project:hover{
 filter: drop-shadow(0 0 10px red); 
}

.contacts{
    width: 100%;
    height: 300px;
    background-color:#1e293b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contact_box{
    width: 40%;
    height: 200px;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.contact{
    width: 50px;
    height: 50px;

    
}
.contact img{
cursor: pointer;
}
 .con1 img{
    filter: drop-shadow(0 0 5px #006eff);
    animation: g1 .5s alternate infinite;
}

@keyframes g1{
    0%{
        filter: drop-shadow(0 0 5px #006eff);
    }
    100%{
        filter: drop-shadow(0 0 20px #006eff);
    }
}

.con2 img{
    filter: drop-shadow(0 0 5px #ff8c00 );
    animation: g2 .5s alternate infinite;
}

@keyframes g2{
    0%{
        filter: drop-shadow(0 0 5px #ff8c00);
    }
    100%{
        filter: drop-shadow(0 0 20px #ff8c00 );
    }
}

.con3 img{
    filter: drop-shadow(0 0 5px rgb(0, 255, 0));
    animation: g3 .5s alternate infinite;
}

@keyframes g3{
    0%{
        filter: drop-shadow(0 0 5px rgb(0, 255, 0));
    }
    100%{
        filter: drop-shadow(0 0 20px rgb(0, 255, 0));
    }
}
.con4 img{
    filter: drop-shadow(0 0 0px rgb(255, 0, 0) );
    animation: g4 .5s alternate infinite;
}

@keyframes g4{
    0%{
        filter: drop-shadow(0 0 0px rgb(255, 0, 0));
    }
    100%{
        filter: drop-shadow(0 0 20px rgb(255, 0, 0));
    }
}

.con5 img{
    filter: drop-shadow(0 0 5px rgb(0, 140, 255));
    animation: g5 .5s alternate infinite;
}

@keyframes g5{
    0%{
        filter: drop-shadow(0 0 5px rgb(0, 140, 255));
    }
    100%{
        filter: drop-shadow(0 0 20px rgb(0, 140, 255));
    }
}

@media screen and (min-width:950px) and (max-width: 1200px) {
    
    .heading{
        left:-30px;
    }
    .message{
        right: 10px;
    }  
}
@media screen and (min-width:550px) and (max-width: 950px) {
 
  
    .heading{
        display: none;
    }
    .message{
        width: 300px;
        left: 10px;
    } 
    .message .h1{
        font-size: 25px;
    }
    .message p{
        font-size: 15px;
        
    }
    
}

@media (max-width: 950px) {
   
    .hide li a::before{
        display: none;
    
    
    }
    .hide li a:hover::before{
        width: 45px;
    
    }
     .toggle{
        display: block;
    }
   
   
    .hide{
       

        display: flex;
      flex-direction: column;
      background-color: white;
      position: absolute;
      top:40px;
      right: -200px;
      color: white;
      padding:0px 50px;
      display: none;

    }
    .show{
        right: -10px;
        top: 40px;
        display: block;
        height: 1000px;
    
    }
    .show li a{
        color: black;
   
    }
    /* .ul{
        display: flex;
        flex-direction: column;
        margin: 10px;
        background-color: white;
        position: absolute;
        right: 0px;
        top: 0px;
    }
    .fa-solid{
        display: block;
        margin: 0px 10px;
    } */
    .ul{
        position: absolute;
        top: 52px;
        right: 0px;
        width: 150px;
        height: 200px;
        background-color: rgb(248, 245, 245);
        display: flex;
        flex-direction: column;
        transition: .5s;
        display: none;
       

    }
    /* .toggle{
        display: block;
        right: -5px;
        
    } */
    
    ul li{
        margin: 40px 15px;
        
    }
   
    .mode{
        width: 30px;
        height: 30px;
    }

 .home_div{
    height: 350px;
    justify-content: end;
 }
 .heading{
    display: none;
}
 .circle {
display: none;

}
 .image1 {
    background-image: url('./images/parvesh.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    width: 350px;
    position: relative;
    bottom: -10px;
    right:50px;
    
}
.message{
    width: 300px;
    height: 155px;
    left: 25px;
    top: 120px;
}
.message .h1{
    font-size: 20px;
}
.message p{
    font-size: 15px;
}
.btn{
    font-size: 13px;
}
.cards{
    display: grid;
    grid-template-columns: auto auto;
}
.card{
    width: 200px;
    height: 250px;
    /* background-color: #131b33; */
   background-color: transparent;
    margin: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;

   
}
.skils {
    
    width: 100%;
    height: 650px;

}
.skill_logo p {
   
    font-size: 25px;
   
}
.hide_info ul {
    font-size: 16px;
}
.info{
    width: 200px;
    height: 250px;

}

.hide_info {

    padding: 10px;

}
.hide_info ul{


font-size: 15px;


}
.hide_info ul li{
    text-align: start;
    margin: 8px;

}
.hide_info ul li p{
font-size: 12px;

}
}

@media (max-width: 580px) {
   
    .home_div{
        height: 250px;
        justify-content: end;
     }

    .image1 {
    
        height: 200px;
        width: 200px;
        bottom: -27px;
        right:10px;
        
    }
  
    .message{
        padding: 20px;
        width: 200px;
        height: 150px;
        border-radius: 10px;
        /* box-shadow: 0px 0px 20px 10px rgb(219, 217, 217); */
        position: absolute;
        left: 10px;
        top: 120px;
        background-color: transparent;
        box-sizing: border-box;
        font-family: 'Roboto', sans-serif;
        font-weight: 400;
    }
    .message .h1{
        font-size: 18px;
    }
    .message p{
        font-size: 10px;
    }
    .btn{
        font-size: 13px;
    }
    .cards{
        display: grid;
        grid-template-columns: auto;
    }
    .card{
        width: 180px;
        height: 200px;
        /* background-color: #131b33; */
       background-color: transparent;
        margin: 30px;
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
    
       
    }
    /* .skils {
        
        width: 100%;
        height: 650px;
    
    } */
    .skills_heading{
        font-size: 35px;
    }
    .skills_heading::before{
        content: "";
        position: absolute;
        bottom: 0px;
        width: 85px;
        left: 5px;
        height: 3px;
        background-color: red;
    }
    .skils {
        width: 100%;
        height: 1050px;
    }
    .skill_logo {
        width: 60px;
        height: 60px;
    }
    .skill_logo p {
       
        font-size: 20px;
       
    }

    .hide_info ul {
        font-size: 13px;
    }
    .info{
        width: 180px;
        height: 200px;
    
    }
    
    .hide_info {
    
        padding: 10px;
    
    }



.hide_info ul{


font-size: 15px;


}
.hide_info ul li{
    text-align: start;
    margin: 5px;

}
.hide_info ul li p{
font-size: 10px;

}
    }