/* #EE0055 */

@font-face {
    font-family: main;
    src: url(https://exglos.com/font.ttf);
}
html, body {
    margin: 0px;
    padding: 0px;
}
div, input, button {
    font-family: main, monospace;
    overflow: hidden;
    word-wrap: break-word;
}
a {
    color: black;
    outline: 0;
}

#top {
    background: #EE0055;
}
#topLogo {
    position: absolute;
    margin: 8px;
    width: 120px;
    height: 120px;
    background: url(https://exglos.com/logo.svg) center/contain no-repeat;
    animation: in 10s forwards;
}
#top h1 {
    margin: 44px 4px 48px 136px;
    min-height: 80px;
    font-size: 32px;
    font-weight: normal;
}
#top a {
    text-decoration: none;
}
#top a:focus {
    text-decoration: underline;
}
#top h2 {
    margin: 20px 4px;
    text-align: center;
    font-size: 24px;
    font-weight: normal;
}
#topTimer {
    margin: auto;
    max-width: 400px;
}
#topTimer div {
    float: left;
    width: 25%;
}
.topTimerValue {
    margin: 0px;
    text-align: center;
    font-size: 20px;
}
.topTimerHint {
    margin: 0px;
    height: 20px;
    text-align: center;
    font-size: 12px;
}
#top h3 {
    margin: 20px 4px;
    text-align: center;
    font-size: 24px;
    font-weight: normal;
}
#topCapitalization {
    margin: 4px auto 64px;
    width: 90%;
    max-width: 800px;
}
.topCapitalizationHint {
    position: relative;
    height: 26px;
    font-size: 16px;
}
.topCapitalizationHint p {
    position: absolute;
    margin: 4px 0px;
    width: 100%;
}
.topCapitalizationCenter {
    text-align: center;
}
.topCapitalizationRight {
    text-align: right;
}
#topCapitalizationContainer {
    height: 32px;
    background: white;
}
#topCapitalizationBar {
    height: 100%;
    width: 0%;
    background: black;
    transition: width 1s;
}
#main {
    margin: 32px auto;
    width: 90%;
    max-width: 800px;
}
#main .top {
    margin-top: 64px;
    min-height: 80px;
}
button {
    display: block;
    margin: 0px;
    border: 1px solid black;
    width: 100%;
    padding: 12px 4px;
    background: black;
    color: white;
    font-size: 18px;
    cursor: pointer;
    outline: 0;
}
button:focus {
    background: #EE0055;
    color: black;
}
#connect {
    display: none;
}
.top p {
    margin: 12px;
    text-align: center;
}
label {
    overflow: hidden;
    display: block;
    cursor: pointer;
}
label span {
    padding: 10%;
}
input {
    display: block;
    margin: 4px auto 32px;
    border: 1px solid white;
    border-bottom-color: black;
    width: 84%;
    padding: 8px;
    background: transparent;
    font-size: 18px;
    outline: 0;
}
input:focus {
    border: 1px solid #EE0055;
}
#balance, #dividends, #hint {
    margin: 12px 4px;
    min-height: 24px;
    text-align: center;
}
#hint {
    color: #EE0055;
}
.line button {
    float: left;
    width: 50%;
}
#ref {
    margin: 16px 4px;
    min-height: 24px;
    text-align: center;
}
#main a {
    color: black;
    outline: 0;
}
#main a:focus {
    color: #EE0055;
}
#main h2 {
    margin-top: 64px;
    font-size: 14px;
}

@media (hover: hover) {
    #top a:hover {
        text-decoration: underline;
    }
    button:hover {
        background: #EE0055;
        color: black;
    }
    input:hover {
        border: 1px solid #EE0055;
    }
    #main a:hover {
        color: #EE0055;
    }
}

@media (min-width: 560px) {
    label {
        float: left;
        width: 50%;
    }
}
@media (min-width: 600px) {
    #topLogo {
        margin: 32px;
    }
    #top h1 {
        margin: 64px 4px 48px 180px;
        font-size: 40px;
    }
    .topTimerValue {
        font-size: 24px;
    }
}

@keyframes in {
    0% {opacity: 1}
    5% {opacity: 0.06}
    100% {opacity: 1}
}