@font-face {
    font-family: Viga;
    src: url(../fonts/Viga-Regular.otf) format("opentype");
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
    overflow-x: hidden;
    background-color: #151515;
}

::before,
::after {
    box-sizing: border-box;
}

#content {
    padding-left: 200px;
}

.section {
    background-color: #151515;
    min-height: 100vh;
    display: block;
    padding: 0 30px;
    -webkit-animation: slideSectionX 1s ease;
    animation: slideSectionX 1s ease;
}

.section .container {
    padding: 50px 0;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: auto;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: -15px;
    margin-left: -15px;
    position: relative;
}

.section-title {
    margin-bottom: 70px;
}

.section-title h2 {
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    margin: 0;
    position: relative;
}

.section-title h2::before {
    content: '';
    height: 4px;
    width: 50px;
    position: absolute;
    top: 100%;
    left: 0;
}

.section-title h2::after {
    content: '';
    height: 4px;
    width: 25px;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
}

.hidden {
    display: none !important;
}

.padd-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.shadow-dark {
    -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}


/* Sidebar */

.sidebar {
    width: 200px;
    background-color: #222222;
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 10;
    border-right: 1px solid #e8dfec;
    padding: 30px;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    justify-content: space-between;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    overflow: auto;
}

.sidebar .logo {
    font-family: Viga;
    padding: 0 0 0 0;
}

.sidebar .logo a {
    font-size: 25px;
    color: #ffffff;
    text-decoration: none;
    display: block;
    position: relative;
}

/* .sidebar .logo #decki::before {
    content: '';
    height: 4px;
    width: 60px;
    position: absolute;
    top: -12px;
    left: 0;
} */

/* .sidebar .logo #decki::after {
    content: '';
    height: 4px;
    width: 93px;
    position: absolute;
    top: -4px;
    left: 0;
} */

.sidebar .logo #herdiawans {
    top: -10px;
}

.sidebar .logo #herdiawans::before {
    content: '';
    height: 4px;
    width: 120px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.sidebar .logo #herdiawans::after {
    content: '';
    height: 4px;
    width: 62px;
    position: absolute;
    bottom: -8px;
    left: 0;
}

