﻿:root {
    --text-color: whitesmoke;
    --text-dark: rgb(207, 207, 207);
    --text-darker: rgb(163, 163, 163);
    --text-highlight: gold;
    --text-invalid: rgb(255, 112, 112);
    --text-emphasis: rgb(154, 218, 255);
    --text-link: rgb(71, 187, 255);
    --accent: rgb(3, 196, 48);
    --bg: rgb(34, 34, 34);
    --bg-dark: rgb(20, 20, 20);
    --bg-light: rgb(50, 50, 50);
    --bg-text: rgb(2, 4, 43);
    --input-autofill: rgb(65, 74, 5);
    --validation-color: rgb(215, 125, 125);
    --button-color-primary: rgb(12, 48, 130);
    --lesson-progress-color: rgb(0, 173, 14);
    --note-information-color: rgb(0, 63, 117);
    --note-warning-color: rgb(64, 0, 0);
    --note-tip-color: rgb(87, 85, 0);
    --text-size-small: 18px;
    --text-size: 24px;
    --text-size-large: 36px;
    --text-size-very-large: 52px;
    --header-height: 60px;
    --footer-height: 60px;
}

@font-face {
    font-family: GoogleFont;
    src: url(../fonts/merriweather-regular.ttf);
}

body {
    font-family: Cambria, GoogleFont, Palatino, Garamond, Times, 'Times New Roman', serif;
    font-size: var(--text-size);
    background-color: var(--bg);
    color: var(--text-color);
    margin: 40px;
}

h1 {
    font-variant: small-caps;
}

.highlight {
    color: var(--text-highlight);
}

a {
    color: var(--text-link);
}

input {
    all: unset;
    background-color: var(--bg-light);
    color: var(--text-color);
    font-family: Cambria, "Linux Libertine", "Linux Libertine G", Times;
    font-size: var(--text-size);
    margin: 6px 0;
    padding: 10px;
    border-radius: 10px;
    width: calc(100% - 20px);
}

input:hover {
    filter: brightness(1.2);
}

.validation-message {
    font-size: var(--text-size-small);
    color: var(--validation-color);
}

button, .button {
    all: unset;
    background-color: var(--bg-light);
    color: var(--text-color);
    font-family: Cambria, "Linux Libertine", "Linux Libertine G", Times;
    font-size: var(--text-size);
    margin: 10px 0;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    flex: 1 1 auto;
    justify-content: center;
    line-height: 1;
    outline: none;
    padding: 1rem 1.2rem;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    box-shadow: transparent 0 0 0 3px,rgba(18, 18, 18, .1) 0 6px 20px;
    box-sizing: border-box;
    align-items: center;
}
    button:hover, .button:hover {
        filter: brightness(1.2);
    }

.form {
    background-color: var(--bg-dark);
    padding: 10px;
    border-radius: 10px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    margin: 140px auto;
}

    .form .title {
        font-size: var(--text-size-large);
        font-variant: small-caps;
        margin-bottom: 20px;
    }

    .form .button-container {
        margin-top: 20px;
        text-align: center;
    }

.primary {
    background-color: var(--button-color-primary);
}

em {
    color: var(--text-emphasis);
}