/* Main */
#header {
    background: #070c13;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    transition: all ease-in-out 0.5s;
    z-index: 9997;
    transition: all 0.5s;

}

#header .mobile-nav-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #070c13;
    color: white;
    border-radius: 50%;
    position: fixed;
    right: 0;
    padding: 5px;
    margin-top: 10px;
    margin-right: 10px;
    font-size: 22px;
    width: 40px;
    height: 40px;

    cursor: pointer;
}

#home {
    background-image: url('/assets/images/bg_green.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
}

.logo img {
    width: 120px;
    /* border: 10px solid #212529; */
}

li:hover i {
    color: #36b34f;
}

.links a {
    display: inline-block;
    background: #36b34f;
    font-size: 20px;
    line-height: 1;
    padding: 9px 0;
    margin-right: 4px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    /* transition: 0.3s; */
}

.links a:hover {
    background: #2ae14e;
}

.home-container {
    padding-left: 300px;
    margin-bottom: 120px;
}

#main {
    margin-left: 300px;
}

#about,
#resume,
#portfolio,
#services,
#contact {
    padding-top: 50px;
    padding-left: 25px;
}

#about,
#contact,
#services,
#portfolio,
#resume {
    min-height: 100vh;
}

@media (max-width: 1199px) {
    #header {
        left: -300px;
    }

    .home-container {
        padding-left: 0 !important;
        transition: all ease-in-out 0.5s;
        transition: all 0.5s;
    }

    #about,
    #portfolio,
    #services,
    #contact,
    #resume {
        height: unset !important;
    }

    #main,
    #about,
    #resume,
    #portfolio,
    #services,
    #contact {
        margin-left: 0;
        padding-left: 0;
    }

    .push {
        padding-left: 0 !important;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#home .home-container h1 {
    animation: slideInFromLeft 1.5s ease-out;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#home .home-container h3 {
    animation: slideInFromRight 1.5s ease-out;
}

.title h2 {
    border-bottom: 3px solid #01ff35;
    width: 50px;
    padding-bottom: 15px;
}

/* Resume */
.resume-content {
    border-left: 2px solid #01ff35;
    padding-left: 15px;
    position: relative;
}

.resume-content h4 {
    line-height: 20px;
}

.resume .resume-content::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50px;
    left: -9px;
    top: 0;
    background: #18d26e;
    border: 2px solid #01ff35;
}

.resume-content:hover::before {
    background-color: white;
}

.resume-date {
    width: 140px;
    padding: 6px;
    background: #18d26e;
    font-size: 14px;
    justify-content: center;
    display: flex;
    color: black;
}

.ul-li {
    padding-left: inherit;
}

.ul-li li {
    padding-bottom: 5px;
}

/* About */
.push {
    padding-left: 25px;
    margin-top: -150px;
}

@media screen and (max-width: 476px) {
    .push {
        margin-top: -50px;
    }
}

@media screen and (min-width: 477px) and (max-width: 767px) {
    .push {
        margin-top: -100px;
    }
}

.progress-bar {
    background-color: #37bb2c;
}

#hexagon {
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex3 {
    background: #36b34f;
    -webkit-clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
}

#hexagon .icons {
    color: white;
    font-size: 40px;
}

.text-container {
    max-width: 220px;
    text-align: center;
    word-wrap: break-word;
}

@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.flipped {
    animation: flip 1.5s;
    transform: rotateY(360deg);
}

/* Portofolio */
.portfolio-wrap {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.portfolio-item-visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-wrap img {
    height: 300px;
    width: 100%;
}

.portfolio-caption {
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.5s ease-out;
    transform: translateY(-100%);
}

.portfolio-wrap:hover .portfolio-caption {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-wrap:hover img {
    filter: brightness(20%);
}

.portfolio-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.portfolio-title {
    color: white;
    transform: translateY(20px);
    transition: transform 0.5s ease-out;
}

.portfolio-links {
    margin-top: 10px;
}

.portfolio-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    transform: translateY(20px);
    transition: transform 0.5s ease-out;
}

.portfolio-wrap:hover .portfolio-title {
    transform: translateY(0);
}

.portfolio-wrap:hover .portfolio-links a {
    transform: translateY(0);
}

.portfolio-icons i {
    font-size: 23px;
    color: white;
}

.portfolio-icons i:hover {
    color: #01ff35;
    cursor: pointer;
}

/* End Portofolio */


/* Contact */
.email-form {
    padding: 25px;
    border-radius: 20px;
    background: #2d3135;
}

.form-btn {
    background: #36b34f;
    border: none;
    padding: 5px;
    border-radius: 20px;
    width: 150px;
    color: white;
}

.form-btn:hover {
    background-color: #2ae14e;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-10px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(10px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

.email-form {
    transform: scale(0.1);
    transform-origin: bottom center;
    transition: transform 1s ease-in-out;
}

.zoom-in {
    animation: zoomIn 1.2s ease-in-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.service-container {
    background: #212529;
    height: 550px;
}

.service-wrap span {
    border-bottom: 3px solid #01ff35;
    padding-bottom: 5px;
}

/* End Contact */


/* Portofolio modal */
.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9998;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 70%;
    height: 70%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    -webkit-overflow-scrolling: touch;

    &::-webkit-scrollbar {
        width: 6px;
    }

    &::-webkit-scrollbar-thumb {
        background-color: transparent;
    }
}

.close-btn {
    position: absolute;
    right: 15px;
    font-size: 50px;
    cursor: pointer;
    color: white;
    z-index: 2;
    opacity: 0.7;
}

.close-btn:hover {
    opacity: 1;
}

/*End Portofolio modal */

/* Services */
.bg-l-gray {
    background-color: #2d3135;
}

.c-icon {
    font-size: 60px;
    color: #01ff35;
}