/* #EE0055 */

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

#top {
    position: relative;
    height: 90vh;
    max-height: 130vw;
    background: #ee0055;
}
#topLogo {
    position: absolute;
    top: 0;
    left: 0;
    margin: 8px;
    width: 40px;
    height: 40px;
    animation: in 10s forwards;
}
#top h1 {
    position: absolute;
    top: 18px;
    left: 54px;
    margin: 0;
    font-size: 16px;
    font-weight: normal;
}
#topCanvas {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 1000px;
    height: 100%;
}
#top a {
    text-decoration: none;
}
#top a:focus {
    text-decoration: underline;
}
@media (min-width: 460px) {
    #topLogo {
        width: 120px;
        height: 120px;
    }
    #top h1 {
        top: 44px;
        left: 136px;
        font-size: 32px;
    }
    #topCanvas {
        width: 80%;
    }
}

#main {
    margin: 0 auto 32px;
    width: 90%;
    max-width: 800px;
}
#main h2 {
    font-size: 14px;
}
#main .top {
    margin-top: 64px;
    min-height: 80px;
}
button {
    display: block;
    margin: 0;
    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;
}

@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%;
    }
}

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