* {
     -moz-box-sizing: border-box; /* Firexfox */
     -webkit-box-sizing: border-box; /* Safari/Chrome/iOS/Android */
     box-sizing: border-box; /* IE */
     margin: 0;
     padding: 0;
}

.clearfix:after {
    content: "";
    clear: both;
    display: table;
}

#container {
	margin: 0 auto;
	padding: 0px;
	background-image: url(../images/background-mobile.jpg);
	background-repeat: no-repeat;
	background-size: 100%;
}

.hidden {
 	display: none;
 }

/*////////////////////*/
/*      modal         */
/*////////////////////*/
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #000; /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

#imgModal img {
	height: 100%;
	width: 100%;
}

/* Modal Content */
.modal-content {
    margin: auto;
    padding: 5px 10px 10px 10px;
    width: 90%;
}

/* The Close Button */
.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/*////////////////////*/
/*      base          */
/*////////////////////*/

body {
	background: #b6b5b4;
	color: white;
	font-family: 'Abel', sans-serif;
	line-height: 150%;
	font-size: 18px;
	font-weight: 400;
}

a {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	text-decoration: none;
	color: black;
}

a:hover {
    text-decoration: underline;
}



/*////////////////////*/
/*      layout        */
/*////////////////////*/

.title {
	font-weight: 400;
}

header {
	height: 60vh;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
  	justify-content: center;
  	position: relative;	
}

#cards-anchor {
	position: absolute;	
	bottom: 0;
}

header a {
	padding: 0px 20px;
}

header img {
	width: 90%;
}

h1 {
	font-size: 2.5rem;
	text-align: center;
}

.desktop-image {
	display: none;
}

.content {
	text-align: center; 
	width: 100%;
	max-width: 1200px; 
}

#intro {
	font-family: 'Reenie Beanie', cursive;
	font-size: 1.8rem;
	margin: 0 9%;
	margin-right: 9%;	
}

/*////////////////////*/
/*    navigation      */
/*////////////////////*/

#navPlace {
	height: 50px;
}

.navPlace {
	display: none;
}

.mainNav {
    font-family: 'Reenie Beanie', cursive;
    background-color: rgba(0, 0, 0, 0.7);
}

#mainNav div {
	margin: 0 auto;
	text-align: center;
	max-width: 1000px;
}

#mainNav a {
	font-family: 'Reenie Beanie', cursive;
	font-size: 1.8rem;
	display: inline-block;
	color: #e6e6e6;
	width: 33%;
	margin: 0 0%;
	padding: 8px 0 5px 5px;
}

#mainNav .lft {
	width: 33%;
}
#mainNav .mid {
	width: 33%;
}
#mainNav .rt {
	width: 33%;
}

@media screen and (max-width: 460px){

#mainNav .lft {
	width: 43%;
}
#mainNav .mid {
	width: 25%;
}
#mainNav .rt {
	width: 32%;
}

#mainNav a {
	font-size: 25px;
	display: inline-block;
	color: white;
	}	
}

#mainNav a:hover {
	background: rgba(0, 0, 0, 0.9);
	text-decoration: none;
	color: white;
	transition: 0.3s;
}

.stickyNav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}


/*////////////////////*/
/*      sections      */
/*////////////////////*/

h2 {
	font-family: 'Reenie Beanie', cursive;
	font-size: 2.2rem;
	text-align: center;
}

section {
	text-align: center;
	width: 100%;
}

.section-padding {
	padding: 40px 3% 30px 3%;
}

section p {
	padding: 10px 5% 20px 5%;
	text-align: left;
}

section a {
	padding: 10px;
	border: 2px solid black;
	font-weight: 400;
} 

section .down-arrow {
	height: 20px;
	width: 20px;
}

footer img { 
	height: 20px;
	vertical-align: text-bottom;
	margin-bottom: -1px;
 }

 footer a {
 	padding: 10px;
 	color: white;
	vertical-align: middle;
 }


/*///////////////////////*/
/*  Section backgrounds  */
/*///////////////////////*/

#cards {
	background: rgba(255, 255, 255, .7);
	color: black;
	width: 100%;
}


