/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}


/*end of CSS reset */

body{
    box-sizing: border-box;
    justify-content: center;
    justify-self: center;
    justify-items: center;
    display: flex;
    margin-top: 1.5%;
    width: 50%;
    flex-direction: column;
}

form{
    margin-top: 15px;
    background-color: rgba(216, 216, 216, 0.5);
    border-color: black;
    border-width: 5px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: -5px 10px rgba(43, 43, 43, 0.404);
}

#purchaseOptions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 15px;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    max-height: 175px;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 60px;
}


#purchaseOptions *:nth-child(-n + 6) {
    grid-column: 1;
}
#purchaseOptions *:not(:nth-child(-n + 6)) {
    grid-column: 2;
}

#item4label{
    grid-row: 1/2;
}

#item4{
    grid-row: 2/3;
}

#item5label{
    grid-row: 3/4;
}

#item5{
    grid-row: 4/5;
}

#item6label{
    grid-row: 5/6;
}

#item6{
    grid-row: 6/7;
}

.header{
    font-weight: bolder;
    font-size: 20px;
    margin-bottom: 150px;
    width: 100%;
}

.smallHeader{
    font-weight: bolder;
    font-size: 18px;
    margin-bottom: 150px;
    width: 100%;
}

input{
    margin-bottom: 15px;
    height: 25px;
    margin-top: 15px;
    width: 100%;
    border-radius: 10px;
    box-shadow: -5px 5px rgba(43, 43, 43, 0.404);
    padding-left: 5px;
}

a{
    font-size: 18px;
}

#purchaseOptions label{
    font-weight: bold;
    font-size: 18px;
    height: 100%;
}

#purchaseOptions a{
    font-weight: bold;
    font-size: 15px;
}

#purchaseItems{
    width: 50px;
}

#submit{
    background-color: blue;
    color: rgba(253, 253, 253, 0.927);
    width: 20%;
    height: 30px;
    border-radius: 10px;
    font-weight: bold;
}

h1{
    font-size: 30px;
    font-weight: bolder;
    text-align: center;
    margin-bottom: 35px;
}

#reciept{
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 35px;
    background-color: aqua;
    width: max-content;
    align-self: center;
    padding: 25px;
    margin-top: 15px;
    background-color: rgba(216, 216, 216, 0.5);
    border-color: black;
    border-width: 5px;
    border-radius: 15px;
    box-shadow: -5px 10px rgba(43, 43, 43, 0.404);
}

.nameout{
    margin-top: 35px;
}

.return{
    text-decoration: none;
    padding: 15px;
    width: 100px;
    color:rgba(33, 33, 33, 0.879);
    margin-top: 15px;
    background-color: rgba(192, 192, 192, 0.5);
    border-color: black;
    border-width: 5px;
    border-radius: 15px;
    box-shadow: -5px 10px rgba(43, 43, 43, 0.404);
    align-self: center;

}

.return:hover{
    color:rgb(33, 33, 33);
    background-color: rgba(156, 156, 156, 0.5);
}