html {
    height: 100%;
}

body{
    padding: 5px 0px;
    text-align: center;
    color: #666666;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

footer {
    width: 100%;
    padding: 10px;
    text-align: center;
}

h1 {
    font-size: 32px;
}

#container {
    flex: 1;
}

#header {
    margin-bottom: 20px;
}

#messages {
    text-align: left;
    font-size: 16px;
    color: red;
}

#container {
    margin: 0 auto;
    width: 60%;
}

#header {
    text-align: center;
    padding: 5px 10px;
}

#contents {
    padding: 10px;
}

#contents label {
    text-align: center;
}

@media screen and (max-width: 780px){
    #container {
        text-align: center;
        width: 90%;
    }
}
