/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Custom CSS */

:root {
    --primary-color: #312783;
    --secondary-color: #951B81;
    --tertiary-color: #fff6fd;
}

body, html {
    min-height: 100vh;
    margin: 0;
    background: var(--tertiary-color);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
    max-height: 100%;
}

.content {
    max-width: 100%;
    margin-top: auto;
}

#logo {
    width: auto;
    margin-bottom: 3rem;
    max-width: 60%;
    height: auto;
    max-height: 100%;
    padding-top: 2rem;
}

#coming-soon {
    font-size: 3em;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem 0;
    color: var(--secondary-color);
    width: 100%;
    margin-top: auto;
}

h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 2rem;
    margin: 0;
    padding: 0;
    font-weight: 600;
    letter-spacing: -0.1rem;
    color: var(--secondary-color);
    line-height: 3rem;
}

h2 {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1rem;
    margin: 0;
    padding: 0;
    font-weight: 300;
    color: var(--primary-color);
}

.message {
    position: absolute;
    opacity: 0;
    width: 100%;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
}

.message.hidden {
    animation: fadeOut 0.2s;
    opacity: 0;
}

.message.visible {
    animation: fadeIn 0.2s;
    opacity: 1;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0);
        filter: blur(5px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-25%) scale(0.5);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(25%) scale(0.5);
        filter: blur(2px);
    }
    100% {
        opacity: 0;
        transform: translateY(50%) scale(0);
        filter: blur(5px);
    }
}


footer {
    text-align: center;
    box-sizing: border-box;
    font-size: 1.1rem;
    font-family: "Open Sans", sans-serif;
    color: var(--secondary-color);
    margin-top: auto;
    padding: 1rem;
}

footer p {
    margin: 0 0 1.2rem;
    font-size: 0.8em;
}

footer p span {
    font-weight: 600;
}

footer p span.tm {
    display: block;
    font-weight: normal;
    margin-top: 0.4rem;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

sup {
    font-size: 8px;
    vertical-align: super;
}

.powered-by {
    font-size: 0.7rem;
}


@media (min-width: 501px) {

    .message {
        font-size: 2rem;
    }

    h1 {
        font-size: 3rem;
        line-height: 4rem;
    }

    h2 {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    sup {
        font-size: 9px;
    }

    footer p span.tm {
        display: inline;
        font-weight: normal;
        margin-top: 0.4rem;
    }

}

@media (min-width: 1281px) {
    footer p {
        margin: 0 0 1rem;
    }

    .message {
        font-size: 3rem;
    }

    h1 {
        font-size: 5rem;
        line-height: 6rem;
    }

    h2 {
        font-size: 2rem;
        line-height: 2rem;
    }

    #logo {
        width: auto;
        margin-bottom: 3rem;
        max-width: 70%;
        height: auto;
        max-height: 100%;
        padding-top: 2rem;
    }

    sup {
        font-size: 10px;
    }
}
