:root{
    --color: rgb(0, 185, 0);
    --black: #0d0d0d;
    --light-bg: #1a1a1a;
    --white: #fff;
    --light-color: rgb(149, 149, 149);
    --box-shadow: 0 0.5rem 1rem rgb(0, 0, 0, 0.6);
}
*{
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
    text-transform: capitalize;
    text-decoration: none;
    list-style: none;
    font-family: "poppins", sans-serif;
    transition: 0.5s;
    scroll-behavior: smooth;
    /* overflow-Y: hidden; */
    /* background-color: wheat; */
}
*::selection{
    background-color: var(--color);
    color: var(--white);
}
html::-webkit-scrollbar{
    width: 1rem;
    height: 2rem;
 }
 
 html::-webkit-scrollbar-track{
    background-color: transparent;
 }
 
 html::-webkit-scrollbar-thumb{
    background-color: var(--color);
    /* border-radius: 30px; */
 }

.navbar{
    width: 100%;
    position: fixed;
    z-index: 1000;
    background-color: rgb(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10%;
    box-shadow: 0px 10px 20px rgb(0, 0, 0, 0.2);
}
.navbar .logo h1{
    font-size: 30px;
    letter-spacing: 1px;
    cursor: pointer;
    color: #0d0d0d;
}
.navbar .logo h1 span{
    color: var(--color);
}
.navbar ul{
    position: relative;
}
.navbar ul li{
    display: inline-block;
    position: relative;
}
.navbar ul li a{
    padding: 0px 15px;
    font-size: 18px;
    /* letter-spacing: 1px; */
    color: #0d0d0d;
    font-weight: bold;
    transition: 0.5s ease;
}
.navbar ul li a i{
    margin-right: 10px;
    color: var(--color);
}
.navbar ul li a:hover{
    color: var(--color);
}
.navbar ul li a span::before{
    content: "";
    position: absolute;
    bottom: -3px;
    right: 15px;
    background-color: var(--color);
    width: 80%;
    height: 3px;
    opacity: 0;
    transition: 0.2s linear;
}
.navbar ul li:hover a span::before{
    opacity: 1;
    bottom: -11px;
}
.navbar input, .navbar label{
    display: none;
}

@media (max-width:1000px){
    .navbar{
        padding: 20px 3%;
    }
}
@media (max-width:800px){
    .navbar label{
        display: block;
    }
    .navbar label::before{
        content: "\2261";
        font-size: 40px;
    }
    .navbar input:checked + label::before{
        content: "\00d7";
    }
    .navbar ul{
        position: absolute;
        top: 100%;
        left: 0; right: 0%;
        height: 400px;
        /* display: block; */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        /* margin: 50px 0px; */
        gap: 50px;
        padding: 0%;
        text-align: center;
        background-color: rgb(245, 245, 245, 0.8);
        opacity: 0;
        transform: scale(0);
        transition: 0.5s ease;
    }
    .navbar input:checked ~ ul{
        opacity: 1;
        transform: scale(1);
    }
}

.home{
    min-height: calc(100vh);
    background: linear-gradient(rgb(0, 0, 0, 0.5), rgb(0, 0, 0, 0.5))
    , url(hm.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.home .box{
    position: relative;
    top: 40vh;
    padding-left: 10%;
    color: #fff;
    /* text-align: center; */
}
.home .box .heading{
    margin-bottom: 10px;
    color: var(--white);
    /* text-align: center; */
    font-size: 23px;
}
.home .box .content h2{
    color: var(--color);
    margin-bottom: 30px;
    font-size: 30px;
}
.home .box .content p{
    width: 550px;
    font-size: 20px;
    color: var(--light-color);
    letter-spacing: 1px;
    line-height: 25px;
    margin-bottom: 30px;
}
.btn{
    padding: 15px 25px;
    font-size: 20px;
    background-color: var(--color);
    border-radius: 30px;
    margin-bottom: 80px;
    color: rgb(246, 246, 246);
    font-weight: bold;
    transition: 0.5s ease;
}
.btn i{
    margin-left: 10px;
}
.btn:hover{
    color: white;
    letter-spacing: 1.5px;
}
@media (max-width:1000px){
    .home .box{
        padding-left:3%;
    }
}
@media (max-width:800px){
    .home .box .heading{
        font-size: 18px;
    }
    .home .box .content h2{
        font-size: 25px;
    }
    .home .box .content p{
        font-size: 17px;
        width: 400px;
    }
}
@media (max-width:500px){
    .home .box .heading{
        font-size: 14px;
    }
    .home .box .content h2{
        font-size: 20px;
        /* margin-bottom: 16px; */
    }
    .home .box .content p{
        font-size: 15px;
        width: 400px;
        /* line-height: 22px; */
    }
    .home .box{
        top: 43vh;
    }
}
@media (max-width:390px){
    .navbar label{
        margin-right: 20px;
    }
    .home .box .content p{
        width: 350px;
    }
    .home .box{
        top: 35vh;
    }
}

.about-me{
    margin: 150px 0px;
    padding: 0px 4%;
}
.head{
    margin-bottom: 150px;
    text-align: center;
    font-size: 40px;
}
.head span{
    color: var(--color);
}

.about-me .box2{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* gap: 100px; */
}
.about-me .con{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.about-me .info{
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: bold;
}
.about-me .con h3{
    margin: 20px 0px;
    color: var(--light-color);;
}
.about-me .con h3 span{
    font-weight: lighter;
    color: #0d0d0d;
    margin-left: 10px;
    /* letter-spacing: 1px */
}
.about-me .con{
    margin-bottom: 20px;
}
.about-me .con2{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    gap: 30px;
}
.about-me .lef{
    /* background-color: #aaa; */
    box-shadow: 0px 5px 50px rgb(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 50px;
    border-radius: 10px;
    transition: 0.5s ;
}
.about-me .lef h1{
    font-size: 40px;
    color: var(--color);
    margin-bottom: 10px;
}
.about-me .lef span{
    font-size: 20px;
}
.about-me .r{
    /* background-color: #aaa; */
    box-shadow: 0px 5px 50px rgb(0, 0, 0, 0.1);
    padding: 30px;
    /* margin-bottom: 50px; */
    border-radius: 10px;
    transition: 0.5s ;
}
.about-me .r h1{
    font-size: 40px;
    color: var(--color);
    margin-bottom: 10px;
}
.about-me .r span{
    font-size: 20px;
}
.about-me .lef:hover{
    transform: translateY(-10px);
}
.about-me .r:hover{
    transform: translateY(-10px);
}


@media (max-width: 1140px){
    .about-me{
        /* margin: 150px 0px; */
        padding: 0px 20px;
    }
    .about-me .con2-left{
        padding-top: 40px;
    }
}
@media (max-width: 1140px){
    .about-me .lef{
        padding-right: 120px;
        padding-bottom: 70px;
    }
    .about-me .r{
        padding-bottom: 70px;
    }
    .about-me .info{
        font-size: 40px;
    }
    .about-me .con h3{
        font-size: 22px;
    }
}
@media (max-width: 695px){
    .about-me{
        /* text-align: center; */
        padding-left: 25%;
    }
}
@media (max-width: 530px){
    .about-me{
        /* text-align: center; */
        padding-left: 5%;
    }
}

.more{
    margin: 100px 0px;
    transition: all 1s;
    padding: 0px 1%;
    /* gap: 4rem; */
}
.more .box3{
    gap: 5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap-reverse;
}
.more .imgbx img{
    width: 400px;
}
.more .para p{
    font-weight: lighter;
    text-transform: uppercase;
    width: 550px;
    text-align: justify;
    line-height: 25px;
    letter-spacing: 1px;
    font-size: 18px;
    color: var(--light-color);
    /* margin: 10px 0px; */
}
@media (max-width: 1050px){
    .more .imgbx img{
        width: 350px;
    } 
    .more .para p{
        font-size: 16px;
    }
}
@media (max-width: 1000px){
    .more .imgbx img{
        width: 300px;
    }
    .more .para p{
        font-size: 15px;
        /* line-height: 20px; */
    }
}
@media (max-width: 945px){
    .more .box3{
        padding-left: 20%;
    }
}
@media (max-width: 768px){
    .more .box3{
        padding-left: 15%;
    }
}
@media (max-width: 695px){
    .more .box3{
        padding-left: 15%;
    }
    .more .para p{
        /* font-size: 15px; */
        width: 450px;
        /* line-height: 20px; */
    }
}
@media (max-width: 600px){
    .more .box3{
        padding-left: 10%;
    }
}
@media (max-width: 575px){
    .more .para p{
        font-size: 15px;
        width: 550px;
        /* line-height: 20px; */
    }
}
@media (max-width: 527px){
    .more .para p{
        font-size: 14px;
        width: 330px;
        /* line-height: 20px; */
    }
}

.skills{
    margin: 100px;
    /* padding: 0px 3%; */
}
.skills .box4{
    text-align: center;
    /* position: relative; */
    /* display: flex;
    flex-direction: column;
    gap: 100px; */
}
.skills h3 meter{
    width: 600px;
    height: 30px;
    color: var(--color);
    /* position: relative; */
    /* background-color: var(--color); */
}
.skills h3 meter::-webkit-meter-bar{
    color: var(--color);
    /* width: 100px; */
    height:15px;
    border-radius: none;
    border:none;
    /* position: relative; */
    margin-left: 20px;
}
.skills h3{
    margin-bottom:50px;

}

@media (max-width:945px){
    .skills h3 meter{
        width: 450px;
    }
}
@media (max-width:800px){
    .skills h3 meter{
        width: 350px;
    }
}
@media (max-width:695px){
    .skills h3{
        font-size: 15px;
        padding: 0%;
        /* margin:0%; */
        margin-left: 0px;
    }
}
@media (max-width:500px){
    .skills h3 meter{
        width: 250px;
    }
}

.box4-sec{
    margin-top: 200px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
}
.box4-sec .one{
    width: 350px;
    height: 300px;
    box-shadow: 0px 0px 50px rgb(0, 0, 0, 0.1);
}
.box4-sec .one:hover{
    transform: translateY(-10PX);
}
.box4-sec .one img{
    width: 200px;
    padding-top: 15px;
}
.box4-sec .one h4{
    padding-bottom: 15px;
    font-size: 25px;
}
@media (max-width:700px){
    .box4-sec .one{
        width: 550px;
    }
}
@media (max-width:450px){
    .box4-sec .one{
        width: 650px;
    }
}
.profile{
    margin: 400px 0px;
}
.containe{
    margin: 50px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.containe .box1{
    position: relative;
    width: 400px;
    height: 400px;
    /* background-color: #000b29; */
    /* border: 1px black solid; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0px 0px 40px
     rgb(0, 0, 0, 0.5);
     /* gap: 30px; */
}
.containe .box1::before{
    content: "";
    position: absolute;
    width: 250px;
    height: 500px;
    background-color: var(--color);
    border-radius: 50%;
    transition: 1s;
    animation: rotate 2s linear infinite;
}
@keyframes rotate{
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
}

.containe .box1::after{
    content: "";
    position: absolute;
    width: 98%;
    height: 98%;
    border-radius: 50%;
    background-color: whitesmoke;
    transition: 1s;
    /* transition-delay: 0.5s; */
}
.containe .box1 img{
    position: absolute;
    z-index: 1;
    width: 90%;
    border-radius: 50%;
    opacity: 1;
    transform: scale(1);
    /* border: 2px black solid; */
    transition: 0.5s;
    transition-delay: 0.2s;
}
.containe .box1:hover img{
    opacity: 0;
    transform: scale(0);
    /* transition-delay: 0.3s; */
}
.containe .box1:hover::before{
    width: 100%;
    /* height: 100%; */
    transition-delay: 0.5s;
    transition: 1s;
}
.containe .box1 .content{
    /* margin: 20px; */
    /* padding: 50px; */
    position: relative;
    z-index: 2;
    /* flex-direction: column; */
    text-align: center;
    gap: 50px;
    opacity: 0;
    transform: scale(0);
    transition-delay: 0.3s;
    color: rgba(0, 0, 0, 0.7);
}
.containe .box1 .content h2{
    /* margin-bottom: 0px; */
    font-size: 50px;
    letter-spacing: 1px;
}
.containe .box1 .content span{
    font-size: 25px;
    /* padding: 50px; */
    margin-top: 30px;
}
.containe .box1 .content button{
    margin-top: 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 20px;
    padding: 15px 30px;
    background-color: var(--color);
    border-radius: 30px;
    border: none;
    cursor: pointer;
}
.containe .box1 .content button:hover{
    letter-spacing: 2px;
}
.containe .box1:hover .content{
    opacity: 1;
    transform: scale(1);
    /* transition-delay: 0.3s; */
}
@media (max-width:400px){
    .containe .box1{
        width: 320px;
        height: 330px;
    }
}


.portfolio{
    margin: 200px 0;
}
.portfolio .box5{
    position: relative;
    width: 320px;
    height: 460px;
    box-shadow: 0px 0px 30px rgb(0, 0, 0, 0.2);
    border-radius: 10px;
}
.portfolio .box5:hover{
    transform: translateY(-20px);
}
.portfolio .box5 img{
    width: 90%;
    position: absolute;
    left: 5%;
    top: 5%;
}
.portfolio .para2 p{
    position: absolute;
    top: 55%;
    padding: 0px 20px;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 22px;
    color: var(--light-color);
    /* text-transform: uppercase; */
    text-align: center;
} 

.learn{
    color: white;
    background-color: var(--color);
    border-radius: 30px;
    padding: 12px 20px;
    position: absolute;
    bottom: 18px;
    left: 30%;
    font-weight: bold;

}
.learn:hover{
    letter-spacing: 1.5px;
}
.portfolio .big{
    display: flex;
    align-self: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 50px;
}

@media (max-width:665px){
    .portfolio .box5{
        width: 420px;
        height: 560px;
    }
}
@media (max-width:400px){
    .portfolio .box5{
       margin: 0px 5%;
    }
}
@media (max-width:480px){
    .portfolio .box5
    {
        width: 350px;
        height: 500px;
}
}

.contact{
    margin: 200px 0px;
    padding: 0px 3%;
}

.contact .box6{
    display: flex;
    align-items: center;
    /* justify-content: space-around; */
    flex-direction: column;
    flex-wrap: wrap;
    gap: 100px;
}
.contact .social{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 70px;
}
.social .infom h5{
    font-size: 40px;
}
.social .so h1 i{
    color: var(--color);
    margin-right: 15px;
}
.social .so h1 span{
    color: var(--light-color);
    letter-spacing: 1px;
    font-size: 30px;
}
.social .so a{
    color: #0d0d0d;
    margin-left: 35px;
    margin-top: 15px;
    position: relative;
    top: 10px;
    /* background-color: aqua; */
    letter-spacing: 1px;
}
.social .so a:hover{
    color: blue;
    text-decoration: underline;
}
@media (max-width:1050px){
    .social iframe{
        width: 800px;
    }
    .contact{
        padding: 0px 0%;
    }
}
@media (max-width:800px){
    .social iframe{
        width: 550px;
    }
    .contact{
        padding: 0px 2%;
    }
}
@media (max-width:600px){
    .social iframe{
        width: 400px;
        height: 450px;
    } 
}
@media (max-width:400px){
    .contact{
        padding: 0px 2%;
    }
    .social iframe{
        width: 350px;
        height: 400px;
    } 
}



.register{
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid black; */
    width: 500px;
    height: 600px;
    position: relative;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
    box-shadow: 0px 0px 50px rgb(0, 0, 0, 0.2);

}
.register::before{
    content: "";
    position: absolute;
    width:300px;
    height: 800px;
    background-color: var(--color);
    animation: rotate 3s linear infinite;
}
@keyframes rotate{
    0%{ transform: rotate(0deg); }
    0%{ transform: rotate(360deg); }
}
.register::after{
    position: absolute;
    content: "";
    width: 99%;
    height: 99%;
    background-color: #ffffff;
}
.register .content{
    position: relative;
    z-index: 1;
    width:300px;
    height: 800px;
    color: white;
}
.register .content h2{
    margin: 40px 0px;
    color: #0d0d0d;
}
.register #name{
    width: 300px;
    height: 40px;
    margin: 5px 0px;
    background-color: transparent;
    transform: scaleY(01);
    border: none;
    font-size: 20px;
    border-bottom: 2px solid var(--color);
}
.register #name:focus{
    outline: none;
    background-color: var(--color);
    transform: scaleY(1.2);
    font-size: 20px;
    color: black;
    font-weight: 600;
    padding-left: 10px;
    text-transform: uppercase;
}
.register #name::-webkit-input-placeholder{
    font-size: 20px;
    position: absolute;
    left: 0px;
    top: 5px;
    opacity: 1;
    transition: 0.7s;
    /* padding-left: 10px; */
}
.register #name:focus::-webkit-input-placeholder{
    /* position: absolute; */
    left: 30px;
    opacity: 0;
}
.register #submit{
    padding: 12px 30px;
    margin-top: 20px;
    background-color: var(--color);
    border: none;
    color: white;
    font-size: 20px;
    font-weight: 600;
}
#submit:hover{
    background-color: rgb(0, 255, 128);
    cursor: pointer;
    color: white;
}

@media (max-width:600px){
    .register{
        width: 400px;
    }
}
@media (max-width:400px){
    .register{
        width: 360px;
        /* padding-left: 10px; */
    }
}


.foot{
    background: url(foot.jpg);
    background-position: center;
    background-size: cover;
    margin-top: 200px;
    box-shadow: 0px -5px 20px rgb(0, 0, 0, 0.1);
}
.foot .big2{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0px 3%;
}
.foot .big2 ul li{
    margin: 25px;
}
.foot .big2 ul li a{
    color: var(--light-bg);
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 17px;
    display: block;
}
.foot .big2 ul li a:hover{
    transform: translateX(5px);
    /* color: #fff; */
}
.foot .big2 ul li a i{
    color: var(--color);
    margin-right: 20px;
}
.lin h1{
    position: relative;
    left: 20px;
    margin-top: 15px;
}
footer .copy h3{
     text-align: center;
     padding: 10px 0px;
     letter-spacing: 1px;
     font-weight: bold;
     color: var(--light-color);
     font-size: 15px;
}
@media (max-width:500px){
    footer .copy h3{
        font-size: 13px;
    }
}