  @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}
body{
    background-color: #1b1f24;
    color:#ffffff;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top:6rem;
}
    /* navigation bar design start here */
.nav{
    display:flex;
    width: 100%;
    align-items: center;
    padding:20px;
    position: fixed;
    top:0px;
    z-index: 1;
    backdrop-filter: blur(100px);
}
.nav h1{
    font-size:30px;
    font-weight: 800;
    color: #13bbff;
    text-align: left;
    padding:0px 20px 0px 40px;
}
/* navigation links design */
.nav-links{
    margin:0px 0px 0px auto;
    word-spacing: 70px;
}
.nav-links a{
    color:white;
    font-size:20px;
    font-weight: 600;
    position:relative;
}

/* link hover effect */
.nav-links a::after{
    content:'';
    position: absolute;
    background-color: #13bbff;
    height:3px;
    width:0px;
    left:0px;
    bottom:-10px;
    transition:width 0.3s;
}
.nav-links a:hover{
    text-shadow: 0px 0px 10px #13bbff;
}
.nav-links a:hover::after{
    width:100%;
}
/* link hover effect end here */
.nav i{
    right:5px;
    padding-right:20px;
    font-size: 30px;
    font-weight:600;
}
.bar{
    visibility: hidden;
    }
.xmark{
visibility: hidden;
}

/* home page design start here */
#home{
scroll-padding-top:10rem;
margin-top:180px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
#home img{
    height:400px;
    width: 400px;
    border-radius: 50%;
    box-shadow: 0px 0px 10px  #13bbff;
    margin-right:100px;
}
.home-content{
    text-align: center;
}
.home-content h4{
font-size:30px;
padding:10px;
}
.home-content h1{
    font-size:40px;
    color:#13bbff;
    }
    .home-content h3{
        font-size:30px;
        padding:10px;
    }
    .home-content a button,.demo-btn{
        width:150px;
     font-size:20px;
     font-weight:bold;
     border-radius:10px;
     background-color: transparent;
     padding:10px;
     position: relative;
     transition: transform 0.1s linear;
     color:white;
     border:3px solid #13bbff;
    }
    .home-content a button span,.demo-btn span{
        position: absolute;
        top:0;
        left:0;
        background-color: #13bbff;
        width:0;
        height: 100%;
        border-radius:8px;
        z-index: -1;
        transition: width 1s linear;
       }
       .home-content a button:hover,.demo-btn:hover{
        transform: scale(1.1);
        box-shadow: 0px 0px 10px #13bbff;
        border:3px solid white;

       }
       .home-content a button:hover span,.demo-btn:hover span{
        width:100%;
       }
       .icons a i{
        font-size: 30px;
        border-radius: 50%;
        color:black;
        margin:20px 10px 0px 0px;
        padding:10px;
        transition: transform 0.1s;
        background-color: #35393e;
       }
       .icons a:first-child i{
        color:blue;
       }
       .icons a i:hover{
        box-shadow: 0px 0px 10px #13bbff;
        transform:scale(1.1);
        border:1px solid white;
       }

       /* about page design start here */
       #about{
        margin-top:80px;
       }
       .about-heading{
margin-bottom:30px;
       }
    #about h1{
        font-size:30px;
        font-weight: 700;
        padding:20px;
        text-align: center;
        color:#13bbff;
    } 
    /* skills and acadamics box design */
    .box1,.box2{
       width:500px;
       border:4px solid gray;
       border-radius: 20px; 
       box-shadow: 0px 0px 10px #13bbff;
    }  
    .box2 div h3{
        font-size:20px;
        padding:10px 20px;
        line-height: 1;
        font-weight: 600;
    }
    .box2 div h4{
        font-size:15px;
        padding:20px 60px;
        line-height: 1;
        font-weight: 600;
    }
    .skills{
        display: flex;
        /* flex-wrap: wrap; */
        justify-content: space-around;
        padding-bottom:10px;
        line-height: 4;
    }
    .about-container{
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }
#about p{
    font-size: 20px;
    text-align: justify;
    margin: auto;
    width: 50%;
    padding:60px 30px;
    line-height: 2;
    text-indent: 30px;
    font-weight: bold;
}

/* project page design start here */
#projects{
    /* margin-top:20px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:#13bbff;

}
#projects > h1{
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    padding:30px;
}
/* side scroll bar design start here */
.wrapper{
    width:100%;
    max-width:1100px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px 0px #13bbff;
    height: 400px;
    border-radius: 10px;
}
#right,#left{
    box-shadow: 0px 0px 5px 0px #13bbff;
    color:white;
    border-radius: 60%;
    padding:0px 10px;
    margin: 0px 5px 0px 5px;
}

.wrapper .slider{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns:calc((100%/3) - 12px);
    gap:16px;
    overflow-x: auto;
    scroll-snap-type:x mandatory;
     scroll-behavior: smooth;
}
.slider::-webkit-scrollbar{
    display: none;
}
.work{
    width:100%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    margin:20px;
    scroll-snap-align: start;
}
.work img{
    width:100%;
    height:350px;
    transition: transform 0.2s;
}
.layer{
    width:100%;
    height:100%;
    background-color: rgba(27, 31, 36,0.5);
    backdrop-filter: blur(30px);
    /* background:linear-gradient(360deg,rgba(128, 222, 139,0.8),#3fbdf7); */
    position: absolute;
    top:100%;
    bottom:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    transition: all 2s;
}
.layer h2{
    padding:10px;
    color: white;
    font-size: 20px;
    text-shadow: 5px 5px 5px black;
}
.layer p{
    font-size: 15px;
    font-weight: bold;
    text-align: justify;
    padding:0px 20px 10px 20px;
    line-height: 2;
    color:white;
}
/* card hover effect up and down */
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    top:0;
}

