@font-face {
    font-family: "H7GBK-Heavy";
    src: url("H7GBK-Heavy.ttf");
}

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --container: #191c21;
    --highlight: #D8B77E;
    --description: #a8a29e;
    --text: #edf2f7;
    
    --quality5: #ffd17c;
    --quality4: #ffabfc;
    --quality3: #b9c6ff;
}

html {
    color-scheme: light dark;
    overflow-x: hidden;
    color: var(--text);
    font-family: "H7GBK-Heavy", "Segoe-ui";
}

main {
    background: url("/other/bg.jpg") no-repeat;
    background-size: cover;
    background-position: center bottom;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bgcontainer {
    background-color: #191c2175;
    border-radius: 0 0 0 1rem;
    border-color: var(--highlight);
    border-width: 1px;
    box-shadow: 0px 5px 10px #00000080;
    overflow: hidden;
}

.bgbutton {
    background-color: var(--text);
    border-radius: 0.3rem;
    border-color: var(--highlight);
    border-width: 1px;
    box-shadow: 0px 5px 10px #00000080;
    color: var(--container);
    text-shadow: 0px 0.3px, 0.3px 0px, 0.3px 0.3px;
}
.bgbuttonUnselected {
    background: transparent;
    color: var(--text);
    text-shadow: none;
}

.bgbutton:hover {
    filter: brightness(1.2);
}

.textshadow {
    text-shadow: 0px 0.3px, 0.3px 0px, 0.3px 0.3px;
}

.textgold {
    background: -webkit-linear-gradient(#ECE0CE, #D8B77E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split {
    background: url("/other/split_right.png") no-repeat 100%/40px;
    width: 100%;
    height: 20px;
}
.split div {
    background: linear-gradient(to right, transparent, #D8B77E 30%);
    position: relative;
    height: 2px;
    top: 10px;
    width: calc(100% - 40px);
}

.banner {
    transform-origin: 100% 50%;
}

.inlineimage {
    display: flex;
    align-items: center;
}

.inlineimage img {
    width: 2rem;
    object-fit: contain;
}

.pull-5 {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 1%, #ffd17c33 20%, rgba(0, 0, 0, 0) 99%);
}
.pull-4 {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 1%, #ffabfc33 20%, rgba(0, 0, 0, 0) 99%);
}
.pull-3 {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 1%, #00000080 20%, rgba(0, 0, 0, 0) 99%);
}


.tooltip img, .tooltip p {
    transition-property: opacity;
    transition-duration: 200ms;
}
.tooltip:hover img, .tooltip:hover p {
    opacity: 100;
}

input:focus {
    outline-color: var(--highlight);
    outline-style: solid
}

a {
    color: var(--highlight);
}
a:hover {
    filter: brightness(1.2);
    box-shadow: 0 4px 1px -3px var(--highlight);
}