* {
	box-sizing: border-box;
}

body {
	margin: 0;
}

#nav-hidden {
	display: none;
}
#wrapper {
    
    width: 100%;
    height: 968px;
/*	background-color: black;*/
    background-image:url(../Images/Pizza.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


#nav {
    
    width: 100%;
    float: right;
    
}


ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
    
}

li {
    float: left;
    color: white;
    font-size: 20px;
    padding: 20px;
    font-family: 'Open Sans', sans-serif;
    
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}


li a:hover {
    background-color: darkgreen;
	animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  	transform: translate3d(0, 0, 0);
 	backface-visibility: hidden;
  	perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}


#Logo {
    
    width: 250px;
    height: 80px;
    padding: 20px;
    
}


#MainText {
	text-align: center;
	padding-top: 241px;
	font-family: 'Open Sans', sans-serif;
	color: white;
	font-size: 53px
}


#SubText {
/*    padding-left: 140px;*/
    padding-top: 20px;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    color: white;
	text-align: center;
}





#BottomInfo {
	font-size: 15px;
	color: white;
	font-family: 'Open Sans', sans-serif;
	/*    margin-top: 400px;*/
/*    margin-left: 410px;*/
	text-align: center;
	padding-bottom: 0px;
	padding-top: 0px;
}



.parallax1 {
    /* The image used */
    background-color:tomato;
   
    /* Set a specific height */
    min-height: 200px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	
	/*Font Adjustments*/
	font-family: 'Open Sans', sans-serif;
	color:white;
/*	margin-top: -100px;*/
}

#text1 {
	text-align: center;
	width: 100%;
	font-size: 25px;
	padding-top: 93px;
	padding-bottom: 74px;
	}


/*THIS IS THE SECOND IMAGE*/

.parallax2 {
   	width: 100%;
    height: 400px;
    background-image:url(../Images/ToninosDay.jpg);
	background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}



/*THIS IS THE SECOND TEXT LAYER*/

#text2 {
	text-align: center;
	padding-top: 80px;
	width: 100%;
	padding-left: 50px;
	padding-right: 50px;
	font-size: 25px;
	padding-bottom: 50px;
	background-color: tomato;
	font-family: 'Open Sans', sans-serif;
	color: white;
	}


/* This is the FOOTER */

#footer {
	width: 100%;
	height: 70px;
	background-color: forestgreen;
	color: white;
	text-align: center;
	padding-top: 0px;
	font-size: 15px;
	font-family: sans-serif;    
    
}



/* unvisited link */
a:link {
    color: white;
}

/* visited link */
a:visited {
    color: white;
}

/* mouse over link */
a:hover {
    color: white;
}

/* selected link */
a:active {
    color: gold;
}




/*THIS IS THE FIRST TABLET MEDIA QUERY*/
@media (max-width:960px) {
	
	#wrapper {
		width: 100%;
	}
	
	#nav {
		width: 100%;
	}
	
	#logo {
		width: 100%;
	}
	
	.parllax2 {
		width: 100%;
	}
	
	#text2 {
		width: 100%;
	}
	
	#text1 {
		width: 90.6%;
	}
}





/*THIS IS THE SECOND MEDIA QUERY*/

@media (max-width:736px) {
	
	#nav {
		width: 100%;
		display: flex;
	}
	
	#logo {
		margin: 0;
		padding: 0;
		display: inline;
	}
	
	
	#text1 {
		font-size: 14px;
		padding-left: 25px;
	}
	
	#text2 {
		font-size: 14px;
	}
	
	.parallax2 {
		height: 250px;
	}
	
}


@media (max-width:320px) {
	
	.parallax1 {
		margin: 0px;
	}
	
	#container {
		height: 200px;
	}
	
	#BottomInfo {
	margin: 0;
	padding-top: 11px;
	padding-right: 11px;
	padding-left: 11px;
	padding-bottom: 11px;
	height: 0px;
	}
	
	* {
		box-sizing: border-box;
	}
}

@media (max-width:890px) {
	
	#nav {
		display: none;
	}
	
	#nav-hidden {
		display: block;
	}
	/*NAVIGATION BEGINNING*/
a
{
  text-decoration: none;
  color: white;
  
  transition: color 0.3s ease;
}

a:hover
{
  color: darkslateblue;
}

#menuToggle
{
  display: block;
  position: relative;
  top: 50px;
  left: 50px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: white;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: white;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 230px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  height: 370px;
  background: none;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's fade it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: scale(1.0, 1.0);
  opacity: 1;
}



body
{
  margin: 0;
  padding: 0;
  
  /* make it look decent enough */
  color: white;
  font-family: "Avenir Next", "Avenir", sans-serif;
}

/*NAVIGATION ENDING*/
	
	img {
		display: none;
	}
	
	a:hover {
		color: green;
	}
}
