/* This file contains all the custom fonts and colors for the dollmaker */

/*----------------------------------------------*/

/* We keep html and body transparent so your lowpoly-bg.png and eerie spot animations show through perfectly! */
@font-face {
    font-family: 'PixelOperatorMono';
    /* Ensure you have a copy of your font file in the public folder and point this URL to it! */
    src: url('/PixelOperatorMono.ttf');
}

html {
    background: transparent !important;
}

body {
    margin: 0;
    padding: 0;
    background-color: transparent !important;
    font-family: 'PixelOperatorMono', monospace !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.0em !important;
    font-weight: normal !important;
    color: #a1df2a !important;
    text-shadow: 1.5px 1.5px 0px #4c00a8, 0 0 12px rgba(76, 0, 168, 0.8) !important;
    transition: color 0.1s ease-in-out, text-shadow 0.1s ease-in-out !important;
}

/* ------------------------------------------------------------------- */
/* TYPOGRAPHY & LINKS */

h1,
h2,
h3,
#page-header,
#page-subheader {
    font-weight: normal !important;
    color: #a1df2a !important;
    text-shadow: 1.5px 1.5px 0px #4c00a8, 0 0 12px rgba(76, 0, 168, 0.8) !important;
}

#page-subheader a,
#swatchesArea a {
    color: #a1df2a !important;
    text-decoration: none;
    transition: 0.1s ease-in-out;
}

#page-subheader a:hover {
    color: #c93267 !important;
    text-shadow: 1.5px 1.5px 0px #4c00a8, 0 0 12px rgba(76, 0, 168, 0.8) !important;
    cursor: pointer;
}

/* ------------------------------------------------------------------- */
/* RETRO BUTTONS & TABS (Maps to your .retro-btn) */

button,
#tabsbar li a {
    background-color: #c93267 !important;
    background-clip: padding-box !important;
    position: relative;

    border: 4px solid transparent !important;
    border-width: 4px !important;
    -webkit-border-image: url('/vibrantui/word-btn.png') 4 fill repeat !important;
    border-image: url('/vibrantui/word-btn.png') 4 fill repeat !important;

    image-rendering: pixelated;
    text-align: center;
    padding: 4px 10px;
    font-family: 'PixelOperatorMono' !important;
    font-size: 12px !important;
    color: #a1df2a !important;
    text-shadow: 1.5px 1.5px 0px #4c00a8, 0 0 12px rgba(76, 0, 168, 0.8) !important;
    transition: filter 0.1s, transform 0.1s !important;
    cursor: pointer;
    text-decoration: none;
}

button:hover,
#tabsbar .ui-state-default a:hover {
    filter: brightness(1.2);
    color: #a1df2a !important;
    text-shadow: 1.5px 1.5px 0px #4c00a8, 0 0 12px rgba(76, 0, 168, 0.8) !important;
}

button:active {
    filter: brightness(0.9);
    transform: translate(2px, 2px);
}

/* Active tab state */
#tabsbar .ui-state-active a,
#tabsbar .ui-state-active a:hover {
    filter: brightness(1.0);
    color: #a1df2a !important;
    text-shadow: 1.5px 1.5px 0px #4c00a8, 0 0 12px rgba(76, 0, 168, 0.8) !important;
}

/* ------------------------------------------------------------------- */
/* RETRO WINDOWS (Maps to your .retro-window 21px 9-slice) */

#bodyArea,
#swatchesArea,
#credits,
.ui-tabs-panel {
    background-color: transparent !important;
    background-clip: padding-box !important;
    position: relative;

    border: 7px solid transparent !important;
    border-width: 7px !important;
    -webkit-border-image: url('/vibrantui/text-field.png') 7 fill stretch !important;
    border-image: url('/vibrantui/text-field.png') 7 fill stretch !important;

    image-rendering: pixelated;
    color: #a1df2a !important;
    text-shadow: 1.5px 1.5px 0px #4c00a8, 0 0 12px rgba(76, 0, 168, 0.8) !important;
    transform: translateZ(0);
}

/* ------------------------------------------------------------------- */
/* ITEM PREVIEW BOXES (Maps to your .item-preview-slot) */

#swatchesArea a {
    background-color: transparent !important;
    border: 1px solid #4c00a8 !important;
    box-shadow: inset 1px 1px 0px rgba(45, 27, 46, 0.1) !important;
}

#swatchesArea a:hover {
    border: 1px solid #a1df2a !important;
}

#piecesArea img {
    image-rendering: pixelated !important;
    image-rendering: crisp-edges !important;
}

/* Anti Right-click */
/* Commented out by default since I don't care for it. Feel free to uncomment it for your own project. */
/* #anti-rightclick {
    background: #D8C0FF;
    border: 1px solid #4A00C0;
} */