body{
            background-color:  #091f36;
            color: white;
            font-family: Press Start 2P, sans-serif;
            overflow-x: hidden;
        }
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    background-color: #05071acb;
    margin-left: -10px;
    margin-right: -10px;
    margin-top: -6px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    padding: 0 20px;
}
nav ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    flex-wrap: wrap;
}
nav ul li{
    list-style: none;
    margin: 0;
}

nav ul li a{
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    white-space: nowrap;
}
nav ul li a:hover{
    text-decoration: none;
    color: rgb(111, 0, 255);
    
    
}



.left{
    font-size: 1.28rem;
    animation: slideRight .6s ease forwards;
    white-space: nowrap;
}
.firstSection{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 110px;
}

.firstSection > div{
    width: 35%; 
    
}
.leftSection{
    font-size: 1.76rem;
    margin: 30px;
    padding: 20px;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .2s;
}
.leftSection .btn{
    
    padding: 15px 25px;
    border: 3px solid white ;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    background: #0ef;
    color: #000000;
    margin-top: 8%;
    font-weight: bold
    
    
}
.leftSection .btn:hover{
     background: #0ef;
    color: #000000;
    box-shadow: 0 0 20px cyan;
}

.rightSection img{
height: 70%;
width: 70%;
}

.purple{
    color: rgb(0, 225, 255);
     
}
#element{
    color: cyan;
}
.secondSection{
    max-width: 80vw;
    margin: auto;
}
main hr{
    border: 0;
    background: #3512e2;
    height: 1.2px;
    margin: 40px 84px;
}
.secondSection h1{
    font-size: 2rem;

}

footer{
    background-color: rgba(46, 29, 133, 0.73);
    margin-bottom: -10px;
    margin-left: -5px;
    margin-right: -5px;
}
.footer{
    display: contents;
    padding: 30px 20px;
    justify-content: center;
}
.footer ul{
    list-style: none;
}

.footer-rights{
    text-align: center;
    color: grey;
    padding: 10px 10px;
    font-size: 1.3rem;
}
.icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: transparent;
   border: 2px solid cyan;
   border-radius: 50%;
    font-size: 50px;
    color: #0ef;
    text-decoration: none;
    margin:40px 40px 20px 0 ;
    opacity: 1;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var);
    transition: .5s ease;
}
.icons a:hover{
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px cyan;
}

