/* FONT */
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(ubuntu.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* GENERAL */
* {
    font-family: 'Ubuntu', sans-serif;
    --clr: #ffffff;
}

html, body {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    background-color: #1e1e1e;
    color: white;
    display: flex;
}

.center {
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

/* MESSAGEBOX */
.overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100000;
}

.messagebox {
    display: flex;
    background-color: black;
    border: 2px solid white;
    padding: 10px;
    border-radius: 10px;
}

/* PAGE */
.page {
    display: none;
}

/* LAYOUT */
.layout {
    display: flex;
}

/* HEADER */
.header {
    margin: 0px;
    padding: 10px 0px;
    font-size: 36px;
    font-weight: normal;
    text-align: center;
}

/* TEXT */
.text {
    margin: 10px 0px;
}

.border {
    border: 2px solid var(--clr);
    border-radius: 5px;
    box-shadow: inset 0px 0px 0px 3px #27282c;
}

/* BUTTON */
.button, .button-plain {
    border: 2px solid var(--clr);
    position: relative;
    background: #444;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.5em;
    height: 50px;
    line-height: 46px;
    padding: 0px;
    margin: 10px;
    border-radius: 5px;
    display: block;
    cursor: pointer;
    outline: none;
    box-shadow: inset 0px 0px 0px 3px #27282c;
}

.button-plain:hover, .button-plain:active, .button-plain:focus,
.button:hover, .button:active, .button:focus {
    color: var(--clr);
    box-shadow: 0 0 35px var(--clr),
    inset 0px 0px 0px 1px var(--clr);
}

.button:hover, .button:active, .button:focus {
    letter-spacing: 0.15em;
}

.button {
    transition: 0.5s;
    letter-spacing: 0.1em;
}

.button::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 80%;
    width: 10px;
    height: 5px;
    border: 2px solid var(--clr);
    border-radius: 0px;
    background: #27282c;
    transform: translateX(-50%);
    transition: 0.5s;
}

.button:hover::before,
.button:active::before,
.button:focus::before {
    width: 20px;
    left: 20%;
}

.button::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 20%;
    width: 10px;
    height: 5px;
    border: 2px solid var(--clr);
    border-radius: 0px;
    background: #27282c;
    transform: translateX(-50%);
    transition: 0.5s;
}

.button:hover::after,
.button:active::after,
.button:focus::after {
    width: 20px;
    left: 80%;
}

/* INPUT */
.input-container {
    position: relative;
}

.input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid var(--clr);
    position: relative;
    background: #444;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    letter-spacing: 0.1em;
    padding: 10px 30px;
    transition: 0.5s;
    margin: 10px;
    outline: none;
    border-radius: 5px;
    box-sizing: border-box;
    width: 480px;
    box-shadow: inset 0px 0px 0px 3px #27282c;
}

.label {
    transition: 0.5s;
    padding: 0px 3px;
    font-size: 14px;
    z-index: 1000;
    text-align: left;
    content: 'Aaa';
    color: var(--clr);
    background-color: #444;
    position: absolute;
    top: -3px;
    left: 25px;
    display: none;
    border-radius: 4px;
    border: 2px solid var(--clr);
}

.error {
    transition: 0.5s;
    transform: translate(50%, 50%);
    padding: 0px 3px;
    font-size: 14px;
    z-index: 1000;
    text-align: left;
    content: 'Aaa';
    color: var(--clr);
    background-color: #444;
    position: absolute;
    bottom: 50%;
    height: 47%;
    right: 0;
    display: none;
    border-radius: 4px;
    border: 2px solid var(--clr);
    max-width: 150px;
    overflow: hidden;
    align-items: center;
}

.input::placeholder {
    text-transform: uppercase;
}

.input:not(:placeholder-shown) + .label {
    display: block;
}

.input:focus {
    letter-spacing: 0.15em;
    color: var(--clr);
    box-shadow: 0 0 35px var(--clr),
    inset 0px 0px 0px 1px var(--clr);
}

/* Chrome, Safari, Edge, Opera */
input.input::-webkit-outer-spin-button,
input.input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.input[type=number] {
    -moz-appearance: textfield;
}

/* ALIGN */
.align-column {
    display: flex;
    flex-direction: column;
}

.align-row {
    display: flex;
    flex-direction: row;
}
