@font-face {
    font-family: 'Rajdhani';
    src: url('Rajdhani-Regular.ttf') format('truetype');
}

body {
    background-color: gray;
    font-weight: bold;
    font-size: 32px;
    --font-family-var: 'Rajdhani';
    font-family: var(--font-family-var), sans-serif;
}

input {
    font-family: var(--font-family-var), sans-serif;
    font-size: 16px;
    color: var(--text-def);
    font-weight: 700;
    width: 500px;
}

#app {
    display: flex;
    flex-flow: column;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.color-scheme {
    transition: background-color 0.5s ease, color 0.5s ease;
}

.color-scheme-Original {
    --bg-def: #181818;
    --text-def: #ffffff;
    --text-hl-def: #373944;
}

.color-scheme-Retro {
    --bg-def: #414141;
    --text-def: rgba(255, 207, 114, 0.73);
    --text-hl-def: rgba(255, 255, 0, 0.31);
}

.color-scheme-Navy {
    --bg-def: #1A1A2E;
    --text-def: #88abcd;
    --text-hl-def: #E43F5A;
}

.color-scheme-v3 {
    --bg-def: #2F2519;
    --text-def: #4A3F35;
    --text-hl-def: #FA7D09;
}

.button, a {
    padding: 10px 20px;
    border: var(--text-hl-def) 2px solid;
    background-color: var(--text-def);
    border-radius: 5px;
    color: var(--bg-def);
}

.icon, .check-icon, .check-icon-done {
    color: var(--text-def);
    width: 26px;
    height: 26px;
}

body {
    background-color: var(--bg-def);
    color: var(--text-def);
    margin: 0;
}

button, input[type="submit"], input[type="reset"], a {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.input {
    background-color: transparent;
    outline: none;
    -webkit-appearance: none;
    border: none;
    user-select: none;
    padding-top: 3px;
}

.input-wrapper {
    position: relative;
    border: var(--text-hl-def) 2px solid;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 8px 20px;
}

.ml-40 {
    margin-left: 40px;
}


.d-none {
    display: none;
}

.d-block {
    display: block;
}

.controls {
    width: 300px;
    height: auto;
    background-color: rgba(1, 1, 1, 0.2);
    border-radius: 10px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 20px;
    display: flex;
    justify-content: left;
    flex-direction: column;
    cursor: default;

    @media (max-width: 768px) {
        display: none;
    }
}

.controls > p {
    font-size: 12px;
    font-weight: normal;
    margin: 6px;
    text-align: left;
}

.focused {
    box-shadow: var(--text-def) 0 0 10px 0;
}

.line-through {
    text-decoration: line-through;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 5;
    color: white;
    pointer-events: none;
}

label {
    font-size: 16px;
    padding-top: 8px;
}

.dd-button {
    font-size: 16px;
    padding: 4px 8px;
    margin: 4px;
    border: 3px solid var(--text-hl-def);
    border-radius: 3px;
}

.dd-button:focus,
.dd-button:active {
    background-color: var(--text-hl-def);
    color: var(--bg-def);
    outline: 2px solid var(--text-def);
    outline-offset: 2px;
}

.dd-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@-webkit-keyframes autofill {
    0%, 100% {
        background: transparent;
    }
}

input:-webkit-autofill {
    -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

.color-picker {
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: none;
    font-size: 16px;
    padding: 8px;
    background-color: var(--text-hl-def);
    border-radius: 4px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.color-switcher-theme-button {
    background-color: gray;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 8px;
    width: 100%;
    justify-content: space-between;
}

li:last-child .color-switcher-theme-button {
    margin-bottom: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border:none !important;
    -webkit-text-fill-color: var(--text-def) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--bg-def) inset;
    transition: background-color 5000s ease-in-out 0s;
}