
html {
  scroll-behavior: smooth;
}
*{margin:0;
padding:0;
box-sizing:border-box;
}
.carousel{
    z-index:2;
    margin-top:100px;
    margin-bottom:100px;
    width:100%;
    border-top:5px solid #a76857;
    border-bottom:5px solid #a76857;
    display:flex;
    overflow-x:hidden;
    padding:20px 0px;
    
}
.carousel::-webkit-scrollbar{
    display:none;
}
.group{
    z-index:2;
    display:flex;
    justify-content:center;
    align-items: center;
    gap:1em;
    animation:spin 10s infinite linear;
    padding-right:1em;
}
.group2{
    z-index:2;
    display:flex;
    justify-content:center;
    align-items: center;
    gap:1em;
    animation:spin2 10s infinite linear;
    padding-right:1em;
}
.card{
   z-index:2;
    position:relative;
    flex:0 0 7em;
    height:5em;
    background-size: cover;
    font-size:3em;
    border-radius:.2em;
    text-align:center;
    align-content:center;
    transition:transform 0.3s ease;
    overflow:hidden;
    cursor:pointer;

}
.live{
    color:white;
    font-size:1rem;
    background-color: black;
    display:inline-block;
    padding:2px 15px;
    border-radius:10px;
    position:absolute;
    right:2px;
    top:5px;
}
@keyframes spin{
    from {translate:0;}
    to {translate:-100%;}
}
@keyframes spin2{
    from{translate:-100%;}
    to {translate:0;}
}
.card h3{
    background-color: #3a302d;
    border-radius:10px;
    padding:0px 20px ;
    display:inline-block;
    color:white;
    border-bottom:2px solid white;
    font-size:0.9rem;
    margin:0;
}
.card p{

    color:white;
    font-size:0.6rem;
    margin-top:10px;
    display:none;
}
.card:hover{
    transform:scale(1.12);
    z-index:1;
    background:#a76857;
    background-size: cover;
}
.card:hover p{
    font-size:10px;
    padding:10px;
    background-color:#3a302d;
    display:block;
}
.carousel:hover .group {
    animation-play-state: paused;
}
.carousel:hover .group2 {
    animation-play-state: paused;
}
.card2{
    z-index:2;
    border-radius:90px;
    border:5px solid white;
   position:relative;
   overflow:hidden;
    padding-left:40px;
    padding-right:40px;
    margin-left:45px;
    margin-right:45px;
    box-sizing:border-box;
    height:80vh;
    color:white;
    position:sticky;
    top:110px;
    background-color:#db856d;
    cursor:default;
   
    
    
}
.inner1{
    padding-top:30px;
    width:100%;
    display:flex;
    font-size:14px;
    font-weight:550;
    justify-content:space-between;
    align-items: center;

}
.inner2{
    margin-top:25px;
    display:flex;
    gap:20px;
    
}
.bigimg{
    transform:rotate(-2deg);
    transition: transform 0.3s ease;
    border-radius:90px;
    border:4px solid;
    width:600px;
    filter: drop-shadow(0 10px 40px rgba(243, 242, 242, 0.4));
}
.bigimg:hover{
    transform:scale(1.05) rotate(0deg);
}
.button2{
    transform:rotate(2deg);
    transition:transform 0.3s ease;
    display:flex;
    padding:3px 16px;
    align-items: center;
    border-radius:5px;
    border:2px solid #a76857;
    margin-top:14px;
    margin-left:20px;
    
}
.button2:hover{
    transform:scale(1.1) rotate(0deg);
    cursor:pointer;
}
.link{
    width:12px;
    
}
.timeline{
    border:2px solid #3a302d; 
    border-radius: 20px;
     padding:5px 10px;
}
.timeline:hover{
    border:2px solid #ffffff;
    color:#3a302d;
    transform:scale(1.05);
    
}
.techstack2{
    margin-top:20px;
}
.techstack2 img{
    width:49px;
    margin-right:4.5px;
}
.techstack2 img:hover{
    transform:scale(1.2);
}
.git{
   width:31px;
}
.inner-div1{
    display:flex;
    align-items: center;
    gap:15px;
}
.inner-div2{
    display:flex;
    flex-direction: column;
    gap:5px;
}
body{
    padding:0px 200px;
    background-color:#3a302d;
    overflow-x:hidden;
    height:100vh;
    
    
    
    
}
header{
    position:fixed;
    right:0px;
    display:flex;
    justify-content:space-between;
    align-items: center;
    box-sizing:border-box;
    background-color:#3a302d;
    width:100%;
    height:8vh;
    z-index:10;
    border: 2px solid #d69c8c;

     
}

