/*===========================================================

   Project Name: Personal Website
   Author: Ananta Raj Khanal	
=================================================
  Table of Contents
=================================================

	1. Global Styles
	2. Header
	3. Section
	4. Footer
=======================================================*/

/*===========================================================
1. Global Styles
===========================================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: auto;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #f5df4e;
    --color-white: #fff;
    --color-dark: #212529;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    background-color: var(--color-white);
    color: var(--color-dark);
}


img,
canvas {
    max-width: 100%;
    height: auto;
}

img,
svg {
    vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

a:hover,
a:focus {
    color: var(--color-white);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.row>div {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.column-1,
.column-2,
.column-3,
.column-4,
.column-5,
.column-6,
.column-7,
.column-8,
.column-9,
.column-10,
.column-11,
.column-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%
}



.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.direction-column {
    flex-direction: column;
}

.direction-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

ul {
    list-style: none;
}

ul li {
    display: inline-block;
    margin-right: 10px;
}

.bg-color-dark {
    background-color: var(--color-dark);
}

.bg-color-light {
    background-color: var(--bg-secondary);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-lowercase {
    text-transform: lowercase !important;
}

.pointer {
    cursor: pointer !important;
}

.text-black,
.text-black>* {
    color: var(--color-dark) !important;
}

.text-white,
.text-white>* {
    color: var(--color-white);
}



.pt-80 {
    padding-top: 80px;
}

.pb-80 {
    padding-bottom: 80px;
}


.btn {
    padding: 0.8rem 2.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    line-height: 1.5;
    color: var(--color-dark);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 2px solid transparent;
    font-size: 1rem;
    border-radius: .25rem;
    margin-bottom: 0 !important;
}

.btn_dark {
    color: #fff;
    background-color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn_dark:hover,
.btn_dark:focus {
    color: var(--color-dark);
    background-color: transparent;
}

.btn_dark.inverse {
    color: #fff;
    background-color: transparent;
    border-color: var(--primary-color);
}

.btn_dark.inverse:hover,
.btn_dark.inverse:focus {
    color: var(--color-white);
    background-color: transparent;
}

.m-0 {
    margin: 0 !important
}

.m-1 {
    margin-top: .25rem !important
}

.m-2 {
    margin: .5rem !important
}

.m-3 {
    margin: 1rem !important
}

.m-4 {
    margin: 1.5rem !important
}

.m-5 {
    margin: 3rem !important
}

.mt-0 {
    margin-top: 0 !important
}

.mt-1 {
    margin-top: .25rem !important
}

.mt-2 {
    margin-top: .5rem !important
}

.mt-3 {
    margin-top: 1rem !important
}

.mt-4 {
    margin-top: 1.5rem !important
}

.mt-5 {
    margin-top: 3rem !important
}

.mb-0 {
    margin-bottom: 0 !important
}

.mb-1 {
    margin-bottom: .25rem !important
}

.mb-2 {
    margin-bottom: .5rem !important
}

.mb-3 {
    margin-bottom: 1rem !important
}

.mb-4 {
    margin-bottom: 1.5rem !important
}

.mb-5 {
    margin-bottom: 3rem !important
}

.p-0 {
    padding: 0 !important
}

.p-1 {
    padding: .25rem !important
}

.p-2 {
    padding: .5rem !important
}

.p-3 {
    padding: 1rem !important
}

.p-4 {
    padding: 1.5rem !important
}

.p-5 {
    padding: 3rem !important
}

.pt-0 {
    padding-top: 0 !important
}

.pt-1 {
    padding-top: .25rem !important
}

.pt-2 {
    padding-top: .5rem !important
}

.pt-3 {
    padding-top: 1rem !important
}

.pt-4 {
    padding-top: 1.5rem !important
}

.pt-5 {
    padding-top: 3rem !important
}

.pb-0 {
    padding-bottom: 0 !important
}

.pb-1 {
    padding-bottom: .25rem !important
}

.pb-2 {
    padding-bottom: .5rem !important
}

.pb-3 {
    padding-bottom: 1rem !important
}

.pb-4 {
    padding-bottom: 1.5rem !important
}

.pb-5 {
    padding-bottom: 3rem !important
}



/*===========================================================
2. Header
===========================================================*/

/* navigation */

