body {
    margin: 0;
    padding: 0;
    font-family: Balsamiq Sans, sans-serif;
    scrollbar-track-color: #00ff84;
    max-width: 100%;
    overflow-x: hidden;
    background-image: url(./img/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

.container-home {
    width: 100%;
    max-height: 100vh;
    background-size: cover;
    /* margin-top: -20px; */
    position: relative;
    background-color: rgba(6, 8, 10, 0.75);
}

.navbar-toggle {
    /* background-color: pink; */
    width: 30px;
    height: 19px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.navbar-toggle input {
    position: absolute;
    width: 60px;
    height: 30px;
    left: -19px;
    top: -7px;
    opacity: 0;
    z-index: 2;
}

.navbar-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 5px;
    transition: all 0.5s;
}

menu ul.slide ~ .navbar-toggle input:checked {
    transform: translateX(0);
}

.navbar-toggle input:checked ~ span:nth-child(2) {
    transform: rotate(45deg) translate(-3px, -1px);
    transform-origin: 0 0;
}

.navbar-toggle input:checked ~ span:nth-child(3) {
    transform: scale(0);
}
.navbar-toggle input:checked ~ span:nth-child(4) {
    transform: rotate(-45deg) translate(-4px, -1px);
    transform-origin: 0 0;
}

.container-home img {
    width: auto;
    height: 35px;
}

.sidebar-menu :hover {
    border-color: red;
    cursor: pointer;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 0px 55px;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1;
    box-sizing: border-box;
    transition: 0.5s;
    /* margin-top: -60px; */
}

header.stiky {
    background-color: #262e36;
    box-shadow: 0px 0px 7px 0px hwb(213 9% 87%);
    z-index: 9px;
}

header.stiky .icon-home a {
    color: #fff;
    transition: 1s;
}

header ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

header ul li a {
    text-decoration: none;
    color: #bfbfbf;
    transition: 0.2s;
}

menu a {
    font-size: 0.9em;
}

menu a:hover {
    border-width: 2px;
    border-bottom-style: solid;
    border-color: #27e488;
    color: #fff;
}
.icon-home a {
    color: #bfbfbf;
    font-size: 20px;
}

.icon-home a:hover {
    color: #fff;
}

.content-home {
    display: flex;
    justify-content: space-around;
    width: 80%;
    padding-top: 180px;
    box-sizing: border-box;
}

.container-home .content-home .desc-home {
    width: 55%;
}

.container-home .content-home .profile-home {
    /* margin-top: 10px; */
}

.desc-home h3 {
    color: #fff;
    font-size: 14px;
    /* font-family: sans-serif; */
}

.desc-home h1 {
    color: #fff;
    font-size: 45px;
    /* font-family: sans-serif; */
}

.desc-home h1 span {
    color: #27e488;
    font-size: 45px;
    /* font-family: sans-serif; */
    /* border-width: 3px;
    border-bottom-style: solid; */
}

.desc-home p {
    color: #c0c0c0;
    font-size: 14px;
    padding-bottom: 10px;
}

.desc-home a {
    background-color: #27e488;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.4s;
    text-decoration: none;
}

.desc-home a:hover {
    background-color: transparent;
    border: 1px solid #27e488;
    box-shadow: 0px 0px 10px 0px #27e488;
    color: #27e488;
    box-sizing: border-box;
}

.profile-home img {
    width: 600px;
    height: 620px;
    left: 919px;
    top: 0px;
    /* transition: 1s; */
    margin-top: -150px;
    box-sizing: border-box;
}

/* ABOUT */

.container-about {
    width: 100%;
    height: auto;
    padding-bottom: 50px;
    background-color: #262e36;
    padding-top: 85px;
    display: flex;
    justify-content: center;
    gap: 100px;
    padding-bottom: 100px;
}

.container-about .wrap-about {
}

.desc-about p {
    max-width: 380px;
    color: #aeaeae;
    font-size: 12px;
}

.desc-about h4 {
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
}

.desc-about {
    /* border: 1px solid white; */
    width: 350px;
}

.desc-about h1 {
    color: #27e488;
    border-width: 3px;
    width: 140px;
    border-bottom-style: solid;
}

.profile-about img {
    width: 300px;
    height: 400px;
}

/* .profile-about {
    margin-left: 250px;
    margin-top: -10px;
} */

/* .desc-about {
    margin-left: -20px;
    margin-top: 80px;
} */

.detail-me {
    margin-top: 20px;
}

.detail-me .item {
    display: flex;
    justify-content: space-between;
    margin-top: -20px;
}

.desc-about button {
    background-color: #27e488;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    width: 140px;
}

/* Services */

.container-services {
    width: 100%;
    height: auto;
    /* background-color: #6c7470; */
    background-color: rgba(6, 8, 10, 0.75);
    padding-top: 20px;
    padding-bottom: 70px;
}

.title-services h1 {
    color: #27e488;
    border-width: 3px;
    border-bottom-style: solid;
    width: 170px;
}

.title-services h5 {
    margin-top: -10px;
    font-weight: 200;
    font-size: 13px;
    color: #aeaeae;
}

.contents-services {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.content {
    width: 220px;
    height: 240px;
    background-color: #1f2327;
    padding: 15px;
    border-radius: 9px;
}

.content.active {
    background-color: #27e488;
}

.content h5.active {
    color: #fff;
    font-size: 12px;
    margin-top: -0px;
}

.content h3 {
    color: #fff;
    font-size: 22px;
    letter-spacing: 1px;
    margin-top: -13px;
}

.content p.active {
    color: #fff;
    font-size: 12px;
    margin-top: -5px;
}

.content h5 {
    color: #aeaeae;
    font-size: 12px;
    margin-top: -0px;
}

.content p {
    color: #aeaeae;
    font-size: 12px;
    margin-top: -5px;
}

/* Portfolio */

.container-portfolio {
    width: 100%;
    height: auto;
    background-color: #171c22;
    padding-bottom: 70px;
    padding-top: 65px;
}

.container-portfolio ul {
    list-style: none;
}

.header-port {
    display: flex;
    justify-content: space-evenly;
}

.title-port h1 {
    color: #27e488;
}

.title-port h5 {
    margin-top: -20px;
    color: #aeaeae;
    font-size: 12px;
    font-weight: 400;
}

.right-port {
    height: 20px;
    background-color: #262e36;
    padding: 15px;
    border-radius: 10px;
    margin-top: 25px;
    /* position: relative; */
}

.right-port ul {
    display: flex;
    list-style: none;
    gap: 50px;
    margin-top: 0px;
}

.right-port ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
}

.right-port ul li a:hover {
    color: #929292;
}

.right-port ul li a.active {
    color: #27e488;
    border-width: 2px;
    border-bottom-style: solid;
    margin-bottom: 10px;
}

.contents-port {
    display: flex;
    justify-content: start;
    /* background-color: pink; */
    gap: 15px;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    justify-content: center;
}

.content-port {
    width: 310px;
    height: 235px;
    /* background-color: pink; */
    position: relative;
}

.contents-port .content-port img {
    background-position: 0%;
    background-size: cover;
    width: 310px;
    height: 235px;
}

.content-port .hover {
    background-color: #929292;
    width: 310px;
    height: 235px;
    margin-top: -240px;
    position: absolute;
    opacity: 0;
    padding: 20px;
    box-sizing: border-box;
}

.content-port .hover:hover {
    opacity: 0.95;
    transition: 0.35s;
}

.hover h2 {
    color: #fff;
    margin-top: -18px;
}

.hover h4 {
    color: #fff;
    margin-top: -0px;
}
.hover p {
    color: #fff;
    margin-top: -5px;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Skill */

.container-skill {
    width: 100%;
    height: auto;
    background-color: #262e36;
    padding: 30px;
    box-sizing: border-box;
    padding-bottom: 50px;
    padding-top: 65px;
}

.main-title-skill h1 {
    color: #27e488;
    border-bottom-width: 3px;
    border-color: #27e488;
    border-bottom-style: solid;
    width: 150px;
}

.main-title-skill h5 {
    color: #aeaeae;
    font-size: 12px;
    font-weight: 400;
    margin-top: -10px;
}

.skill-contents {
    width: 100%;
    height: 10px;
    border: 2px solid #27e488;
    border-radius: 10px;
    margin-top: -10px;
}

.title-skill {
    font-size: 11px;
    color: #fff;
    margin-top: 10px;
}

.skill {
    height: 10px;
    background-color: #27e488;
    border-radius: 8px;
    animation: animasiSkill 1s;
}

.wrap-skill {
    width: 70%;
    margin: 20px auto;
}

.title-skill {
    display: flex;
    justify-content: space-between;
}

@keyframes animasiSkill {
    0% {
        width: 0%;
    }
    100% {
        width: 75%;
    }
}

/* Contact */

.container-contact {
    width: 100%;
    height: auto;
    background-color: #27e488;
    margin-top: -35px;
    padding: 20px;
    box-sizing: border-box;
}

.title-contect {
}

.body {
    display: flex;
    width: 80%;
    margin: 20px auto;
    gap: 50px;
}

.location iframe {
    width: 200px;
    height: 200px;
}

.line {
    border-bottom: 1px solid #525252;
    width: 80%;
}

.body .location iframe {
    width: 500px;
    height: 350px;
}

.container-contact h5 {
    color: #525252;
}

.input-field {
    position: relative;
    height: 40px;
    width: 100%;
    margin-top: 10px;
}

.input-field input[type='text'] {
    background-color: transparent;
    border: none;
    box-shadow: none;
    font-size: 15px;
    color: #fff;
    width: 100%;
    position: absolute;
    border-bottom-style: solid;
    border-width: 2px;
    border-color: #262e36;
}

.input-field textarea {
    background-color: transparent;
    border: none;
    box-shadow: none;
    font-size: 15px;
    color: #fff;
    width: 100%;
    height: 100px;
    position: absolute;
    border-bottom-style: solid;
    border-width: 2px;
    border-color: #262e36;
}

.input-field label {
    position: absolute;
    top: 0;
    left: 0;
    color: #262e36;
    pointer-events: none;
    display: block;
    transition: 0.5s;
    width: 100%;
    font-size: 15px;
}

.input-field input[type='text']:focus + label,
.input-field input[type='text']:valid + label {
    transform: translateY(-25px);
    background-color: #171c22;
    color: #27e488;
    padding: 2px 6px;
    width: auto;
}

.input-field textarea:focus + label,
.input-field textarea :valid + label {
    transform: translateY(-25px);
    background-color: #171c22;
    color: #27e488;
    padding: 2px 6px;
    width: auto;
}

.contact {
    width: 100%;
    height: auto;
    margin-top: 20px;
}

.contact input[type='submit'] {
    background-color: #171c22;
    padding: 10px;
    border: none;
    font-weight: bold;
    font-family: Balsamiq Sans, sans-serif;
    color: #27e488;
    border-radius: 5px;
    transition: 0.4s;
    margin-top: 80px;
}

.contact input[type='submit']:hover {
    background-color: transparent;
    color: #171c22;
    border: 1px solid #171c22;
    box-shadow: 0px 0px 7px 2px #171c22;
}

@media (max-width: 900px) {
    .container-home {
        height: 100vh;
    }
    .icon-home {
        display: none;
    }
}

@media (max-width: 1280px) {
    .container-home {
        height: 100vh;
    }
}

@media (min-width: 1300px) {
    .container-home {
        height: 850px;
    }
    .desc-home {
        margin-top: 40px;
    }
}

/* Responsive | Mobile */

@media (max-width: 768px) {
    body {
        background-size: cover;
    }

    .container-home {
        height: 100vh;
    }
    header {
        padding: 22px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }

    .icon-home a {
        display: none;
    }

    menu ul {
        position: absolute;
        flex-direction: column;
        background-color: #27e488;
        left: 0;
        top: -20px;
        height: 100vh;
        width: 70%;
        align-items: center;
        justify-content: space-evenly;
        transform: translateX(-100%);
        transition: all 1s;
        opacity: 0;
    }

    menu ul li a {
        color: #fff;
    }

    menu ul li a:hover {
        border-color: #262e36;
        width: 100%;
        display: block;
    }

    menu ul.slide {
        transform: translateX(0);
        opacity: 1;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Home */
    .container-home .content-home {
        width: 85%;
    }

    .container-home .content-home .desc-home {
        width: 100%;
        padding-left: 35px;
    }
    .content-home .desc-home h1 {
        font-size: 30px;
    }

    .content-home .desc-home h1 span {
        font-size: 30px;
    }

    /* About */
    .container-about {
        padding-top: 40px;
        padding-bottom: 50px;
    }
    .container-about .profile-about {
        display: flex;
        justify-content: start;
        margin-right: -100px;
    }
    .container-about .profile-about img {
        display: none;
    }

    /* Portfolio */
    .container-portfolio {
        padding-top: 40px;
    }

    .container-portfolio .header-port {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .container-portfolio .contents-port {
        padding-top: 30px;
    }

    .container-portfolio .contents-port .content-port {
        margin-right: 40px;
    }

    /* Skill */
    .wrap-skill {
        width: 90%;
        margin: 20px auto;
    }

    /* Contact */

    .location {
        display: none;
    }
}