.naina{
    color:white;
    margin-left:4em;
    margin-left: clamp(1em, 5vw, 4em);
    font-weight:1000;
    cursor: pointer;
    text-decoration: none;
    font-size:2.3em;
}
.naina:hover {
  transform: scale(1.2);
}
.naina:hover,
.naina.active{
    color:white;
    border-bottom: 2px solid #ffffff;
}
nav a{
    color:white;
    margin-right:clamp(1em, 8vw, 4em);
    font-size:clamp(0.6em, 1.5vw + 0.2rem, 1em);
    font-weight: 200;
    
   
}
.a{
    display:inline-block;
    text-decoration: none;
}
.a:hover{
    transform:scale(1.2);
}
nav a:hover,
nav a.active{
    color:white;
    border-bottom: 2px solid white;
}
.hero{
    z-index:2;
    width:100%;
    animation:scroll 5s linear;
    animation-timeline:view();
    animation-range:entry 0% cover 40%;
    display:flex;
    align-items: center;  
    position:relative;
    
}
.body-watermark{
   position: absolute; 
    left: 10px;         
    top: 10vh;
    font-family: "Chango", sans-serif;
    writing-mode: vertical-rl;
    rotate: 180deg;
    font-size: 130px;
    font-weight: 900;
    color: #d69c8c;
    opacity: 0.2;      
    z-index: 1;        
    pointer-events: none;
}
.type-animation span{
    position:relative;
}
.type-animation span:before{
    content:"Web Development";
    color:white;
    animation:word 20s infinite;
}
.type-animation span:after{
    content:"";
    position:absolute;
    background-color: #3a302d;
    width:calc(100% + 8px);
    height:60%;
    border-left:3px solid #d69c8c;
    right:-8;
    animation:cursor 0.6s infinite;
}
@keyframes cursor{
    to{
        border-left:3px solid #3a302d;

    }
}
@keyframes word{
    0%,20%{
        content:"web development";

    }
    21%,40%{
        content:"UI/UX Designing";
    }
    41%,60%{
        content:"Script Writing";
    }
    61%,80%{
        content:"Content Creation";
    }
    81%,100%{
        content:"AI Engineering";
    }
}
.hero2{
    z-index:2;
    margin-top:3em;
    display:flex;
    align-items: center;
    justify-content: space-between;
    gap:40px;
}
.contact-me{
    margin:15px 0 0 20px;
    padding:5px 40px;
    border-radius:21px;
    color:white;
    background-color: #d69c8c;
    cursor: pointer;
    transition-duration:0.3s;
    border:1px solid white;

}
.contact-me:hover{
    transform: scale(1.2);
    color:#a76857 !important;
    background-color:white;
    border:2px solid #d69c8c;
}
.home-content{
    overflow: hidden;
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    gap:1.3em;

}
.home-content h1{
    font-size:1.2em; 
    color:white; 
    transform:rotate(-3deg);
    transition:transform 0.3s ease;
}
.home-content h1:hover{
    transform:rotate(0deg);
    cursor:default;
}
.img{
    border-radius:50%;
    height:100vh;
    width:100vh;
}
.section2{
    scroll-margin-top: 57.99px;
    border-bottom:2px solid #d69c8c;
    padding-bottom:110px ;
    border-top:2px solid #d69c8c;
    background-color:#3a302d;
    min-height:100vh;
    animation:scroll 5s linear;
    animation-timeline:view();
    animation-range:entry 0% cover 40%;
    position:relative;
    
}
.section2::before{
    opacity:0.9;
    z-index:-1;
    content: "";        
    position: absolute;
    top: 0;
     left: 0;
    width: 100%; height: 100%;
    background-image: url(images/design1.png);
    background-repeat: no-repeat;
    background-size: 250px;
    background-position:left bottom;
}
.img2{
    
    flex: 1; 
  display: flex;
  justify-content: flex-end;
}
.img2 img{
    border-radius:100%;
    width:300px;
}
.bubble{
    display:flex;
    flex-direction: column;
    gap:20px;
    background-color:#d69c8c;
    margin:20px;
    color:white;
    padding:80px;
    border-radius:80px;
}
.about-me{
    margin-left:auto;
    margin-right:auto;
    color:white;
    max-width: fit-content;
    font-size:80px; 
   border-bottom: 2px soild #ffffff;
    font-family: "Chango", sans-serif;
}
.section3{
    z-index:2;
    display:flex;
    flex-direction: column;
    scroll-margin-top: 60px;
    border-bottom:2px solid #d69c8c;
    animation:scroll 5s linear;
    animation-timeline:view();
    animation-range:entry 0% cover 40%; 
}
.project2{
    margin-left:auto;
    margin-right:auto;
    color:white;
    max-width: fit-content;
    font-size:80px; 
   border-bottom: 2px soild #ffffff;
    font-family: "Chango", sans-serif;
    
    
}
@keyframes scroll{
    from{
        opacity:0;
        scale:0.5;
        
    }
    to{
        opacity:1;
        scale:1;
    }
}
footer{
    z-index:10;
    position:fixed;
    bottom:0;
    right:0;
    left:0;
    background-color:#d69c8c;
    border:5px solid #3a302d;
}
.footer-div{
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.icons{
    margin-right:70px;
    display:flex;
    text-align: center;
    align-items: center;
    gap:10px;
}
.icons img{
    width:20px;
    margin:0;
    padding:0;
}
.github{
    width: 30px!important;
    
}
.left-footer{
    font-size:0.8rem;
    display:flex;
    flex-direction: row;
    gap:30px;
}
.tech-stack{
    margin-top:50px;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-wrap:wrap;
}
.tech-stack img{
    width:60px;
    margin:10px;
    
}
.skills{
    
    width: max-content;  
    margin: 0 auto;
    letter-spacing:100px;
    text-indent: 100px;
    color:white;
    font-size:25px;
    padding:30px;
    font-family: "Chango", sans-serif;
}
.tech-stack img:hover{
    transform:scale(1.2);
    cursor:pointer;
}
.icons2{
    margin-left:20px;
    display:flex;
    text-align: center;
    align-items: center;
    gap:10px;
}
.icons2 img{
    width:30px;
    margin:7px;
    padding:0;
    background-color:#d69c8c;
    border-radius: 50%;

}
.icons2 img:hover{
    transform:scale(1.2);
}
.icons img:hover{
    transform:scale(1.2);
}
.section4{
    z-index:2;
    display:flex;
    flex-direction: column;
    gap:20px;
    padding-bottom:100px;
}
.experience1{
    margin-left:auto;
    margin-right:auto;
    color:white;
    max-width: fit-content;
    font-size:80px; 
   border-bottom: 2px soild #ffffff;
    font-family: "Chango", sans-serif;
    animation:scroll 5s linear;
    animation-timeline:view();
    animation-range:entry 0% cover 40%; 
    
}
@media(max-width:500px){
    
    body{
        padding:0;
    }
    
    nav a{
        margin-right:1em;
        font-size:0.9em;
    }

    
    .bubble{
        
        height:70vh;
        overflow: hidden;
    }
    .skills{
       width:auto;
       height:auto;
       font-size:20px;
       letter-spacing: 20px;
       
    }
    
    
   .section3{
    border-top:5px solid #a76857;
    
   }
   
   .experience1{
    font-size:63px;
}

.inner1{
    gap:30px;
}
.inner2{
    display:flex;
    flex-direction: column;
    font-size:14px;
    
}

.techstack2{
    transform:rotate(0deg);
    display:flex;
}
.button2{
    transform:rotate(0deg)
}
.no{
    font-size:40px !important;
}
.position{
    font-size:14px;
}
.bigimg{
   display:none;
}

.card2{
    padding-bottom:40px !important;
}

}
@media (max-width: 768px) {
    html,body{
        margin:0px;
        padding:0px;
        overflow-x: hidden;
    }
    .hero {
        flex-direction: column; 
    }

    .divimg{
    border-bottom: 2px solid #d69c8c;
   }

    .home-content {
        display:flex !important; 
        align-items: center !important;
        text-align: center !important;
        width: 100vw !important; 
        gap:20px;
        background-color: #d69c8c;
        padding:40px;
         
        margin-top: 20px;
    }
    .type-animation span:after{
        background-color: #d69c8c;
    } 
    .hero2{
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap:1px;
    }
   .img2 {
        display: none !important;
    }
   .section2{
    min-height:100vh!important;
   }

   .about-me{
    font-size:14.5vw;
   }
    .skills{
        font-size:5vw;
        letter-spacing:10vw;
        text-indent:10vw;
    }
   .icons2 {
        margin-right: 0 !important; 
        justify-content: center;   
        width: 100%;              
                
    }
    .icons2 img {
        margin: 0; 
    }

    .project2{
        font-size:16vw;
    }

    .body-watermark{
        z-index:5;
    }
    .experience1{
        font-size:11.5vw;
        margin-bottom:4vh;
    }

    .inner1{
        gap:8vw;
    }
    .button2{
        margin:2vh 8vw ;
    }

    .techstack2{
        margin-top:3vh;
    }
    .bigimg{
        display: none;
    }

    .footer-div{
        gap:3vw;
        
    }
    .left-footer{
        gap:5vw;
    }
}
@media(max-width:1500px){
    html,body{
        padding:0px;
        
    }
    .hero{
        flex-direction: column;   
    }
    .home-content{
        width:90vw ;
        border-radius:90px;
        padding:40px;
        margin-top:3vh;
        background-color: #d69c8c;
        border:3px solid white;
    }
    .body-watermark{
        top:10vh;
        z-index:-1;
    }
    

    
    .type-animation span:after{
        background-color: #d69c8c;
    } 
    .hero2{
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap:1px;
    }
    .bubble{
        width:90vw;
    }

    .skills{
        display: flex;
        justify-content: center;
        font-size:4vw;
        letter-spacing:7vw;
        text-indent:0;

    }
    
    
    
    .techstack2{
        display:flex;
    }
}

@media(max-width:450px){
    .navigation{
        flex-shrink: 1; 
        font-size: clamp(0.2rem, 2vw, 0.8rem);
    }
    .attribute{
        display:none;
    }

    footer {
    width: 100%;
    box-sizing: border-box; 
}

    .footer-div {
    display: flex;
        flex-direction: row; 
        justify-content: space-between; 
        white-space: nowrap;
}

    .left-footer {
    white-space: nowrap; 
    font-size:clamp(0.4rem, 2vw, 0.9rem);;    
    flex-shrink: 1;
}     

    .icons {
    display: flex;
    gap: 8px;
    flex-shrink: 0; 
    
}

    
    

    .card2{
        height:auto;
        padding:2em 1.5em;
        padding-bottom:4em;


    }
    .inner2{
        margin-top:1.5em;
        font-size:0.75em;
        line-height:1.4em;
        display: flex;
        flex-direction: column;
    }
    .inner1{
       display: flex;
       align-items:center;
    
        gap: 15px; 
        flex-wrap: wrap;
    }

    .techstack2 {
    display: flex;
    flex-wrap: wrap;      
    justify-content: center; 
    gap: 12px;             
    margin-top: 15px;      
    width: 100%;           
}

.techstack2 img {
    height: 25px;          
    width: auto;           
    object-fit: contain;
}

    .no {
        font-size: 45px !important; 
    }
    .techstack2{
        justify-content: center;
    }
    .position {
        font-size: 1.1em;
        border-bottom: 2px solid white;
    }
    .bubble {
        height:auto; 
        max-width:90%;      
        margin: 0 auto; 
        padding: 3rem;     
        font-size: 0.93rem;      
    }
    .home-content{
        line-height:1.4em;
    }

    .timeline {
        white-space: nowrap; 
        font-size: 0.8em;
        display: inline-block;
        border: 1px solid white;
        padding: 4px 10px;
        border-radius: 15px;
        margin-top: 5px;
    }
}
