@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost&display=swap');

*{
    margin: 0;
    box-sizing: border-box !important;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    outline: none !important;
}
.sidebar::-webkit-scrollbar {
    width: 0em !important;
}
body::-webkit-scrollbar {
    width: .7em;
}
   
body::-webkit-scrollbar-track {
    box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--dark-mode-border-line);
    border-radius: 10px;
}

body{
    background-color: var(--dark-mode-bg-color);
    color: var(--dark-mode-text-color);
    transition: all .3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

/* for dark mode */
:root{
    --dark-mode-bg-color: #23252F;
    --dark-mode-text-color: #ffffff; 
    --dark-mode-border-line: #6d59a8;
    --span-h3-dark-mode: rgb(202, 39, 202);
    --banner-button: #6D59A8;
    --card-bg-color: #303241;
    --carousel-bg: #303241;
    --comment-card-bg-color: #23252F;
    --smaller-card-bg-color: rgb(29, 23, 23);
    --flex-container-bg-color: #44485e;
    --comment-sect-bg-color: #1A1C23;
    --svg-container-bg: #1A1C23;
    --small-card-button-color: #fff;
    --footer-text-color: rgb(30, 196, 30);
    --card-outro-bg:  #6D59A8;
    --outro-button-bg: black;
    --active-color: rgb(255, 30, 169);
    --progess-bg: rgb(189, 67, 142);
}

/* for white mode */
.white-mode{
    --dark-mode-bg-color: #fff;
    --dark-mode-text-color: #031926; 
    --dark-mode-border-line: #079c72;
    --span-h3-dark-mode: #098a65;
    --banner-button: #6CE5B1;
    --card-bg-color: #F5EEED;
    --carousel-bg: #f2EEED;
    --comment-card-bg-color: #fff;
    --smaller-card-bg-color: #fff;
    --comment-sect-bg-color: #F5EEED;
    --flex-container-bg-color: #F3EEEA;
    --svg-container-bg: #f2EEEC;
    --footer-text-color: rgba(233, 14, 14, 0.87);
    --outro-button-bg: white;
    --active-color: #1c9269cb;
    --small-card-button-color: rgb(29, 23, 23);
    --card-outro-bg:  linear-gradient(to right, #80ffdb, #86d6a4);
    --progess-bg: #4caf50;
}

/* page loader css  */
.loader{
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 99999999999999;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center;
}
.vanish{
    animation: disappear 1s forwards
}
.loader-image{
    margin-top: -40px !important;
    border-radius: 50%;
    animation: rotation 7s infinite alternate;
}
.glow-text{
    font-size: 60px;
    color: #fff;
    animation: glow 1s ease-in-out infinite alternate;
}
@keyframes rotation{
    from{ transform: rotate(0deg); }
    to{ transform: rotate(359deg);}
}
@keyframes disappear{
    100%{ opacity: 0; visibility: hidden;}
}
@keyframes glow {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
    }
    to {
      text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
    }
  }

/* top navigation for all pages */
.top-nav{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    height: 40px;
    padding: .4em;
}
.top-nav :is(a){
    font-size: 17px;
    font-weight: 600;
    color: white !important;
    margin-right: 6px;
    font-family: 'Jost', sans-serif;
}
.top-nav :is(a):hover{
    text-decoration: underline;
}
.top-nav :is(ion-icon){
    font-size: 20px;
    color: rgba(15, 199, 231, 2) !important;
}


/* mobile nav bar */
.contain{
    justify-content: center;
    display: flex;
}
.flex-container{
    width: 93vw;
    display: flex;
    bottom: 3%;
    padding-top: .75rem;
    padding-bottom: .75rem;
    z-index: 999999;
    position: fixed;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    overflow: hidden;
    place-items: center;
    justify-content: space-evenly;
    background-color: var(--flex-container-bg-color);
    border-radius: 1.25rem;
    height: fit-content;
    max-height: 4.5em;
}
.flex-container a ion-icon{
    font-size: 1.3em;
    margin-left: 5px;
}
.projects-button ion-icon{
    margin-left: 10px;
}
.flex-container a h4{
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
    line-height: 1rem;
    font-family: 'Jost', sans-serif;
}
.flex-container a{
    display: block;
}
.selected{
    color: var(--active-color);
}


/* mobile navigation sidebar */
.sidebar{
    transition: all .6s ease-in-out;
    position: fixed;
    left: -260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    width: 260px;
    top: 0;
    height: 100%;
    z-index: 9999999 !important;
    background: var(--card-bg-color);
    overflow-y: scroll;
}
.svg-nav {
    margin-left: 4px;
    width: 1.6em;
    height: 1.4em;
  } 
  .svg-nav path,
  .svg-nav polygon,
  .svg-nav rect {
    fill: var(--dark-mode-text-color);
  }  
 .svg-nav circle {
    stroke: var(--dark-mode-text-color);
    stroke-width: 1;
  }
.close-menu{
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-btn{
    margin-left: 7px;
    display: flex;
    cursor: pointer;
}
.menu-btn:hover{
    color: rgb(231, 14, 14);
}
.menu-btn p {
    margin-top: -4px;
    margin-left: 2px;
}
#color-mobile{
    margin-top: 2px;
    margin-right: -25px;
    background-color: transparent !important;
}
.sidebar header{
    margin-top: 20px;
    margin-bottom: -14px;
    display: flex;
    padding: 12px;
    text-align: center;
    align-items: center;
    place-items: center;
}
header img{
    border: 5px solid var(--banner-button);
    margin-top: -2px;
}
header h2{
    font-size: 23px;
    margin-top: -30px;
    padding-left: 16px;
}
.sidebar ul li{
    text-decoration: none;
    list-style: none !important;
}
.sidebar ul li a{
    display: block;
    width: 100%;
    box-sizing: border-box !important;
    line-height: 70px;
    font-size: 18px;
    transition: .4s;
}
.sidebar ul li:hover a{
    padding-left: 10px;
    text-decoration: underline;
}
.sidebar ul a ion-icon{
    margin-right: 20px;
    font-size: 1.5em;
}
.sidebar .icon-list{
    margin-top: 30px;
    padding-left: 10px;
}
.sidebar .icon-list a ion-icon{
    margin: 2px;
}


/* laptop's navbar */
nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    display: flex;
    align-items: center !important;
    font-size: 18px;
    justify-content: flex-start;
    margin-top: 5px;
    margin-left: 10px;
}
.logo img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-right: 16px;
    margin-left: 20px;
}
.navigation {
    justify-content: flex-end;
    display: flex;
    list-style: none;
}
.color-switch{
    margin-top: -6px;
    font-size: 30px;
}
a{
    text-decoration: none;
    font-weight: bold;
    color: var(--dark-mode-text-color);
    font-family: 'Jost', sans-serif;
}
.hire-now{
    background: var(--card-bg-color);
    border-radius: .7rem;
    transition: .3s;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border: none;
}
.hire-now:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    border-radius: 10px;
}
.hire-now:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--card-bg-color);
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}


