/* palette */
body {
    --theme-color: #6b55da;
    --theme-color-highlight: #b29fff;

    --bg-primary: #ffffff;
    --bg-secondary: #f6f6f7;
    --bg-highlight: #e7e8ec;

    --text-primary: #222;
    --text-secondary: rgba(107, 114, 128);
    --highlight: #fff
}

.dark-mode body {
    --bg-primary: #1b1b1f;
    --bg-secondary: #161618;
    --bg-highlight: #202127;

    --text-primary: #fff;
    --text-secondary: rgb(156, 163, 175);
}

.button{
    padding: .625rem 2rem;
    border-radius: 100px;

    background-color: var(--bg-highlight);
}

button:hover {
    background-color: var(--bg-primary);
}

.button-light{
    background-color: var(--theme-color);
}

.button-light:hover{
    background-color: var(--theme-color-highlight);
}

.interactive-text:hover{
    color: var(--theme-color-highlight);
}


.products .card img {
    object-fit: cover;
}

.title {
    inherit: 'font-semibold px-6 lg:px-4';
    margin-top: 20px;
    font-size: 1.8rem;
    line-height: 2.3rem
}

.dropdown > ul {
    transition: opacity 0.5s ease;
    opacity: 0;
    position: absolute;
}

.dropdown > ul > li {
    width: 170px
}

.dropdown:hover > ul {
    opacity: 1;
}

.object-cover {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bg, .bg-primary {
    background-color: var(--bg-primary)
}

.bg-secondary {
    background-color: var(--bg-secondary)
}

.bg-highlight {
    background-color: var(--bg-highlight)
}




.text {
    color: var(--text-primary)
}

.text-secondary {
    color: var(--text-secondary)
}

.text-light {
    color: var(--text-primary);
    fill: var(--text-primary)
}

.text-light-secondary {
    color: rgba(235, 241, 253)
}

.text-highlight {
    color: rgb(107, 114, 128)
}


.bg-description {
    font-size: 20px;
    text-align: right;
    padding: 20px;
    right: 0;
    bottom: 0;
    color: rgb(235, 241, 253);
}

.display-light {
    display: block;
}

.display-dark {
    display: none;
}

.header-bg {
    background-position-x: left;
    background-position-y: 0;
    background: url('https://pic.imgdb.cn/item/66375c7e0ea9cb1403003784.png');
}

.dark-mode .header-bg {
    background: center 50% url('https://pic.imgdb.cn/item/66375c7f0ea9cb140300383a.png');
}

.dark-mode .display-light {
    display: none;
}

.dark-mode .display-dark {
    display: block;
}

.title {
    border-left: 4px solid var(--text-secondary);
    padding-left: .6rem;
}

nav {
    inherit-style: 'fixed top-0 left-0 right-0 z-50 transition-shadow';
    background-color: rgb(17, 17, 17);
    box-shadow: 0 0 40px -15px #888888;
}


.section {
    background-color: var(--bg-primary);
}

.section-highlight {
    background-color: var(--bg-secondary);
}


footer a:hover {
    color: var(--text-primary);
}

footer a {
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}

.icon {
    align-content: center;
    text-align: center;
}

apply, property, child, provider {
    display: none;
}

.component-child {

}

.scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.scroll::-webkit-scrollbar-thumb {
    background-color: var(--text-secondary);
    border-radius: 10px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1);
}

.scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(180, 189, 180, .8);
    -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1);
}

.scroll::-webkit-scrollbar-track {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
    background-color: transparent;
}

.scroll::-webkit-scrollbar-track:hover {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, .01);
}

#nav-mobile-container {
    display: none;
}

#nav-mobile-container > ul {
    position: fixed;
    opacity: 0;
    left: 0;
    top: 71px;
    border: none;
    width: 100vw;
    box-shadow: 0 0 5px 0 #aaa;
    padding-left: 20px;
}

#nav-mobile-container.open > ul {
    opacity: 1;
}

#nav-mobile-container > ul ul {
    position: relative;
    background: transparent;
    border: none;
    opacity: 1;
}

@media screen and (max-width: 512px) {
    .c2a-btn {
        display: none;
    }
}


@media screen and (max-width: 768px) {
    #nav-mobile-container {
        display: block;
    }
}