@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    outline: none;
    border: none;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

bgcolor #081b29
second bgcolor #112e42
text color #ededed
main color #00abf0

html{
    font-size: 18px;
    overflow-x: hidden;
}
body{
   background-color: #081b29;
   color: white;
}
.header{
    position: fixed;
    width: 100%;
    background-color: transparent;
    top: 0;
    left: 0;
    padding: 2rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo{
font-size: 27px;
color: white;
font-weight: 900;
cursor: pointer;
}
.logo:hover{
    color: #0ef;
 }
.navbar a{
    font-size: 20px;
    margin-left: 38px;
    color: #ededed;
    font-weight: 500;
    transition: .3s;
}
.navbar a:hover,
.navbar a.active{
    color: #00abf0;
}
.homecontent{
    display: flex;
    margin-top: 120px;
    column-gap: 40px;
}
span{
    color: #0ef;
}
.home-para{
    margin-left: 30px;
    margin-top: 80px;
    text-align: center;
}
#menu-icon{
    font-size: 38px;
    color: #ededed;
    cursor: pointer;
    display: none;
}
section{
   min-height: 100vh;
   padding: 4rem 10% 2rem;

}
.home{
    display: flex;
    align-items: center;
    padding: 0px 9%;
    margin-top: 30px;
}
 img{
    background: no-repeat;
    background-size: cover;
    background-position: right;
    width: 390px;
    height: 400px;
    margin-bottom: 20px;
} 
.hoveimg-hover{
    position: absolute;
    top: 0;
    right: 0;
    width: 39%;
    height: 100%;
    background-color: transparent;
    transition: .3s;
}
/* .hoveimg-hover:hover{
    background-color: #081b29;
    opacity: .6;
} */
.home-content{
    max-width: 750px;
    margin-top: 38px;
}
.home-content h1{
    font-size: 30px;
    line-height: 1.3;
}
.home-content span{
    font-size: 42px;
}
.home-content p{
    font-size: 18px;
    margin-top: 15px;
}
.btn-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.btn-box .btn{
   padding: 15px 40px;
   border: none;
   outline: none;
   color: #fff;
   cursor: pointer;
   z-index: 0;
   position: relative;
   border-radius: 12px;
   background-color: #161616;
}
.btn::after{
    content: "";
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    left: 0;
    top: 0;
    border-radius: 10px;
}
.btn::before{
    content: "";
    background: linear-gradient(
        45deg,#ff0000,#ff7300,#fffb00,#48ff00,#00ffd5,#002bff,#ff00cb,#ff0000
    );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 600%;
    z-index: -1;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    filter: blur(8px);
    animation: glowing 20s linear infinite;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
    opacity: 0;
}
@keyframes glowing{
    0%{background-position: 0 0;}
    50%{background-position: 400% 0;}
    100%{background-position: 0 0;}
}
.btn:hover::before{
    opacity: 1;
}
.btn:active:active::after{
    background: transparent;
}
.btn:active{
    color: #000;
}
.btn-box .btn2{
    padding: 15px 40px;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    z-index: 0;
    position: relative;
    border-radius: 12px;
    background-color: #161616;
 }
 .btn2::after{
     content: "";
     z-index: -1;
     position: absolute;
     width: 100%;
     height: 100%;
     background-color: #333;
     left: 0;
     top: 0;
     border-radius: 10px;
 }
 .btn2::before{
     content: "";
     background: linear-gradient(
         45deg,#ff0000,#ff7300,#fffb00,#48ff00,#00ffd5,#002bff,#ff00cb,#ff0000
     );
     position: absolute;
     top: -2px;
     left: -2px;
     background-size: 600%;
     z-index: -1;
     width: calc(100% + 4px);
     height: calc(100% + 4px);
     filter: blur(8px);
     animation: glowing 20s linear infinite;
     transition: opacity .3s ease-in-out;
     border-radius: 10px;
     opacity: 0;
 }
 @keyframes glowing{
     0%{background-position: 0 0;}
     50%{background-position: 400% 0;}
     100%{background-position: 0 0;}
 }
 .btn2:hover::before{
     opacity: 1;
 }
 .btn2:active:active::after{
     background: transparent;
 }
 .btn2:active{
     color: #000;
 }
 .btn2{
    margin-right: 388px;
 }
 .socialmedia a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height:45px;
    background-color: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 1.7rem;
    color: #0ef;
    margin:3rem 1rem 1rem 0;
    transition: .3s ;
 }
 .socialmedia a:hover{
    background-color: #0ef;
    color: #081b29;
    box-shadow: 0 0 1rem #0ef;
 }
 /* about section */
 .about{
    background-color:#112e42;
 }
 .about h1{
    text-align: center;
    font-size: 38px;
    margin-bottom: 30px;
 }
 .aboutimg /*img*/{ 
    height: 230px;
    width: 230px;
    margin-left: 430px;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
 }
 .about .aboutimg::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #0c2333;
    z-index:-1;
    transition: .5s;
    border-radius: 50%;
 }
 .about .aboutimg:hover::before{
    width: 100%;
    border-radius: 50%;
 }
