@font-face {
    font-family: sail;
    src: url(Sail-Regular.otf);
}
@font-face {
    font-family: code;
    src: url(/FiraCode-Regular.ttf);
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
    
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: code;
    cursor: none;
    word-spacing: normal;

}
.home_outer, .about_outer, .skills_outer, .pro_outer, .contact_outer {
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center
}
::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-thumb{
    background-color: #000;
    border-radius: 100px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

nav {
    border-bottom:1px solid black ;
    position: fixed;
    top: 0px;
    overflow: hidden;
    padding: 1rem 2.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 10;
    background: transparent;
    background-color: #ffff;
    color: black;
    transition: all 0.5 ease;
}

.logo {
    color: black;
    font-size: 3.2rem;
    text-decoration: none;
    font-family: Sail;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: black;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 22px;
}
.nav-links a:hover,.nav-links a:active{
    color: white ;
    text-shadow: -1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;

}
.nav-links >li > button{
    width: 80px;
    padding: 10px;
    margin-top: -10px;
    background-color: #000;
    color: #fff;
    border-radius: 5px;
}
 


.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    border: 2px solid black;
    border-radius: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: black;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    nav {
        width: 100%;
    }

    .hamburger {
        display: block;
        z-index: 100;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -101%;
        height: 100vh;
        width: 101%;
        background: #ffff;
        flex-direction: column;
        align-items: center;
        padding: 100px 20px;
        transition: right 0.5s ease;
        border-left: 1px solid black;
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
    }
    .home_outer{
        display: block;
        height: 100vh;
    }
    .bold {
        font-weight: 700; 
        font-size:115px;
    }
    
    .outline {
        font-weight: 700;
        -webkit-text-stroke: 2px black;
        color: white;
        font-size: 110px;
    }
    .home_outer > #home_img{
        display: block;
        margin: 0 auto; 
        height: auto;
        max-width: 100%;
        background-size: contain;
      
    }
    .about_outer{
        height: 100vh;
    }
}
body {
    margin: 0;
    background-color: white;
    padding: 0;
    box-sizing: border-box;
}
.dot {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: black;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.02s ease-out;
    z-index: 99999;
}
.bold {
    font-weight: 700;
    font-size: 120px;
}

.outline {
    font-weight: 700;
    -webkit-text-stroke: 2px black;
    color: white;
    font-size: 120px;
}
.home_outer{
    height: 100vh;
    top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
.home_outer > .home_text > #home_h1{
    font-size: 80px;
    margin-top: 40px;
}
.home_outer >.home_text{

    width: 50%;
    height: 100vh;
    flex-basis: 50%;
    justify-content: start;
    margin-top: 130px;
}

.home_outer > .home_img{
    height: 100vh;
    flex-basis: 50%;
    width: 100%;
    margin-left: -30px;
    margin-top: 500px;
}
.home_outer > img{
    height: 106vh;
    width: auto;
    margin-bottom: -60px;
}
.about_outer{
    height: 100vh;
}
.about_outer > .about_full {
    height: 88vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px;
}
#about_h1{
    font-size: 50px;
    text-align: start;
    margin-top: 100px;
    margin-left: 60px;
}
.about_outer > .about_full > img{
    height: 70%;
    width: auto;
    border: 5px solid black;
    background-color: white;
    margin-top: 150px;
    border-radius: 30px;
}
.about_outer > .about_full> .about_section{
    height: 88vh;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: start;
}
.about_outer >.about_full > .about_section > p{
    font-size: 1.3rem;
    padding: 60px;
    margin-top: -40px;
    margin-bottom: 9 0px;
    text-align: justify;
}
.skills_outer{
    height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 120px;
}
.slider{
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
}
.slider .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.slider .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    border: 2px solid black;
    border-radius: 30px;
    left: 100%;
    animation: autoRun 20s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc( (20s / var(--quantity)) * (var(--position) - 1) - 20s)!important;
    
}
.slider .list .item img{
    width: 100%;
    height: 120px;
}
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left: calc(var(--width) * -1);
    }
}
.slider:hover .item{
    animation-play-state: paused!important;
    filter: grayscale(1);
}
.slider .item img:hover{
    filter: grayscale(0);
}

