*{
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html{
    scroll-behavior: smooth;
    scroll-snap-type: proximity;
    scroll-snap-align: start;
}
body
{
    background: linear-gradient(to top right, #06004b, #04002c) ;
    color: white;
    position: relative;
}
header
{
    width: 100%;
    height: 600px;
    color: aquamarine;
}
header nav
{
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    align-items: center;
    color: #fff;
    background: linear-gradient(to top right, #06004b, #04002c) ;
    z-index: 3;
}
nav img
{
    background-color: transparent;
    width: 40px;
}
nav .navbar ul
{
    list-style: none;
}
nav .navbar ul li
{
    display: inline; 
    font-size: 18px; 
    padding: 5px 6px;
    margin-right: 15px;  
}
nav .navbar ul li a
{
    padding: 2px 6px;
    color: #fff;
    text-decoration: none;
    position: relative;
    border-radius: 15px
}
nav .navbar ul li a img
{
    width: 21px;
    color: white;
    transform: translateY(4px);
}
nav .navbar ul li .fhome
{
    color: #4ce3f7;
}
nav .navbar ul li a::before
{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    /*background-color: #0400ff;*/
    /*background-color: #0400ff;*/
    width: 0px;
    height: 2px;
    border-radius: 15px;
    z-index: -1;
    transition: 0.5s;
}
nav .navbar ul li a:hover::before
{
    width: 100%;
}
.nav-xmark
{
    display: none;
}
.menu
{
    display: none;
}
/*---- Button ------------*/
.main-button button {
    border: none;
    color: #fff;
    background-image: linear-gradient(30deg, #0400ff, #4ce3f7);
    border-radius: 20px;
    background-size: 100% auto;
    font-family: inherit;
    font-size: 17px;
    padding: 0.6em 1.5em;
    margin-top: 5px;
   }
   
   .main-button button:hover {
    background-position: right center;
    background-size: 200% auto;
    -webkit-animation: pulse 2s infinite;
    animation: pulse512 1.5s infinite;
   }
   
   @keyframes pulse512 {
    0% {
     box-shadow: 0 0 0 0 #05bada66;
    }
   
    70% {
     box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
    }
   
    100% {
     box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
    }
   }

/*----------- Main Header ---------*/

header #title_web
{
    position: relative;
    display: flex;
    justify-content:space-between;
    align-items: center;
    height: 530px;
    margin-top: 80px;
}
header #title_web .title
{
    position: relative;
    max-width: 550px;
    padding: 8px 15px;
    margin-left: 25px;
}
header #title_web .title h1
{
    font-size: 40px;
    padding-bottom: 13px;
}
header #title_web .title h4
{
    font-size: 20px;

}
header #title_web .title p
{
    padding-top: 8px;
    font-weight: 100;
}

/*----------  Blue tick  ---------------*/
header #title_web .title .x9f619
{
    position: absolute;
    top: 34px;
    left: 310px;
}
header #title_web img
{
    display: block;
}
header #title_web .title ul
{
    list-style: none;
    padding: 15px 5px;
}
header #title_web .title ul li
{
    display: inline;
    padding-right: 27px;
}
.title ul li a i
{
    font-size: 21px;

    color: #fff;
    transition: 0.3s;

}
.title ul li a i:hover
{
    transform: scale(1.3);
    color: brown;
}

/*------------- PERSON  -------------*/

#title_web img
{
    min-width: 450px;
    height: 450px;
    object-fit: cover;
    transition: 0.5s;

    border-radius: 50%;
    margin-right: 50px;
    border: #0400ff groove 8px;
    animation: bounce 0.5s linear forwards;
    /*animation: fade-in linear;
    animation-timeline: scroll();*/
}
@keyframes bounce {
    from{
        transform: scale(0.6);
    }
    to{
        transform: scale(1);
    }
}
/*@media (prefers-reduced-motoion: no-preference) {
    #title_web img {
        animation: fade-in linear;
        animation-timeline: scroll();
    }
    @keyframes fade-in {
        from{
            transform: scale(1); opacity: 1;
        }
        to{
            transform: scale(0.6);opacity: 0;
        }
    }
}*/
.person img
{
    transition: 0.5s;
}

header #title_web .goDown
{
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center;

    animation: goDown 4s ease-in-out infinite;
}
header #title_web .goDown h1
{
    font-size: 30px;
}

section
{
    display: flex;
    justify-content: center;
}

@keyframes goDown {

    0%{
        bottom: 0;
    }
    25%{
        bottom: -15px;
    } 
    50%{
        bottom: 0;
    }
    75%{
        bottom: -15px;
    }
    100%{
        bottom: 0;
    }
}

/* --------  about me  ---------- */
#about
{
    display: flex;
    padding: 15px 20px;
    background-color: #04002c;
    width: 100%;
    height: auto;
}
.about 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    width: 100%;
    height: auto;
}
.about .aboutImg img
{
    max-width: 400px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center top;
    border-radius: 25px;
    transition: 0.5s ease-out;
}
.about .aboutImg img:hover
{
    object-fit: contain;
}
.about .aboutText
{
    font-family: sans-serif;
    max-width: 850px;
    padding-left: 25px;
}
.about .aboutText h3
{
    font-size: 25px;
    padding-bottom: 7px;
}
.about .aboutText p
{
    color: rgba(255, 255, 255, 0.678);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.about .aboutText button {
    border: none;
    color: #fff;
    background-image: linear-gradient(30deg, #0400ff, #4ce3f7);
    border-radius: 10px;
    background-size: 100% auto;
    font-family: inherit;
    font-size: 17px;
    padding: 0.4em 1em;
    margin-top: 15px;
   }
   
   .about .aboutText button:hover {
    background-position: right center;
    background-size: 200% auto;
    -webkit-animation: pulse 2s infinite;
    animation: pulse512 1.5s infinite;
   }
   
   @keyframes pulse512 {
    0% {
     box-shadow: 0 0 0 0 #05bada66;
    }
   
    70% {
     box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
    }
   
    100% {
     box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
    }
   }

   /*----------- about me button -------------*/
.about .aboutNON
{
    display: none;
}
.about .aboutMe 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #09015f;
    z-index: 6;
}
.aboutMe .content00
{
    position: relative;
    top: 0;
    right: 0;
}
.aboutMe .content
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
::-webkit-scrollbar
{
    width: 15px;
}
.aboutMe .content .text-content::-webkit-scrollbar
{
    width: 10px;
}
::-webkit-scrollbar-thumb
{
    background-color: aqua;
    border-radius: 50px;
    transition: all 0.5s;
}
::-webkit-scrollbar-thumb:hover
{
    border: white solid 2px;
    transform-origin: left;
}
::-webkit-scrollbar-track
{
    background-color: #06004b;
}
.aboutMe .content .text-content::-webkit-scrollbar-thumb
{
    background-color: #0400ff88;
    border-radius: 50px;
}
.aboutMe .content .text-content
{
    display: block;
    width: 450px;
    height: 550px;
    border: #00000080 double 3px;
    border-radius: 10px;
    padding: 20px 30px;
    overflow: hidden;
    overflow-y: auto;
}
.aboutMe .content .text-content h3
{
    margin-bottom: 13px;
    font-size: 25px;

}
.aboutMe i
{
    width: 100%;
    text-align: end;
    font-size: 25px;
    padding-right: 10px;
    padding-top: 10px;
}

/*--------- SKILLS ------------*/

#skills
{
    width: 100%;
    background-color: #0d0379;
}
#skills .container
{
    width: 100%;
    display: block;
    padding: 20px 15px;
}
#skills .container .skills-header
{
    text-align: center;
}
#skills .container .skills-paragra
{
    text-align: center;
    padding: 15px 7px;
}

#skills .container .skills-content
{
    display: flex;
    justify-content: center;
}
#skills .container .skills-content .skills-content2
{
    display: block;
    width: 800px;
}
#skills .container .skills-content .links
{
    background-color: transparent;
    padding: 13px 7px;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: .5s;
}
#skills .container .skills-content .links:hover
{
    transform: scale(0.97);
}
#skills .container .skills-content .links .first-row
{
    display: flex;
    justify-content: space-between;
}

/*----1----HTML------------------------*/
#skills .container .skills-content .links .html-bar
{
    width: 100%;
    height: 9px;
    background-color: #06004b;
    border-radius: 20px;
}
#skills .container .skills-content .links .html-bar .bar
{
    width: 91%;
    height: 8px;
    background-color: aquamarine;
    border-radius: 20px;
    transition: 0.5s;
}
/*---2-----CSS------------------------*/
#skills .container .skills-content .links .css-bar
{
    width: 100%;
    height: 9px;
    background-color: #06004b;
    border-radius: 20px;
}
#skills .container .skills-content .links .css-bar .bar
{
    width: 84%;
    height: 8px;
    background-color: aquamarine;
    border-radius: 20px;
    transition: 0.5s;
}
/*---3-----REACT------------------------*/
#skills .container .skills-content .links .react-bar
{
    width: 100%;
    height: 9px;
    background-color: #06004b;
    border-radius: 20px;
}
#skills .container .skills-content .links .react-bar .bar
{
    width: 43%;
    height: 8px;
    background-color: aquamarine;
    border-radius: 20px;
    transition: 0.5s;
}
/*---4-----PHP------------------------*/
#skills .container .skills-content .links .php-bar
{
    width: 100%;
    height: 9px;
    background-color: #06004b;
    border-radius: 20px;
}
#skills .container .skills-content .links .php-bar .bar
{
    width: 72%;
    height: 8px;
    background-color: aquamarine;
    border-radius: 20px;
    transition: 0.5s;
}
/*---5-----JavaScript------------------------*/
#skills .container .skills-content .links .js-bar
{
    width: 100%;
    height: 9px;
    background-color: #06004b;
    border-radius: 20px;
}
#skills .container .skills-content .links .js-bar .bar
{
    width: 80%;
    height: 8px;
    background-color: aquamarine;
    border-radius: 20px;
    transition: 0.5s;
}

/*------ Services ------------*/
#services
{
    background-color:#130a70;
    width: 100%;
    padding: 25px;
}
#services .container
{
    display: block;
    text-align: center;
    padding: 20px 15px;
    border-radius: 20px;
}
#services .container .service-header h2
{
    font-size: 35px;
    margin-bottom: 5px;
}
#services .container .services-content
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 35px;
}
#services .container .services-content .card
{
    width: 300px;
    height: auto;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.19);
    transition: 1.5s;
}
#services .container .services-content .card:hover
{
    background-color:#0400ff;
    transform-origin: left;
}
#services .container .services-content .card img
{
    width: 60px;
}
#services .container .services-content .card p
{
    padding-top: 8px;
    font-size: small;
    color: rgba(255, 255, 255, 0.63);
    margin-bottom: 7px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#services .container .services-content .c2 i
{
    color: #000;
    font-size: 55px;
    margin-bottom: 9px;
}
#services .container .services-content .c3 i
{
    color: #000;
    font-size: 55px;
    margin-bottom: 9px;
}
#services .container .services-content .c4 i
{
    color: #000;
    font-size: 55px;
    margin-bottom: 9px;
}

/*----  CardBtn  ----*/

.card button {
    border: none;
    color: #fff;
    background-image: linear-gradient(30deg, #19195e, #4ce3f7);
    border-radius: 10px;
    background-size: 100% auto;
    font-family: inherit;
    font-size: 15px;
    padding: 0.4em 1em;
    margin-top: 15px;
}
   
.card button:hover {
    background-position: right center;
    background-size: 200% auto;
    -webkit-animation: pulse 2s infinite;
    animation: pulse512 1.5s infinite;
}
   
@keyframes pulse512 {
    0% {
     box-shadow: 0 0 0 0 #05bada66;
    }
   
    70% {
     box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
    }
   
    100% {
     box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
    }
}

.card button a
{
    color: white;
    text-decoration: none;
    font-weight: 400;
}

/*----- Leatest Project  ---------*/

#latestProject
{
    width: 100%;
    height: auto;
    padding: 25px;
    background-color: #0400ff;
    display: block;
}
#latestProject h2
{
    width: 100%;
    text-align: center;
    padding: 0 0 25px 0;
    letter-spacing: 1.5px;
    font-size: 30px;
}
.webs 
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.webs .a2
{
    background-image: url(./images/store.jpg);
}
.webs .a3
{
    background-image: url(./images/countries.jpg);
}
.webs .a4
{
    background-image: url(./images/money.jpg);
}
.webCard
{
    width: 280px;
    height: 400px;
    background-image: url(./images/malaysia.jpg);
    background-size: cover;
    border-radius: 20px;
    transition: 0.5s;
    border: white 2px solid;
    overflow: hidden;
}
.webCard:hover
{
    box-shadow: 6px 8px 10px rgba(0, 0, 0, 0.582);
    transform: translateY(-6px);
}
.webCard .card
{
    background-image: linear-gradient( #00000000, rgba(38, 20, 141, 0.808));
    width: 280px;
    height: 650px;
    position: relative;
    border-radius: 20px;
    text-shadow: black 5px 5px 7px;
    transition: 0.6s;
}
.webCard .card:hover
{
    transform: translateY(-250px);
}

.webCard .card .mini-text
{
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 280px;
    padding: 10px 5px;
}
.webCard .card .mini-text p
{
    font-weight: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}
.webCard .card .mini-text button
{
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #06004b;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
}
.webCard .card .mini-text a
{

    text-decoration: none;
}

/*--------  CONTACT ME --------------*/
#contact
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact1
{
    padding: 20px 25px;
    width: 45%;
}
.contact1 h2
{
    font-size: 30px;
    text-align: center;
}
.contact1 h6{
    margin-bottom: 6px;
}
.contact1 h6 a
{
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: white;
}
.contact1 h6 a img
{
    width: 19px;
    transform: translateY(2px);
}
.contact1 ul
{
    list-style: none;
    margin-left: -45px;
}
.contact1 ul li{
    display: inline;
    padding: 14px 7px;
    margin-right: 5px;
}
.contact1 ul li a
{
    color: white;
    text-decoration: none;
}
.contact1 ul li a i
{
    color: aqua;
    font-size: 20px;
}
.contact2
{
    display: block;
}
.contact2 form
{
    width: 100%;
    margin: 20px 10px;
}
.contact2 form input
{
    width: 100%;
    color: wheat;
    border-bottom: 2px solid #ddd;
    border-top: none;
    border-right: none;
    border-left: none;
    margin-bottom: 8px;
    padding: 6px 4px;
    background-color: transparent;
    font-size: 15px;
}
.contact2 form .comment
{
    width: 100%;
    height: 100px;
    resize: none;
    text-align: start;
    border-radius: 10px;
    outline: none;
    margin-top: 8px;
    background-color:#04002c;
    color: wheat;
    padding: 8px 7px;
}
.contact2 form .sendBtn
{
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 7px auto;
}
.contact2 form .sendBtn .btn
{
    font-size: 15px;
    padding: 3px px;
    border-radius: 5px;
    border: white double 2px;
    background-color: #04002c;
    color: white;
}
span 
{
    color: aqua;
}
/*-------------  FOOTER ------------*/
.xfter
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px;
}
footer
{
    display: block;
    text-align: center;
}
footer .f1
{
    text-align: center;
}
.f2 button
{
    margin-top: 12px;
    background-color: #ffe000;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    box-shadow: -6px -6px 15px rgba(255, 255, 255, 0.1), 6px 6px 10px rgba(0, 0, 0, 0.5);
}
.f2 button a
{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    padding: 2px 0;
}
.f2 button a img
{
    width: 25px;
}


@media only screen and (max-width: 900px) {

    header #title_web .title .x9f619
    {
        display: none;
    }
    .about .aboutText
    {
        padding-left: 25px;
    }

}

@media only screen and (max-width: 600px) {

    .nav-xmark
    {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
        font-size: 19px;
    }
    .menu
    {
        display: block;
        font-size: 22px;
        translate: 145px;
    }
    nav .navbar .bacX
    {
        position: absolute;
        background-color: #04002c;
        top: -100px;
        left: 0;
        width: 100%;
        height: 100px;

        display: flex;
        justify-content: space-evenly;
        align-items: center;
        transition: 2s;
        z-index: 5;
    }
    nav .navbar .bacX .mobile-nav
    {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100px;
        margin-left: -25px;
    }
    header #title_web
    {
        position: relative;
        text-align: center;
        display: block;
        height: 560px;
    }
    header #title_web .title
    {
        position: absolute;
        bottom: 43px;
        left: 0;
    }
    header #title_web .title h1
    {
        font-size: 30px;
    }
    header #title_web .title h4
    {
        font-size: 20px;
    }
    header #title_web .title p
    {
        padding-top: 7px;
        font-weight: 100;
    }
    .person
    {
        position: absolute;
        top: 5px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        padding-left: 40px;
    }
    header #title_web img
    {
        min-width: 250px;
        height: 250px;
        object-fit: cover;
    }

    /*--------- Button -----------------*/
    .main-button button {
        display: none;
    }

    /*-----------  Blue tick  ------------*/
    header #title_web .title .x9f619
    {
        display: none;
    }

    header #title_web .title
    {
        margin: 0;
    }

    /*------- About me -----------------*/
 
    .about
    {
        display: block;
    }
    .about .aboutImg 
    {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 15px;
    }
    .about .aboutImg img
    {
        width: 300px;
    }
    .about .aboutText
    {
        display: block;
        width: 100%;
        text-align: center;
    }

    /*-------- skills */

    /*------------- Services -----*/
    #services
    {
        padding: 0;
    }
    #services .container
    {
        padding: 40px 10px;
    }
    #services .container .service-header
    {
        padding-bottom: 16px;
    }
    #services .container .services-content
    {
        gap: 20px;
    }
    #services .container .services-content .card
    {
        width: 250px;
        height: auto;
    } 

    /*--------- latest Project -----*/
    .webs
    {
        display: block;
        width: 100%;
    }
    .webCard
    {
        text-align: center;
        margin: 35px auto;
    }
    /*-----------  contact me  -------*/

    #contact
    {
        display: block;
        width: 100%;
    }
    .contact1
    {
        width: 100%;
    }
    .contact2
    {
        display: flex;
        justify-content: center;
    }
    .contact2 form 
    {
        width: 100%;
    }
    .contact2 form .sendBtn
    {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 7px auto;
    }
    .contact2 form .sendBtn .btn
    {
        font-size: 15px;
        padding: 3px px;
        border-radius: 5px;
        border: white double 2px;
        background-color: #04002c;
        color: white;
    }
    span 
    {
        color: aqua;
    }
}