/*------------------------------------------------------------------ common css */

/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

p {
    color: #6c6c6c;
}

h5 {
    font-weight: 600;
}

h3 {
    font-weight: 600;
}

li {
    color: #616161;
}


/*-----------------------------------------------------------------------menubar css*/
.header {
    width: 100%;
    left: 0;
    top: 0;
    z-index: 99;
    position: fixed;
    background-color: rgb(240 248 255);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.header .logo {
    padding: 0 15px;
}

.logo h4 {
    color: #000000;
    font-weight: 600;
}

.header .nav-menu {
    padding: 0 15px;
}

.header .menu > .menu-item {
    display: inline-block;
    margin-left: 30px;
    position: relative;
}

/*------------------------ if you want change the menubar typography. just change here color property */

.header .menu > .menu-item > a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    color: #000000;
    text-transform: capitalize;
    font-weight: 500;
    transition: all 0.2s ease;
}

/*---------------------- if you want to change menuar list hover color, just change color property */

.header .menu > .menu-item > .sub-menu > .menu-item > a:hover,
.header .menu > .menu-item:hover > a {
    color: #05a0e8;;
}


.header .open-nav-menu {
    height: 34px;
    width: 40px;
    margin-right: 15px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding-bottom: 8px;
}


/*--------------------- Responsive hamburger typography starts here */

.header .open-nav-menu span {
    display: block;
    height: 3px;
    width: 24px;
    background-color: #000000;
    position: relative;
}

.header .open-nav-menu span:before,
.header .open-nav-menu span:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    box-sizing: border-box;
}

.header .open-nav-menu span:before {
    top: -7px;
}

.header .open-nav-menu span:after {
    top: 7px;
}

