
/* CSS Document */
* {
  box-sizing: border-box;
}

body {
  font-size: 100%;
}


.picture	{
	
	margin:auto;
	}
.pic 	{
	width:100%;
	margin: auto;
	border: 2px solid black;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.grid {
	display:grid;
	
	grid-template-columns:10% 40% 40% 10%;
	grid-template-rows:auto auto auto auto; 
	margin:0 auto;

	grid-template-areas:
		". nav nav ."
		". banner banner ."
		". header header ."
		". box1 box2 ."
		". box3 box4 ."
		". box5 box6 .";
		}
.nav	{grid-area: nav;}	
.box1{grid-area: box1;
    background-color: white;
    width: 300px;
    border: 8px solid black;
    padding: 25px;
	margin: 10px;
    justify-self: left;
  
}
.box2{grid-area: box2;
background-color: white;
    width: 300px;
    border: 8px solid black;
    padding: 25px;
    margin: 10px;
    justify-self: right;
}
.box3{grid-area: box3;
background-color: white;
    width: 300px;
    border: 8px solid black;
    padding: 25px;
    margin: 10px;
    justify-self: left;
}
.box4{grid-area: box4;
background-color: white;
    width: 300px;
    border: 8px solid black;
    padding: 25px;
    margin: 10px;
    justify-self: right;
}
.box5{grid-area: box5;
background-color: white;
    width: 300px;
    border: 8px solid black;
    padding: 25px;
    margin: 10px;
    justify-self: left;
}
.box6{grid-area: box6;
background-color: white;
    width: 300px;
    border: 8px solid black;
    padding: 25px;
    margin: 10px;
    justify-self: right;
}

.nav{grid-area: nav;
	background-color: #333;
    overflow: hidden;
}





.header {grid-area: header ;
border: 8px solid black;
    text-align: left;
    padding: 25px;
    margin:10px;

}
.banner {
	grid-area: banner;
}

.add-it {
  border-radius: 4px;
  background-color: #A3D0D3;
  border: none;
  color: #000000;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  width: 100px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}



.add-it span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.add-it span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.add-it:hover span {
  padding-right: 25px;
}

.add-it:hover span:after {
  opacity: 1;
  right: 0;
}


	

/*For tablets*/
	
		
@media screen and (max-width: 826px) {
  .grid {
	display:grid;
	grid-template-columns:50% 50%;
	grid-template-rows:auto auto auto auto; 
	margin:0 auto;
	
		grid-template-areas:
		"nav nav"
		"banner banner"
		"header header"
		"box1 box2"
		"box3 box4"
		"box5 box6";}
}
	
		
		
/*For cphones*/

@media screen and (max-width: 658px) {
  .grid {
	display:grid;
	grid-template-columns:100%;
	grid-template-rows:auto auto auto auto; 
	margin:0 auto;
	
	grid-template-areas:
		"nav"
		"banner" 
		"header"
		"box1"
		"box2"
		"box3" 
		"box4"
		"box5" 
		"box6";
		}
p {
font-size: 1em;
font-family: "Arial";
}
h3	{

	font-size:1em;
	font-weight:strong;
}
h2 {
font-size:.75em;
	font-weight:strong;
}
h1 {
	font-size:1.25em;
	font-weight:strong;
}
.box1,.box2, .box3,.box4, .box5, .box6 {
justify-self: center;
font-size:1em;

}

}