.sidebar .nav-toggler {
    height: 45px;
    width: 45px;
    cursor: pointer;
    position: fixed;
    left: 200;
    top: 20px;
    z-index: 11;
    border: 1px solid #d4d4ec;
    border-left: none;
    border-radius: 0 5px 5px 0;
    background-color: #222222;
    font-size: 25px;
    display: none;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.sidebar .nav {
    font-family: sans-serif;
}

.sidebar .nav li {
    display: block;
}

.sidebar .nav li a {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    text-decoration: none;
    line-height: 50px;
    display: block;
}

.sidebar .nav li a i {
    margin-right: 10px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.sidebar .nav li a:not(.active):hover i {
    margin-right: 20px;
}

.copyright {
    margin-top: 25px;
    color: #ffffff;
    font-family: monospace;
}


/* Home */

.home {
    min-height: 100vh;
    display: -ms-flexbox;
    display: flex;
}

.home .intro {
    text-align: center;
}

.home .intro img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: inline-block;
    border: 8px solid #ffffff;
}

.home .intro h1 {
    font-size: 30px;
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
}

.home .intro p {
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    margin: 0;
}

.home .intro .social-links {
    margin-top: 10px;
}

.home .intro .social-links a {
    height: 35px;
    width: 35px;
    display: inline-block;
    text-align: center;
    line-height: 35px;
    color: #ffffff;
    margin: 0 4px;
    border-radius: 50%;
    text-decoration: none;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.home .intro .social-links a:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


/* About */

.about .about-content .about-text h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: #ffffff;
    border-color: #393939;
}

.about .about-content .about-text a {
    color: #ffffff;
    border-color: #393939;
}

.about .about-content .about-text a:hover {
    text-decoration: underline;
}

.about .about-content .about-text p {
    text-align: justify;
    font-size: 15px;
    line-height: 25px;
    font-family: 'Rubik', sans-serif;
    margin: 0;
    color: #ffffff;
    border-color: #393939;
}

.about .about-content .personal-info {
    margin-top: 40px;
}

.about .about-content .personal-info3 {
    width: 100%;
}

.section-title,
.about .about-content,
.about .about-content .about-text,
.about .about-content .personal-info,
.about .about-content .personal-info .info-item,
.about .about-content .personal-info1 .info-item,
.about .about-content .personal-info2 .info-item,
.about .about-content .personal-info3 .info-item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .personal-info .info-item p,
.about .about-content .personal-info1 .info-item p,
.about .about-content .personal-info2 .info-item p,
.about .about-content .personal-info3 .info-item p {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

.about .about-content .personal-info .info-item p span,
.about .about-content .personal-info1 .info-item p span,
.about .about-content .personal-info2 .info-item p span,
.about .about-content .personal-info3 .info-item p span {
    font-weight: 400;
    color: #e9e9e9;
}

.about .about-content .personal-info1,
.about .about-content .personal-info2,
.about .about-content .edex {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.about .about-content .edex {
    margin-top: 60px;
    display: -ms-flexbox;
    display: flex;
}

.about .about-content .edex-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    text-align: center;
}

.about .about-content .edex .timeline {
    background-color: #222222;
    padding: 30px 15px;
    border: 1px solid #d4d4e3;
    border-radius: 10px;
    width: 100%;
}

.about .about-content .edex .timeline .edex-title {
    color: #ffffff;
    border-color: #393939;
}

.about .about-content .edex .timeline .timeline-item {
    position: relative;
    padding-left: 35px;
    padding-bottom: 40px;
}

.about .about-content .edex .timeline .item-last-child {
    padding-bottom: 0;
}

.about .about-content .edex .timeline .timeline-item::before {
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
}

.about .about-content .edex .timeline .circle-dot {
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    left: 0px;
    border-radius: 50%;
}

.about .about-content .edex .timeline .timeline-date {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 5px;
    color: #ffffff;
    border-color: #393939;
}

.about .about-content .edex .timeline i {
    margin-right: 5px;
}

.about .about-content .edex .timeline .timeline-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
    color: #ffffff;
    border-color: #393939;
}

.about .about-content .edex .timeline .timeline-subtitle {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #e9e9e9;
}

.about .about-content .edex .timeline .timeline-text {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #e9e9e9;
    padding: 0 0 0 20px;
}


/* Certificates */

.certificates .certificate-item {
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
}

.certificates .certificate-item-inner {
    border: 5px solid #ffffff;
    overflow: hidden;
    cursor: pointer;
}

.certificates .certificate-item-inner .certificate-image {
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.certificates .certificate-item-inner:hover .certificate-image {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.certificates .certificate-item-inner .certificate-image img {
    width: 100%;
    display: block;
}


/* Portfolios */

.portfolios .portfolio-item {
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
    display: -ms-flexbox;
    display: flex;
}

.portfolios .portfolio-item-inner {
    overflow: hidden;
    border: 1px solid #d4d4e3;
    background-color: #222222;
}

.portfolios .portfolio-item-inner .portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolios .portfolio-item-inner .portfolio-image img {
    width: 100%;
    display: block;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.portfolios .portfolio-item-inner:hover .portfolio-image img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.portfolios .portfolio-item-inner .portfolio-info {
    padding: 20px;
    background-color: #222222;
}

.portfolios .portfolio-item-inner .portfolio-info .portfolio-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: #ffffff;
    border-color: #393939;
}

.portfolios .portfolio-item-inner .portfolio-info .portfolio-description {
    text-align: justify;
    font-size: 15px;
    line-height: 25px;
    font-family: 'Rubik', sans-serif;
    color: #e9e9e9;
    margin-bottom: 15px;
}

.portfolios .portfolio-item-inner .portfolio-info .portfolio-description a:hover {
    text-decoration: underline;
}


/* Blogs */

.blogs .blog-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
    display: -ms-flexbox;
    display: flex;
}

.blogs .blog-item-inner {
    overflow: hidden;
    border: 1px solid #d4d4e3;
    background-color: #222222;
}

.blogs .blog-item-inner .blog-image {
    position: relative;
    overflow: hidden;
}

.blogs .blog-item-inner .blog-image img {
    width: 100%;
    display: block;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.blogs .blog-item-inner:hover .blog-image img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.blogs .blog-item-inner .blog-info {
    padding: 20px;
    background-color: #222222;
}

.blogs .blog-item-inner .blog-info .blog-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: #ffffff;
    border-color: #393939;
}

.blogs .blog-item-inner .blog-info .blog-description {
    text-align: justify;
    font-size: 15px;
    line-height: 25px;
    font-family: 'Rubik', sans-serif;
    color: #e9e9e9;
    margin-bottom: 15px;
}


/* Lightbox */

.lightbox {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, .9);
    display: none;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.lightbox.open {
    display: -ms-flexbox;
    display: flex;
}

.lightbox .lightbox-content .lightbox-close {
    position: absolute;
    width: 40px;
    top: 0;
    right: 0;
    font-size: 30px;
    text-align: center;
    color: #ffffff;
    line-height: 35px;
    z-index: 105;
    cursor: pointer;
}

.lightbox .lightbox-content img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
}

.lightbox .lightbox-content .lightbox-caption {
    position: absolute;
    top: 0;
    left: 5px;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, 'Geneva', Verdana, sans-serif;
    font-size: 16px;
    font-weight: 450;
    color: #ffffff;
}

.lightbox .lightbox-controls #prev-item,
.lightbox .lightbox-controls #next-item {
    position: absolute;
    cursor: pointer;
    color: #e4e4e4;
    top: 50%;
    margin-top: -40px;
    z-index: 105;
}

.lightbox .lightbox-controls #prev-item {
    left: 30px;
}

.lightbox .lightbox-controls #next-item {
    right: 30px;
}


/* Style Switcher */

