/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}

/* end of css reset */

/* horizontal responsive nav bar */
body {
	margin: 0;
	font-family: 'Montserrat';
	background-image: url("images/planks.jpg");
  }
  
  .topnav {
	overflow: hidden;
	background-color: #333;
  }
  
  .topnav a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 2vw;
	font-family: 'Oswald', sans-serif;
}

@media screen and (max-width: 640px) {
	.topnav { font-size:4vw;
	}
}
  
  .topnav a:hover {
	background-color: #ddd;
	color: black;
	transform: scale(1.23);
	transition: all 300ms;
  }
  
  .topnav a.active {
	background-color: rgb(158, 0, 0);
	color: white;
  }
  
  .topnav .icon {
	display: none;
  }
  
  @media screen and (max-width: 640px) {
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
	  float: right;
	  display: block;
	}
  }
  
  @media screen and (max-width: 640px) {
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	  position: absolute;
	  right: 0;
	  top: 0;
	}
	.topnav.responsive a {
	  float: none;
	  display: block;
	  text-align: left;
	}
  }
/* end of horizontal nav bar */

.homemain, .menumain, .aboutmain, .challengemain {
	font-size:2vw;
	background-color:rgba(245, 241, 241, 0.804);
	width:38%;
	margin:auto;
	padding:30px;

	
}

@media screen and (max-width: 640px) {
	.homemain, .menumain, .aboutmain, .challengemain { font-size:4vw;
	}
}


@media screen and (max-width: 640px) {
	.menumain {
	width:80%;
	height:50%;
}
}


@media screen and (max-width: 640px) {
	#challengeblt {
	width:80%;
	height:50%;
	}
}
@media screen and (min-width: 640px) {
	#challengeblt {
	width:20vw;
	height:10vw;
	}
}

.contactmain {
	font-size:1.5vw;
	background-color:rgba(245, 241, 241, 0.804);
	width:38%;
	margin:auto;
	padding:30px;
	text-align: center;
	
}

@media screen and (max-width: 640px) {
	.contactmain {
	font-size:3.5vw;
	width:80%;
	height:50%;
	}
}

.aboutmain {
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 0.2fr 1fr 1fr 1fr;
}

.about {
	grid-row:3;
	grid-column:1/3;
}

#abouthead {
	grid-row:1;
	grid-column:1/3;
	margin:auto;
}

#rv {
	grid-row:2;
	grid-column:1/3;
	margin:auto;
}

.rates {
	grid-row:4;
	grid-column:1/3;
	margin:auto;
}

footer {
	width:38%;
	padding: 30px;
	text-align:center;
	font-weight:bold;
	color:black;
	background-color: rgba(245, 241, 241, 0.804);
	margin:auto;
}

h1 {
	font-size:2vw;
	font-weight:bold;
}

@media screen and (max-width: 640px) {
	h1 {
	font-size:4vw;
	}
}

span {
	color:red;
}

#address {
	display:none;
}

/* modal code */
* {
  box-sizing: border-box;
}

.row > .column {
  padding: 0 8px;
}

@media screen and (max-width: 640px) {
	.row > .column {
	width:30%;
	height:40%;
}
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: black;
  }
  
  /* Modal Content */
  .modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
  }
  
  /* The Close Button */
  .close {
	color: white;
	position: absolute;
	top: 10px;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
	color: #999;
	text-decoration: none;
	cursor: pointer;
  }
  
  .mySlides {
	display: none;
  }
  
  .cursor {
	cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
	right: 0;
	border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
	background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
  }
  
  img {
	margin-bottom: -4px;
  }
  
  .caption-container {
	text-align: center;
	background-color: black;
	padding: 2px 16px;
	color: white;
  }
  
  .demo {
	opacity: 0.6;
  }
  
  .active,
  .demo:hover {
	opacity: 1;
  }
  
  img.hover-shadow {
	transition: 0.3s;
  }
  
  .hover-shadow:hover {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
/* end of modal code */