@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap');

body{
    background-color:#040D12;
    font-family: poppins;
    position: relative;
    overflow-x: hidden;
}

/* Floating code snippets */
.code-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    color: rgba(185, 217, 248, 0.1);
    overflow: hidden;
}

.code-line {
    position: absolute;
    white-space: nowrap;
    animation: floatCode 20s linear infinite;
}

.code-line:nth-child(1) {
    top: 10%;
    left: -100%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.code-line:nth-child(2) {
    top: 30%;
    left: -100%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.code-line:nth-child(3) {
    top: 50%;
    left: -100%;
    animation-delay: 10s;
    animation-duration: 28s;
}

.code-line:nth-child(4) {
    top: 70%;
    left: -100%;
    animation-delay: 15s;
    animation-duration: 32s;
}

.code-line:nth-child(5) {
    top: 85%;
    left: -100%;
    animation-delay: 8s;
    animation-duration: 26s;
}

@keyframes floatCode {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateX(calc(100vw + 100%));
        opacity: 0;
    }
}

/* Floating shapes with code symbols */
.shape {
    position: fixed;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    font-family: 'Fira Code', monospace;
    font-size: 80px;
    font-weight: bold;
    color: #B9D9F8;
}

.shape1 {
    top: 5%;
    left: 8%;
    animation: float 10s ease-in-out infinite;
}

.shape2 {
    top: 15%;
    right: 12%;
    animation: float 12s ease-in-out infinite reverse;
}

.shape3 {
    bottom: 20%;
    left: 10%;
    animation: float 11s ease-in-out infinite;
}

.shape4 {
    top: 45%;
    right: 15%;
    animation: float 13s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-40px) rotate(10deg);
    }
}

/* Binary rain effect */
.binary {
    position: fixed;
    top: -20px;
    font-family: 'Fira Code', monospace;
    font-size: 20px;
    color: rgba(61, 249, 125, 0.15);
    pointer-events: none;
    z-index: 0;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.container {
    position: relative;
    z-index: 1;
}

.cd-color1{
    color: #4D4D4D;
}
.cd-color2{
    color: #3DF97D;
}

.intro{
    color: #FFFFFF;
    text-align: center;
}
.name{
    font-style: italic;
    font-weight: bold;
}

.img1{
    width: 25%;
    height: 25%;
}
.img-social{
    width: 30%;
    height: 30%;
    padding: 30px;
}
.connect-card{
    background-color: #131C20;
    text-align: center;
    border-style: solid;
    padding-top: 50px;
    border-radius: 30px;
    border-color:#131C20 ;
    color: #B9D9F8;
}
.social-card{
    border: 0px;
}
.connect-text{
    width: auto;
}
.test{
    margin: 0px;
    padding: 0px;
}


/* Add to your style.css */

/* Better responsive breakpoints */
@media (max-width: 576px) {
    .img1 {
        width: 40%;
        height: 40%;
        max-width: 150px;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .det {
        font-size: 0.9rem;
    }
    
    .img-social {
        width: 50px;
        height: 50px;
        padding: 15px;
    }
    
    .connect-card {
        padding: 30px 20px;
        margin: 1rem !important;
    }
    
    .connect-text {
        font-size: 1.3rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .img1 {
        width: 30%;
        height: 30%;
        max-width: 180px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .img-social {
        width: 60px;
        height: 60px;
        padding: 20px;
    }
}

@media (min-width: 769px) {
    .img1 {
        max-width: 200px;
    }
}

/* Responsive */
/* @media (max-width: 768px) {
    .shape {
        font-size: 50px;
    }
    
    .code-line {
        font-size: 11px;
    }
    
    .binary {
        font-size: 16px;
    }
} */