:root {
    --ungu: #88459e;
    --kuning: #ffcd27;
    --kuningtrans: #ffd54b;
    --orange: #f2a500;
    --merah1: #c75579;
    --merah2: #b1373d;
    --merahhov: #d34e78;
    --pink: #fbefff;
    --font: #645e5e;
    --ungu2: #d1abde;
}

*,
body,
html {
    font-family: "fredoka", sans-serif;
    font-size: 15px;

    color: var(--font);

    margin: 0px;
    padding: 0px;
}

form{width: 90%;}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    background-color: #f4f4f4;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight:600 !important;
}

/* Untuk Chrome, Safari, Edge, dan Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Untuk Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/*  */

.mob {
    display: none;
}

.footermob {
    display: none;
}

header {
    background-color: var(--ungu);
    width: 100vw;
    height: 95px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    border-radius: 0px 0px 80px 80px;
    overflow: hidden;
}

header > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 90%;
}

header > div .logo {
    width: auto;
    height: 50px;
    cursor: pointer;
}

header > div ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    list-style: none;
}

header > div ul li {
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#menu_aktif {
    background-color: white;
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 100px;
    color: var(--ungu);
    border: var(--kuning) solid 4px;
    font-weight: 500;
}

header > div .menu_kanan {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 10px;
}

.menu_kanan button {
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.menu_kanan button img {
    height: 30px;
    width: auto;
}

.log {
    background-color: var(--kuning);
    border-radius: 100px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;

    border-top: 1px solid var(--orange);
    border-right: 4px solid var(--orange);
    border-left: 1px solid var(--orange);
    border-bottom: 4px solid var(--orange);

    gap: 10px;

    cursor: pointer;
}

.log:hover {
    background-color: var(--kuningtrans);
}

.log:active {
    background-color: var(--kuning);
}

.log img {
    background-color: white;
    border-radius: 100px;
}

.log p {
    font-weight: 600;
    color: var(--ungu);
}

/*  */

.keranjang {
    height: 50px;
    width: 50px;
    border-radius: 100px;
    border-top: 1px solid var(--ungu2);
    border-right: 4px solid var(--ungu2);
    border-left: 1px solid var(--ungu2);
    border-bottom: 4px solid var(--ungu2);

    cursor: pointer;
}

.keranjang:hover {
    background-color: #e8e8e8;
}

.keranjang:active {
    background-color: white;
}

.keranjang > img {
    height: 25px !important;
    width: auto;
}

/*  */
/*  */

footer {
    position: relative;
    width: 100%;
    min-height: 300px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-bg {
    background-image: url("../asset/footer-new.png");
    background-position: center bottom;
    background-size:contain;
    background-repeat: no-repeat;

    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;

    margin-bottom: -25px;
}

footer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 1;
}

footer ul {
    position: relative;
    text-align: center;

    list-style: none;

    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 60px;
}

footer ul li {
    color: var(--ungu);
    font-size: 25px;
    font-weight: 600;
    cursor: pointer;
}

footer ul li:hover {
    color: var(--ungu2);
}

footer ul li:active {
    color: var(--ungu);
}

footer small {
    color: var(--merah1);
}

/*  */

.wrap-container {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    margin-top: 50px;
    margin-bottom: 0px;

    gap: 100px;
}

/*  */
/*  */

@media only screen and (max-width: 600px) {
    *,
    body,
    html {
        font-family: "fredoka", sans-serif;
        font-size: 15px;

        color: var(--font);

        margin: 0px;
        padding: 0px;
    }

    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;

        background-color: #f4f4f4;
        overflow-x: hidden;
    }

    /*  */

    header {
        display: none;
    }

    .mob {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        background-color: var(--ungu);
        height: 50px;
        width: 100vw;

        border-radius: 0px 0px 30px 30px;
        overflow: hidden;
    }

    .mob > img {
        width: auto;
        height: 30px;

        margin-left: 20px;
    }

    .mob button {
        height: 30px;
        width: 30px;
        margin-right: 20px;
        border-radius: 100px;
        padding: 10px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        overflow: hidden;
        cursor: pointer;

        border-top: 1px solid var(--ungu2);
        border-right: 2px solid var(--ungu2);
        border-left: 1px solid var(--ungu2);
        border-bottom: 2px solid var(--ungu2);
    }

    .mob button:hover {
        background-color: #e8e8e8;
    }

    .mob button:hover {
        background-color: white;
    }

    .mob button img {
        width: 15px;
        height: 15px;
    }

    /*  */
    /*  */

    footer {
        display: none;
    }

    .footermob {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        background-color: white;
        width: 100vw;
        height: 55px;

        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        position: fixed;
        bottom: 0;
        left: 0;

        z-index: 99999999;
    }

    .footermob ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 85%;

        list-style: none;
    }

    .footermob ul li {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footermob ul li small {
        font-size: 10px;
        color: #a6a6a6;
    }

    .foot-active small {
        color: var(--ungu) !important;
        font-weight: 500;
    }

    /*  */

    .wrap-container {
        display: flex;
        flex-direction: column;

        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .wrap-container {
        display: flex;
        flex-direction: column;
        align-items: center;

        width: 100%;
        margin-top: 20px;
        margin-bottom: 60px;

        gap: 20px !important;
    }
}
