* {
    margin: 0;
    padding: 0;
}
p {
    font-size: 1rem;
}
form {
    padding-bottom: 50px;
}

main {
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around
}
table {
    font-size: 2em;
    border-collapse: collapse;
}

th, td {
    border: 2px solid #000;    
    padding: 10px;
}

thead, tfoot {
    background-color: #999;
}

td:last-child {
    text-align: center;
}

legend {
    color: blue;
}

fieldset {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100px;
    
    width: 300px;
    padding: 10px;
    border: solid #00f;
    border-radius: 5px;
}

@media screen and (max-width:600px) {

    main,
    footer {
        margin-left: 100px;
    }

    main {
        min-height: calc(100vh - 32px);
    }
}

@media screen and (min-width: 601px) {
    main {
        min-height: calc(100vh - 32px - 100px);
    }
}


@media screen and (orientation: landscape) {
    body {
        background-color: rgb(231, 233, 233);
    }
}