#illustration {
	background-image: url(../images/waves.jpg);
	background-size: 100%;
	background-repeat: repeat;
	color: black;
}

#painting {
	background-image: url(../images/painting.png);
	background-size: cover;
	background-repeat: repeat;
	color: black;
}

footer {
	background: url(../images/footer.png);
	background-size: cover;
	padding: 50px;
	text-align: center;
	font-size: 14px;
}


/*////////////////////*/
/*   flex layout      */
/*////////////////////*/

.more {
	display: none;
	background-color: rgba(0,0,0,0.4);
}

.column {
	padding: 0 5px;
	display: flex;
	flex-wrap: wrap;
}

.column img {
	object-fit: cover;
	/* height: 100%; */
	width: 100%;
	cursor: pointer;
	box-shadow: 0px 3px 10px rgba(0, 0, 0, .2);
	transition: 0.3s;
	background: black;
}

.column img:hover {
	box-shadow:  0px 5px 20px rgba(0, 0, 0, .6);
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	/*height: 100%;*/
	width: 100%;
	transition: .5s ease;
	filter: brightness(108%);
}

.column .nope {
	object-fit: cover;
	height: 100%;
	width:30%;
}

.grow  {
	display: inline-block;
	width: 45%;
	flex-grow: 1;
	margin: 8px; 
}

.grow-smmed {
	width: 20%;
	flex-grow: 2;
	margin: 5px; 
}

.grow-med {
	width: 55%;
	flex-grow: 2;
	margin: 5px; 
}

.grow-big {
	width: 80%;
	flex-grow: 2;
	margin: 5px; 
}

.pad {
	padding: 30px 0 10px 0;
}


/*/////////////////*/
/* media queries   */
/*/////////////////*/

@media screen and (orientation: landscape){

	.desktop-image {
		display: inline;
	}

	.mobile-image {
		display: none;
	}
}


@media screen and (min-width: 768px){

	#container {
		background-image: url(../images/background.jpg);
	}

	header {
		height: 45vh;
	}

	body {
		line-height: 170%
	}	

	.desktop-image {
		display: inline;
	}

	.mobile-image {
		display: none;
	}

	#intro {
		max-width: 700px;
		margin: auto;
		margin-top: -15px;
	}	

	#mainNav a:hover {
		background: rgba(255, 255, 255, 0.8);
		text-decoration: none;
		color: black;
		transition: 0.3s;
	}

	.pad {
		padding: 0px 0 10px 0;
	}

	#cards .intro {
		padding-top: 40px;
	}

	#illustration .intro {
		padding-top: 50px;
	}

	#painting .intro {
		padding-top: 50px;
	}

	.max {
		margin: auto;
		max-width: 1200px;
	}

	/* title and button alignment */

	.right {
		float: right;
		width: 50%;
	}

	.left {
		float: left;
		width: 48%;
		text-align: left;
		clear: left;
	}

	.btn:hover {
		background: rgba(0, 0, 0, 0.2);
		text-decoration: none;
		transition: 0.3s;
	}

	.btn-shft {
		text-align: center;
	}

	section {
		content: "";
    	clear: both;
    	display: table;
    	padding: 30px 0 40px 0;
	}

	.column {
		height: 100%;
	}

 	/* END ALIGNMENT */
	.more {
		clear: both;
	}

	.grow {
		width: 20%;
	}

	.section-padding {
	
	}

	.modal-content {
    	margin: auto;
    	padding: 5px 10px 10px 10px;
    	width: 80%;
	}
}

@media screen and (min-width: 1000px){

	h2 {
		font-family: 'Reenie Beanie', cursive;
		font-size: 2.9rem;
		text-align: center;
	}

	body {
		line-height: 170%;
		font-size: 1.30rem;
	}

	section a {
		font-size: 1.1rem;
		font-weight: 400;
	} 

	#mainNav a {
		font-family: 'Reenie Beanie', cursive;
		font-size: 2rem;
	}

	#cards .intro {
		padding-top: 75px;
	}

	#illustration .intro {
		padding-top: 75px;
	}

	#painting .intro {
		padding-top: 75px;
	}
}