.style-switcher {
    position: fixed;
    top: 20px;
    right: 0;
    z-index: 10;
    background-color: #222222;
    padding: 15px;
    border: 1px solid #d4d4e3;
    border-right: none;
    border-radius: 0 0 0 5px;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.style-switcher label {
    color: #ffffff;
}

.style-switcher.open {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}

.style-switcher .switcher-toggle {
    position: absolute;
    height: 45px;
    width: 45px;
    background-color: #222222;
    left: -45.6px;
    top: -0.7px;
    border: 1px solid #d4d4e3;
    border-right: none;
    text-align: center;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
}

.style-switcher .switcher-toggle .fas {
    font-size: 20px;
    line-height: 42px;
}

.style-switcher h5 {
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    color: #ffffff;
}

.style-switcher ul {
    margin: 5px 0 0 0;
    padding: 0;
    display: block;
    list-style: none;
}

.style-switcher ul li {
    display: inline-block;
}

.style-switcher ul li a {
    height: 30px;
    width: 30px;
    display: block;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    margin: 0 2px 0 0;
    color: #ffffff;
}

.style-switcher hr {
    margin: 5px 0 6px 0;
}

#color_toggle-red {
    background-color: red;
}

#color_toggle-yellow {
    background-color: yellow;
}

#color_toggle-green {
    background-color: lime;
}

#color_toggle-blue {
    background-color: dodgerblue;
}


/* Light Body */

body.light {
    background-color: #f2f2fc;
}

body.light .sidebar,
body.light .sidebar .nav-toggler,
body.light .style-switcher,
body.light .style-switcher .switcher-toggle,
body.light .about .about-content .edex .timeline,
body.light .portfolios .portfolio-item-inner,
body.light .portfolios .portfolio-item-inner .portfolio-info,
body.light .blogs .blog-item-inner,
body.light .blogs .blog-item-inner .blog-info {
    background-color: #ffffff;
}

body.light .section {
    background-color: #f2f2fc;
}

body.light .sidebar .nav li a,
body.light .about .about-content .personal-info .info-item p,
body.light .about .about-content .personal-info1 .info-item p,
body.light .about .about-content .personal-info2 .info-item p,
body.light .about .about-content .personal-info3 .info-item p {
    border-bottom: 1px solid #e8defc;
}

body.light .sidebar .logo a,
body.light .sidebar .nav li a,
body.light .style-switcher h5,
body.light .style-switcher ul li a,
body.light .style-switcher label,
body.light .section-title h2,
body.light .home .intro h1,
body.light .home .intro p,
body.light .about .about-content .about-text h3,
body.light .about .about-content .about-text a,
body.light .about .about-content .about-text p,
body.light .about .about-content .personal-info .info-item p,
body.light .about .about-content .personal-info1 .info-item p,
body.light .about .about-content .personal-info2 .info-item p,
body.light .about .about-content .personal-info3 .info-item p,
body.light .about .about-content .edex .timeline .edex-title,
body.light .about .about-content .edex .timeline .timeline-date,
body.light .about .about-content .edex .timeline .timeline-title,
body.light .portfolios .portfolio-item-inner .portfolio-info .portfolio-title,
body.light .blogs .blog-item-inner .blog-info .blog-title,
body.light .copyright {
    color: #302e4d;
    border-color: #c0c0c0;
}

body.light .about .about-content .personal-info .info-item p span,
body.light .about .about-content .personal-info1 .info-item p span,
body.light .about .about-content .personal-info2 .info-item p span,
body.light .about .about-content .personal-info3 .info-item p span,
body.light .about .about-content .edex .timeline .timeline-subtitle,
body.light .about .about-content .edex .timeline .timeline-text,
body.light .portfolios .portfolio-item-inner .portfolio-info .portfolio-description,
body.light .blogs .blog-item-inner .blog-info .blog-description {
    color: #504e70;
}


/* Responsive */

@media (max-width: 991px) {
    #content {
        padding-left: 0;
    }

    .sidebar {
        left: -200px;
    }

    .sidebar.open {
        left: 0;
    }

    .sidebar .nav-toggler {
        left: 0;
        display: -ms-flexbox;
        display: flex;
    }

    .sidebar .nav-toggler.open {
        left: 200px;
    }

    .section {
        left: 0;
        -webkit-animation: slideSectionY 1s ease;
        animation: slideSectionY 1s ease;
    }

    .section-title h2 {
        text-align: center;
    }

    .section-title h2::before,
    .section-title h2::after {
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%);
    }
    
    .about .about-content .personal-info .info-item p span,
    .about .about-content .personal-info1 .info-item p span,
    .about .about-content .personal-info2 .info-item p span {
        margin-left: 0;
    }
    
    .about .about-content .personal-info,
    .about .about-content .personal-info1,
    .about .about-content .personal-info2,
    .about .about-content .edex,
    .certificates .certificate-item,
    .portfolios .portfolio-item,
    .blogs .blog-item {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about .about-content .personal-info2 {
        margin-top: 0;
    }

    .certificates .certificate-item,
    .portfolios .portfolio-item,
    .blogs .blog-item {
        margin-bottom: 30px;
    }
}


/* Key Frames */

@keyframes slideSectionX {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}

@keyframes slideSectionY {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }
}