.aboutimg img{
    width: 230px;
    height: 230px;
    border: 2px solid #00abf0;
    border-radius: 50%;
    margin-top: 20px;

}
.aboutimg .circle-spin{ 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(0);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border-top: .2rem solid #112e42;
    border-bottom: .2rem solid #112e42;
    border-left: .2rem solid  #00abf0;
    border-right: .2rem solid #00abf0;
}
.about-content{
    text-align: center;
    font-size: 17px;
    margin-top: 30px;
}
.about-content a{
    margin-left: 450px;

}
 .projects{
    background-color: #081b29;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* padding: rem; */
    font-size: 14px;
    /* margin-bottom: 40px; */
}
.projects h2{
    font-size: 38px;
     margin-top: 20px; 
}
.projects .project-row{
   display: flex;
   gap: 2rem;
   margin-top: 25px;
}
.project-row .project-col{
   flex: 1 1 40rem;
}
.project-col .title{
   font-size: 2rem;
   margin: 0 0 1.5rem 2rem;
}
.project-col .project-box{
    border-left: .2rem solid #0ef;
}
.project-box .project-content{
    position: relative;
    padding-left: 2rem;  
    padding-bottom: 20px;
}
.project-box .project-content::before{
    content: "";
    position: absolute;
    top: 0;
    left: -1.1rem;
    width: 2rem;
    height: 2rem;
    background-color: #00ffd5;
    border-radius: 50%;
}
.project-content .content{
    position: relative;
    padding: 30px;
    border: .2rem solid #0c78c0;
    border-radius: .6rem;
    overflow: hidden;
    z-index: 1;
} 
.project-content .content::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #0c2333;
    z-index:-1;
    transition: .5s;
}
.project-content .content:hover::before{
    width: 100%;

}
.project-content .content .year{
    color: #0ef;
}
.project-content .content h3{
    font-size: 17px;
    margin-top: 5px;
}
.project-content .content p{
    font-size: 18px;
    padding-top: 15px;
}
.skills{
    background-color: #112e42;
    padding-bottom: 7rem;
} 
.skillrow{
    display: flex;
    gap: 5rem;
    margin-top: 30px;
}
.skillrow .skillcolumn{
    flex: 1 1 40rem;
}
.skillcolumn .title{
    font-size: 2.1rem;
    margin: 0 0 1.5rem;
}
.skills h2{
    font-size: 2.3rem;
    text-align: center;
    margin-top: 23px;
}
.skillbox .skillcontent{
    border: 3px solid #0c78c0;
    position: relative;
    border-radius: 8px;
    padding: 8px;
    z-index: 1;
    overflow: hidden;
}
.skillbox .skillcontent::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #0c2333;
    z-index: -1;
    transition: .5s;
}
.skillbox .skillcontent:hover::before {
    width: 100%;
}
.skillcontent .progress{
    padding: 8px;
}
.skillcontent .progress h3{
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
}
.skillcontent .progress h3 span{
    color: white;
    font-size: 23px;
}
.skillcontent .progress .bar{
    height: 1.8rem;
    border-radius: .6rem;
    border: .2rem solid #0c78c0;
    padding: 5px;
    margin: 1rem 0;
}
.skillcontent .progress .bar span{
    display: block;
    height: 100%;
    border-radius: .2rem;
    background-color: #00abf0;
}
.skillcolumn:nth-child(1) .skillcontent .progress:nth-child(1) .bar span{
    width: 100%;
}
.skillcolumn:nth-child(1) .skillcontent .progress:nth-child(3) .bar span{
    width: 90%;
}
.skillcolumn:nth-child(2) .skillcontent .progress:nth-child(2) .bar span{
    width: 95%;
}
.skillcolumn:nth-child(1) .skillcontent .progress:nth-child(4) .bar span{
    width: 80%;
}
.skillcolumn:nth-child(2) .skillcontent .progress:nth-child(3) .bar span{
    width: 86%;
}
.skillcolumn:nth-child(2) .skillcontent .progress:nth-child(4) .bar span{
    width: 83%;
}

.contact h2{
     text-align: center;
     margin-top: 10px;
     font-size: 42px;
}
.contact form{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.inputbox{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 30px;
    padding: 10px;
    gap: 20px;
}
.inputbox input{
    display: flex;
    padding: 30px;
    gap: 3px;
    height: 20px;
    width: 370px;
    border-radius: 10px;
    border: 2px solid #00ffd5;
    font-size: 18px;
    background-color: transparent;
    color: white;
}
.inputbox input::placeholder{
    color: white;
}
.contact .textareafield{
    margin-top: 140px;
}
.contact .textareafield textarea{
    width: 764px;
    margin-left: 159px;
    border: 2px solid #00ffd5;
    border-radius: 10px;
    background-color: transparent;
    font-size: 18px;
    padding: 14px 0 0 10px;
    color: white;
    resize: none;
    

}
.contact .textareafield textarea::placeholder{
    color: white;
}
.contact .btnz{
    text-align: center;
    margin-top: 20px;
}
.contact .btnz .submit{
    background-color:#0c78c0;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    border:2px solid #0c2333;
    transition: .5s;
}
.contact .btnz .submit:hover{
background-color: transparent;
border: 2px solid #00ffd5;
cursor: pointer;
}
.contact .inputfield::placeholder:focus{
    top: -8px;
}
.footer{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,auto));
    width: 100vw;
    gap: 4.8rem;
    font-size: 17px;
    padding-top: 360px;
    background-color: #112e42;
    line-height: 32px;
}
.footer .footer-contact3{
    margin-left:30px;
}
.footer .footer-contact2{
    padding-right: 40px;
}
.footer .footer-content .icons{
    color: rgb(202, 37, 65);
    margin-right: 13px;
    margin-bottom: 9px;
    font-size: 30px;
    margin-top: 20px;
}
.footer .footer-content .icons{
    margin-top: 20px;
}
.footer .footer-contact2 a{
    color: rgb(202, 37, 65);
}
.footer .footer-contact a{
    list-style: none;
    color: rgb(202, 37, 65);
}
@media (max-width:768px){
    header #menu-icon{
        float: none;
        text-align: center;
        width: 100%;
    }
}