@keyframes slideRight {
    0%{
        transform: translateX(-100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes slideLeft {
    0%{
        transform: translateX(100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes slideTop {
    0%{
        transform: translateY(100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}
@keyframes slideBottom {
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes popUp {
    0%{
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    50%{
        transform: scale(1.1) translateY(-10px);
        opacity: 0.8;
    }
    100%{
        transform: scale(1) translateY(0px);
        opacity: 1;
    }
}
.container{
    padding: 90px;
}
#techstack{
color:aliceblue;
font-size: 20px;
line-height: 1.4;
margin-bottom: 4rem;
}
.sub-title{
    text-align: center;
    font-size: 36px;
    padding-bottom: 70px;
}
.sub-title span{
color: #0ef;
}
.tech-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(259px,1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.tech-list div{
    background-color: transparent;
    padding: 40px;
    font-size: 9px;
    font-weight: 13px;
    border-radius: 20px;
    border-radius: 20px;
    transition: all 0.5s ease;
    box-shadow: 2px 2px 20px #012290f7;
    margin-bottom: 20px;
    transform: scale(1);
    opacity: 0;
    animation: popUp 0.8s ease forwards;
}

.tech-list div:nth-child(1) {
    animation-delay: 0.2s;
}

.tech-list div:nth-child(2) {
    animation-delay: 0.4s;
}

.tech-list div:nth-child(3) {
    animation-delay: 0.6s;
}

.tech-list div:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #0ef;
}
.tech-list div{
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
   
} 
.tech-list div i {
    font-size: 64px;
    margin-bottom: 20px;
}
.tech-list div h2{
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 15px;
}
.tech-list div a{
    text-decoration: none;
    color: #000000;
    font-size: 25px;
    
    margin-top: 20px;
    display: inline-block;
}
.read {
    display: inline-block;
    padding: 5px 10px;
    background: #0ef;
    color: #081b29;
    border-radius: 15px;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600px;
    font-size: 0.4rem;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef;
    transition: all 0.3s ease;
    
}
.read a{
    font-size: xx-large;
}
.read:hover {
     background: #0ef;
    color: #000000;
    box-shadow: 0 0 20px cyan;
    transform: translateY(-2px);
    
}
.container1{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(259px,1fr));
    grid-gap: 40px;
    margin-top: 50px;
    font-size: 20px;
    margin-bottom: 30px;
    background-color: transparent;
    padding: 40px;
    font-size: 20px;
    font-weight: 13px;
    border-radius: 20px;
    border-radius: 20px;
    transition: background 0.5s;
    box-shadow: 2px 2px 20px #012290f7;
    margin-right: 30px;
    margin-left: 30px;
}
.read1 {
     display: inline-block;
    padding: 12px 20px;
    background: #0ef;
    color: #081b29;
    border-radius: 15px;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 3s;
    box-shadow: 0 0 5px #0ef;
    transition: all 0.3s ease;
}
.read1:hover {
     background: #0ef;
    color: #000000;
    box-shadow: 0 0 20px cyan;
    transform: translateY(-2px);
} 
#element1{
    color: #0ef;

}

.Connect{
    margin-top: 30px;
    padding: 10px 0;
}

.skill-level {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.percentage {
    font-size: 14px;
    color: #0ef;
    font-weight: bold;
}
progress{
    color: #0ef;
    background-color: #1a1a1a;
    width: 200px;
    height: 20px;
    border-radius: 10px;
    border: 2px solid #0ef;
}

progress::-webkit-progress-bar {
    background-color: #1a1a1a;
    border-radius: 10px;
}

progress::-webkit-progress-value {
    background-color: #0ef;
    border-radius: 8px;
}

progress::-moz-progress-bar {
    background-color: #0ef;
    border-radius: 8px;
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    /* Navigation */
    nav {
        flex-direction: row;
        height: 48px;
        padding: 0 12px;
    }
    
    nav ul {
        flex-direction: row;
        margin-top: 0;
        gap: 10px;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        font-size: 0.88rem;
    }
    
    .left {
        font-size: 1.04rem;
    }
    
    /* First Section */
    .firstSection {
        flex-direction: column;
        margin: 20px;
        text-align: center;
    }
    
    .firstSection > div {
        width: 100%;
        margin: 20px 0;
    }
    
    .leftSection {
        font-size: 1.28rem;
        margin: 15px;
    }
    
    .leftSection .btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .rightSection img {
        height: 50%;
        width: 50%;
    }
    
    /* Icons */
    .icons a {
        width: 40px;
        height: 40px;
        font-size: 30px;
        margin: 20px 10px;
    }
    
    /* Tech Stack */
    .container {
        padding: 20px;
    }
    
    .sub-title {
        font-size: 1.6rem;
        padding-bottom: 30px;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }
    
    .tech-list div {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .tech-list div i {
        font-size: 40px;
    }
    
    .tech-list div h2 {
        font-size: 1.44rem;
    }
    
    .read {
        font-size: 0.64rem;
    }
    
    /* Services and About */
    .container1 {
        grid-template-columns: 1fr;
        grid-gap: 20px;
        margin: 20px;
        padding: 20px;
        font-size: 0.8rem;
    }
    
    .read1 {
        padding: 15px;
        font-size: 0.8rem;
    }
    
    /* Progress bars */
    progress {
        width: 150px;
        height: 15px;
    }
    
    /* Footer */
    .footer-rights {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small screens */
    nav {
        height: 44px;
        padding: 0 8px;
    }
    
    nav ul {
        gap: 6px;
    }
    
    nav ul li a {
        font-size: 0.8rem;
    }
    
    .left {
        font-size: 0.96rem;
    }
    
    .leftSection {
        font-size: 1.12rem;
    }
    
    .sub-title {
        font-size: 1.44rem;
    }
    
    .tech-list div h2 {
        font-size: 1.2rem;
    }
    
    .container1 {
        font-size: 0.72rem;
    }
    
    .icons a {
        width: 35px;
        height: 35px;
        font-size: 25px;
        margin: 15px 8px;
    }
    
    progress {
        width: 120px;
        height: 12px;
    }
}

@media screen and (max-width: 320px) {
    /* Very small screens */
    nav {
        height: 40px;
        padding: 0 6px;
    }
    
    nav ul {
        gap: 5px;
    }
    
    nav ul li a {
        font-size: 0.72rem;
    }
    
    .left {
        font-size: 0.88rem;
    }
    
    .leftSection {
        font-size: 0.96rem;
    }
    
    .sub-title {
        font-size: 1.2rem;
    }
}