* {
    box-sizing: border-box;
}
body {
    padding: 0;
    margin: 0;
    font-family: "DM Sans", sans-serif;
    background-color: var(--bg-page);
}
a {
    color: inherit;
    text-decoration: none;
}

:root {
    --blue: #1e90ff;
    --bg-page: #f2f2f2;
    --bg-select: #00000010;
    --bg-select-palette: #eeeeee;
    --type: #333;
    --border: #ddd;
    --main: #FFCC6B;
    /* Grid Setting */
    --gap: 20px;
}

/* Posisi */
.relative {position: relative;}
.absolute {position: absolute;}
.fixed {position: fixed;}
.flex {display: flex;}

.atas-kiri {top: 0;left: 0;}
.atas-kanan {top: 0;right: 0;}
.bawah-kiri {bottom: 0;left: 0;}
.bawah-kanan {bottom: 0;right: 0;}
.tengah-h {left: 50%;transform: translateX(-50%);}
.tengah-v {top: 50%;transform: translateY(-50%);}
.tengah-hv {top: 50%;left: 50%; transform: translateX(-50%) translateY(-50%);}

/* Navbar */
#dh-navbar {
    background-color: #fff;
    width: 100%;
    z-index: 999999;
}
.dh-logo-navbar {
    padding: 6px 0px 2px;
    flex: 1;
}
.dh-logo-navbar img {
    height: 42px;
    padding: 7px 12px 7px 7px;
    border-radius: 10px 50px 50px 10px;
}
.dh-logo-navbar img:hover {
    background-color: var(--bg-select);
}
.dh-link-navbar-container ul {
    margin: 0;
    padding: 0;
}
.dh-link-navbar {
    display: inline-block;
    padding: 7px 0;
}
.dh-link-navbar a {
    padding: 15px 20px;
    display: inline-block;
    border-radius: 20px;
}
.dh-link-navbar a:hover {
    background-color: var(--bg-select);
}

.dh-menu {
    list-style: none;
    display: flex;
    gap: 15px;
}

.dh-menu li {
    display: inline;
}

.dh-menu a {
    text-decoration: none;
    color: #000;
    padding: 10px;
}

.dh-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin: 14px 10px;
}

.dh-bar {
    width: 20px;
    height: 3px;
    background-color: #ccc;
    margin: 3px 0;
    border-radius: 10px;
}

/* Grid */
.dh-container {
    display: grid;
    gap: var(--gap);
    padding: 20px;
}

@media (min-width: 2876px) {
    .dh-container {
        grid-template-columns: repeat(11, 1fr);
    }
}

/* 10 kolom untuk layar besar (2569px) */
@media (max-width: 2875px) and (min-width: 2569px) {
    .dh-container {
        grid-template-columns: repeat(10, 1fr);
    }
}

/* 9 kolom untuk layar besar (2410px) */
@media (max-width: 2568px) and (min-width: 2410px) {
    .dh-container {
        grid-template-columns: repeat(9, 1fr);
    }
}

