*{box-sizing: border-box;}
html{
    background-image: radial-gradient(#517fa4 0%, #243949 150%);
}
body {
    min-height: 100vh;
    background-size: 4px 4px;
    background-position: center;
    background-image:linear-gradient(to right, #00000022 1px, transparent 1px),linear-gradient(to bottom, #00000022 1px, transparent 1px);
    margin:0;
    color: whitesmoke;
}
.wrap{
    _min-height: 100vh;
    _width: 95%;
    _max-width: 1024px;
    max-width: 320px;
    margin: 0 auto;

    
    display: flex;
    flex-direction: column;
}
header{
    height: 64px;
}
main {
    height: 320px;

    flex-grow: 1;
    padding: 8px;
    border: 1px solid #5C5C5F;
    border-radius: 16px;
    box-shadow: 0px 0px 0px 1px #000000,rgba(0, 0, 0, 0.27) 0px 0px 0.25em, rgba(0, 0, 0, 0.05) 0px 0.25em 1em;
    background: #2A2E33;
    overflow: hidden;
}
nav {
    _height: 32px;
    display: flex;
}
footer {
    text-align: center;
}
.panel{
    border: 1px solid #5C5C5F;
    border-radius: 16px;
}
.panel_content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
h1, h2{
    margin:0;
}
.image {
    width: 192px;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}
.center{
    display: flex;
    justify-content: center;
}
.grow {
    flex-grow: 1;
}
.button {
    height: 24px;
    width: 96px;
    margin: 0 1px;
    border: 1px solid #595959;
    border-radius: 4px;
    
    border-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
	cursor: pointer;
    color: whitesmoke;
}
.button:hover{
    background: linear-gradient(to bottom, #3f80cb 0%,#69a7d9 50%,#589cd8 51%,#a4cbe8 100%);
}
