
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:wght@500&family=Roboto+Slab&family=Roboto:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* global variable */
:root {
    --sideBGColor: #040b14;
    --themeColor: #00a78e;
    --iconBGColor: #2c2f3f;
    --textColor: #353535;
    --bgColor: #f7f7f7;
}

/* header start */
header {
    height: 100vh;
    width: 300px;
    padding: 15px 30px;
    background-color: var(--sideBGColor);
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    z-index: 99;
}

header .profile {
    text-align: center;
    margin: 10px 0;
}

header .profile img {
    border-radius: 50%;
    width: 150px;
    border: 10px solid var(--iconBGColor);
    -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
            transform: scale(0.9);
}

header .profile h1 {
    color: white;
    font-weight: 600;
}

header .profile .social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 37px;
    background-color: var(--iconBGColor);
    color: white;
    font-size: 18px;
    margin: 1.5px;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

header .profile .social-icons a:hover {
    background-color: var(--themeColor);
}

header nav {
    margin-top: 30px;
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    display: inline-block;
    text-decoration: none;
    padding: 7px 10px;
    margin: 7px 0px;
    color: lightgray;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.6px;
}

header nav ul li a i {
    margin-right: 10px;
    font-size: 20px;
    -webkit-transition: 0.4px;
    -o-transition: 0.4px;
    transition: 0.4px;
}

header nav ul li a:hover i {
    color: var(--themeColor);
}

header nav ul li .active i {
    color: var(--themeColor);
}

header .footer {
    text-align: center;
    background-color: var(--sideBGColor);
    width: 300px;
    color: lightgray;
    font-size: 14px;
    letter-spacing: 0.6px;
    padding: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

header .footer p a {
    color: var(--themeColor);
}

/* mobile nav toggle */
#menubtn {
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 20px;
    width: 40px;
    height: 40px;
    color: white;
    background-color: var(--themeColor);
    text-align: center;
    line-height: 42px;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
            box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
    z-index: 999;
    display: none;
}

/* mobile view */
@media only screen and (max-width: 1050px) {
    header {
        left: -300px;
    }

    header .footer {
        left: -300px;
    }

    #menubtn {
        display: block;
    }
}

.mobile-nav-active header {
    left: 0;
}

.mobile-nav-active header .footer {
    left: 0;
}

/* header end */

/* main section start */
main {
    margin-left: 300px;
    background-color: var(--bgColor);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

@media only screen and (max-width:1050px) {
    main {
        margin-left: 0;
    }
}


/* home section */
#home {
    height: 100dvh;
    width: 100%;
    background-image: url(../img1/IMG_3662-removebg-preview22.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 70px;
    position: relative;
}

/* overlay */
#home::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.431);
    position: absolute;
    top: 0;
    left: 0;
}

#home .home-row {
    z-index: 1;
}

#home .home-row h1 {
    font-size: 60px;
    color: white;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 10px;
    line-height: 70px;
}

#home .home-row h1 span {
    color: var(--themeColor);
}

#home .home-row p {
    color: white;
    font-weight: 500;
    font-size: 30px;
}

#home .home-row p span {
    border-bottom: 4px solid var(--themeColor);
}

/* mobile view */
@media only screen and (max-width:670px) {
    #home {
        padding: 30px;
    }

    #home .home-row h1 {
        font-size: 35px;
        letter-spacing: 0px;
        line-height: 50px;
    }

    #home .home-row h1 br {
        display: none;
    }

    #home .home-row p {
        font-weight: 400;
        font-size: 20px;
    }
}

/* about section start */
#about {
    padding: 70px 30px;
    /* width: 100%; */
}

/* global heading */
.sub-heading {
    color: black;
    font-size: 30px;
    margin-bottom: 10px;
}

/* we will use same divider in all section */
.divider {
    width: 80px;
    height: 4px;
    border-radius: 3px;
    background-color: var(--themeColor);
}

.sub-para {
    color: var(--textColor);
    font-size: 15px;
    letter-spacing: 0.4px;
    font-weight: 400;
    margin-top: 15px;
}

#about .about-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

#about .about-col .img-col {
    -ms-flex-preferred-size: 35%;
        flex-basis: 35%;
    text-align: center;
}

#about .about-col .img-col img {
    width: 100%;
}

