@charset "utf-8";
/* CSS Document */

body {
    background-image: url("images/brickwallbackground.jpg"); 
    background-repeat: no-repeat;     
    background-size: cover;          
    background-position: center top;  
    background-attachment: fixed;           
    margin: 0;                        
    padding: 0;                       
    font-family: Impact, sans-serif;
	color: #b32a38;
	text-decoration: none;
}

.off-screen-menu {
	background-color: darkred;
	height: 100vh;
	width: 100%;
	max-width: 450px;
	position: fixed;
	top: 0;
	right: -450px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 3rem;
	transition: .3s ease;
}

.off-screen-menu.active {
	right: 0px;
}

nav {
	padding: 1rem;
	display: flex;
	background-color: #eae3c4; 
	align-items: center;
}

.ham-menu {
	height: 50px;
	width: 50px;
	margin-left: auto;
	position: relative;
}

.ham-menu span { /*menu icon bar top*/
	height: 5px;
	width: 100%;
	background-color: #b32a38; 
	border-radius: 25px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: .3s ease;
}

.ham-menu span:nth-child(1) {
	top: 25%;
}

.ham-menu span:nth-child(3) {
	top: 75%;
}

.ham-menu.active span:nth-child(1) {
	top: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
	opacity: 0;
}

.ham-menu.active span:nth-child(3) {
	top: 50%;
	transform: translate(-50%, -50%); 
}