.nav-links{
    text-decoration: none;
    display: block;
    padding-top: .75rem;
    padding-bottom: .75rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;   
    margin-right: .5em;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-mode-text-color);;
}
.nav-links:hover{
    background-color: var(--card-bg-color);
    border-radius: .5rem;
}


/* banner or hero section */
.hero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 170px;    
}
.intro{
    margin-top: 20px;
    text-align: center;
    width: 50rem;
    margin-bottom: 35px;
}

.slogan{
    font-size: 1.4em;
    font-weight: bold;
    color: var(--dark-mode-text-color);
}
.slogan span{
    color: var(--banner-button);
}
.intro h1{
    font-size: 4rem;
    font-style: normal;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 1.05em;
}
button{
    padding: .75rem 2.5rem;
    cursor: pointer;
    border-radius: .75rem !important;
    transition: all .3s ease-in-out;
    border: none;
}
.hero-button button{
    background: var(--banner-button);  
    color: var(--dark-mode-text-color);
    font-weight: 550;
    font-size: 15px;
}
button:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2);
}
.hero-button button:hover{
    transform: translateY(-5px);
    background-color: transparent;
    border-color: var(--banner-button);
    box-shadow: 0 0 10px 0 var(--banner-button) inset, 0 0 10px 4px var(--banner-button);
}