/* contact page design start here */
#contact{
    margin-top:60px;
}
#contact h1{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    padding:20px;
    color:#13bbff;

}
.contact-page{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}
.contact-links{
    width:300px;
}
.link-center{
    margin-left:40px;
}
.icon-center{
    margin-left:30px;
}
.contact-links h4{
    font-size:20px;
    padding:0px 0px 20px 20px;
}
/* form design start here */
form{
  padding:30px;
  background-color:transparent;
  backdrop-filter: blur(90px);
  box-shadow: 0px 0px 5px 0px black;
  width:130%;
  box-shadow: 0px 0px 10px #13bbff;
  border-radius: 20px;
  margin:30px;
}
form div label{
    font-size: 20px;
    font-weight: bold;
    line-height:2;
}
form input{
    width: 100%;
    font-size:20px;
    padding:10px;
    border:2px solid black;
    border-radius: 10px;
    background-color: transparent;
    color: white;
}
input:focus,textarea:focus{
    border: 2px solid white;
    box-shadow: 0px 0px 10px #13bbff;

}
form textarea{
    color: white;
    background-color: transparent;
    width: 100%;
    height:20vh;
    font-size:20px;
    padding:10px;
    margin-bottom: 20px;
    border:2px solid black;
    border-radius: 10px;
}
/* for laptop device */
@media all and (min-width:900px) and (max-width:1200px){
    /* navigation bar design start here */
    #home{
        margin-top:120px;
    }
.nav{
    display:flex;
    align-items: center;

}
.nav h1{
    font-size:30px;
    font-weight: 800;
    text-align: left;
    padding:0px 20px 0px 40px;
}
.nav-links{
    margin:0px 20px 0px auto;
    word-spacing: 30px;
}
.nav-links a{
    color:white;
    font-size:20px;
    font-weight: 600;
    position:relative;
}
.nav-links a::after{
    content:'';
    position: absolute;
    height:3px;
    width:0px;
    left:0px;
    bottom:-10px;
    transition:width 0.3s;
}
.nav-links a:hover{
    color:gray;
}
.nav-links a:hover::after{
    width:100%;
}
.bar{
    visibility: hidden;
    }
.xmark{
visibility: hidden;
}

/* contact page */
/* contact page design start here */
/* form design start here */
form{
  width:120%;
}
}


/* for taplet device design */
@media all and (min-width:600px) and (max-width:900px){
    #home{
        margin-top:150px;
    }
    .nav-links{
        position: fixed;
        margin:0px 0px 0px 0;
        right:-100%;
        top:70px;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding:0px 20px 20px 20px;
        border-radius: 5px;
        background-color: rgba(27, 31, 36,1);
        box-shadow: 0px 0px 10px #13bbff;
        transition:all 1s;
    }
    .nav i{
        position: fixed;
    }
    .nav-links.active{
        right:0;
    }
    .nav-links a{
        padding-top:30px;
    }
    .bar{
        visibility: visible;
    }

    /* home page desing start */
    #home img{
        height:300px;
        width: 300px;
        border-radius: 50%;
        border:5px solid black;
    }
    .home-content h4{
        font-size:20px;
        padding:10px;
        }
        .home-content h1{
            font-size:30px;
            padding-right: 10px;
            }
            .home-content h3{
                font-size:20px;
                padding:10px;
            }

            /* about page design */
    .about-container .box1{
        margin-bottom:20px;
    }      
    #about p{
        width:90%;
    }
    /* projects design */
    .wrapper  .slider{
        grid-auto-columns:calc((100%/2) - 9px);
    }

    /* contact page */
/* contact page design start here */
/* form design start here */
form{
  width:90%;
}
    
}



/* for mobile device design */
@media all and (min-width:320px) and (max-width:600px){
    #home{
        margin-top:100px;
    }
    .nav i{
        position: fixed;
        transform: translateY(-10px);
    }
    .nav h1{
        font-size:25px;
        font-weight: 800;
        text-align: left;
        padding:0px 20px 0px 0px;
    }
    .nav-links{
        position: fixed;
        margin:0px 0px 0px 0px;
        right:-100%;
        top:65px;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding:0px 20px 20px 20px;
        border-radius: 5px;
        box-shadow: 0px 0px 5px 0px black;
        transition:all 1s;
        background-color: rgba(27, 31, 36,1);
        box-shadow: 0px 0px 10px #13bbff;
    }

    .nav-links.active{
        right:0;
    }
    .nav-links a{
        padding-top:30px;
    }
    .nav i{
        font-size: 20px;
        top:36px;
    }
    .bar{
        visibility: visible;
    }
    
    /* home page design start here */
    #home img{
        height:300px;
        width: 300px;
        border-radius: 50%;
        border:5px solid black;
        margin: auto;
    }
    .home-content h4{
        font-size:20px;
        padding:10px;
        }
        .home-content h1{
            font-size:30px;
            padding-right: 10px;
            }
            .home-content h3{
                font-size:20px;
                padding:10px;
            }
           
            /* about page design */
            .box1,.box2{
margin:10px;
         }
         .skills{
            line-height: 3;
        }
         .box2 div h3{
            font-size:20px;
        }
        .box2 div h4{
            font-size:15px;
                padding:20px 0px 20px 25px;
            }
        
            #about p{
                width:90%;
            }

/* projects design */
.work{
    width:100%;
}
#project{
    margin-top: -50px;
}
            .wrapper .slider{
                grid-auto-columns:100%;
            }
        

            /* contact page */

    /* form design start here */
    
    form{
        margin-top:20px;
        margin-left:15px;
      width:90%;
    }
}
