@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@import url('./nunito.css');

body {
    margin: 0;
    font-family: "Nunito", sans-serif;

    /* -webkit-app-region: drag; */
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: #212529;
    text-align: left;
    background-color: #f8fafc;
    overflow: hidden;
    position: relative;
    height: 100%;
}

code {
    font-family:
        source-code-pro,
        Menlo,
        Monaco,
        Consolas,
        'Courier New',
        monospace;
}

:global(*),
:global(*::after),
:global(*::before) {
    box-sizing: border-box;
    -webkit-user-drag: none;
    font-family: "Inter", sans-serif;
    user-select: none;
    outline: none;
}

:global(a) {
    color: var(--accent);
    text-decoration: none;
}

:global(::selection) {
    background-color: var(--accent-faded);
    color: var(--text-normal);
}

:global(::-webkit-scrollbar) {
    width: 4px;
    height: 4px;
}

:global(::-webkit-scrollbar-thumb) {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

:global(::-webkit-scrollbar-corner) {
    display: none;
}

:global(html),
:global(body) {
    overflow: hidden;
    margin: 0;
    height: 100%;
    width: 100%;
}

:root {
    --bg1: #0c0d10;
    --bg2: #14151b;
    --bg2-alt: #191a21;
    --text-normal: #bfc4c9;
    --text-muted: #95989d;
    --accent: #3a71c1;
    --accent-faded: rgba(58, 113, 193, 0.4);
}

:global(.focus-visible) {
    box-shadow: 0 0 0 4px var(--accent-faded) !important;
}

:global(::-webkit-scrollbar-thumb:hover) {
    background-color: rgba(255, 255, 255, 0.075);
}

:global(::-webkit-scrollbar-thumb:active) {
    background-color: rgba(255, 255, 255, 0.1);
}

:global(#app) {
    overflow: hidden;
    margin: 0;
    height: 100%;
    width: 100%;
}

.titlebar {
    background-color: var(--bg1);
    color: white;
    width: 100vw;
    height: 28px;
    display: flex;
    align-items: center;
    -webkit-app-region: drag;
}

.title {
    height: auto;
    text-indent: 15px;
    opacity: 0.5;
    left: 0;
    position: absolute;
}

.controls {
    display: flex;
    align-items: center;
    margin-left: auto;
    -webkit-app-region: no-drag;
}

.controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
}

.titlebar button {
    height: 28px;
    width: 40px;
    transition: 50ms ease;
    background-color: transparent;
    color: var(--text-muted);
}

.titlebar button svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.titlebar button:hover {
    background-color: var(--bg2);
}

.titlebar button:active {
    background-color: var(--bg2-alt);
}

.titlebar button#close:hover {
    background-color: #d13d3d;
    color: #fff;
}

.titlebar button#close:active {
    background-color: #b12a2a;
    color: #fff;
}

.swiper {
    width: 100%;
    height: 300px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background-color: #f8fafc;

    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(75, 85, 99, 0.75) !important;
}

.swiper-pagination-bullet-active {
    color: #fff;
    background: rgba(75, 85, 99, 1) !important;
}
