body {
    background-color: #f4f4f4;
    font-family: helvetica neue,helvetica,sans-serif;
}
header {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
}
header h1 {
    font-size: 3em;
    margin: 12px 6px;
    text-align: center;
}
.gainz-calc {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.gainz-calc > div {
    margin: 16px;
}
.gainz-calc .input-group {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.gainz-calc label {
    margin: 8px;
}
.gainz-calc input {
    margin: 8px;
}

.gainz-calc .results {
    font-size: 2em;
    display: flex;
    flex-flow: column;
    align-items: center;
}
.gainz-calc button {
    margin: 6px;
}

.gainz-calc .results .wealth {
    color: green;
}

.gainz-calc .results p {
    margin: 6px 6px;
}
.wiggle {
    text-align: center;
    animation: wiggle 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes wiggle {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

footer {
    text-align: center;
}
@media screen and (min-width: 35.5em) {
    header h1 {
        font-size: 6em;
    }
}
@media screen and (min-width: 48em) {

}
@media screen and (min-width: 64em) {

}
@media screen and (min-width: 80em) {

}
