* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body {
    color: #ededed;
}

.header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    z-index: 200;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.4s;
}

.navigasi a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    margin-left: 35px;
    position: relative;
    transition: color 0.3s ease;
}

.navigasi a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #696764;
    transition: width 0.3s ease;
}

.navigasi a:hover::after,
.navigasi a.active::after {
    width: 100%;
}

.navigasi a:hover, 
.navigasi a.active {
    color: #696764;
}

.home {
    height: 100vh;
    background: url('bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.home-content {
    max-width: 600px;
}

.home-content h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.home-content h3 {
    font-size: 30px;
    font-weight: 700;
    color: #696764;
}

.home-content p {
    font-size: 16px;
    margin: 20px 0 40px;
}

.home-content .btn-box {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #696764;
    border: 2px solid #696764;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: color .5s;
}

.btn-box a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #272625;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover {
    color: #696764;
}


.btn-box a:nth-child(2) {
    background: transparent;
    color: #696764;
    border: 2px solid #696764;

}

.btn-box a:nth-child(2)::before {
    background: #696764;
}

.btn-box a:nth-child(2):hover {
    color: #081b29;
}

.btn-box a:hover::before {
    width: 100%;
}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.home-sci  a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #696764;
    border-radius: 50%;
    font-size: 20px;
    color: #696764;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a:hover {
    color: #081b29;
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #696764;
    z-index: -1;
    transition: .5s;
}

.home-sci a:hover::before  {
    width: 100%;
}


@keyframes showRight {
    100% {
        width: 0;
    }
}

/* menyesuaikan di android mobile */
@media (max-width: 768px) {
    .header {
        padding: 15px 5%;
    }

    .hamburger {
        display: flex;
    }
    .navigasi {
        position: fixed;
        top: 70px;
        right: -220%;
        background: #272625;
        width: 200px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 30px 20px;
        gap: 0;
        transition: right 0.3s;
        z-index: 150;
         box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    }
    .navigasi.active {
        right: 0;
    }
    .navigasi a {
        margin: 0 0 20px 0;
        font-size: 18px;
        color: #fff;
        width: 100%;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        text-align: left;
    }
    .navigasi a:last-child {
        border-bottom: none;
    }

    .home {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 5%;
        height: auto;
        min-height: 100vh;
    }

    .home-content {
        max-width: 100%;
        margin-top: 80px;
    }

    .home-content h1 {
        font-size: 28px;
    }

    .home-content h3 {
        font-size: 20px;
    }

    .home-content p {
        font-size: 14px;
        margin: 15px 0 25px;
    }

    .home-content .btn-box {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 10px;
    }

    .btn-box a {
        width: 100%;
        font-size: 16px;
        height: 45px;
    }

    .home-sci {
        position: static;
        margin: 30px 0 0 0;
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
    }
}