#about .about-col .info-col {
    -ms-flex-preferred-size: 70%;
        flex-basis: 70%;
}

#about .about-col .info-col h2 {
    color: var(--themeColor);
    font-weight: 700;
    font-size: 35px;
    letter-spacing: 0.5px;
    margin-top: -10px;
}

#about .about-col .info-col p {
    color: var(--textColor);
    font-size: 15px;
    letter-spacing: 0.5px;
    font-style: italic;
}

#about .about-col .info-col .icon-list-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 20px;
    gap: 40px;
}

#about .about-col .info-col .icon-list-col .icon-list ul li {
    list-style-type: none;
    margin: 15px 0;
}

#about .about-col .info-col .icon-list-col .icon-list ul li i {
    color: var(--themeColor);
    font-weight: bold;
    font-size: 20px;
}

#about .about-col .info-col .icon-list-col .icon-list ul li strong {
    color: var(--sideBGColor);
    font-weight: 600;
    margin-right: 2px;
}

#about .about-col .info-col .icon-list-col .icon-list ul li span {
    color: var(--textColor);
    font-weight: 500;
    font-size: 15px;
}

/* mobile view */
@media only screen and (max-width: 850px) {
    #about {
        padding: 50px 10px;
    }

    #about .divider~p {
        font-size: 14px;
        letter-spacing: 0px;
        text-align: justify;
    }

    #about .about-col {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    #about .about-col .img-col img {
        width: 50%;
    }

    #about .about-col .info-col h2 {
        font-weight: 600;
        font-size: 25px;
        letter-spacing: 0px;
    }

    #about .about-col .info-col p {
        font-size: 14px;
        letter-spacing: 0px;
    }

    #about .about-col .info-col .icon-list-col {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 0;
    }

    #about .about-col .info-col .icon-list-col .icon-list ul li {
        margin: 10px 0;
    }

    #about .about-col .info-col .icon-list-col .icon-list ul li strong {
        font-weight: 500;
        margin-right: 0px;
    }

    #about .about-col .info-col .icon-list-col .icon-list ul li span {
        font-weight: 400;
        font-size: 13px;
    }
}

@media only screen and (max-width: 400px) {
    #about .about-col .img-col img {
        width: 90%;
    }
}

/* about section end */


/* skill section start */
#skill {
    padding: 70px 30px;
}

#skill .skill-row {
    margin-top: 35px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

#skill .skill-row .skill-box .skill-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 4px;
}

#skill .skill-row .skill-box .skill-info h2 {
    -webkit-columns: var(--sideBGColor);
       -moz-columns: var(--sideBGColor);
            columns: var(--sideBGColor);
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
}

#skill .skill-row .skill-box .skill-outer-line {
    width: 100%;
    height: 10px;
    background-color: lightgray;
    border-radius: 15px;
}

#skill .skill-row .skill-box .skill-outer-line .skill-inner-line {
    height: 10px;
    background-color: var(--themeColor);
    border-radius: 20px;
}

/* mobile view */
@media only screen and (max-width: 450px) {
    #skill {
        padding: 50px 15px;
    }

    #skill .skill-row {
        -ms-grid-columns: 1fr;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 10px;
    }
}

/*skill section end  */

/* resume section start */
#resume {
    padding: 70px 30px;
    background-color: white;
}

#resume .resume-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
}

#resume .resume-row .resume-cols {
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
}

#resume .resume-row .resume-cols h2 {
    color: var(--sideBGColor);
    font-weight: 600;
    font-size: 25px;
    margin: 15px 0;
}

#resume .resume-row .resume-cols .my-info {
    padding: 0 20px 0 20px;
    margin: 20px 0;
    border-left: 3px solid var(--themeColor);
    position: relative;
}

#resume .resume-row .resume-cols .my-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid var(--themeColor);
    background-color: white;
}

#resume .resume-row .resume-cols h3 {
    color: var(--sideBGColor);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
}

#resume .resume-row .resume-cols .my-info p {
    color: var(--textColor);
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    margin: 10px 0;
}

#resume .resume-row .resume-cols .my-info ul li {
    margin: 10px 0;
    margin-left: 20px;
    color: var(--textColor);
    font-size: 15px;
    font-weight: 500;
}

