* {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    margin: 0;
    display:grid;
    grid-template-columns:40% 20% 40%;
    grid-template-rows:80px 500px 100px 300px auto;
    grid-template-areas: "hd hd hd"
                         "heroimage heroimage lifestyle" 
                          "deal newsletter lifestyle"
                          "deal newsletter products"
                          "footer footer footer"                         
}

h2, h3, p, label {
	font-family: 'Roboto', sans-serif;
}

h1 {
	color: rgb(255,255,255);
	font-family: 'Bungee Shade', cursive;
	font-size: 2.6vw;
	padding-top: 120px;
	padding-left: 20px;
}

h2 {
	font-size: 1.8vw;
	color: rgb(255,255,255);
	text-align: center;
	margin: 0;
	padding-top: 10px;
}

h3 {
	font-size: 1.1vw;
	text-align: center;
	padding: 0 5px 0;
}

p {
	padding: 0 10px;
	line-height: 1.4em;
}

header,
aside,
footer {
    padding: 20px;
    text-align: center;
}

header {
    background: rgb(255,255,255);
    grid-area:hd;
}

header img {
	width: 30%;	
}

.navigation-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display:flex;
    justify-content:right;
    align-items:center;
    height:100%;
}

.navigation-item a {
    text-decoration: none;
    color: rgb(0,0,0);
    font-family: 'Roboto', sans-serif;
    margin: 0 10px;
}

.navigation-item a:hover,
.navigation-item a:active {
    color: rgb(0,82,204);
}

#heroimage {
	grid-area: heroimage;
	font-family: Arial;
	background-repeat: none;
	background-image: url("images/header.jpg");	
	background-repeat: no-repeat;
	background-size: cover;
  	background-position: center;
}

#heroimage img {
	width: 100%;	
}

.brand_story {
	color: rgb(255,255,255);
	font-family: 'Roboto', sans-serif;
	padding-left: 20px;
}

.brand_story a:link, .brand_story a:visited {
	color: rgb(255,255,255);
	font-weight: bold;
	text-decoration: none;
}

.brand_story a:hover,
.brand_story a:active {
	color: rgb(0,82,204);
}

#lifestyle {
    grid-area:lifestyle;
    
}

#lifestyle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#deal {
    grid-area:deal;
}

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

#newsletter {
	grid-area: newsletter;
}

.newsletter_form {
	margin: 0 15px;
}

/* Style the input elements and the submit button */
input[type=text], input[type=submit] {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid rgb(0,82,204);
  box-sizing: border-box;
}

/* Add margins to the checkbox */
input[type=checkbox] {
  margin-top: 8px;
}

/* Style the submit button */
input[type=submit] {
  background-color: rgb(0,82,204);
  color: rgb(255,255,255);
  border: none;
}

input[type=submit]:hover {
  opacity: 0.8;
}

.news_header {
	color: rgb(0,82,204);
}

#products{
	background-image: url('images/product_background.jpg');
	background-size: cover;
  	background-position: center;
	grid-area: products;
	display: flex;
	flex-direction: column;
	order: 7;
}

#prod_images {
	flex-direction: row;
	display: flex;
}

#one img, #two img, #three img {
	width: 100%;
  	border-radius: 10%;
}

#one {
  	border-radius: 10%;
	flex: 1;
	background: rgb(255,255,255);
	margin: 20px 10px 20px 20px;
}

#two {
  	border-radius: 10%;
	flex: 1;
 	background: rgb(255,255,255);
 	margin: 20px 10px 20px 10px;
}

#three {
  	border-radius: 10%;
 	flex: 1;
 	background: rgb(255,255,255);
 	margin: 20px 20px 20px 10px;
}
	
footer {
    background: black;
    grid-area:footer;
}

footer .navigation-item a {
	color: rgb(255,255,255);
	font-family: 'Roboto', sans-serif;
}

@media(max-width:468px){
  body{
    display:block;
  } 
  
  h1 {
  	font-size: 7vw;
  }
  
  h2 {
  	font-size: 5.2vw;
  }
  
  h3 {
  	font-size: 4.8vw;
  	padding-bottom: 15px;
  }
  
  p {
  	font-size: 3.5vw;
  }
  
  nav img {
  	width: 80%;
  }

  .brand_story {
  	padding-bottom: 25px;
  	margin-bottom: 0;
  }
  
  .mobile_para {
  	display: none;
  }
  
  #products {
	background-image: url('images/mobile_background.jpg');
	background-size: cover;
  	background-position: center;
  }

  #prod_images {
  	display:block;
  	margin: 10px 20px;
  }
  
  #one, #two, #three {
  	margin: 0;
  }
  
}
