/* 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;
}


body {
	font-family: Arial, Helvetica, sans-serif;
    background: #1e191f;
}

#container{
    background: #1e191f;
    width: 100%; 
    margin: auto;
}

#cellphone {
    float: right;
	width: 20%;
	margin-right: 10%;
	margin-top: 5%;
}

#cellphone img{
    width: 100%;
    /* float: right; */
    /* margin-right: 15%;
    margin-top: 5%;
    margin-left: 0%;
    margin-bottom: 0%;
    overflow: auto; */
}
#logo{
	width: 26.3671875%;  /* 270/1024*/
	float: left;
	}
#logo img {
	width : 50%;
    padding-left: 10%;
    padding-top: 5%;
}

header {
	clear: both;
}
header img {
	width: 100%;
}

#h1 {
	color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 200%;
	float: left;
    width: 50%;
	margin-top: 15%;
	margin-left: 5%;

}

#h2 {
	color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	float: left;
    width: 50%;
	margin-top: 1%;
	margin-left: 5%;
}

#bar1 {
    float: left;
    width: 20%;
	clear: both;
}

#bar1 img {
    float: left;
    width: 25%;
    margin-top: 10%;
    margin-left: 8%;
}

#colorp {
    color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 200%;
	float: left;
    margin-left: 2%;
    text-align: left;
    margin-right: 75%;

}

#colorpal {
    width: 70%;
}

#colorpal img {
    width: 100%;
    margin-left: 20%;
    margin-top: 15%;
    margin-bottom: 20%;
}

#bar2 {
    float: right;
    width: 20%;
}

#bar2 img {
    float: right;
    width: 25%;
    margin-top: 10%;
    margin-right: 10%;
}

#typeface {
    color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 200%;
	float: right;
    margin-right: 2%;
    text-align: right;
    margin-left: 75%;

}

#typeface2 img {
    width: 75%;
    margin-left: 1%;
    margin-top: 5%;
    margin-bottom: 20%;
}

#bar3 img {
    float: left;
    width: 25%;
    margin-top: 10%;
    margin-left: 9%;
}

#icon {
    color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 200%;
    text-align: left;
	margin-left: 2%;
    margin-right: 100%;
}

#icons img {
    width: 80%;
    margin-left: 10%;
    margin-bottom: 20%;
    margin-top: 5%;
}

#bar4 img {
    float: right;
    width: 25%;
    margin-top: 10%;
    margin-right: 10%;
}

#functions {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 200%;
    text-align: right;
    margin-right: 2%;
    margin-left: 100%;
}

#mockup img {
    width: 75%;
    margin-left: 15%;
    margin-top: 5%;
    margin-bottom: 5%;

}

#video video {
	margin-left: 15%;
	margin-right: 10%;
}

#welcome img {
	width: 25%;
	margin-right: 15%;
	margin-left: 35%;
	margin-bottom: 15%;
}

footer {
	color:white;
	display: flex;
	justify-content: space-around;
}

footer #left {
	width: 44.921875%;
}

footer #right {
	width: 39.0625%;
}

footer #right img {
	width: 100%;
}

/* 
Make all your images scale to fit containg thing
img {with : 100% ;}
*/


/* table stuff */

@media screen and (max-width: 660px){
	
	#logo {
		width: 28.78%; 
	}
	
	nav {
		width: 60.60%;
	}
	
	#columns {
		/* let flexbox be on different lines */
		flex-wrap: wrap;
	}
	
	#columns li {
		width: 100%;
	}

	#columns li img {
		width: 15.15%;
		float: left;
	}

	#columns li h2 {
		text-align: left;

	}

	footer {
		flex-wrap: wrap;
	}

	footer #left, footer #right {
			width: 100%;
	}


}

/* phone stuff */

@media screen and (max-width: 450px) {

	#logo {
		width: 37.5%;
		float : none;
		margin: auto;
	}

	nav {
		width: 100%;
		margin-top: 10px;
	}
	#columns li p {
		display: none;
	}
}