#resume .resume-row .resume-cols .my-edu {
    padding: 0 20px 0 20px;
    border-left: 3px solid var(--themeColor);
    position: relative;
}

#resume .resume-row .resume-cols .my-edu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid var(--themeColor);
    background-color: white;
}

#resume .resume-row .resume-cols .sp-box {
    padding: 4px 22px;
    background-color: lightblue;
    color: var(--textColor);
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600px;
    font-style: italic;
    margin: 15px 0;
    display: inline-block;
}

#resume .resume-row .resume-cols .my-edu span+p {
    color: var(--textColor);
    font-size: 15px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 15px;
}

#resume .resume-row .resume-cols .my-edu span+p+p {
    color: var(--textColor);
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 15px;
}

/* mobile view */
@media only screen and (max-width: 820px) 
{
   #resume {
        padding: 50px 15px;
    }

    #resume .resume-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    #resume .resume-row .resume-cols {
        -ms-flex-preferred-size: 100%;
            flex-basis: 100%;
    }
}
/* resume section end */

/* portfolio section start */
#portfolio {
    padding: 70px 30px;
}

#portfolio .port-row {
    margin-top: 50px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 35px 1fr;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 35px;
}
#portfolio .port-row .port-item {
   position: relative;
   border-radius: 10px;
   overflow: hidden;
   -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
           box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
}
#portfolio .port-row .port-item .port-img img {
   width: 100%;
   border-radius: 10px;
}
#portfolio .port-row .port-item .port-info {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 167, 142, 0.8)), to(rgba(0, 167, 142, 0.8)));
   background-image: -o-linear-gradient(rgba(0, 167, 142, 0.8), rgba(0, 167, 142, 0.8));
   background-image: linear-gradient(rgba(0, 167, 142, 0.8), rgba(0, 167, 142, 0.8));
   padding: 0 15px;
   text-align: center;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-orient: vertical;
   -webkit-box-direction: normal;
       -ms-flex-direction: column;
           flex-direction: column;
   -webkit-box-pack: center;
       -ms-flex-pack: center;
           justify-content: center;
   -webkit-box-align: center;
       -ms-flex-align: center;
           align-items: center;
   gap: 10px;
   -webkit-transform: scale(0);
       -ms-transform: scale(0);
           transform: scale(0);
   -webkit-transition: 0.4s;
   -o-transition: 0.4s;
   transition: 0.4s;
   border-radius: 10px;
   visibility: hidden;
}
#portfolio .port-row .port-item:hover .port-info {
   -webkit-transform: scale(1);
       -ms-transform: scale(1);
           transform: scale(1);
   visibility: visible;
}
#portfolio .port-row .port-item .port-info h4
{
   color: var(--bgColor);
   font-size: 25px;
   font-weight: 600;
}
#portfolio .port-row .port-item .port-info h4 + p
{
   color: var(--bgColor);
   font-size: 14px;
}
#portfolio .port-row .port-item .port-info a
{
   text-decoration: none;
   display: inline-block;
   font-size: 20px;
   width: 45px;
   height: 45px;
   background-color: var(--bgColor);
   border-radius: 50%;
   color: var(--themeColor);
   line-height: 45px;
   -webkit-transition: 0.4s;
   -o-transition: 0.4s;
   transition: 0.4s;
}
#portfolio .port-row .port-item .port-info a:hover
{
   background-color: var(--sideBGColor);
   color: var(--bgColor);
}

/* mobile view */
@media only screen and (max-width: 650px)
{
   #portfolio {
       padding: 50px 10px;
   }
  
   #portfolio .port-row {
       -ms-grid-columns: 1fr;
       grid-template-columns: repeat(1, 1fr);
       grid-gap: 15px;
   }
} 
@media only screen and (max-width: 350px)
{
   #portfolio .port-row {
       -ms-grid-columns: 1fr;
       grid-template-columns: repeat(1, 1fr);
       grid-gap: 15px;
   } 
}
/* portfolio section end */

