@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*{
    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: #1f242d;
    --second-bg-color: #323946;
    --text-color: aliceblue;
    --main-color: #0ef;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
    
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.header.sticky{
    border-bottom: .1rem solid rgba(0, 0, 0, 0.2);
}
.logo{
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: default;
}
.navbar a{
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 2.5rem;
    transition: all 0.5s ease;
}
.navbar a:hover{
    color: var(--main-color);
}
.navbar a.active{
    color: var(--main-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}
section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}
.home{
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-content h3{
    font-size: 3.2rem;  
    font-weight: 700;
}
.home-content h3:nth-of-type(2){
    margin-bottom: 2rem;
}
span{
    color: var(--main-color);
}
.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.home-img img{
    width: 30vw;
    padding: 0;
    animation: floatImage 4s ease-in-out infinite;
    border-radius: 50%;
    margin: 10px;
    padding: 10px;
    /* border-image: 0.25rem solid linear-gradient(315deg,#00ccff,#d400d4); */
    border: 2rem inset rgba(0, 0, 0, 0.5);
}
@keyframes floatImage{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-2.4rem);
    }
    100%{
        transform: translateY(0);
    }
}
/* .home-img{
    position: relative;
    width: 35vw;
    height: 35vw;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    overflow: hidden;
}
.home-img::before{
    content: '';
    position: absolute;
    inset: -10px 140px;
    background: linear-gradient(315deg,#00ccff,#d400d4);
    transition: 0.5s;
    animation: animate 4s linear infinite;
}
.home-img:hover::before{
    inset: -20px 0px;
}
@keyframes animate{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
} */
.home-content p{
    font-size: 1.6rem;
}
.name {
    color: #fff; /* Text color */
    font-weight: bold; /* Make the text bold for better visibility */
    text-shadow: 
        1px 1px 0px #000,   /* Subtle 3D effect shadow */
        2px 2px 1px #000,   /* Subtle 3D effect shadow */
        3px 3px 2px #000,   /* Subtle 3D effect shadow */
        0 0 8px rgba(0, 221, 255, 0.6),   /* Blue glow effect */
        0 0 12px rgba(0, 221, 255, 0.6);  /* Blue glow effect */
    transform: translate3d(1px, 1px, 0); /* Slightly 3D transform for depth */
}

.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.5s ease-in-out;
}
.social-media a:hover{
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}
.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    color: var(--second-bg-color);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: .1rem;
    border-radius: 5rem;
    box-shadow: 0 0 1rem var(--main-color);
    transition: 0.5s ease-in-out;
}
.btn:hover{
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 0 1rem var(--main-color);
}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--bg-color);
}

.heading{
    text-align: center;
    font-size: 4.5rem;
}
.about-content{
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 15px;
}
.about-img img{
    width: 25vw;
    margin: 10px;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 20px 10px rgba(0, 150, 255, 0.5); /* Glow effect */
    animation: floatImage 4s ease-in-out infinite;
}
.about-content h2{
    text-align: left;
    line-height: 1.2;
}
.about-content h3{
    font-size: 2.6rem;
}
.about-content p{
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}
a.instagram, a.twitter, a.linkedin, a.nft, a.mirror, a.playstore {
    position: relative;
}
 
