* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Bagian Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFF;
    border-bottom: solid 0.5px #F6F6F6;
    padding: 25px 100px;
    z-index: 100;
}

nav div ul li {
    list-style: none;
    display: inline-block;
    margin-left: 65px;
}

nav div .btn-nav li a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 21px;
    transition: .5s;
}

nav div .btn-nav li a:hover {
    color: #000000;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

nav div .logo {
    text-decoration: none;
    color: #000000;
    font-weight: 700;
    font-size: 32px;
}
/* Bagian Akhir Navbar */

/* Bagian Header */
header {
    height: 100vh;
    padding: 100px 100px 0;
    gap: 100px;
    /* display: flex;
    align-items: center; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    display: flex;
}

header .home-info {
    display:inline-block;
    justify-content: space-evenly;
}

header .home-info .btn {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 8px;
    margin: 0;
    border-radius: 10px;
    border: #000 solid .5px;
    transition: 0.5s;
    box-shadow: 0px 0px 10px;
}

header .home-info .btn:hover {
    color: #fff;
    border-radius: 10px;
    background: #000;
    box-shadow: 0px 0px 10px #000;
}

header .home-info .btn-sci {
    display: inline-block;
    margin-left: 16px;
    vertical-align: middle;
}

header .home-info .btn-sci a {
    padding: 2px;
    color: #000;
    font-size: 32px;
    transition: 0.5s;
}

header .home-info .btn-sci a:hover {
    padding: 2px;
    color: #fff;
    border: none solid 2px;
    border-radius: 15px;
    background: #000;
    font-size: 32px;
    box-shadow: 0px 0px 10px #000;
}

/* header img {
    height: 260px;
} */

header h1 {
    font-size: 53px;
    text-shadow: 0px 0px 1px #000;
}

header h3 {
    font-size: 28px;
    margin-top: -10px;
    display: inline-block;
}

header h3 span {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 0.7px #000000;
    /* animation: display-text 14s linear infinite; */
    animation-delay: calc(-3s * var(--i));
}

@keyframes display-text {
    25%, 100% {
        display: none;
    }
}

header h3 span::before {
    content: attr(data-text);
    position: absolute;
    width: 0;
    border-right: 2px solid #000000;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    animation: fill-text 4s linear infinite;
}

@keyframes fill-text {
    10%,100% {
        width: 0;
    }

    70%,90% {
        width: 100%;
    }
}

header p {
    font-size: 16px;
    margin: 10px 0px 25px;
}

.home-img .img-box {
    position: relative;
    width: 26vw;
    height: 26vw;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-img .img-box::before,
.home-img .img-box::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: conic-gradient(transparent, transparent, transparent, #000000);
    transform: rotate(0deg);
    animation: rotate-border 10s linear infinite;
}

@keyframes rotate-border {
    100% {
        transform: rotate(360deg);
    }
}
.home-img .img-box::after {
    animation-delay: -5s;
}

.home-img .img-box .img-item {
    position: relative;
    width: 100%;
    height: 100%;
    background: lightgreen;
    border-radius: 50%;
    /* border: .1px solid navy; */
    display: flex;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.home-img .img-box .img-item img {
    position: absolute;
    display: block;
    left: -60px;
    width: 160%;
    object-fit: cover;
}
/* Bagian Akhir Header */

/* Tombol hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 30px;
        position: relative;
    }

    .menu-toggle {
        display: flex;
        z-index: 110;
    }

    nav .btn-nav {
        position: absolute;
        top: 65px;
        right: 30px;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        width: 180px;
        padding: 10px 15px;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
    }

    nav .btn-nav li {
        margin: 10px 0;
    }

    nav .btn-nav.show {
        display: flex;
    }

    header {
        flex-direction: column;
        padding: 100vh 30px 30px;
        gap: 50px;
    }

    header .home-info {
        text-align: center;
    }

    header h1 {
        font-size: 36px;
    }

    header h3 {
        font-size: 22px;
    }

    header p {
        font-size: 14px;
        margin: 10px 0 20px;
    }

    .home-img {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .home-img .img-box {
        width: 60vw;
        height: 60vw;
    }

    .home-img .img-box::before,
    .home-img .img-box::after {
        width: 300px;
        height: 300px;
    }

    .home-img .img-box .img-item img {
        left: -40px;
        width: 140%;
    }
}