.header .close-nav-menu {
    height: 40px;
    width: 40px;
    background-color: #ffffff;
    margin: 0 0 15px 15px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.header .close-nav-menu img {
    width: 16px;
}

.header .menu-overlay {
    position: fixed;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

/* srcoll up button */


#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.btn {
    background: #dff3fc;
    border: none;
    color: #149ddd;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 14px;
}

.btn:first-child:hover,
:not(.btn-check) + .btn:hover {
    color: #fff;
    background: #149ddd;
    border-color: var(--bs-btn-hover-border-color);
}

/*--------------------- Responsive hamburger typography end here */

/* responsive for mobile devices*/

@media (max-width: 991px) {
    .header .menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    /*------------------ you can change background color for mobile devices */
    .header .nav-menu {
        position: fixed;
        right: -280px;
        visibility: hidden;
        width: 280px;
        height: 100%;
        top: 0;
        overflow-y: auto;
        background-color: #ffffff;;
        z-index: 1000;
        padding: 15px 0;
        transition: all 0.5s ease;
    }

    .header .nav-menu.open {
        visibility: visible;
        right: 0px;
    }

    .header .menu > .menu-item {
        display: block;
        margin: 0;
    }

    .header .menu > .menu-item-has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /*---------------------- you can change menubar list color and border for mobile devices */
    .header .menu > .menu-item > a {
        color: #000000;
        padding: 12px 15px;
        border-bottom: 1px solid #e7e7e7;
    }

    .header .menu > .menu-item:first-child > a {
        border-top: 1px solid #cbcbcb;
    }

    .header .close-nav-menu,
    .header .open-nav-menu {
        display: flex;
    }


}


/*------------------------------------------------------------------------------ experience css */

.text-uppercase {
    text-transform: uppercase !important;
}

.position-relative.mb-4 {
    padding: 15px 15px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.position-relative h5 span {
    font-size: 16px;
    color: #605f5f;
    font-weight: 700;

}

h1,
.font-weight-bolder {
    font-weight: 700 !important;
}

.text-primary {
    color: #0BCEAF !important;
}

a {
    text-decoration: none;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.display-1 {
    font-size: 8rem;
    font-weight: 300;
    line-height: 1.2;
}


@media only screen and (max-width: 1200px) {
    .display-1 {
        font-size: calc(2.125rem + 10.5vw);
    }
}


.pl-4,
.px-4 {
    padding-left: 1.5rem !important;
}

.pt-2,
.py-2 {
    padding-top: 0.5rem !important;
}

.border-left {
    border-left: 1px solid #dee2e6 !important;
    border-left-color: rgb(222, 226, 230);
}

.border-primary {
    border-color: #0BCEAF !important;
}


/*------------------------------------------------------------------------------------ hero css */
.hero {
    padding: 80px 0px;
}

.hero_content.text-center h6 {
    color: #0BCEAF;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero_content.text-center h1 {
    color: #000000;
    font-weight: 900;
    font-size: 3.5rem;
}

.right_side_icon.text-center i {
    font-size: 17px;
    color: #149ddd;
    width: 40px;
    height: 40px;
    line-height: 41px;
    background: #dff3fc;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin: 0px 5px;
}

.right_side_icon.text-center i:hover {
    background: #149ddd;
    color: #fff;
}

.resume_button a {
    padding: 10px 34px;
    border: 1px solid #000;
    color: #000;
    font-weight: 600;
    transition: 0.3s;

}

.resume_button a:hover {
    border: 1px solid #ffffff;
    color: #ffffff;
    background: #000;
}

/*---------------------------------------------------------------------------------certificate css */
.certificate_content h6 {
    font-weight: 600;
    padding: 10px 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

/*---------------------------------------------------------------------------------- skills css */
.justified-class {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skill_content {
    padding: 30px 50px;
    margin: 10px 10px 10px 0px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-left: 3px solid rgb(11, 206, 175);
}

.skill_content {
    width: 350px;
}


/*------------------------------------------------------------------------------------- project css */
.project_content h5 {
    text-transform: capitalize;
}


.project_content {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

#more {
    display: none;
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.skill_info p span {
    font-weight: bold;
}

.project_content p {
    margin-top: 15px;
}


.more-text {
    display: none;
}

.read-less {
    display: none;
}


/*------------------------------------------------------------------------------------- educations css */

.card {

    border: 0;
    border: none;
    box-shadow: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    background: transparent;
}


/* The actual timeline (the vertical ruler) */
.main-timeline {
    position: relative;
}

/* The actual timeline (the vertical ruler) */
.main-timeline::after {
    content: "";
    position: absolute;
    width: 0.5px;
    background-color: #0BCEAF;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.timeline {
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.timeline::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    right: -2.5px;
    background-color: #0BCEAF;
    border: 5px solid #0BCEAF;
    top: 15px;
    color: #0BCEAF !important;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    padding: 0px 40px 20px 0px;
    left: 0;
}

/* Place the container to the right */
.right {
    padding: 0px 0px 20px 40px;
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    position: absolute;
    top: 18px;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    position: absolute;
    top: 18px;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -8px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .main-timeline::after {
        left: 16px;
    }

    h5 {
        font-size: 18px;
    }

    /* Full-width containers */
    .timeline {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .timeline::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after,
    .right::after {
        left: 9px;
    }

    .left::before {
        right: auto;
    }


    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }


}

@media screen and (max-width: 667px) {
    .justified-class {
        flex-direction: column;
        align-items: center;
    }

    .skill_content {
        width: 350px;
    }

    .hero_content.text-center h1 {
        color: #000000;
        font-weight: 800;
        font-size: 2.5rem;
    }
}


/*body.light-mode {*/
/*  background-color: white;*/
/*  color: black;*/
/*}*/

/*body.dark-mode {*/
/*  background-color: black;*/
/*  color: white;*/
/*}*/

/*toggle switch */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    cursor: pointer;
    border-radius: 34px;
    transition: .4s;
}

.switch label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

body.light-mode {
    background-color: white;
    color: black;
}

body.dark-mode {
    background-color: black;
    color: white;
}

input:checked + label {
    background-color: #2196F3;
}

input:checked + label:before {
    transform: translateX(26px);
}

body.dark-mode .title-darkmode {
    color: white;
}

body.dark-mode #toggleSwitch {
    color: black;
}


/*--------------------------------------------------------------- THank you */