.slider[reverse="False"] .item{
    animation: reversePlay 20s linear infinite;
}
@keyframes reversePlay{
    from{
        left: calc(var(--width) * -1);
    }to{
        left: 100%;
    }
}
@keyframes slide {
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translate(calc(-250px * 9));
    }
}
.pro_outer{
    height: 100vh;
    gap: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.pro_outer > h1{
    margin-top:50px ;
}
.pro_outer > .pro_inner{
    height: 350px;
    width: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;

 
}
.pro_outer > .pro_inner >.box{
    height: 320px;
    width: 300px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    border: 2px solid rgb(0, 0, 0);
    margin-left: 10px;
    padding: 5px;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}
.pro_outer > .pro_inner >.box > h2{
    font-weight: 70px;
}
.pro_outer > .pro_inner >.box > p{
    font-size: 19px;

    
}
.pro_outer > .pro_inner >.box > .links{
    display: flex;
    justify-content: end;
    gap: 5px;
}
.pro_outer > .pro_inner >.box > .links > a > img{
    height: 25px;
    margin-right: 10px;
}
.pro_outer > .pro_inner >.box > .links > a{
    margin-right: 0px;
}
.pro_outer > .pro_inner >.box > #box1_link{
    margin-top: 20px;
}
.contact_outer{
    height: 88vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact_outer > form{
    height: 500px;
    width: 60%;
    border-left: 2px solid black;
    border-right: 2px solid black;
    border-radius: 20px;
    display: flex;
    margin-top: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 40px;
}
.contact_outer > form > label{
    display: block;
    text-align: center;
    justify-content: start;
    align-items: start;
}
.contact_outer > form > input{
    padding: 10px;
    width: 80%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid black;
    background: none;
    font-size: 16px;
    margin-bottom: 30px;
    color: #000;
    &:focus{
        border: none;
        outline: none;
        border-bottom: 2px solid black;
    }
}
.contact_outer > form > button{
    padding: 10px;
    width: 80%;
    border-radius: 30px;
    background-color: #fff;
    color: #000;
    border: 2px solid black;
    padding: 10px;
    &:hover,&:focus{
        background-color: #000;
        color: #fff;
    }
}
.contact_outer > form > .footer > a {
    text-decoration: none;
}
.contact_outer > form > .footer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
}
.contact_outer > form > .footer > button{
    margin-left: 50%;
}
.contact_outer > form > .footer > a > img{
    height: 40px;
    width: 40px;
    margin-right: 10px;
    margin-top: 10px;
}
input:-webkit-input-placeholder {
    font-size: 16px;
    color: #000;
}

input::-webkit-input-placeholder {
    transition: 0.2s ease-in;
    color: #000;
}
@media screen and (max-width: 767px) {
 .bold {
    font-weight: 700;
    font-size: 60px;
}

.outline {
    font-weight: 700;
    -webkit-text-stroke: 2px black;
    color: white;
    font-size: 60px;
}
.home_outer > .home_text > #home_h1{
    font-size:40px;
}
.home_outer{
    height: 100vh;
    background-color: aqua;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 20px;
}
.home_outer >.home_text{
    width: 100%;
    height: 88vh;
    flex-basis: 50%;
    justify-content: start;
    text-align: center;
    margin-top: 40px;
}
.home_outer > img{
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    
    height: 50vh;
    width: auto;
}
.about_outer{
    height: 100vh;
    margin-top: -60px;
}
    #about_h1{
        font-size: 50px;
        text-align: start;
        margin-left: 0px;
        margin-top: 0px;
    } 
