* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
    background-color: #222;
 color: #ddd;
    overflow-x: hidden;
    overflow-y: auto;
    
}
.dark-mode {
    background-color: #f5ffff; /* white background */
    color: #144b64; 
}

.dark-mode .welcome-text{
    color: #11232c; 
    background-color: #f5ffff; /* white background */

} 
.dark-mode nav
{
    background-color: #000000;
    color: #d8ebff;
}
a {
    text-decoration: none;
    color: rgb(44, 89, 97);
}

li {
    list-style: none;
}

.header1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
  }
nav {
    width: 100vw;
    display: flex;
    transition: all 2s;
    background-color:#ffffff;
    justify-content: space-between;
    height: 70px;
}

.logo{
    background-color: #fff;
    padding: 4px;
    position: fixed;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: 11;
    margin: 10px;
    border: 4px solid #256e99;
  }

.logo img {
    width: 200px;
    margin: 10px 0 0 20px;
}
.theme{
    padding: 6px;
    border: none;
    background-color: #144b6496;
    color: rgb(231, 245, 39);
    position: fixed;
    border-radius: 10px;
    margin: 0px 0 0 86%;
}

.icon {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.icon i {
    color:  rgb(44, 89, 97);
    font-size: 50px;
    margin: 0 15px 0 0;
}
.icon1{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.links {
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 50px;    
    overflow-y: hidden;
    height: 0vh;
    transition: all 0.5s;
    margin: 20px 0 0 0;
}

.links a {
    font-size: 30px;
}

.toggle-links {
    overflow-y: visible;
    height: 25vh;
    transition: all 0.5s;
}

.nav-links {
    display: none;

}

.intro {
    margin: 20px;
    height: 0vh;
    overflow-y: hidden;
    transition: all 1s;
}

.show-intro {
    height: 30vh;
    overflow-y: visible;
    transition: all 1s;
}

.main-page {
    margin: 50px 0 0 0;
    height: 100vh;
}

.haji-photo {
    display: flex;
    justify-content: center;
}


.haji-photo img {
    width: 80vw;
   height: auto;
    border: 2px solid rgb(252, 253, 253);
    border-radius: 10px;
    box-shadow: 2px 2px 3px rgb(0, 0, 0);
}


@media screen and (min-width: 776px) {
    .main-page {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .haji-photo {
        display: flex;
        justify-content: center;
    }
    
    
    .haji-photo img {
        width: 30vw;
        height: auto;
        border: 0px solid  rgb(44, 89, 97);
        border-radius: 20;
        box-shadow: 2px 2px 3px rgb(0, 0, 0);
    }
}

@media screen and (min-width:1200px) {
    .main-page {
        height: 100vh;
    }
}

@media screen and (min-width: 1200px) {
    nav {
        width: 100vw;
        display: flex;
    }
    .logo img {
        width: 500px;
    }
    .icon {
        display: none;
    }

    .change-links {
        display: none;
    }

    .nav-links {
        width: 50%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-links a {
        font-size: 40px;
        margin: 0 50px 0 0;
    }
}

@media screen and (min-width: 776px) {
    nav {
        width: 100vw;
        display: flex;
    }
    .logo img {
        width: 300px;
    }
    .icon {
        display: none;
    }
    .theme{
    margin: 0px 0 0 95%;

    }
    .change-links {
        display: none;
    }

    .nav-links {
        width: 50%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-links a {
        font-size: 20px;
        margin: 0 50px 0 0;
    }
}

.change {
    font-size: 30px;
}

.welcome-text {
    color: rgb(249, 250, 250);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.welcome-text h1 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 20px;
}

.welcome-text h3 {
    text-align: center;
    margin-bottom: 20px;
}

.welcome-text h2 {
    text-align: center;
}

.welcome-textp {
    font-size: 10px;
    margin: 20px;
}

.intro {
    gap: 20px;
    margin-top: 30px;
}

.col {
    color:  rgb(255, 255, 255);
}



.client-to-me {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 0vw;
    overflow-x: hidden;
    transition: all 1s;
    margin: 40px 0 0 0;
    padding: 4px;

}

.show-client {
    width: 90vw;
    overflow-x: visible;
    transition: all 1s;
}

.myself {
    color: rgb(255, 255, 255);
}

.insta, .twitter, .gmail, .location i {
    font-size: 30px;
    
}

.location {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation-name: location;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-direction: alternate;

}

@keyframes location {
    0% {
        top: 0;
    }

    100% {
        top: 10px;
    }
}



.insta:hover {
    position: relative;
    bottom: 10px;
    transition: all 1s;
}

.twitter:hover {
    position: relative;
    bottom: 10px;
    transition: all 1s;
}

.gmail:hover {
    position: relative;
    bottom: 10px;
    transition: all 1s;
}

@media screen and (min-width: 1200px) {
    .insta, .twitter, .gmail, .location i {
        font-size: 50px;
    }
    
}


@media screen and (min-width: 1200px) {

    .welcome-text h1 {
        font-size: 100px;
    }

    .client-to-me {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
}

.img-about {
    width: 100vw;
    display: flex;
    flex-direction: column;
}
/*
.img {
    width: 90%;
    background-color: purple;
    padding: 30px;
    margin: 20px;
    height: 200px;
    border-radius: 8px;
}
*/
.about {
    width: 90%;
    line-height: 30px;
    display: flex;
    flex-direction: column;
    margin:20px;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.title .change {
    margin: 0 0 0 1px;
}

.title i {
    margin: 0 0 0 1px;
}

.par {
    position: relative;
    animation-name: icons;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-direction: alternate;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes icons {
    0% {
        top: 0;
    }

    100% {
        top: 10px;
    }
}

.about .title i {
    font-size: 30px;
}

.me {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.large-screens {
    display: none;
}

@media screen and (min-width: 1200px) {
    .about {
        display: flex;
        flex-direction: column;
        width: 90vw;
    }

    .me {
        width: 90%;
        display: flex;
        text-align: none;
    }

    .small-screens {
        display: none;
    }

    .large-screens {
        display: block;
        text-align: center;
        margin: 0 0 0 150px;
        gap: 50px;
    }

    .title .change {
        margin: 0 0 0 80px;
    }
    
    .title i {
        margin: 0 0 0 80px;
    }
}


.services {
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 25px;
    width: 100vw;
    margin: 20px 0 0 0px;
}

@media screen and (min-width: 1200px) {
    .services {
        display: flex;
        flex-direction: column;
        margin: 50px 0 50px 0;
    }

    .container {
        display: flex;
    }
}

.web-dev {
    display: flex;
    flex-direction: column;
    border: 2px solid  rgb(44, 89, 97);
    margin: 20px;
    padding: 10px;
    transition: all 1s;
    border-radius: 10px;
}


.web-dev i {
    font-size: 50px;
}

.web-dev h1 {
    margin: 15px;
}

.web-dev:hover {
    color: rgb(255, 255, 255);
    background-color:  rgb(44, 89, 97);
    transition: all 1s;
    border: 2px solid #fff;
}

.web-des {
    display: flex;
    flex-direction: column;
    border: 2px solid  rgb(44, 89, 97);
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
}

.web-des i {
    font-size: 50px;
}

.web-des h1 {
    margin: 15px;
}

.web-des:hover {
    color: rgb(255, 255, 255);
    background-color:  rgb(44, 89, 97);
    transition: all 1s;
    border: 2px solid white;
}

.graph-des {
    display: flex;
    flex-direction: column;
    border: 2px solid  rgb(44, 89, 97);
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
}

.graph-des i {
    font-size: 50px;
}

.graph-des h1 {
    margin: 15px;
}

.graph-des:hover {
    color: rgb(255, 255, 255);
    background-color:  rgb(44, 89, 97);
    transition: all 1s;
    border: 2px solid white;
}

.desc i {
    font-size: 30px;
}

hr {
    margin: 0 35px 0 35px;
}

.skills {
    display: flex;
    flex-direction: column;
    width: 100vw;
    margin: 20px 0 0 0;
}

.skills i {
    font-size: 30px;
}

.frontend {
    display: flex;
    flex-direction: column;
    width: 100vw;
}

.header {
    margin: 25px 0 0 0;
}

.header i {
    font-size: 30px;
}

.html-css {
    display: flex;
    justify-content: space-evenly;
}

.html-bar {
    height: 20px;
    width: 90vw;
    padding: 10px;
    margin: 0 0 24px 20px;
    background-color:  rgb(44, 89, 97);
    border-radius: 5px;
    position: relative;
}

.html-stats {
    height: 20px;
    width: 90%;
    padding: 10px;
    margin: 0;
    background-color: rgb(250, 246, 39);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.javascript {
    display: flex;
    justify-content: space-evenly;
}

.js-bar {
    height: 20px;
    width: 90vw;
    padding: 10px;
    margin: 0 0 24px 20px;
    background-color:  rgb(44, 89, 97);
    border-radius: 5px;
    position: relative;
}

.js-stats {
    height: 20px;
    width: 70%;
    padding: 10px;
    margin: 0;
    background-color: rgb(250, 246, 39);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.react {
    display: flex;
    justify-content: space-evenly;
}

.react-bar {
    height: 20px;
    width: 90vw;
    padding: 10px;
    margin: 0 0 24px 20px;
    background-color:  rgb(44, 89, 97);
    border-radius: 5px;
    position: relative;
}

.react-stats {
    height: 20px;
    width: 50%;
    padding: 10px;
    margin: 0;
    background-color: rgb(250, 246, 39);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.front-head {
    text-align: start;
    margin: 10px 0 20px 30px;
}

.front-head h1 {
    color: rgb(252, 252, 252);
}

.html {
    margin: 20px 0 0 0;
}

.header {
    text-align: center;
}

.back-head {
    text-align: start;
    margin: 10px 0 20px 30px;
}

.back-head h1 {
    color: rgb(250, 250, 250);
}

.node {
    display: flex;
    justify-content: space-evenly;
}

.node-bar {
    height: 20px;
    width: 90vw;
    padding: 10px;
    margin: 0 0 24px 20px;
    background-color:  rgb(44, 89, 97);
    border-radius: 5px;
    position: relative;
}

.node-stats {
    height: 20px;
    width: 80%;
    padding: 10px;
    margin: 0;
    background-color:   rgb(250, 246, 39);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.express {
    display: flex;
    justify-content: space-evenly;
}

.express-bar {
    height: 20px;
    width: 90vw;
    padding: 10px;
    margin: 0 0 24px 20px;
    background-color:  rgb(44, 89, 97);
    border-radius: 5px;
    position: relative;
}

.express-stats {
    height: 20px;
    width: 70%;
    padding: 10px;
    margin: 0;
    background-color: rgb(250, 246, 39);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.python {
    display: flex;
    justify-content: space-evenly;
}

.python-bar {
    height: 20px;
    width: 90vw;
    padding: 10px;
    margin: 0 0 24px 20px;
    background-color:  rgb(44, 89, 97);
    border-radius: 5px;
    position: relative;
}

.python-stats {
    height: 20px;
    width: 50%;
    padding: 10px;
    margin: 0;
    background-color:  rgb(250, 246, 39);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

@media  screen and (min-width: 1200px) {
    .skills {
        display: flex;
        flex-direction: row;
        width: 100vw;
    }

    .header {
        margin: 25px 0 0 0;
    }

    .header i {
        font-size: 30px;
    }


    .html-bar {
    height: 20px;
    width: 40vw;
    padding: 10px;
    margin: 0 0 24px 20px;
    background-color:  rgb(44, 89, 97);
    border-radius: 5px;
    position: relative;
}

.html-stats {
    height: 20px;
    width: 90%;
    padding: 10px;
    margin: 0;
    background-color:  rgb(250, 246, 39);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

  .html-css {
      display: flex;
      justify-content: space-evenly;
      width: 50vw;
  }

  .js-bar {
    height: 20px;
    width: 40vw;
    padding: 10px;
    margin: 0 0 24px 20px;
    background-color:  rgb(44, 89, 97);
    border-radius: 5px;
    position: relative;
}

.js-stats {
    height: 20px;
    width: 80%;
    padding: 10px;
    margin: 0;
    background-color:  rgb(250, 246, 39);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.react-bar {
    height: 20px;
    width: 40vw;
    padding: 10px;
    margin: 0 0 24px 20px;
    background-color:  rgb(44, 89, 97);
    border-radius: 5px;
    position: relative;
}

.html-stats {
    height: 20px;
    width: 90%;
    padding: 10px;
    margin: 0;
    background-color:  rgb(250, 246, 39);
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

    .node-bar {
        height: 20px;
        width: 40vw;
        padding: 10px;
        margin: 0 0 24px 20px;
        background-color:  rgb(44, 89, 97);
        border-radius: 5px;
        position: relative;
    }
    
    .node-stats {
        height: 20px;
        width: 80%;
        padding: 10px;
        margin: 0;
        background-color:  rgb(250, 246, 39);
        border-radius: 5px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .express-bar {
        height: 20px;
        width: 40vw;
        padding: 10px;
        margin: 0 0 24px 20px;
        background-color:  rgb(44, 89, 97);
        border-radius: 5px;
        position: relative;
    }
    
    .express-stats {
        height: 20px;
        width: 70%;
        padding: 10px;
        margin: 0;
        background-color:  rgb(250, 246, 39);
        border-radius: 5px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .python-bar {
        height: 20px;
        width: 40vw;
        padding: 10px;
        margin: 0 0 24px 20px;
        background-color:  rgb(44, 89, 97);
        border-radius: 5px;
        position: relative;
    }
    
    .python-stats {
        height: 20px;
        width: 50%;
        padding: 10px;
        margin: 0;
        background-color:  rgb(250, 246, 39);
        border-radius: 5px;
        position: absolute;
        top: 0;
        left: 0;
    }
}
.resume{
    width: 200px;border:none;border-radius: 5px;padding: 10px; color:rgb(0, 0, 0); background: rgb(250, 246, 39);
}
.cv{background-color: aliceblue;}
.resume:hover{
    background-color:  rgb(250, 246, 39);
    transition: all 1s;
    color: #fff;
    border: 1px solid rgb(26, 72, 110);
}
.hide{
    border:none; color:blue; border-radius:10px; padding:5px; background-color: #fff;width: 100px;display:none;
}
.contacts {
    display: flex;
    flex-direction: column;
    width: 90vw;
    align-items: center;
}


.contact-link {
    padding: 10px;
    background-color: rgb(20, 72, 121);
    width: 50%;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    color:  rgb(253, 255, 253);
    transition: all 1s;
}

.contact-link:hover {
    background-color: rgb(0, 0, 0);
    transition: all 1s;
    border: 1px solid rgb(2, 2, 2);
}

.description {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 20vh;
    width: 90vw;
    text-align: center;
    margin: 20px;
}

.description h1 {
    text-align: center;
    margin: 0 0 20px 25px;
}

.copy-write {
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 25px;
}

.latest {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 30px;
}

.projects-link {
    width: 80%;
    padding: 20px;
    margin: 35px 0 0 30px;
    height: 24px;
    background-color: rgb(167, 196, 250);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.projects-link:hover {
    background-color: rgb(58, 180, 144);
    transition: all 1s;
    border: 1px solid rgb(225, 248, 19);
}

.contact-icons  {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.resume{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation-name: resume;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-direction: alternate;
  
  }
  
  @keyframes resume {
    0% {
        top: 0;
    }
  
    100% {
        top: 10px;
    }
  }

.top-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70px;
   /* margin: 0 20px 15px 250px; */
    border-radius: 3px;
    border: 1px solid rgb(184, 230, 20);
    background-color: rgb(8, 216, 253);
    color: rgb(244, 247, 248);
    padding: 5px;
    position: fixed;
    bottom: 30px;
    right: 10px;
    font-size: 20px;
    transition: all 2s;
    display: none;
    animation-name: top;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.btn:hover {
    background-color: rgb(95, 243, 115);
    color: rgb(10, 4, 61);
    border: 1px solid rgb(220, 235, 11);
}

@keyframes top {
    100% {
        position: fixed;
        bottom: 20px;
        transition: all 2s;
    }

}