/* home page images section  */
.img-container{
    margin-top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.banner-image{
    max-width: 1000px;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, .2));
    border-radius: 1em;
}


/* information about skills and web  */
.web-info{
    margin-top: 80px;
}
.web-info h1{
    text-align: center;
    font-weight: 600;
    word-spacing: 4px;
    font-size: 2.9rem;
    margin-bottom: 80px;
}
.row{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-row-gap: 40px;
}
.col{
    display: flex;
    justify-content: center;
    padding: 1rem;
}
.col h2{ 
    font-size: 25px;
    padding-bottom: 3px;
    font-family: 'Jost', sans-serif;
}
.col p{
    font-family: 'Poppins', sans-serif;
}
/* further services info  */
.more-services{
    margin-top: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.more-services a{
    font-size: 15px;
    font-weight: normal;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 8px;
    color: var(--dark-mode-text-color);
    text-decoration: none;
}
.more-services a ion-icon{
    margin-left: 5px;
    margin-top: 8px;
}
.more-services a::after {
    margin-top: 7px;
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--banner-button);
    transition: width .3s;
}

.more-services a:hover::after {
    width: 100%;
}


/* portfolio home page card */
.card-container{
    margin: 100px 50px !important;
    display: flex;
    justify-content: center;
}
.card{
    width: 65rem;
    border-radius: .9rem !important;
    height: 350px;
    margin: 5px auto !important;
    padding: 20px;
    background-color: var(--card-bg-color);
}
.card-content{
    display: flex;
    flex-grow: 2;
    flex-wrap: wrap;
}
.passport img{
    margin-top: -100px;
    margin-left: -80px;
    margin-right: -85px;
}
/* section two of portfolio card */
.smaller-card{
    flex: 5;
    width: 100%;
    height: 80%;
    border-radius: .9rem;
    background-color: var(--smaller-card-bg-color);
    color: var(--dark-mode-text-color);
    padding: 3em;
}
.smaller-card h1{
    font-size: 2.7em;
    font-family: 'Jost', sans-serif;
}
.smaller-card p{
    margin-top: 20px;
    font-size: 15px;
}
.smaller-card button{
    margin-top: 25px;
    border-radius: .75rem !important;
    font-weight: 600;
    font-size: 15px;
    padding: .75rem 2.5rem;
    transition: all .3s ease-in-out;
    margin-bottom: 10px;
    background: var(--small-card-button-color); 
    color: var(--dark-mode-bg-color);
}
.smaller-card button:hover{
    transform: translateY(-5px);
    background-color: transparent;
    color: var(--dark-mode-text-color);
    box-shadow: 0 0 10px 0 var(--small-card-button-color) inset, 0 0 10px 4px var(--small-card-button-color);
}


/* people's comment section */
.comments-card{
    margin-top: 120px;
    background-color: var(--comment-sect-bg-color);
    padding-top: 3em;
}
.people-comments{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 80px;
    margin-top: 50px;
}
.topic-outline{
    display: flex;
    flex-direction: column;
    flex: 4;
    padding: 0 1.2em;
}
.topic-outline h1{
    font-size: 2.9rem;
    margin-bottom: 15px;
}
.topic-outline p{
    font-size: 17px;
    font-family: 'Jost', sans-serif;
    margin-top: 5px;
}