a.instagram:hover::after, a.twitter:hover::after, a.linkedin:hover::after, a.nft:hover::after, a.mirror:hover::after, a.playstore:hover::after {
    content: attr(data-title);
    background-color: #00fff7;
    color: #000000;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 14px;
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
}
.skills-box{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.skillls{
    margin: 60px;
    width: 50px;
    height: 40px;
    /* background: cornflowerblue; */
    position: relative;
}
.outer{
    height: 160px;
    width: 160px;
    border-radius: 50%;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
                -6px -6px 10px -1px rgba(255, 255, 255, 0.1);
    padding: 20px;
}
.inner{
    height: 120px;
    width: 120px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
                inset -4px -4px 6px -1px rgba(255, 255, 255, 0.1),
                -0.5px -0.5px 0px rgba(255, 255, 255, 0.1),
                0.5px 0.5px 0px rgba(0, 0, 0, 0.15),
                0px 12px 10px -10px rgba(0, 0, 0, 0.05);
}
#number{
    font-weight: 600px;
    color: aliceblue;
}
.services{
    margin-bottom: 5rem;
}
.services-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.services-container .services-box{
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    margin-top: 1.2rem;
    transition: all 0.5s ease;
}
.services-container .services-box:hover{
    background: var(--bg-color);
    transform: scale(1.025,1.025);
    box-shadow: 0 0 1rem var(--main-color);
}
.services-box i{
    font-size: 4.5rem;
    color: var(--main-color);
}
.services-box h3{
    font-size: 1.8rem;
}
.services-box p{
    font-size: 1.3rem;
    margin: 1rem 0 3rem;
}
#openSeaIcon{
    font-size: 1.5rem;
    color: var(--main-color);
}
.portfolio{
    background: var(--second-bg-color);
}
.portfolio-box img{
    width: 100%;
    transition: all .5s ease-in-out;
}
.portfolio-box:hover img{
    transform: scale(1.1);
    filter: blur(10px);
}
.portfolio h2{
    margin-bottom: 4rem;
}
.portfolio-container{
    display: grid;
    grid-template-columns: repeat(2,.5fr);
    align-items: center;
    gap: 2.5rem;
}
.portfolio-container .portfolio-box{
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: 0 0 1.2rem var(--bg-color);
    display: flex;
    transition: all 0.5s ease;
}
.portfolio-box .portfolio-layer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,rgba(0,0,0,.1),rgb(0, 10, 31),rgba(0,0,0,.1));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: all 0.5s ease-in-out;
}
.portfolio-box:hover .portfolio-layer{
    transform: translateY(0);
    cursor: pointer;
    box-shadow: 0 0 1rem var(--main-color);
}
.portfolio-layer h4{
    font-size:3rem;
}
.portfolio-layer p{
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}
.portfolio-layer a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
    transition: all .5s ease-in-out;
}
.portfolio-layer a:hover{
    box-shadow: 0 0 5rem var(--main-color);
    transform: rotate(180deg);
}
.portfolio-layer h4{
    font-size: 3rem;
}
.contact h2{
    margin-bottom: 3rem;
}
.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
.contact form .input-box{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
    transition: all 0.5s ease;
}
.contact form .input-box input{
    width: 49%;
}
.contact form textarea{
    resize: none;
}
.contact form .btn{
    margin-top: 2rem;
    cursor: pointer;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--second-bg-color);
}
.footer-text p{
    font-size: 1.6rem;
}
.footer-iconTop a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    transition: all 0.5s ease;
}
.footer-iconTop a:hover{
    background: var(--main-color);
    border-radius: .8rem;
    box-shadow: 0 0 1rem var(--main-color);
}
.footer-iconTop a i{
    font-size: 2.4rem;
    color: var(--text-color);
}
::-webkit-scrollbar {
    width: 3px;
}
  
::-webkit-scrollbar-track {
    background:  linear-gradient(0deg, rgb(0, 251, 255) 0%, rgb(86, 0, 81) 100%);
}
  
::-webkit-scrollbar-thumb {
    background: transparent;
    box-shadow: 0px 0px 0px 100000vh black;
}

/* Breakpoints */
@media (max-width:1200px){
    html{
        font-size: 55%;
    }
}
@media (max-width:991px){
    .header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3% 2rem;
    }
    .services{
        padding-bottom: 7rem;
    }
    .portfolio{
        padding-bottom: 7rem;
    }
    .contact{
        min-height: auto;
    }
    .footer{
        padding: 2rem 3%;
    }
}
@media (max-width: 768px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0,0,0,0.2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.2);
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    .home{
        flex-direction: column;
    }
    .home-content h3{
        font-size: 2.5rem;
    }
    .home-content h1{
        font-size: 5rem;
    }
    .home-img img{
        width: 60vw;
        margin-top: 4rem;
    }
    .about{
        flex-direction: column-reverse;
    }
    .about-img img{
        width: 50vw;
        align-items: center;
        justify-content: center;
        margin-top: 4rem;
    }
    .services h2{
        margin-bottom: 3rem;
    }
    .portfolio h2{
        margin-bottom: 3rem;
    }
    .portfolio-container{
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width:617px){
    .portfolio-container{
        grid-template-columns: 1fr;
    }
}
@media (max-width:450px){
    html{
        font-size: 50%;
    }
    .contact form .input-box input{
        width: 100%;
    }
}
@media (max-width: 365px){
    .home-img{
        width: 90vw;
    }
    .about-img{
        width: 90vw;
    }
    .footer{
        flex-direction: column-reverse;
    }
    .footer p{
        text-align: center;
        margin-top: 2rem;
    }
}