/* GENERAL */

body, input, button, textarea {
    font-family: "Lato", sans-serif;
}

a {
    text-decoration: none;
}

.clear {
    clear: both;
}

.invisible {
    display: none !important;
}

.hidden {
    visibility: hidden;
}

.text-center {
    text-align: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='number'] {
    -moz-appearance: textfield;
}

.yellow {
    color: rgba(250, 136, 69, 1);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 45px;
}

.correct {
    border-color: rgba(250, 136, 69, 1) !important;
    border-width: 2px !important;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #0f5082 0%, #1e3c64 100%);
    color: #fff;
}

.container {
    position: relative;
    top: 100%;
    left: 30%;
    transform: translateY(-60%);
    width: 40%;
    display: block;
    text-align: center;
}

.container.last {
    top: 100%;
}

h1 {
    font-size: 56px;
    font-weight: bold;
    color: #FFF;
}

p {
    margin-top: 20px;
    padding-left: 15%;
    padding-right: 15%;
    font-size: 26px;
    word-spacing: 0.1em;
    font-weight: 300;
    color: #FFF;
}

p.p-short {
    margin-bottom: 58px;
}

p.filler {
    margin: 0 auto;
    height: 70px;
}

p.last {
    margin-bottom: 100px;
}

.caps {
    text-transform: uppercase;
}

.input-container > input {
    background: transparent;
    margin-top: 40px;
    padding: 5px 6px;
    margin-bottom: 8%;
    border: 1px solid #FFF;
    border-radius: 5px;
    font-size: 24px;
    color: #FFF;
    text-align: center;
}

.dots {
    position: fixed;
    bottom: 20%;
    left: 45%;
    width: 10%;
    z-index: -1;
}

ul#bullet-list {
    user-select: none;
    text-align: center;
    list-style: none;
    padding-left: 0;
    margin: 0 0 10px;
}

#bullet-list li.selected {
    background: #FFF;
}

#bullet-list li {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    margin: 0 10px;
}

.button-container {
    margin-top: 40px;
    text-align: center;
}

.button-container.last {
    margin-top: 50px;
}

.button {
    padding: 15px 20px;
    color: #FFF;
    font-size: 20px;
    background-color: #FA8845;
    border-radius: 5px;
    letter-spacing: 0.03em;
    transition: all ease 0.2s;
}

.button:hover {
    color: #0f5082;
}

.button.inactive {
    pointer-events: none;
    cursor: default;
    user-select: none;
    background-color: #AFACAB;
}

.button.inactive:hover {
    color: #FFF;
}

#fade {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 69, 111, 0.9);
}

.message-box {
    width: 25%;
    margin: 0 auto;
    padding: 5px 10px 35px 10px;
    margin-top: 17%;
    text-align: center;
    background: rgba(250, 136, 69, 1);
    border-radius: 5px;
}

.error-text {
    font-size: 20px;
    padding: 5px 10px;
    padding-bottom: 30px;
    letter-spacing: 0.04em;
    line-height: 32px;
}

#error-button {
    background-color: transparent;
    padding: 10px 40px;
    color: #FFF;
    font-size: 14px;
    letter-spacing: 0.04em;
    border: 1px solid #FFF;
    border-radius: 5px;
}

#error-button:hover {
    color: #0f5082;
    transition: all ease 0.2s;
}

/* RESPONSIVE MEDIA QUERIES */

@media (min-width: 320px) {
    .container {
        width: 100%;
        left: 0;
        top: 57%;
    }

    p.filler {
        height: 112px;
    }

    .message-box {
        width: 90%;
        margin-top: 10%;
    }

    .container.last {
        top: 44%;
    }

    .input-container input {
        margin-top: 2%;
        margin-bottom: 2%;
    }

    .dots {
        width: 30%;
        left: 35%;
    }

    .error-text {
        font-size: 14px;
    }

    h1 {
        font-size: 30px;
    }

    p {
        font-size: 14px;
    }
}

@media (min-width: 550px) {
    .container {
        top: 62%;
    }

    .message-box {
        width: 68%;
        margin-top: 12%;
    }

    .dots {
        width: 20%;
        left: 40%;
    }

    h1 {
        font-size: 35px;
    }

    p {
        font-size: 12px;
    }

    .yellow {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .container {
        width: 90%;
        left: 5%;
    }

    .message-box {
        width: 70%;
        margin-top: 30%;
    }

    .input-container > input {
        margin-top: 20px;
    }

    .dots {
        bottom: 20%;
    }

    h1 {
        font-size: 45px;
    }

    p {
        font-size: 20px;
    }

    .yellow {
        margin-bottom: 25px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 80%;
        left: 10%;
        top: 50%;
    }

    .message-box {
        width: 57%;
        margin-top: 20%;
    }

    h1 {
        font-size: 45px;
    }

    p {
        font-size: 20px;
    }

    .yellow {
        margin-bottom: 45px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 70%;
        left: 15%;
    }

    .message-box {
        width: 50%;
    }
}

@media (min-width: 1400px) {
    .container {
        width: 40%;
        left: 30%;
    }

    .message-box {
        width: 30%;
    }
}

/* LOADING SPINNER */

.spinner {
    margin: 30px auto;
}

.la-ball-scale-ripple-multiple {
    width: 32px;
    height: 32px;
}

.la-ball-scale-ripple-multiple > div {
    position: absolute;
    width: 32px;
    height: 32px;
    background: transparent;
    border-width: 2px;
    border-radius: 100%;
    opacity: 0;
    animation: ball-scale-ripple-multiple 1.25s infinite cubic-bezier(.21, .53, .56, .8);
}

@keyframes ball-scale-ripple-multiple {
    0% {
        opacity: 1;
        transform: scale(.1);
    }

    70% {
        opacity: .5;
        transform: scale(1);
    }

    95% {
        opacity: 0;
    }
}