/* section two of comment card  */
.comment-card{
    columns: 2;
    column-gap: .8em;
    flex: 4;
}
.comment-card>div{
    background-color: var(--comment-card-bg-color);
    border-radius: .9rem;
    color: var(--dark-mode-text-color);
    padding: 1.2em;
    display: inline-block;
    margin: 0 0 1em;
    /* word-spacing: 2px; */
    font-size: 16px;
    font-family: 'Jost', sans-serif;
}
.commentor{
    margin-top: 14px;
    display: flex;
    align-items: center;
}
.commentor img{  
    width: 3.7em;
    height: 3.7em;
    object-position: center;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 10px;
    margin-left: -7px;
}
.statements p{
    font-size: 16px;
    font-weight: 400;
    font-family: 'Jost', sans-serif;
}
.c-name{
    font-family: 'Lato', sans-serif;
    font-size: 18px !important;
    text-align: left !important;
    font-weight: 600;
}


/* tools i use section  */
.tools-used h1{
    text-align: center;
    font-size: 2.9rem;
    font-style: normal;
    margin-top: 100px;
    padding-bottom: 20px;
    /* font-family: 'Jost'; */
}
.tools-list{
    margin-bottom: 100px !important;
}

/* last card of home page  */
.outro-card{
    display: block;
    margin-bottom: 150px !important;
    margin-top: 100px;
}
.card-outro{
    width: 65rem;
    height: fit-content;
    margin: 120px auto;
    overflow: hidden;
    padding-left: 1.6em;
    padding-right: 1.6em;
    padding-top: 2em;
    padding-bottom: 2em;
    border-radius: .9rem;
    background: var(--card-outro-bg); 
}
.card-outro button{
    background-color: var(--outro-button-bg);
    color: var(--dark-mode-text-color);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border: none;
    font-size: 16px;
    transition: all .3s ease-in-out;
    padding: .75rem 2.5rem;
}
.card-outro button:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}
.card-outro button:active {
    color: var(--dark-mode-text-color)
}
.card-outro button:active:after {
    background: transparent;
}
.card-outro button:hover:before {
    opacity: 1;
}
.card-outro button:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--outro-button-bg);    left: 0;
    top: 0;
    border-radius: 10px;
}

.card-outro h1{
    font-size: 2.5rem;
    padding-bottom: .4em;
}
.card-outro p{
    padding-bottom: 2em;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
}

/* footer ! */
footer{
    padding: 0 !important;
    margin-top: 100px;
    margin-bottom: 50px;
}
.footer-image{
    width: 3.7rem;
    height: 3.7rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;    border-radius: 50%;
    margin-left: -4px;
    margin-bottom: 25px;
}
.footer-grid{
    margin-bottom: 80px;
    display: grid;

    width: 100% !important;
    grid-template-columns: 600px 150px auto;
}
/* footer contents */
.first-grid h2{
    font-size: 24px;
    font-style: normal;
    margin-bottom: 25px;
}
.first-grid p{
    margin-top: 8px;
    margin-bottom: 30px;
    font-family: 'Jost', sans-serif;
    font-size: 16.4px;
}
.first-grid span{
    color: var(--footer-text-color);
    font-size: 15px;
}
.first-grid span:hover{
    text-decoration: underline !important;
    cursor: not-allowed;
}
.second-grid{
    margin-top: 100px;
    display: block;
    margin-left: -50px;
}
.second-grid h4{
    font-size: 19px;
    margin-bottom: 23px;
}
.second-grid > a{
    font-size: 16px;
    display: block;
    width: 50%;
    font-weight: normal !important;
    list-style-type: none;
}
.second-grid a:hover{
    text-decoration: underline;
    color: blueviolet;
    cursor: cell;
}
.line-container{
    display: flex;
    place-items: center !important;
    justify-content: center !important;
}
.line{
    width: 92%;
    border-top: 3px solid #4c4e5c;
    margin-bottom: 20px;
}
.copyright{
    margin-left: 5%;
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
}
.footer-icon{
    font-size: 25px !important;
    padding-right: 8px;
    cursor: pointer;
}
.icon-list{
    margin-top: 30px;
}
.col h2{
    margin-bottom: 14px !important;
    font-weight: bold;
}
form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 30px;
    margin-left: 24px;
    margin-top: 90px;
}
form h4{
    font-size: 19px;
    margin-bottom: 12px;
    margin-left: 4px;
}
input{
    background-color: #1A1C23;
    border: none;
    outline: none;
    color: #fff;
    padding: 12px;
    margin-top: 10px;
    border-radius: .5em;
}
::placeholder{
    color: #777C87;
    font-size: 16px;
}
textarea{
    background: #1A1C23;
    border-radius: .4em;
    padding: 10px;
    border: none;
    margin-top: 10px;
    resize: none;
    font-size: 17px;
    color: #fff;
}
.form-btn{
    margin-top: 10px;
    width: 40%;
    margin-left: -2px;
    background: var(--card-bg-color);
    color: var(--dark-mode-text-color);
}
  /* contact page css here !!!!! */
