﻿body {
    background-color: #FFFFFF;
    font-family: system-ui, sans-serif;
    font-size: 12pt;
    font-weight: 400;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior-y: none;
    overscroll-behaviour-x: none;
    overflow-x: hidden;
    line-height: 1.3;
    color: #5C6670;
    padding: 3em 0;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-top: 1px solid #A6AAAE;
    background-color: #EDEEEF;
    text-align: center;
    padding: 0.5em;
}

a {
    color: #5C6670;
    text-decoration-color: #FFC93B;
}

    a:hover {
        color: #FFC93B;
    }

.tiny {
    font-size: 10pt;
}

.big {
    font-size: 14pt;
}

.huge {
    font-size: 22pt;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.rotating {
    display: block;
    width: 1em;
    height: 1em;
    margin: 0 auto;
    line-height: 1.02em;
    animation: rotateAround cubic-bezier(0, 0, 0.04, 0.88) 2s infinite;
}

h2 {
    color: #5C6670;
}

label {
    position: absolute;
    margin-top: -1.5em;
    margin-left: .5em;
    left: 0;
    font-size: 11pt;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
    background: none;
    border: none;
    display: block;
    border-bottom: 1px solid #5C6670;
    padding: .5rem;
    padding-bottom: calc(.25em + 1px);
    margin-bottom: 1em;
    width: 100%;
    line-height: 1.5em;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="password"]:focus,
    input[type="number"]:focus {
        border-bottom: 2px solid #FFC93B;
        outline: none;
        padding-bottom: .25em;
    }

    input[type="text"].error,
    input[type="email"].error,
    input[type="password"].error,
    input[type="number"].error {
        border-bottom: 3px solid #FFC93B;
        padding-bottom: .25em !important;
    }

    input[type="text"]::-webkit-input-placeholder,
    input[type="email"]::-webkit-input-placeholder,
    input[type="password"]::-webkit-input-placeholder,
    input[type="number"]::-webkit-input-placeholder { /* WebKit browsers */
        color: #A6AAAE;
    }

    input[type="text"]:-moz-placeholder,
    input[type="email"]:-moz-placeholder,
    input[type="password"]:-moz-placeholder,
    input[type="number"]:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        color: #A6AAAE;
    }


textarea {
    background-color: rgba(251,250,252,0.88);
    border: 1px solid #5C6670;
    padding: 1em;
    resize: none;
}

    textarea:focus {
        border: 1px solid #FFC93B;
    }

input[type="submit"], button {
    border: 1px solid #A6AAAE;
    background-color: #E9E9ED;
    font-size: 12pt;
    padding: 0.5em 1.4em;
    cursor: pointer;
    box-shadow: 0 0 .5em rgba(0,0,0,.25);
    transition: background-color 0.4s ease;
}

    input[type="submit"]:hover, button:hover {
        background-color: #FFC93B;
        border: 1px solid #CCA12F;
    }

table {
    width: 100%;
    display: table;
    text-align: left;
    table-layout: fixed;
}

tr {
    display: table-row;
}

td {
    display: table-cell;
    vertical-align: top;
}

@keyframes rotateAround {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(720deg);
    }
}
