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 {
    background-image: url("Images/bg.png");
    
}


nav {
    display: flex;
    align-items: center;
    background-color: #8120b1;
    color: white;
    font-family: october;
    font-size: 125%;
}

footer {
    display: flex;
    align-self: center;
    background-color: #8120b1;
    color: white;
    font-family: october;
    font-size: 100%;
    padding: 1%;
    text-align: center;
}

.navborder {
    width: 100%;
    background-color: #a63fd9;
    height: 50%;
    color: #a63fd9;
}

#menuicon {
    position: absolute;
    right: 0;
    margin-right: 2%;
    
}

#menu {
    text-align: right;
    margin-left: 95%;
    justify-content: right;
    height: 1%;
}

.p {
    margin-left: 25%;
    width: 50%;
}

.a {
    text-decoration: none;
    color: inherit;
    padding: 25%;
}
.a:hover {
    background-color: #a63fd9;
}

#mainpagemain {
    display: grid;
    grid-template-areas: 
    "spookhouse spookhouse spookhouse"
    "spookhouse spookhouse spookhouse"
    "vase" "txt" "txt"
    "vase" "txt" "txt"
    "map" "map" "map"
    ;
}

#aboutpagemain {
    display: grid;
    grid-template-areas:
    "ghost txt2"
    "ghost txt2"
    "ghost signup"
    ;
}

#ghost {
    grid-area: ghost;
    border: #a63fd9 solid 30px;
    margin: 2%;
}

#abouttxt {
    grid-area: txt2;
    border: #a63fd9 solid 30px;
    background-color: #8120b1;
    font-family: october;
    color: white;
    margin: 2%;
    font-size: 250%;
}

#signupfield {
    margin-left: 15%;
    grid-area: signup;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.btn {
    background-color: #8120b1;
    text-decoration: none;
    font-family: october;
    color: white;
    font-size: 350%;
    margin: 2%;
    padding: 10%;
}

#spookhouse {
    grid-area: spookhouse;
    border: #a63fd9 solid 30px;
    margin: 2%;
    margin-left: 18%;
}

#flower {
    grid-area: vase;
    border: #a63fd9 solid 30px;
    margin: 2%;
    height: 20%;
    margin-top: 48%;
    margin-left: 13%;
}

#map {
    grid-area: map;
    border: #a63fd9 solid 30px;
    margin: 2%;
    margin-left: 22.5%;
    margin-top: 82%;
}

#mainpagetext {
    grid-area: txt;
    border: #a63fd9 solid 30px;
    margin-top: 48%;
    margin-left: 42.75%;
    width: 38.3%;
    height: 20%;
    background-color: #8120b1;
    font-family: october;
    color: white;
    font-size: 250%;
}

#historymain {
    display: grid;
    grid-template-areas:
        "ghost" "txt4" "txt4"
        "grave" "txt4" "txt4"
        "txt5" "mansion" "mansion"
        "txt5" "mansion" "mansion"
    ;
}

#ghostbath {
    grid-area: ghost;
    margin: 2%;
    margin-left: 1%;
    width: 32%;
    border: #a63fd9 solid 30px;
}

#graveyard {
    grid-area: grave;
    margin: 2%;
    margin-left: 1%;
    margin-top: 45%;
    width: 32%;
    border: #a63fd9 solid 30px;
}

#historytxt {
    grid-area: txt4;
    margin: 2%;
    margin-left: 40%;
    margin-right: 8%;
    width: 55%;
    background-color: #8120b1;
    font-family: october;
    color: white;
    font-size: 150%;
    border: #a63fd9 solid 30px;
    height: 56.6%;
}

#historytxt2 {
    grid-area: txt5;
    margin: 2%;
    background-color: #8120b1;
    font-family: october;
    color: white;
    font-size: 150%;
    border: #a63fd9 solid 30px;
    margin-top: 85%;
    margin-left: 1%;
    width: 32%;
}

#mansion {
    grid-area: mansion;
    margin: 2%;
    border: #a63fd9 solid 30px;
    margin-left: 41%;
    margin-top: 85%;
}



@font-face {
    font-family: mosquito;
    src: url("MoskitoesPersonalUseRegular-51YoZ.ttf");
}

@font-face {
    font-family: october;
    src: url("DripOctober-vm0JA.ttf");
}


#thanks {
    display: grid;
    grid-template-areas:
        "title" "title"
        "return" "txt3"
    ;
}

#thankstitle {
    grid-area: title;
    margin: 6%;
    padding: 5%;
    background-color: #8120b1;
    color: white;
    font-family: october;
    font-size: 300%;
    text-align: center;
    border: #a63fd9 solid 30px;
}

#thankstxt {
    grid-area: txt3;
    border: #a63fd9 solid 30px;
    background-color: #8120b1;
    font-family: october;
    color: white;
    margin: 2%;
    width: 50%;
    margin-left: 40%;
    margin-top: -25.6%;
    font-size: 250%;
}

#return {
    grid-area: return;
    margin-left: 4.5%;
    margin-top: -6%;
}

form {
    background-color: #8120b1;
    border: #a63fd9 solid 30px;
    width: 60%;
    padding: 2%;
    margin: 6% auto;
}

#contactnotes {
    font-family: october;
    color: white;
    font-size: 75%;
}


label {
    color: white;
    font-family: october;
    font-size: 150%;
}

input[type=text] {
    background-color: white;
    color: #8120b1;
    border: #a63fd9 solid 5px;
    font-family: october;
    margin: 2%;
    padding: 1%;
}

input[type=email] {
    background-color: white;
    color: #8120b1;
    border: #a63fd9 solid 5px;
    font-family: october;
    margin: 2%;
    padding: 1%;
}

input[type=tel] {
    background-color: white;
    color: #8120b1;
    border: #a63fd9 solid 5px;
    font-family: october;
    margin: 2%;
    padding: 1%;
}

input[type=submit] {
    background-color: #a63fd9;
    color: white;
    width: 40%;
    border: none;
    font-family: october;
    padding: 1%;
}

textarea {
    background-color: white;
    color: #8120b1;
    border: #a63fd9 solid 5px;
    font-family: october;
    margin: 2% auto;
    margin-left: 1.5%;
    padding: 1%;
}

#comments {
    position: absolute;
    margin-top: 0.5%;
    padding: 1%;
}