/* service section start */
#service
{
   padding: 70px 30px;
   background-color: white;
}
#service .service-row
{
   margin-top: 50px;
   display: -ms-grid;
   display: grid;
   -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
   grid-template-columns: repeat(3, 1fr);
   grid-gap: 30px;
}
#service .service-row .service-box
{
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   gap: 20px;
}
#service .service-row .service-box .icon i
{
   width: 50px;
   height: 50px;
   border-radius: 50%;
   border: 2px solid var(--themeColor);
   font-size: 22px;
   line-height: 46px;
   background-color: var(--themeColor);
   color: var(--bgColor);
   -webkit-transition: 0.7s;
   -o-transition: 0.7s;
   transition: 0.7s;
   text-align: center;
}
#service .service-row .service-box:hover .icon i
{
   color: var(--themeColor);
   background-color: var(--bgColor);
}
#service .service-row .service-box .ser-info h4
{
   color: var(--sideBGColor);
   font-size: 20px;
   font-weight: 600;
}
#service .service-row .service-box .ser-info h4 + p
{
   color: var(--textColor);
   font-size: 14px;
   font-weight: 500px;
}
/* mobile view */
@media only screen and (max-width: 850px) {
   #service
   {
      padding: 50px 15px;
   } 
   #service .service-row
   {
      -ms-grid-columns: 1fr 15px 1fr;
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 15px;
   }   
}
@media only screen and (max-width: 550px) {
   #service .service-row
   {
      -ms-grid-columns: 1fr;
      grid-template-columns: repeat(1, 1fr);
      grid-gap: 15px;
   }   
}
/* service section end */

/* contact section start */
#contact
{
   padding: 70px 30px;
}
#contact .contact-row
{
   margin-top: 50px;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   gap: 20px;
   width: 100%;
}
#contact .contact-row .contact-left
{
   -ms-flex-preferred-size: 40%;
       flex-basis: 40%;
   min-width: 40%;
   background-color: white;
   -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
           box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
   border-radius: 4px;
   padding: 30px;
}
#contact .contact-row .contact-left .icon-box
{
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   gap: 15px;
   -webkit-box-align: center;
       -ms-flex-align: center;
           align-items: center;
   margin: 30px 0;
}
#contact .contact-row .contact-left .icon-box .icon i
{
   width: 50px;
   height: 50px;
   border-radius: 50%;
   border: 2px solid var(--themeColor);
   text-align: center;
   line-height: 47px;
   font-size: 20px;
   color: var(--themeColor);
   -webkit-transition: 0.5px;
   -o-transition: 0.5px;
   transition: 0.5px;
}
#contact .contact-row .contact-left .icon-box:hover .icon i
{
   background-color: var(--themeColor);
   color: var(--bgColor);
}
#contact .contact-row .contact-left .icon-box .info h4
{
   font-size: 20px;
   color: var(--sideBGColor);
   font-weight: 600;
}
#contact .contact-row .contact-left .icon-box .info h4 + p
{
   color: var(--textColor);
   font-size: 13px;
   font-weight: 500;
}
#contact .contact-row .contact-ryt
{
   -ms-flex-preferred-size: 60%;
       flex-basis: 60%;
   min-width: 60%;
   background-color: white;
   -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
           box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
   border-radius: 4px;
   padding: 30px;
}

#contact .contact-row .contact-ryt form input,
#contact .contact-row .contact-ryt form textarea
{
   width: 100%;
   margin: 25px 0;
   padding: 10px 20px;
   border: 2px solid lightgray;
   border-radius: 2px;
   outline: none;
   resize: none;
   -webkit-transition: 0.5s;
   -o-transition: 0.5s;
   transition: 0.5s;
   display: block;
   font-size: 15px;
   font-weight: 500;
   color: var(--textColor);
}
#contact .contact-row .contact-ryt form input:focus,
#contact .contact-row .contact-ryt form textarea:focus
{
   border: 2px solid var(--themeColor);
}
#contact .contact-row .contact-ryt form input[type=submit]
{
   background-color: var(--themeColor);
   color: var(--bgColor);
   border: 2px solid var(--themeColor);
   font-size: 17px;
   font-weight: 400;
   cursor: pointer;
}
/* mobile view */
@media only screen and (max-width: 800px) {
   #contact
   {
      padding: 50px;
   }
   #contact .contact-row
   {
      gap: 10px;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
   }    
}
@media only screen and (max-width: 500px) {
   #contact
   {
      padding: 50px 10px;
   }  
}
/* contact section end */