@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap");

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

/* Mobile */
.container {
    padding: 0px 15px;
}

nav {
    background-color: #d9d9d9;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0px;
}

a {
    text-decoration: none;
    color: black;
}

.navbar {
    display: none;
}

.burger {
    cursor: pointer;
    display: inline-block;
}

.burger .strip {
    width: 30px;
    height: 4px;
    background-color: black;
    margin: 5px 0px;
}

.burger .menulist {
    display: none;
    position: absolute;
    background-color: #d9d9d9;
    right: 1rem;
    z-index: 1;
}

.burger .menulist a {
    display: block;
    padding: 1rem;
}

.burger .menulist a:hover {
    background-color: #cbcbcb;
}

.burger:hover .menulist {
    display: block;
}

#playstore-icon {
    /* 1em = 16px */
    width: 5.5em;
}

#appstore-icon {
    width: 5.5em;
}

.hero {
    padding-top: 3rem;
}

#hero-image {
    width: 10.5em;
}

.hero-wrap {
    display: flex;
    padding: 1em 0;
}

.icon-store {
    display: flex;
    flex-direction: row;
    column-gap: 0.5em;
}

.text {
    padding: 1em 0;
    display: flex;
    flex-direction: column;
    row-gap: 1em;
}

.text p {
    padding-top: 1em;
}

.image {
    width: 50%;
    display: flex;
    justify-content: end;
    align-items: center;
}

/* Statistic Section */
.statistic-wrap {
    /* background-color: red; */
    margin: 2em 0;
    display: flex;
    justify-content: space-between;
}

.statistic-wrap div h2 {
    font-size: 1.2em;
}

.statistic-wrap div h4 {
    font-weight: 400;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 2em 0;
}

.feature-content .one {
    /* width: 33%; */
    /* background-color: red; */
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    justify-content: space-evenly;
}

.feature-content .two {
    align-self: center;
    width: 50%;
    /* background-color: green; */
    /* width: 33%; */
    order: 1;
}

.feature-content .three {
    /* background-color: blue; */
    text-align: right;
    /* width: 33%; */
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    justify-content: space-evenly;
}

.features-wrap > h2,
.features-wrap > p {
    text-align: center;
}

#image-features {
    width: 100%;
}

.features {
    background-color: #d9d9d9;
    padding: 2em 0;
}

.screenshots {
    padding: 2rem 0;
}

.screenshots-wrap {
    /* background-color: orange; */
    overflow: hidden;
    mask-image: linear-gradient(
        90deg,
        transparent,
        #fff 10%,
        #fff 90%,
        transparent
    );
}

.screenshot-content {
    position: relative;
    display: inline-flex;
    justify-content: center;
}

.screenshot-content .image {
    display: flex;
    white-space: nowrap;
    /* width: 100%; */
    /* gap: 1rem; */
    /* align-items: center; */
    /* justify-content: space-between; */
    /* background-color: yellow; */
    /* padding: 1rem 0; */
    /* overflow: hidden; */

    animation: scroll linear infinite;
    animation-duration: var(--t);

    animation-delay: calc((var(--t) * -1));
}

@keyframes scroll {
    0% {
        transform: translateX(0%); /* Mulai dari kiri */
    }
    100% {
        transform: translateX(-400%); /* Akhirnya ke kanan */
    }
}

.screenshot-content #arrow-left {
    width: 5%;
    display: none;
}

.screenshot-content #arrow-right {
    width: 5%;
    display: none;
}

.screenshot-content .image img {
    min-height: 18rem;
    max-width: 15rem;
    /* scale: 0.5; */
}

.help-center {
    background-color: #d9d9d9;
    padding: 2rem 0;
}

.help-center-content {
    display: flex;
    margin: 1rem 0;
}

