* {box-sizing: border-box}

body{
    font-size: 18px;
    font-family: "Verdana", sans-serif;
}

footer{
	width: 100%;
	height: 170px;
	background-color: gold;
	border-top: 5px groove white;
}

#logos{
	grid-row: 1 / span 1;
	grid-column: 2 / span 1;
	margin-top: 20px;
}

#otherstuff{
	grid-row: 1 / span 1;
	grid-column: 3 / span 1;
	margin-top: 30px;
}

#copyright{
	grid-row: 2 / span 1;
	grid-column: 1 / span 3;
	text-align: center;
}

#hero{
	width: 100%;
	height: 400px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position-y: 20%;
}

#icon{
	grid-row: 1 / span 2;
	grid-column: 2 / span 1;
	height: 100px;
}

#words{
	color: white;
    font-weight: bold;
	grid-column: 3 / span 1;
	grid-row: 1 / span 2;
}

.page{
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: white;
}

.page:hover{
	background-color: lightgrey;
}

h1{
	text-align: center;
	font-size: 26px;
	margin: 20px 0px;
}

h2{
	text-align: center;
	font-size: 22px;
	margin: 20px 0px;
}

#content p{
	margin: 0px 5%;
    text-align: center;
}

i{
	margin: 0px 20px;
	color: black;
}

#p3{
	width: 100%;
	display: grid;
	grid-template-rows: 1fr 1fr;
	grid-template-columns: 1fr 1fr;
	text-align: center;
}

#bottom{
	margin: 60px;
}

.top{
	font-family: 'Verdana', sans-serif;
	font-size: 18px;
}

form{
	text-align: center;
	margin: 40px 0px;
}

label{
	font-family: 'Playfair Display', serif;
}

input{
	height: 30px;
	width: 50%;
	font-size: 18px;
	font-family: 'Playfair Display', serif;
}

textarea{
	width: 50%;
	font-size: 18px;
	font-family: 'Playfair Display', serif;
}

#address{
	display: none;
}

#matter{
    padding: 30px 0%;
}

#darkgothicmatter{
    color: white;
    background-color: gray;
    padding: 30px 0%;
}

#split{
    display: grid;
    grid-template-columns: 50% 50%;
}

#split p{
    margin-top: 15%;
}

#split img{
    margin-left: 10%;
}

.top{
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Rancho', cursive;
	font-size: 34px;
}

.sidenav{
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	right: 0;
	background-color: lightgrey;
	overflow-x: hidden;
	padding-top: 60px;
	transition: 0.5s;
}

.sidenav a{
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 25px;
	color: #818181;
	display: block;
	transition: 0.3s;
}

.sidenav a:hover{
	color: #f1f1f1;
}

.sidenav .closebtn{
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}

@media screen and (max-width: 640px){

    .mobilehead{
		width: 100%;
		height: 100px;
		background-color: gold;
        display: flex;
		justify-content: space-around;
    }

    .notmobilehead{
        display: none;
    }

	.slideshow-container{
		width: 80%;
	}

	.menu{
		display: grid;
		grid-template-rows: 1fr 1fr;
		grid-template-columns: 1fr;
	}

	.mobilecontent{
		display: unset;
	}

	.notmobilecontent{
		display: none;
	}

	.mobilefoot{
		height: 150px;
		margin: auto;
		display: grid;
		grid-template-rows: 40% 40% 20%;
		grid-template-columns: 1fr;
	}

	.notmobilefoot{
		display: none;
	}

	form{
		width: 90%;
	}

	main{
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 30% 70%;
	}

}

@media screen and (min-width: 641px){

	.mobilehead{
		display: none;
	}

	.notmobilehead{
		width: 100%;
		background-color: gold;
		display: grid;
        grid-template-columns: 10% 1fr 1fr 1fr 1fr 1fr 1fr;
	}

	.slideshow-container{
		width: 50%;
		max-height: 1000px;
	}

	.mobilecontent{
		display: none;
	}

	.notmobilecontent{
		display: unset;
	}

	.menu{
		display: grid;
		grid-template-rows: 1fr;
		grid-template-columns: 50% 50%;
	}

	.mobilefoot{
		display: none;
	}

	.notmobilefoot{
		margin: auto;
		display: grid;
        grid-template-columns: 10% 1fr 1fr 1fr 1fr 1fr;
	}

	form{
		width: 60%;
	}

	main{
		display: grid;
		grid-template-columns: 50% 50%;
		grid-template-rows: 1fr;
	}

}