html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
    width: device-width;
}

main {
    background-color: whitesmoke;
    border: black 2px solid;
    height: 600px;
    width: 800px;
    margin: calc(50vh - 300px) calc(50vw - 400px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-row: 150px 1fr;
}

#headBox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr;
    grid-row: 1/2;
    grid-column: 1/4;
}

#inputBox {
    font-size: 1.2em;
    grid-column: 2/3;
    height: 50px;
    padding: calc(50% - 83.82);
}

h1 {
    font-size: 2.2em;
    text-align: center;
    width: 50%;
    grid-column: 1/2;
}

h2{
    font-size: 1.5em;
}

h3{
    font-size: 1.2em;
}

div {
    margin-top: 1.5vh;
    width: 100%;
    text-align: center;
}

#subButton {
    display: flex;
    font-size: 1.1em;
    margin: 2vh calc(50% - 69.1405px);
}

#box1 {
    grid-column: 1/2;
    grid-row: 2/3;
}

#box2 {
    grid-column: 2/3;
    grid-row: 2/3;
}

#box3 {
    grid-column: 3/4;
    grid-row: 2/3;
}