/* for light mode */
/* :root {
    --bg-color: white;
    --box-color: grey;
    --text-color: black;
    --accent-color: blue;
} */
:root {
    /* --bg-color: #131314; */
    --bg-color: #ffffff;
    --box-color: #25252a;
    --text-color: #e0e0e0;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #131314;
        --box-color: #25252a;
        --text-color: #e0e0e0;
    }
}

[data-theme="dark"] {
    --bg-color: #131314;
    --box-color: #25252a;
    --text-color: #e0e0e0;
    --accent-color: #80c7ff;
}

@font-face {
    font-family: 'HomeFont';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HomeFont';
    src: url('fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

#body {
    /* background-color: var(--bg-color); */
    font-family: 'MyCustomFont', sans-serif;
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s, filter 0.5s;
    /* Smooth transition */
}
#bg_art {
    background-color: var(--bg-color);
}

.box {
    background-color: var(--box-color);
}

.w_88 {
    width: 88px;
}

.theme_fltr {
    filter: invert(1) hue-rotate(180deg);
}

.d_block {
    display: block !important;
}

.fs_20 {
    font-size: 20px !important;
}

#bg_art {
    position: fixed;
    /* Make it cover the whole viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Place it behind other content */
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.out-top {
    animation: rotate 20s linear infinite;
    transform-origin: 13px 25px;
}

.in-top {
    animation: rotate 10s linear infinite;
    transform-origin: 13px 25px;
}

.out-bottom {
    animation: rotate 25s linear infinite;
    transform-origin: 84px 93px;
}

.in-bottom {
    animation: rotate 15s linear infinite;
    transform-origin: 84px 93px;
}