*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins",sans-serif;
}
:root{
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #00ffee;
}
html{
    font-size: 60%;
    overflow-x: hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4rem 12% 4rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}
.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}
.logo:hover{
    transform: scale(1.1);
}
.logo span{
    text-shadow: 0 0 25px var(--main-color);
}
.navbar a{
    font-size: 1.8rem;
    color:var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}
.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}
section{
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}
.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}
.home-content{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
}
span{
    color: var(--main-color);
}
.logo span{
    color: var(--main-color);
}
@keyframes trans1{
    from{
        opacity: 0;
        transform: translateX(-100%);
    }
    top{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes trans2{
    from{
        transform: translateX(100%);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes trans3{
    0%{
        transform: scale(0);
        opacity: 0;
    }
    50%{
        opacity: 0.5;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes trans4{
    0%{
        transform: translateY(-100%);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes trans5{
    0%{
        transform: translateY(100%);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
    animation: trans1 1.5s ease-out forwards;
}
.home-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
    animation: trans4 1.5s ease-out forwards;
}
.home-img{
    border-radius: 50%;
    animation: trans3 1s linear;
}
.home-img img{
    position: relative;
    top: 3rem;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}
.home-content p{
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
    text-indent: 1rem;
    animation: trans1 1.5s linear;
}
.home-content p:nth-of-type(2){
    padding-top: 0.5rem;
    text-indent: 0;
}
.home-content p:nth-of-type(3){
    text-align: right;
}
.social-icons{
    animation: trans1 1.5s linear;
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}
.social-icons a:hover{
    color: var(--text-color);
    transform: scale(1.3) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}
.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}
.btn-group{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: trans5 1.5s linear;
}
.btn-group a:nth-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
}
.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
}
.text-animation{
    font-size: 34px;
    font-weight: 600;
    min-width: 300px;
}
.text-animation span{
    position: relative;
}
.text-animation span::before{
    content: "Web Development";
    color: var(--main-color);
    animation: words 20s infinite;
}
.text-animation span::after{
    content: "";
    background-color: var(--bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--bg-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}
@keyframes cursor{
    to{
        border-left: 2px solid var(--main-color);
    }
}
@keyframes words{
    0%,
    20%{
        content: "Web Development";
    }
    21%,
    40%{
        content: "App Development";
    }
    41%,
    60%{
        content: "Coding Projects";
    }
    61%,
    80%{
        content: "Portfolio Building";
    }
    81%,
    100%{
        content: "UI/UX Designing";
    }
}
@keyframes typing{
    10%,
    15%,
    30%,
    35%,
    50%,
    55%,
    70%,
    75%,
    90%,
    95%{
        width: 0;
    }
    5%,
    20%,
    25%,
    40%,
    45%,
    60%,
    65%,
    80%,
    85%{
        width: calc(100% + 8px);
    }
}
.heading{
    font-size: 6rem;
    text-align: center;
    margin: 5rem 0;
}
.about{
    background: var(--second-bg-color);
}
.about-content{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}
.about-info{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: left;
    animation: trans2 linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}
.about-info .btn{
    box-shadow: 0 0 0 0;
    background-color: black;
    color: var(--main-color);
    margin-left: 0;
    margin-top: 1.2rem;
}
.about-info .btn:hover{
    background-color: var(--main-color);
    color: black;
}
.about-img{
    animation: trans1 linear;
    animation-timeline: view();
    animation-range: entry 0 cover 30%;
}
.about-img img{
    border-radius: 50%;
    position: relative;
    width: 25vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.about-content p{
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
    text-indent: 2.5rem;
}
::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
    border-radius: 1rem;
}
::-webkit-scrollbar-track{
    background-color: var(--bg-color);
    width: 50px;
}
.vision{
    background-color: var(--bg-color);
    color: black;
}
.vision h2{
    color: white;
}
.vision-content{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 2.5rem;
}
.vision-box{
    background-color: var(--main-color);
    min-height: 200px;
    border-radius: 3rem;
    border: 5px solid transparent;
    cursor: pointer;
    transition: 0.4s ease-in-out;
    animation: trans1 linear;
    animation-timeline: view();
    animation-range: entry 0 cover 30%;
}
.vision-box:nth-child(2),.vision-box:nth-child(4){
    animation: trans2 linear;
    animation-timeline: view();
    animation-range: entry 0 cover 30%;
}
.vision-box:hover{
    background: white;
    color: black;
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}
.vision-box .vision-info{
    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: 200px;
    justify-content: left;
    align-items: baseline;
    padding: 2.5rem 5rem;
}
.vision-info h4{
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 2;
}
.vision-info p{
    font-size: 1.6rem;
    font-weight: 600;
    min-height: 100px;
    line-height: 1.7;
    margin: auto;
}
.project{
    background-color: var(--second-bg-color);
}
.project-box{
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.project .heading{
    margin-bottom: 5rem;
}
.project-box img{
    width: 100%;
    border-radius: 1rem;
}
.count-box{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
    padding: 3em 2em;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 5rem;
}
.counter{
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    padding: 1.5rem;
    border: solid;
    border-width: 2px;
    border-radius: 20px;
    border-color: var(--main-color);
    transition: all 0.35s ease-in-out;
    animation: trans1 linear;
    animation-timeline: view();
    animation-range: entry 0 cover 30%;
}
.counter:nth-child(2){
    animation: trans2 linear;
    animation-timeline: view();
    animation-range: entry 0 cover 30%;
}
.counter:hover{
    background-color: var(--main-color);
    color: black;
    border-color: black;
}
.counter h2{
    font-size: 2rem;
}
.counter span, .counter h1{
    font-size: 4rem;
    font-weight: bold;
    color: grey;
}
.wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}
.project-item{
    max-width: 450px;
    background-color: rgb(0, 0, 0, 0.7);
    border: 3px solid var(--main-color);
    border-radius: 4rem;
    margin: 0 1rem;
    padding: 20px 35px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    color: white;
    transition: 0.4s ease-in-out;
    animation: trans3 linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}
.project-item video{
    width: 100%;
    border-radius: 30px;
}
/*.project-item:hover{
    border: 3px solid var(--main-color);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 50px var(--main-color);
}*/
.project-item h2{
    font-size: 2.4rem;
}
.project-item p{
    font-size: 1.3rem;
}
.wrapper .pt-icon{
    width: 3rem;
    height: 3rem;
    display: inline-block;
    overflow: hidden;
    background: var(--main-color);
    color: black;
    border: none;
    border-radius: 30px;
    align-self: self-end;
    transition: all 0.3s ease-out;
}
.wrapper .pt-icon:hover{
    width: 10rem;
}
.wrapper .pt-icon .iconpt{
    display: inline-block;
    text-align: center;
    height: 3rem;
    width: 3rem;
    line-height: 3rem;
}
.wrapper .pt-icon .iconpt i{
    font-size: 2rem;
    line-height: 3rem;
}
.wrapper .pt-icon span{
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.7rem;
    margin: 0 3px 2px;
    color: black;
}
#proj-video{
    width: 200px;
    border-radius: 4rem;
    margin: 0;
    padding: 1rem 0;
}

@media(max-width:1285px){
    html{
        font-size: 55%;
    }
    .services-container{
        padding-bottom: 7rem;
        grid-template-columns: repeat(2,1fr);
        margin: 0 5rem;
    }
}
@media(max-width:991px) {
    header{
        padding: 2rem 3%;
    }
    .home{
        gap: 7rem;
    }
    .home-content h1{
        font-size: 8rem;
    }
    section{
        padding: 10rem 3% 2rem;
    }
    section .home{
        padding: 5rem 3% 2rem;
    }
    .about-content{
        gap: 7rem;
    }
    .vision{
        padding-bottom: 7rem;
    }
    .project .wrapper{
        grid-template-columns: repeat(2,1fr);
    }
    .contact .contact-content{
        grid-template-columns: repeat(2,1fr);
    }
    .footer{
        padding: 2rem 3%;
    }
}
@media(max-width:833px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        width: 50%;
        padding: 1rem 3%;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 2rem 0;
        color: white;
    }
    .heading{
        margin: 3rem auto;
    }
    .home{
        flex-direction: column-reverse;
        margin: 3rem 2rem;
    }
    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content h1{
        font-size: 6rem;
        margin-top: 1rem;
    }
    .home-content p{
        max-width: 600px;
        margin: 0 auto;
    }
    .home-img img{
        width: 56vw;
    }
    .about-content{
        flex-direction: column;
        margin: 3rem 2rem;
        gap: 5rem;
    }
    .about-img{
        animation-range: entry 0% cover 25%;
    }
    .about-img img{
        width: 50vw;
    }
    .about-info{
        animation-range: entry 0% cover 25%;
    }
    .vision h2{
        margin-bottom: 3rem;
    }
    .vision-content{
        grid-template-columns: repeat(1,1fr);
    }
    .count-box{
        grid-template-columns: repeat(1,1fr);
    }
    .project .wrapper{
        grid-template-columns: repeat(1,1fr);
    }
    .contact .contact-content{
        grid-template-columns: repeat(1,1fr);
        margin: 3rem 2rem;
        gap: 2.5rem;
    }
    .contact-p{
        animation-range: entry 0% cover 25%;
    }
    .service{
        animation-range: entry 0% cover 25%;
    }
    .contact .footer{
        padding: 2%;
    }
}
.contact{
    min-height: 90vh;
    padding-top: 5rem;
}
.contact-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.service{
    border: 2px solid white;
    border-radius: 2.5rem;
    animation: trans1 linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}
.service h3{
    font-size: 2.5rem;
    font-weight: 650;
    color: var(--main-color);
    margin: 2rem;
}
.service ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 1.6rem;
    font-weight: 500;
    gap: 1.7rem;
    list-style: none;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: center;
}
.service li{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: var(--second-bg-color);
    border: 2px solid var(--second-bg-color);
    border-radius: 2.5rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.service li:hover{
    background-color: var(--main-color);
    color: black;
}
.contact-p{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--second-bg-color);
    color: white;
    border-radius: 2rem;
    padding: 2rem;
    gap: 2.3rem;
    animation: trans2 linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}
.contact-p p{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 2rem;
}
#cp1{
    text-indent: 1.5rem;
}
.footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--bg-color);
}
.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color: var(--main-color);
}
.footer .social a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease-in-out;
}
.footer .social a:hover{
    transform: scale(1.2) translateY(-10px);
    background-color: var(--main-color);
    color: black;
    box-shadow: 0 0 25px var(--main-color);
}
.footer ul{
    margin-top: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}
.footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}
.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}
.footer ul li{
    display: inline-block;
    padding: 0 15px;
}
.footer .copyright{
    margin-top: 50px;
    text-align: center;
    font-size: 16px;
    color: white;
}
.last-text{
    text-align: center;
    padding: 20px;
    margin-bottom: 0;
}
.last-text p{
    color: #555;
    font-size: 14px;
    letter-spacing: 1px;
}