:root {
    --outline: rgb(0, 0, 0);
    --background: rgb(35, 35, 35);
    --panel: rgb(46, 46, 46);
    --inner: rgb(57, 57, 57);
    --text: rgb(255, 255, 255);
    --dark-text: rgb(180, 180, 180);
    --accent: rgb(60, 180, 255);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background-color: #1c1c1c;
    background-image:
        radial-gradient(ellipse at center, #252525 0%, #1a1a1a 65%, #121212 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(0, 0, 0, 0.18) 1px,
            rgba(0, 0, 0, 0.18) 2px
        );
    background-attachment: fixed;
    color: var(--text);
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.window {
    position: relative;

    width: 430px;
    height: 370px;

    background: var(--outline);

    overflow: hidden;
}

.accent-line {
    position: absolute;

    left: 1px;
    top: 1px;

    width: calc(100% - 2px);
    height: 1px;

    background: var(--accent);
}


.header {
    position: absolute;

    left: 1px;
    top: 3px;

    width: calc(100% - 2px);
    height: 30px;

    background: var(--panel);
    border: 1px solid var(--inner);
}

.header-title {
    position: absolute;

    left: 3px;
    top: 4px;

    font-family: "Nokia";
    font-size: 10px;
    font-weight: normal;
    line-height: 10px;

    color: var(--text);

    text-shadow:
        1px 1px 0 var(--outline);
}

.header-subtitle {
    position: absolute;

    left: 3px;
    top: 14px;

    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    line-height: 11px;

    color: var(--dark-text);

    text-shadow:
        1px 1px 0 var(--outline);
}

.sidebar {
    position: absolute;

    left: 1px;
    top: 34px;

    width: 101px;
    height: 335px;

    background: var(--background);
    border: 1px solid var(--inner);
}

.content {
    position: absolute;

    left: 103px;
    top: 34px;

    width: 326px;
    height: 335px;

    background: var(--background);
    border: 1px solid var(--inner);

    padding: 12px;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    margin-bottom: 4px;
    color: var(--dark-text);
    font-size: 11px;
    text-shadow: 1px 1px 0 var(--outline);
}

.form-input {
    width: 100%;
    height: 22px;

    background: var(--background);
    border: 1px solid var(--inner);

    color: var(--text);
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;

    padding: 0 6px;

    outline: none;
}

.form-input::placeholder {
    color: var(--dark-text);
    opacity: 1;
}

.form-input:focus {
    border-color: var(--accent);
}


.create-btn {
    width: 100%;
    height: 24px;

    margin-top: 8px;

    background: var(--panel);
    border: 1px solid var(--inner);

    color: var(--text);
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;

    cursor: pointer;

    text-shadow: 1px 1px 0 var(--outline);
}

.create-btn:hover {
    background: var(--inner);
    border-color: var(--accent);
}

.create-btn:active {
    background: var(--background);
}

.create-btn:focus-visible {
    outline: none;
    border-color: var(--accent);
}


.nav-item {
    display: block;

    height: 26px;
    line-height: 26px;

    padding-left: 10px;

    color: var(--dark-text);
    text-decoration: none;

    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;

    text-shadow:
        1px 1px 0 var(--outline);

    border-left: 1px solid transparent;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item.active {
    background: var(--panel);
    color: var(--text);
    border-left-color: var(--accent);
}

.nav-item:focus-visible {
    outline: none;
}

@media (max-width: 480px) {
    .window {
        transform-origin: center;
        transform: scale(
            min(
                1,
                calc((100vw - 20px) / 430)
            )
        );
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

@font-face {
    font-family: "Nokia";
    src: url("../fonts/nokia.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: block;
}