header {
    padding: 20px 0;
    transition: ease-in-out 0.3s;
    background-color: transparent;
    position: absolute;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9;
}

.sticky {
    background-color: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: ease-in-out 0.3s;
    padding: 10px 0;
}

#menuToggle {
    display: none;
}

label {
    cursor: pointer;
}

nav {
    width: 100%;
    height: 100%;
    height: 70px;
    z-index: 99;
}

nav .navbar {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
}

nav .navbar .nav-links.sidebar_menu {
    height: 100%;
}

nav .navbar .links {
    display: flex;
}

nav .navbar .links li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

nav .navbar .links li a {
    height: 100%;
    color: var(--color-dark);
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

nav .navbar .links li a:hover,
.sticky nav .navbar .links li a:hover {
    border-bottom: 2px solid var(--color-dark);
}

nav .navbar .links li a.active {
    color: var(--color-dark);
    border-bottom: 2px solid var(--color-dark);
}

.sticky nav .navbar .links>li>a {
    color: var(--color-dark);
}

.sticky nav .navbar .links li a {
    color: var(--color-dark);
}

.sticky nav .navbar .links li ul li a {
    color: var(--color-white);
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow {
    transform: rotate(180deg);
}

nav .navbar .links li .arrow {
    height: 100%;
    width: 22px;
    line-height: 70px;
    text-align: center;
    display: inline-block;
    color: var(--color-white);
    position: relative;
    top: 0;
    transition: all 0.3s ease;
}

.sticky nav .navbar .links li .arrow {
    color: var(--color-dark);
}

.sticky .sidebar_menu .links li .arrow {
    color: var(--color-white) !important;
}

nav .navbar .links li .sub-menu {
    position: absolute;
    top: 70px;
    left: 0;
    line-height: 40px;
    background: var(--color-dark);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 2;
}

nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu {
    display: block;
}

.navbar .links li .sub-menu li {
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .links li .sub-menu a {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 500;
}

.navbar .links li .sub-menu .more-arrow {
    line-height: 40px;
}

.navbar .links li .sub-menu .more-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    border-radius: 0 4px 4px 4px;
    z-index: 1;
    display: none;
}

.links li .sub-menu .more:hover .more-sub-menu {
    display: block;
}

.navbar.showInput .search-box .input-box {
    top: 65px;
    opacity: 1;
    pointer-events: auto;
    background: #3E8DA8;
}

.navbar .nav-links .sidebar-logo {
    display: none;
}

.navbar .bx-menu {
    display: none;
}


header.sticky .navbar .logo img {
    width: 50%;
    transition: all 0.3s ease;
    filter: unset;
}

.sidebar_menu ul.links {
    text-align: left;
}

.sidebar_menu .links li a {
    font-size: 18px !important;
    color: var(--color-white) !important;
}

.sidebar_menu .links li a.active {
    color: var(--primary-color) !important;
}

.sidebar_menu .links li ul {
    background: #282e34 !important;
    text-align: left;
}

.sidebar_menu .links li ul li a {
    font-size: 16px !important;
}

.navbar li a {
    margin-bottom: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease-in-out;
    background-color: rgba(0, 0, 0, 0.65);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

ul a:link,
ul a:visited,
ul a:hover,
ul a:active {
    color: var(--color-dark);
}

/*===========================================================
3. Section

3.1 About Info
===========================================================*/

.about_info_bg {
    background-color: var(--primary-color);
    height: 100vh;
    display: flex;
    align-items: center;
}

.about_info h1 {
    font-size: 4rem;
    font-weight: 600;
}

.about_info h2 {
    font-size: 2rem;
    font-weight: 500;
}

.about_info p {
    font-family: outfit;
    font-size: 2.5rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.about_info p span {
    color: var(--color-white);
    text-shadow: 2px 3px var(--color-dark);
}

.about_image img {
    border-radius: 50%;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
    border: 15px solid var(--color-white);
    position: relative;
    border-left-color: var(--color-dark);
    border-right-color: var(--color-dark);
}

.social_icons svg {
    width: 30px;
    height: 30px;
    transition: all 0.5s ease;
}

.social_icons svg:hover {
    margin-top: -15px;
    transition: all 0.5s ease;
}

.about_description h2 {
    font-weight: 700;
    font-family: outfit;
    font-size: 2.5rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.about_description h2:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: 0;
    transform: translateY(-50%);
}

.about_me h3 {
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 25px;
}

.about_me h3 span {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.about_me p {
    font-weight: 400;
    font-size: 1.4rem;
}

.text-black>*:before {
    background-color: var(--color-dark) !important;
}

/* Skill Bar */

.skills-bar {
    padding: 25px 30px;
}

.skills-bar .bar {
    margin: 25px 0;
}

.skills-bar .bar .info span {
    font-size: 1rem;
    font-weight: 500;
}

.skills-bar .bar .info {
    margin-bottom: 8px;
    color: var(--color-white);
}

.skills-bar .bar .progress-line {
    position: relative;
    height: 10px;
    width: auto;
    background: var(--color-white);
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

.bar .progress-line span {
    position: absolute;
    background: var(--primary-color);
    height: 100%;
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

.resume h3 {
    font-size: 1.7rem;
}

.resume h4 {
    font-size: 1.6rem;
}

.resume h5 {
    font-size: 1.2rem;
}

.resume p.skills {
    font-weight: 700;
    font-style: italic;
    font-family: outfit;
    font-size: 15px;
}

@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}

.progress-line .html {
    width: 95%;
}

.progress-line .css {
    width: 80%;
}

.progress-line .wordpress {
    width: 90%;
}

.progress-line .gambio {
    width: 50%;
}

.progress-line .javascript {
    width: 50%;
}

.progress-line .laravel {
    width: 60%;
}

.progress-line .php {
    width: 85%;
}

.bar .progress-line span::before {
    position: absolute;
    content: "";
    height: 0;
    right: 0;
    top: -12px;
    width: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-style: var(--color-white);
    border-top-color: var(--color-white);
}

.bar .progress-line span::after {
    position: absolute;
    right: 0;
    top: -28px;
    color: var(--color-dark);
    font-size: 12px;
    font-weight: 700;
    background: var(--color-white);
    padding: 1px 8px;
    border-radius: 3px;
}

.progress-line .html::after {
    content: "95%";
}

.progress-line .css::after {
    content: "80%";
}

.progress-line .wordpress::after {
    content: "90%";
}

.progress-line .gambio::after {
    content: "50%";
}

.progress-line .javascript::after {
    content: "50%";
}

.progress-line .laravel::after {
    content: "60%";
}

.progress-line .php::after {
    content: "85%";
}

.timeline-wrapper {
    position: relative;
    padding: 22px 0;
}

.timeline-wrapper:before {
    content: "";
    background: var(--primary-color);
    width: 3px;
    height: 100%;
    position: absolute;
    left: 38px;
}

.timeline-yr {
    background: var(--primary-color);
    border-radius: 100%;
    position: absolute;
    width: 75px;
    height: 75px;
    line-height: 75px;
    text-align: center;
}

.timeline-yr span {
    color: var(--color-dark);
    font-size: 16px;
    font-weight: bold;
    display: block;
    line-height: 75px;
}

.timeline-info {
    display: inline-block;
    vertical-align: top;
    max-width: 432px;
    margin-left: 6em;
}

.timeline-info ul {
    margin-left: 40px;
}

.timeline-info ul li {
    margin-right: 0;
    margin-bottom: 5px;
    font-size: 16px;
    position: relative;
}

.timeline-info ul li:before {

    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 10px solid var(--color-dark);
    position: absolute;
    left: -25px;
    top: 8px;
}


.timeline-info small {
    color: #474559;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
}

.rb-left {
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.rb-left:hover {
    filter: brightness(1.1);
    transition: all 0.5s ease;
}

.portfolio_list {
    max-height: 370px;
    overflow: hidden;
}

.gap-r-20 {
    row-gap: 20px;
}

.gap-r-30 {
    row-gap: 30px;
}

.gap-c-40 {
    column-gap: 40px;
}

.fs-29 {
    font-size: 29px;
}

/* footer */

footer p {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: "outfit";
    padding: 10px 0;
}


#gototop {
    display: inline-block;
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 10px;
    right: 15px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#gototop i {
    font-size: 2em;
    line-height: 50px;
    color: var(--color-dark);
}

#gototop:hover {
    cursor: pointer;
    background-color: var(--color-dark);
}

#gototop:hover i {
    color: var(--color-white);
}

#gototop.show {
    opacity: 1;
    visibility: visible;
}