/* Reset */
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;
    box-sizing: border-box;
}

/* 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;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

strong {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

a:focus,
a:active {
    outline: 0;
}

h1,h2,h3,h4,h5,h6 {
    color: white;
    font-weight: 600;
    line-height: 1.2em;
}

h1 {
    font-size: 90px;
    margin-top: 15px;
    margin-bottom: 20px;
    letter-spacing: -3.6px;
}

h1 span {
    color: #FFFFFF;
    font-size: 90px;
    opacity: 0;
    transition: all 0.5s ease;
    letter-spacing: -3.6px;
}

h1 span.active {
    opacity: 1;
}

p {
    display: inline-block;
    max-width: 350px;
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    font-weight: 300;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #FFFFFF;
    padding: 0;
    overflow-x: hidden;
    background-color: #1E1E1E;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-overlay {
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-image: url('../images/background.jpg');
}

.body-overlay {
    transition: opacity 2s ease;
    background-color: black;
    opacity: 0.55;
    z-index: 6;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.body-overlay.active {
    opacity: 0.25;
}

.message-container {
    position: relative;
    z-index: 100;
    max-width: 550px;
    text-align: center;
    border-radius: 5px;
    margin: 20px;
    transition: all 0.5s ease;
    opacity: 0;
}

.message-container.active {
    margin-right: 20px;
    opacity: 1;
}

.message-container * {
    transition: all 0.2s ease;
}

.main-logo {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.main-logo img {
    margin: 0 auto;
    opacity: 0;
    transition: all 1.2s ease;
    transform: scale(1.05);
    max-width: 70%;
}

.main-logo img.active {
    transform: scale(1);
    opacity: 1;
}

@media screen and (max-width: 500px) {
    h1 {
        font-size: 24px;
        letter-spacing: 0;
    }

    h1 span {
        font-size: 24px;
        letter-spacing: 0;
    }

    p {
        font-size: 13px;
        line-height: 1.3em;
    }
}

@media screen and (max-height: 500px) {
    body {
        padding: 0 20px;
    }

    h1 {
        font-size: 24px;
        letter-spacing: 0;
    }

    h1 span {
        font-size: 24px;
        letter-spacing: 0;
    }

    p {
        font-size: 13px;
        line-height: 1.3em;
    }
}