@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;300;400;600;700;800;900&display=swap');

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito Sans', sans-serif;
}


.header-area {
    display: flex;
    position: relative;
    align-items: center;
    padding: 20px;
    z-index: 1;
    justify-content: space-between;
}

.header-logo a {
    font-size:20px;
    font-weight: 800;
    background: -webkit-linear-gradient(45deg, #09009f, #00ff95 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}


.header-area .navbar{
    display: none;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.header-area .navbar a {
    color: #73737c;
    font-size: 16px;
    text-transform: capitalize;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
    position: relative;
}

.header-area .navbar a:before {
    position: absolute;
    content: '';
    width: 0;
    height: 2px;
    left: 50%;
    bottom: -6px;
    opacity: 0;
    transform: translateX(-50%);
    background-color: #00ff73;
    transition: all .3s ease;
}

.header-area .navbar a:hover:before  {
    opacity: 1;
    width: 100%;
}

.header-area .navbar a:hover,
.header-area .navbar .active a {
    background: -webkit-linear-gradient(45deg, #09009f, #00ff95 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.personal-hero-section {
    height: 100vh;
    background-image: url('bg1.svg');
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.page-line {
    height: 100vh;
    display: flex;
}

.page-line span {
    width: 100%;
    border-right: 1px solid rgba(122, 122, 122, 0.11);
}

.page-line span:nth-last-child(1) {
    border-right: 0;
}

.info-wrap {
    position: absolute;
    top: 16%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

.image img {
    width: 250px;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(2% 0, 100% 3%, 80% 100%, 0 100%);
}

.desc {
    font-size: 15px;
    background: -webkit-linear-gradient(355deg, #85838b, #0d2a1a 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.personal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;

    gap: 15px;
    padding: 20px;
    flex-direction: column;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    background: -webkit-linear-gradient(355deg, #85838b, #0d8758 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.title {
    width: max-content;
    position: relative;
    font-size:25x;
    text-transform: capitalize;
    font-weight: 800;
    background: -webkit-linear-gradient(79deg, #ffffff, #49ffbd69 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    max-width: 300px;
}
  .title::before, .title::after{
    content: '';
    position: absolute;
    inset: 0;
  }
  
  .title::before{
    background: #131320;
    animation: typing 5000ms steps(25) 2s forwards;
  }
  
  .title::after{
    width: .2rem;
    background: #fff;
    animation: typing 5000ms steps(25) 2s forwards, blink 800ms infinite;
  }
  
  @keyframes typing{
    to{
      left: 100%;
    }
  }
  
  @keyframes blink{
    to{
      background: transparent;
    }
  }

  .flow-me-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px;
}

.fllow-me-text {
    color: #abadac;
    transform-origin: 106% 0;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
}

.fllow-link {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 15px;
}

.fllow-link a{
    color: #abadac;
    text-decoration: none;
    transition: color .3s ease;
}
.fllow-link a:hover{
    color: #00ff95;
}


/* ofcanvas css start */
.ofcanvas-menu {
    display: inline-block;
}
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgb(0, 0, 0);
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
    text-transform: capitalize;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #00ff73;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  
  @media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
    }
  }


/* ofcanvas css end */

@media (min-width: 768px) {


    .info-wrap {
        top: 45%;
        left: 34%;
        flex-direction: row;
        gap: 0;
        padding: 0;
        align-items: flex-end;
        transform: translateX(-40%) translateY(-36%);
    }

    .header-area {
        padding: 30px;
    }

    .header-logo a {
        font-size:30px;
    }

    .image img {
        width: 300px;
    }

    .personal-info {
        gap: 30px;
        padding: 30px;

    }
    .title {
        font-size: 30px;
        max-width: 100%;
    }

    .flow-me-wrap {
        padding: 30px;
    }
    .fllow-me-text {
        font-size: 16px;
    }

}




@media (min-width: 1024px) {


    .header-area .navbar{
        display: flex;
    }
    .ofcanvas-menu {
        display: none;
    }
    .personal-info {
        gap: 50px;
        padding: 40px;
        flex-direction: row;
        align-items: center;
    }
    .header-area {
        padding: 40px;
    }
    .flow-me-wrap {
        padding: 40px;
    }
    /* .title {
        font-size: 30px;
    } */
    .image img {
        width: 405px;
    }
    .info-wrap {
        top: 40%;
        left: 36%;
    }
    .desc {
        font-size: 16x;
    }
    .fllow-me-text {
        font-size: 20px;
    }
}

@media (min-width: 1440px) {
    .personal-info {
        gap: 100px;
        padding: 50px;
    }
    .header-area {
        padding: 50px;
    }
    .flow-me-wrap {
        padding: 50px;
    }
    .title {
        font-size: 50px;
    }
    .image img {
        width: 500px;
    }
    .info-wrap {
        top: 36%;
        left: 41%;
    }
    .desc {
        font-size: 22px;
    }
    
    
}