.art-top-bar {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 70px;
    background: #20202a;
    box-shadow: 0 3px 8px 0 rgb(15 15 20 / 20%);
    padding: 0 30px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.nav-mobile{
     display:none;
}
.hide{
     display:none;
}
.nav-item > a:hover {
    color: #20c997;
}

.navbar-toggler{
    display:none;
}
.nav-link {
    padding-left: 20px;
    transition: all ease-out 250ms;
}

.nav-item .underline {
    height: 3px;
    background-color: transparent;
    width: 0%;
    transition: all ease-out width 0.2s, background-color 0.5s 300ms;
    margin: 0 auto;
}
.nav-mobile .nav-link:hover {
    color: #20c997;
}
.nav-item:hover .underline {}

.nav-item .active .underline {
    color: black;
    background-color: #20c997;
    color : white;
    width: 100%;

}

.site-nav ul li .underline {
    height: 3px;
    background-color: transparent;
    width: 0%;
    transition: width 0.2s, background-color 0.5s;
    margin: 0 auto;
}

.site-nav ul li.active-link .underline {
    width: 100%;
    background-color: white;
}

/* ----- typing code ----- */
.art-code {
    font-family: "Courier Prime", monospace;
    color: #fafafc;
}

.art-code i {
    font-style: normal;
    color: #20c997;
}


#main {
    transition: margin-left .5s;
    padding: 16px;
}


.box:hover {
    animation-duration: 0.25s;
    border-left: 8px solid #20c997;

}

.my-link {
    color: black;
}

/* Timeline custom component */
.timeline-card {
    position: relative;
    margin-left: 16px;
}

.timeline-card:before {
    content: '';
    display: inline-block;
    position: absolute;
    background-color: #fff;
    border-radius: 100%;
    width: 24px;
    height: 24px;
    top: 16px;
    left: -12px;
    border: 5px solid;
    z-index: 2;
}

.timeline-body {
    border-left: 2px solid #E6E9ED;
}

.timeline-card-primary:before {
    border-color: var(--bs-primary);
}

.timeline-card-info:before {
    border-color: var(--bs-info);
}

.timeline-card-secondary:before {
    border-color: var(--bs-secondary);
}

.timeline-card-success:before {
    border-color: var(--bs-teal);
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
}

.site-title {
    font-size: 1.25rem;
    line-height: 2.5rem;
}

.nav-link {
    padding: 0;
    font-size: 1rem;
    line-height: 2.5rem;
    color: inherit;
    opacity: 0.8;
}


.header-social .nav-link {
    font-size: 1.25rem;
}

.nav-link:hover,
.nav-link:focus {
    color: inherit;
    opacity: 1;
}

.nav-item + .nav-item {
    margin-left: 1rem;
}

.cover {
    height: 500px;
}

.cover > img {
    -o-object-fit: cover;
    object-fit: cover;
    width: auto;
}

.progress-bar {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
}

.text-small {
    font-size: 0.85rem;
}

.text-teal {
    color: var(--bs-teal);
}

.skills-section .text-teal {
    font-weight: bold;
}

.row {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    text-align: left;
    font-family: poppins, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.75em;
    color: #666;
    -webkit-box-direction: normal;
    hyphens: auto;
    word-wrap: break-word;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-xs-12 col-sm-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 50%;
    max-width: 50%;
}

.certificate-item {
    hyphens: auto;
    word-wrap: break-word;
    box-sizing: border-box;
    position: relative;
    display: table;
    table-layout: fixed;
    width: 95%;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 25px;
    transition: all .2s ease-in-out;
}

.certi-logo {
    display: table-cell;
    width: 150px;
    height: 100%;
    vertical-align: middle;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.certi-content {
    text-align: left;
    line-height: 1.75em;
    -webkit-box-direction: normal;
    hyphens: auto;
    word-wrap: break-word;
    box-sizing: border-box;
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}

.certi-title {
    text-align: left;
    -webkit-box-direction: normal;
    hyphens: auto;
    word-wrap: break-word;
    box-sizing: border-box;
}

footer a:not(.nav-link) {
    color: inherit;
    border-bottom: 1px dashed;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 48em) {
    .site-title {
        float: left;
    }

    .site-nav {
        float: right;
    }
    .navbar-toggler {
        float: right;
    }
}
@media screen and (max-height: 450px) {
    .my-style {
        right: 0px;
        align: right;
        bottom: 20px;

    }
}

@media (max-width: 820px) {

    /* disable animations on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: translate(0) scale(1) !important;
    }

    .p-5 {
        padding: 2.5rem 2rem !important;
    }

    .portfolio-section .m-5 {
        margin: 2rem 0 1rem !important;
    }

    .portfolio-reverse {
        flex-direction: column-reverse;
    }

    .portfolio-reverse .text-end {
        text-align: start !important;
    }

    .nav-item {
        display: none;
    }
    .code {
        display: none;
    }
    .site-title {
        float: left;
    }
    .site-nav {
        float: right;
    }
    .nav-mobile {
        display:block;
    }
}


@media print {
    [data-aos] {
        opacity: 1 !important;
        transform: translate(0) scale(1) !important;
    }

    body.bg-light {
        background-color: #fff !important;
    }

    .container {
        width: auto;
        max-width: 100%;
        padding: 0;
    }

    .cover {
        height: 360px;
        margin-bottom: 1.5rem;
    }

    .cover > img {
        display: none;
    }

    .shadow-1-strong {
        box-shadow: none !important;
    }

    .resume-container > .my-5 {
        margin: 0 !important;
    }

    .my-5.p-5 {
        padding: 1.5rem 0 !important;
    }

    .about-section {
        padding: 0 !important;
    }

    .skills-section,
    .work-experience-section,
    .education-section,
    .portfolio-section,
    .reference-section,
    .contact-section {
        padding: 0 !important;
    }

    .page-break {
        padding-top: 5rem;
        page-break-before: always;
    }
}