.help-center-content .image-help-center {
    width: 50%;
    /* background-color: blue; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.help-center-content .image-help-center img {
    width: 80%;
}

.help-center-content .text-help-center {
    width: 50%;
    /* background-color: yellow; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.help-center-content .text-help-center button {
    background-color: #e6c0c0;
    border: none;
    padding: 8px 13px;
    border-radius: 0.2rem;
    width: 8rem;
    cursor: pointer;
}

.help-center-content .text-help-center button:hover {
    background-color: #e79797;
}

.help-center-wrap > p,
.help-center-wrap > h2 {
    text-align: center;
}

.download {
    padding: 2rem 0;
}

.download-wrap {
    display: flex;
    gap: 3rem;
}

.download-wrap .download-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.download-text .icon-store img {
    width: 50%;
}

.download-wrap .download-image {
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.download-wrap .download-image img {
    width: 100%;
}

footer {
    padding: 2rem 0;
    background-color: #d9d9d9;
    text-align: center;
}

/* Smartphone Android */
@media (min-width: 490px) {
    .icon-store {
        flex-direction: row;
        column-gap: 0.5em;
    }

    #playstore-icon {
        /* 1em = 16px */
        width: 7.5em;
    }

    #appstore-icon {
        width: 7.5em;
    }

    #hero-image {
        width: 14.5em;
    }

    .text h2 {
        font-size: 2em;
    }

    .text p {
        font-size: 1.2em;
        padding-top: 1.6em;
    }

    .hero-wrap {
        padding-top: 2em;
    }

    .hero-wrap .image {
        justify-content: center;
    }

    .statistic-wrap div h2 {
        font-size: 1.8em;
    }
}

/* iPad / Tablet */
@media (min-width: 768px) {
    * {
        /* background-color: yellow; */
    }

    .container {
        /* padding: 0px 90px 0px 90px; */
        padding: 0px 80px;
    }

    .burger {
        display: none;
    }

    .navbar {
        display: flex;
        gap: 15px;
    }

    .hero-wrap {
        display: flex;
    }

    .hero-wrap .text {
        width: 50%;
    }

    .hero-wrap .image {
        width: 50%;
    }

    #hero-image {
        width: 19em;
    }

    .text p {
        padding-top: 4em;
    }

    .feature-content {
        flex-direction: row;
    }

    .feature-content .one {
        width: 35%;
        order: 1;
    }

    .feature-content .two {
        order: 2;
        width: 30%;
    }

    .feature-content .three {
        order: 3;
        width: 35%;
    }

    .features-wrap > h2 {
        /* 1 rem = 16 px */
        /* 1 em = mengikuti aturan font parent */
        font-size: 2rem;
    }

    .screenshots-wrap > h2 {
        font-size: 2rem;
    }

    .help-center-wrap > h2 {
        font-size: 2rem;
    }

    .text-help-center > h3 {
        font-size: 1.3rem;
    }

    .help-center-content .image-help-center img {
        width: 60%;
    }

    .download-wrap .download-image img {
        width: 70%;
    }

    .download-text .icon-store img {
        width: 35%;
    }
}

/* Laptop */
@media (min-width: 1024px) {
    * {
        /* background-color: green; */
    }

    #hero-image {
        width: 26.5em;
    }

    .text p {
        font-size: 2em;
    }

    .text h2 {
        font-size: 3em;
    }

    #playstore-icon {
        /* 1em = 16px */
        width: 9.5em;
    }

    #appstore-icon {
        width: 9.5em;
    }

    .hero-wrap .image {
        justify-content: center;
    }

    .statistic-wrap div h2 {
        font-size: 2.4em;
    }

    .statistic-wrap div h4 {
        font-size: 1.2em;
    }

    .icon-store {
        margin-top: 2em;
    }

    .text-help-center > h3 {
        font-size: 1.7rem;
    }

    .download-text > h2 {
        font-size: 2rem;
    }

    .download-text .icon-store img {
        width: 28%;
    }

    .footer-wrap {
        display: flex;
        justify-content: space-between;
        text-align: left;
    }
}

/* Desktop */
@media (min-width: 1280px) {
}
