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;
}

/* CSS reset END */

main {
    display: grid;
    grid-template-rows: 75px 500px 1fr;
}

#frontcover {
    display: flex;
    margin: auto;
    width: 60%;
    height: auto;
}

#e1 {
    z-index: 21;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 3px;
    background-color: white;
    width: 100%;
}

#e3 {
    z-index: 20;
    box-shadow: rgba(0, 0, 0, 0.3) 0px -5px 3px;
    background-color: white;
}

#e3contact {
    display: flex;
    flex-direction: column;
    z-index: 20;
    background-color: rgba(175, 175, 175, 0.356);
    width: 1100px;
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 50px;
    border-radius: 1rem;
    height: 800px;
}

#e3thanks {
    z-index: 20;
    width: 1300px;
    max-width: 1300px;
    margin: 25px auto;
    padding: 150px 0;
    border-radius: 1rem;
    background-color: rgba(175, 175, 175, 0.356);
}

#e2home {
    z-index: 1;
    background-color: rgb(118, 129, 148);
    background-image: url(images/housefront.jpg);
    background-size: 1100px auto;
    background-repeat: no-repeat;
    background-position: center;
}

#e2history {
    z-index: 1;
    background-color: rgb(118, 129, 148);
    background-image: url(images/historybanner.jpg);
    background-size: 1100px auto;
    background-repeat: no-repeat;
    background-position: center;
}

#e2rooms {
    z-index: 1;
    background-color: rgb(118, 129, 148);
    background-image: url(images/roomsbanner.jpg);
    background-size: 900px auto;
    background-repeat: no-repeat;
    background-position: center;
}

ul {
    display: flex;
    justify-content: space-around;
    font-size: 30px;
}

li, a {
    margin:10px;
    padding:12px;
    color: rgb(21, 55, 114);
    font-family: 'Exo 2', sans-serif;
    text-decoration: none;
}

.paragraph {
    margin: 20px auto;
    max-width: 1400px;
    font-size: 20px;
    line-height: 30px;
    font-family: Arial, Helvetica, sans-serif;
}

.caption {
    margin: 20px auto;
    max-width: 1000px;
    font-size: 20px;
    line-height: 30px;
    font-family: Arial, Helvetica, sans-serif;
}

.location {
    margin: 20px auto;
    max-width: 1000px;
    font-size: 20px;
    line-height: 30px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

#widthSet {
    max-width: 700px;
    margin: auto;
}

.imgicon {
    position: absolute;
    width: auto;
    height: 40px;
    margin: 2px;
}

.imgicon2 {
    position: absolute;
    width: auto;
    height: 40px;
    margin: 2px 2px 2px 30px;
}

.phone {
    position: absolute;
    font-size: 25px;
    margin: 20px 20px 2px 140px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h1 {
    font-size: 70px;
    text-align: center;
    margin:20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: rgb(21, 55, 114);
}

hr {
    width: 80%;
    max-width: 1600px;
    border:3px solid rgb(21, 55, 114);
    border-radius: 60px;
}

h2 {
    font-size: 50px;
    color: rgb(21, 55, 114);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    margin: 50px auto;
}

.bodyimage {
    display: block;
    margin: 0 auto;
    width: 600px;
    height: auto;
}

.current {
    font-family: 'Exo 2', sans-serif;
    font-weight: bold;
    border-radius: 0.5rem;
}

footer {
    grid-column: 4/5;
    text-align: center;
    border-top: 5px rgb(21, 55, 114) solid;
    max-width: 1600px;
    margin: 20px auto 0 auto;
    font-size: 15px;
    padding:10px;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
}

#footerthanks {
    grid-column: 4/5;
    text-align: center;
    border-top: 5px rgb(21, 55, 114) solid;
    max-width: 1600px;
    margin: 20px auto 0 auto;
    font-size: 15px;
    padding:10px;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    position: absolute;
    bottom: 0;
    left:25%;
    right:25%;
}

iframe {
    display: block;
    margin:auto;
}

#book {
    text-align: center;
    font-size: 25px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.required {
    color:red;
    margin-left: 5px;
}

form {
    z-index: inherit;
    width: 400px;
    max-width: 400px;
    margin: 25px auto;
}

form .input {
    display: flex;
    justify-content: left;
    width: 400px;
    max-width: 400px;
    height: 30px;
    border: none;
    border-bottom: 3px rgb(21, 55, 114) solid;
    color: rgb(0, 0, 0);
    background-color: white;
    border-radius: 0.5rem;
    margin: 10px 0 30px 0;
}

#address {
    display: none;
}

#comments {
    resize: none;
    border: none;
    border-bottom: 3px rgb(21, 55, 114) solid;
    color: rgb(0, 0, 0);
    background-color: white;
    width: 400px;
    max-width: 400px;
    height: 200px;
    border-radius: 0.5rem;
    margin: 10px 0 10px 0;
}

#submitbutton {
    border: none;
    border-bottom: 3px rgb(21, 55, 114) solid;
    color: rgb(21, 55, 114);
    background-color: white;
    border-radius: 0.5rem;
    display: block;
    margin: auto;
    width: 200px;
    height: 50px;
    font-size: 25px;
    font-weight: bold;
}

label {
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
}