.page-topic{
    margin-bottom: 100px;
    margin-top: 150px;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.page-topic h1{
    font-size: 65px;
    margin-bottom: 100px;
}
.page-topic p{
    padding: 0 10px;
    margin-bottom: 20px;
}
.contact-me{
    display: grid;
}
.btn{
    padding: 10px 15px;
    border: 2px solid var(--dark-mode-text-color);
    color: var();
    margin-top: 20px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    width: 30%;
    justify-self: center;
    margin-bottom: 20px;
    transition: all .4s ease-in;
}
.btn:hover{
    /* border: 2px dotted wheat; */
    border: 2px solid transparent;
    background-color: wheat;
    color: #000;
}
.contact-me>a:not(.btn){
    text-decoration: none;
    font-weight: 400;
    font-size: medium;
    color: var(--footer-text-color);
    transition: all .2s ease-out;
}
.contact-me>a:not(.btn):hover{
    text-decoration: underline;
    color: rgb(255, 208, 0);
}
.contact-me>p{
    margin-bottom: 20px;
    padding: 0 10px;
}


/* <<<<<<<<<<<<<<< helpful classes */
.progress-container {
    position: fixed;
    top: 0;
    z-index: 999999999;
    width: 100%;
    height: 5px;
  }
.progress-bar {
    height: 6px;
    background: var(--progess-bg);
    width: 0%;
    transition: all .3s ease-out;
}
.bulb{
    color: #1d976c !important;
}
.scroll-container{
    width: 2.5em;
    position: fixed;
    right: 2%;
    bottom: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5em;
    cursor: pointer;
    z-index: 9999999999;
    background: var(--card-bg-color);
    border-radius: 50%;
    color: var(--banner-button);
    transition: all .5s ease-in;
}
.scroll-container ion-icon{
    font-size: 1.7em;
}
.carousel {
    margin: 40px auto;
    max-width: 65rem;
}
.carousel>button{
    background: none !important;
    color: var(--dark-mode-text-color);
}

.carousel-cell {
    width: 33%;
    height: 200px;
    margin-right: 5px;
}
 
.carousel-cell-image {
    display: block;
    max-height: 100%;
    margin: 0 auto;
    max-width: 100%;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    transition: opacity 0.4s;
}
.carousel-cell-image.flickity-lazyloaded,
.carousel-cell-image.flickity-lazyerror {
  opacity: 1;
}
  
.svg-container{
    background-color: var(--svg-container-bg);
    width: 4em;
    height: 4em;
    border-radius: 1.2rem;
    padding: .9em;
    display: flex;
    align-items: center;
    justify-items: center;
    place-items: center;
    margin-right: 20px;
}
.svg-icon {
    width: 2.2em !important;
    height: 2.2em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
    fill: var(--dark-mode-text-color);
}

.svg-icon circle {
    stroke: var(--dark-mode-text-color);
    stroke-width: 1;
}

/* media queries for helpers classes */
@media (min-width: 1400px) {
    .container {
        width: 1350px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (min-width: 1000px) {
    .flex-container{
        display: none !important;
    }
}


 /* end of helpful tools >>>>>>>>>>>>>>>>>>>>> */


  