/* 8 kolom untuk layar besar (2163px) */
@media (max-width: 2409px) and (min-width: 2163px) {
    .dh-container {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* 7 kolom untuk layar besar (1935px) */
@media (max-width: 2162px) and (min-width: 1935px) {
    .dh-container {
        grid-template-columns: repeat(7, 1fr);
    }
}

/* 6 kolom untuk layar sedang (1661px) */
@media (max-width: 1934px) and (min-width: 1661px) {
    .dh-container {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 5 kolom untuk layar sedang (1419px) */
@media (max-width: 1660px) and (min-width: 1419px) {
    .dh-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 4 kolom untuk layar sedang (1141px) */
@media (max-width: 1418px) and (min-width: 1141px) {
    .dh-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 3 kolom untuk layar kecil (951px) */
@media (max-width: 1140px) and (min-width: 951px) {
    .dh-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 kolom untuk layar mobile (950px ke bawah) */
@media (max-width: 950px) {
    .dh-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .hidden-mobile {
        display: none;
    }
    .dh-container {
        gap: 5px;
        padding: 10px;
    }
    .dh-color-parts-round {
        display: none;
    }
    .dh-color-parts-detail table {
        font-size: 12px !important;
    }
    .dh-color-parts-detail {
        margin: 0 !important;
    }
    .dh-judul {
        text-align: center;
        margin-top: 0px !important;
    }
    .dh-separator {
        margin-top: 0px !important;
    }
    .dh-content-detail {
        margin-top: 10px !important;
    }
    .dh-menu {
        display: none;
        flex-direction: column;
        background: #fafafa88;
        backdrop-filter: blur(20px);
        position: absolute;
        top: 55px;
        right: -12px;
        width: 200px;
        text-align: center;
        padding: 20px 20px 10px!important; 
        height: 100vh;
    }

    .dh-menu li a {
        padding: 20px;
        display: inline-block;
        width: 100%;
        text-align: right;
        margin-right: 10px;
    }

    .dh-menu-toggle {
        display: flex;
    }
    .dh-container-detail .dh-text-color {
        font-size: 12px !important;
        padding: 10px !important;
    }
    .dh-color-palette-detail .dh-color-1:hover .dh-text-color {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    .dh-color-palette-detail .dh-color-2:hover .dh-text-color {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    .dh-color-palette-detail .dh-color-3:hover .dh-text-color {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    .dh-color-palette-detail .dh-color-4:hover .dh-text-color {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    .dh-deskripsi-app {
        padding: 0 20px;
    }
    .dh-logo-box {
        width: 50%;
        padding: 0;
    }
}

/* 1 kolom detail Mobile */
@media (max-width: 1400px) {
    .dh-detail-flex {
        align-items: center;
        flex-direction: column;
    }
}

/* Gaya dasar untuk item grid */
.dh-grid-item {
    padding: 10px;
    border-radius: 20px;
}
.dh-grid-item:hover {
    background-color: var(--bg-select-palette);
}

/* Content */
#dh-content {
    margin-top: 54px;
}
/* End Content */

.dh-color-palette-box {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #fff;
}
.dh-color-1 {
    padding-bottom: 40%;
    transition: all ease .3s;
}
.dh-color-2 {
    padding-bottom: 20%;
    transition: all ease .3s;
}
.dh-color-3 {
    padding-bottom: 20%;
    transition: all ease .3s;
}
.dh-color-4 {
    padding-bottom: 20%;
    transition: all ease .3s;
}

.dh-color-palette-box:hover .dh-color-1 {
    padding-bottom: 43%;
}
.dh-color-palette-box:hover .dh-color-2 {
    padding-bottom: 19%;
}
.dh-color-palette-box:hover .dh-color-3 {
    padding-bottom: 19%;
}
.dh-color-palette-box:hover .dh-color-4 {
    padding-bottom: 19%;
}

.dh-text-color {
    font-size: 12px;
    padding: 3px 6px;
    color: #0000;
    background-color: #fff0;
    border-radius: 5px 0px 0px 0px;
    letter-spacing: 1px;
    transition: all ease .3s;
}

.dh-color-palette-box:hover .dh-text-color {
    color: #0000;
    background-color: #ffffff15;
}

.dh-color-1:hover .dh-text-color {
    color: #000;
    font-size: 14px;
    background-color: #fff7;
}
.dh-color-2:hover .dh-text-color {
    color: #000;
    font-size: 14px;
    background-color: #fff7;
}
.dh-color-3:hover .dh-text-color {
    color: #000;
    font-size: 14px;
    background-color: #fff7;
}
.dh-color-4:hover .dh-text-color {
    color: #000;
    font-size: 14px;
    background-color: #fff7;
}

/* Button */
.custom-btn {
    display: flex;
    align-items: center;
    margin-top: 10px;
    background-color: var(--bg-page);
    color: var(--type);
    border: none;
    padding: 8px 13px 8px 8px;
    font-size: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.custom-btn img {
    width: 20px; /* Ukuran ikon */
    height: 20px;
    margin-right: 5px; /* Jarak antara ikon dan teks */
}

.custom-btn:hover {
    background-color: var(--bg-select);
}
.dh-button {
    display: flex;
}
.dh-button-fire {
    flex: 1;
}

.dh-button-m-kanan {
    margin-right: 10px;
}

/* Detail */
.dh-container-detail {
    max-width: 600px;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}

.dh-color-palette-detail {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 10px 20px #0001;
    margin-bottom: 20px;
}


.dh-color-palette-detail .dh-color-1:hover .dh-text-color {
    color: #000;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #fff;
}
.dh-color-palette-detail .dh-color-2:hover .dh-text-color {
    color: #000;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #fff;
}
.dh-color-palette-detail .dh-color-3:hover .dh-text-color {
    color: #000;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #fff;
}
.dh-color-palette-detail .dh-color-4:hover .dh-text-color {
    color: #000;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #fff;
}

.dh-color-palette-detail .dh-color-1 {
    padding-bottom: 35%;
}
.dh-color-palette-detail .dh-color-2 {
    padding-bottom: 25%;
}
.dh-color-palette-detail .dh-color-3 {
    padding-bottom: 20%;
}
.dh-color-palette-detail .dh-color-4 {
    padding-bottom: 20%;
}

.dh-color-palette-detail:hover .dh-color-1 {
    padding-bottom: 37%;
}
.dh-color-palette-detail:hover .dh-color-2 {
    padding-bottom: 27%;
}
.dh-color-palette-detail:hover .dh-color-3 {
    padding-bottom: 18%;
}
.dh-color-palette-detail:hover .dh-color-4 {
    padding-bottom: 18%;
}

.dh-container-detail .dh-text-color {
    border-radius: 15px 0px 0px 0px;
    font-size: 14px;
    padding: 8px 16px;
    color: #0000;
    text-transform: uppercase;
    background-color: #ffffff00;
}
.dh-detail-flex {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}
.dh-separator {
    margin: 30px 0;
    border: 0px;
    border-bottom: 1px solid var(--border);
}
.dh-judul {
    margin: 10px 0 0;
    font-size: 20px;
    color: #777;
    font-weight: 400;
}
.dh-more {
    width: 100%;
    text-align: center;
}

/* Color Parts */
.dh-color-parts {
    width: 100%;
    margin: 20px 0;
    display: flex;
}
.dh-color-parts:hover .dh-color-parts-round {
    border: 4px solid #fff;
}
.dh-color-name {
    font-weight: bold;
    color: #333;
    margin-left: 5px;
    margin-bottom: 5px;
}
.dh-color-parts-round {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    border: 2px solid #fff;
    transition: all ease .3s;
}
.dh-color-parts-detail h3 {
    margin: 10px 5px 5px;
    font-size: 18px;
    font-weight: 600;
}
.dh-color-parts-detail {
    margin: 0px 0px 0px 10px;
    flex: 1;
}
.dh-color-parts-detail table {
    width: 100%;
    text-transform: uppercase;
    font-size: 14px;
}
.dh-color-parts-detail table button {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--border);
    color: #888;
    border-radius: 10px;
    cursor: pointer;
    background-color: #0000;
}
.dh-color-parts-detail table button:hover {
    background-color: var(--bg-select);
    color: #333;
}

.dh-content-detail {
    margin-top: 20px !important;
}

/* create */

.dh-color-picker {
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    margin: -10px;
}
.dh-color-picker-container {
    width: 100%;
    overflow: hidden;
}
.dh-color-picker-size-1 {
    padding-bottom: 35%;
}
.dh-color-picker-size-2 {
    padding-bottom: 25%;
}
.dh-color-picker-size-3 {
    padding-bottom: 20%;
}
.dh-color-picker-size-4 {
    padding-bottom: 20%;
}
.dh-create-text-container {
    text-align: center;
    padding-top: 5px;
} .dh-create-text-container .custom-btn {
    margin: 0 auto;
}
.dh-create {
    background-color: #FFCC6B;
    transition: all ease .3s;
}
.dh-create:hover {
    background-color: #ffb54d !important;
}

/* Footer */
.dh-footer-container {
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 1px;
    line-height: 1.5em;

}
.dh-footer-logo {
    width: 100%;
    display: flex;
}
.dh-logo-box {
    width: 50%;
    padding: 30px 30px 0;
}
.dh-logo-box img {
    width: 100%;
}
.dh-deskripsi-app {
    font-size: 12px;
}
.dh-deskripsi-app ul {
    padding-left: 20px;
}
.dh-deskripsi-app ol {
    padding-left: 20px;
}
.dh-deskripsi-app h5 {
    font-size: 14px;
    margin-bottom: 0px;
}
.dh-footer-link {
    padding: 50px 0;
}
.dh-footer-link ul {
    margin: 0;
    padding: 0;
    text-align: center;
}
.dh-footer-link ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: inline-block;
}
.dh-footer-link ul li a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
}
.dh-footer-link ul li a:hover {
    background-color: var(--bg-select);
}
.dh-credit {
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 10px solid var(--main);
    padding: 50px 0;
}