.about_outer > .about_full {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.about_outer > .about_full > img{
    height: 30vh;
    width: auto;
    border: 5px solid black;
    background-color: white;
    margin-top: 200px;
    border-radius: 30px;
}
.about_outer > .about_full> .about_section{
    height: 100vh;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: start;
}
.about_outer >.about_full > .about_section > p{
    font-size: 16px;
    margin-top: -10px;
    padding: 0%;
    text-align: justify;
}
.skills_outer{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.pro_outer{
    height: 100vh;
}
#pro_h1{
    margin-top: 80px;
}
.pro_outer > .pro_inner{
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 20px;
 
}
.pro_outer > .pro_inner >.box{
    height: 200px;
    width: 400px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    border: 2px solid rgb(0, 0, 0);
    margin-left: 10px;
    padding: 0px;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}
.pro_outer > .pro_inner >.box > .links > a > img{
    height: 25px;
    margin-top: -10px;
}
.pro_outer > h1{
    margin-top:70px ;
}
.pro_outer > .pro_inner >.box > p{
    font-size: 16px;
}
.contact_outer > form > input{
    padding: 10px;
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid black;
    background: none;
    font-size: 16px;
    margin-bottom: 30px;
    color: #000;
    &:focus{
        border: none;
        outline: none;
        border-bottom: 2px solid black;
    }
}
.contact_outer > form > button{
    padding: 10px;
    width: 100%;
    border-radius: 30px;
    background-color: #fff;
    color: #000;
    border: 2px solid black;
    padding: 10px;
    &:hover,&:focus{
        background-color: #000;
        color: #fff;
    }
}
.contact_outer > form{
    height: 350px;
    width: 80%;
    border-left: 2px solid black;
    border-right: 2px solid black;
    border-radius: 20px;
    display: flex;
    margin-top: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 40px;
    margin-top: 80px;

@keyframes slide {
    0%{
        transform: translateX(0);
    }

}

}
@media screen and (max-width:576px) {
    .home_outer{
        height: 100vh;
        top: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
    }
    .home_outer >.home_text{
        width: 50%;
        height: 100vh;
        flex-basis: 50%;
        justify-content: start;
        margin-top: 30px;
        text-align: center;
    }
    
    .home_outer > .home_img{
        height: 100vh;
        flex-basis: 50%;
        width: 100%;
        margin-left: -30px;
        margin-top: 500px;
    }
    .home_outer > img{
        height: 50vh;
        width: auto;
        margin-bottom: -60px;
    }
    .about_outer{
        height: 100vh;
        margin-top: -60px;
    }
    #about_h1{
        font-size: 50px;
        text-align: start;
        margin-left: -4px;
        margin-bottom: 80px;
        margin-top: 0px;
    }
    .about_outer > .about_full {
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .about_outer > .about_full > img{
        height: 30vh;
        width: auto;
        border: 5px solid black;
        background-color: white;
        margin-top: 140px;
        border-radius: 30px;
    }
    .about_outer > .about_full> .about_section{
        height: 100vh;
        display: block;
        justify-content: center;
        align-items: center;
    }
    .about_outer >.about_full > .about_section > p{
        font-size: 15px;
        padding: 0px;
        margin-top: -80px;
        text-align: justify;
    }
    .skills_outer{
        height: 100vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 80px;
    }
    .pro_outer{
        height: 100vh;
        gap: -45px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }
    .pro_outer > h1{
        margin-top:-40px;
    }
    .contact_outer > form{
        margin-top: 100px;
    }
    .contact_outer > form{
        height: 500px;
        width: 90%;
        border-left: 2px solid black;
        border-right: 2px solid black;
        border-radius: 20px;
        display: flex;
        margin-top: 100px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 40px;
    }
    .contact_outer > form > input{
        padding: 10px;
        width: 100%;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 2px solid black;
        background: none;
        font-size: 16px;
        margin-bottom: 30px;
        color: #000;
        &:focus{
            border: none;
            outline: none;
            border-bottom: 2px solid black;
        }
    }
    .contact_outer > form > button{
        padding: 10px;
        width: 100%;
        border-radius: 30px;
        background-color: #fff;
        color: #000;
        border: 2px solid black;
        padding: 10px;
        &:hover,&:focus{
            background-color: #000;
            color: #fff;
        }
    }
}
@media screen and (max-width:500px) {
    .about_outer{
        height: 100vh;
        margin-top: -60px;
    }
    #about_h1{
        font-size: 50px;
        text-align: start;
        margin-left: -2px;
    }
    .about_outer > .about_full {
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px;
    }
    .about_outer > .about_full > img{
        height: 30vh;
        width: auto;
        border: 5px solid black;
        background-color: white;
        margin-top: 200px;
        border-radius: 30px;
    }
    .about_outer > .about_full> .about_section{
        height: 100vh;
        display: block;
        justify-content: center;
        align-items: center;
    }
    .about_outer >.about_full > .about_section > p{
        font-size: 14.8px;
        padding: 0px;
        margin-top: -88px;
        text-align: justify;
    }
    .skills_outer > .skill_h1{
        margin-top: 50px;
    }
    .pro_outer > .pro_inner{
        height: 350px;
        width: 100%; 
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .pro_outer > h1{
        margin-bottom: 50px;
        margin-top: 20px;
        
    }
    .contact_outer > form{
        height: 500px;
        width: 90%;
        border-left: 2px solid black;
        border-right: 2px solid black;
        border-radius: 20px;
        display: flex;
        margin-top: 100px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 40px;
    }
    .contact_outer > form > input{
        padding: 10px;
        width: 100%;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 2px solid black;
        background: none;
        font-size: 16px;
        margin-bottom: 30px;
        color: #000;
        &:focus{
            border: none;
            outline: none;
            border-bottom: 2px solid black;
        }
    }
    .contact_outer > form > button{
        padding: 10px;
        width: 100%;
        border-radius: 30px;
        background-color: #fff;
        color: #000;
        border: 2px solid black;
        padding: 10px;
        &:hover,&:focus{
            background-color: #000;
            color: #fff;
        }
    }
}
}
@media (max-width:480px) {
    .home_outer{
        background-color: orange;
    }
    
    .bold {
        font-weight: 700;
        font-size: 60px;
    }
    
    .outline {
        font-weight: 700;
        -webkit-text-stroke: 2px black;
        color: white;
        font-size: 60px;
    }
    .home_outer > .home_text > #home_h1{
        font-size: 60px;
    }
    .home_outer{
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        padding: 20px;
    }
    .home_outer >.home_text{
        width: 100%;
        height: 88vh;
        flex-basis: 50%;
        justify-content: start;
        text-align: start;
        margin-top: 40px;
    }
    .home_outer > img{
        position: absolute;
        top: 80%;
        left: 50%;
        transform: translate(-50%,-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        margin-top: 10px;
        height: 50vh;
        width: auto;
    }
    .about_outer{
        height: 100vh;
        margin-top: -60px;
    }
        #about_h1{
            font-size: 50px;
            text-align: start;
            margin-left: 0;
            margin-top: -5px;
        } 
    .about_outer > .about_full {
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 5px;
    }
    .about_outer > .about_full > img{
        height: 30vh;
        width: auto;
        border: 5px solid black;
        background-color: white;
        margin-top: 200px;
        border-radius: 30px;
    }
    .about_outer > .about_full> .about_section{
        height: 100vh;
        display: block;
        justify-content: center;
        align-items: center;
        text-align: start;
    }
    .about_outer >.about_full > .about_section > p{
        font-size: 13px;
        margin-top: -90px;
        padding: 0%;
        text-align: justify;
    }
    #skill_h1{
        margin-top: 50px;
    }
    .skills_outer{
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 80px;
    }
    .skills_outer > .row{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 30px;
        animation: slide 20s linear infinite;
    }
    .pro_outer{
        height: 100vh;
    }
    #pro_h1{
        margin-top: 50px;
        /* margin-bottom: -10px; */
    }
    .pro_outer > .pro_inner{
        height: 350px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        margin-top: -60px;
     
    }
    .pro_outer > .pro_inner >.box{
        height: 210px;
        width: 350px;
        background-color: rgb(255, 255, 255);
        border-radius: 10px;
        border: 2px solid rgb(0, 0, 0);
        margin-left: 10px;
        padding: 0px;
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .pro_outer > .pro_inner >.box > .links > a > img{
        height: 25px;
        margin-top: -10px;
    }
    .pro_outer > h1{
        margin-top:-10px ;
    }
    .pro_outer > .pro_inner >.box > p{
        font-size: 16px;
    }
    
    .contact_outer > form > input{
        padding: 10px;
        width: 100%;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 2px solid black;
        background: none;
        font-size: 16px;
        margin-bottom: 30px;
        color: #000;
        &:focus{
            border: none;
            outline: none;
            border-bottom: 2px solid black;
        }
    }
    .contact_outer > form > button{
        padding: 10px;
        width: 100%;
        border-radius: 30px;
        background-color: #fff;
        color: #000;
        border: 2px solid black;
        padding: 10px;
        &:hover,&:focus{
            background-color: #000;
            color: #fff;
        }
    }
    .contact_outer > form{
        height: 400px;
        width: 90%;
        border-left: 2px solid black;
        border-right: 2px solid black;
        border-radius: 20px;
        display: flex;
        margin-top: 100px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 40px;
        margin-top: 80px;
    
    @keyframes slide {
        0%{
            transform: translateX(0);
        }
    
    }
    
    }
}