@charset "utf-8";
/* CSS Document */
* {
  box-sizing: border-box;
}


p 	{
	margin: 10px 0px  2px 20px;
   }
h1 {
	font-size:1.25em;
	font-weight:strong;
	text-align:center;
}

/*ordered lists*/	

ul, ol {
	margin-top:25px;

	}

li	{
	margin:0px 0px 15px 0px;
}
/*this is for unbulleted lists*/
li.u {
	list-style-type: none;
	text-align:left;
	margin:0px 0px 15px -10px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 1.05em;

}

/*formatting pricing boxes*/
.prices	{
	font-family:Cinzel;
	margin:30px;
	font-size: 1.05em;
}
/*formatting pricing boxes*/
.prices p	{
	
	font-weight:bold;
	font-size: 0.875em;
	padding:0px;

}
/*formatting pricing boxes*/
.prices h1	{
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	width:100%;
	margin:0px 0px 50px 0px;
	padding:20px 20px;
	text-align: center;
	color: red;
	border: 1px solid black;
}


/*style the heading at the top of each box*/
.heading {
	color: 0669B2;
	font-weight:strong;
	font-size:1.25em;
	padding:5px;
	font-family:Cinzel;
	margin:15px 25px 50px 25px;
	display: block;
	text-align:center;
	border: 3px solid #044476; 
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	}

/*keep image from overflowing*/	
.clearfix {
  overflow: auto;
}


h3	{
	text-align: center;
	border-bottom: 3px solid #2F75AC;}
  
a	{
 color: blue
 }
  
.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 ."
		". intro intro ."
		". condensed-version condensed-version ."
		". box1 box1 ."
		". box2 box2 ."
		". box3 box3 ."
		". box4 box4 ."
		". box5 box5 .";
		}




		
.box1{grid-area: box1;
    background-color: white;
    width: 100%;
    border: 8px solid black;
    padding: 25px;
   margin: 0px 0px 25px 0px;
}


.box2{grid-area: box2;
	background-color: white;
    width: 100%;
    border: 8px solid black;
    padding: 25px;
   	margin: 0px 0px 25px 0px;
   	img-border:#044476;
}

.box3{grid-area: box3;
    background-color: white;
    width: 100%;
    border: 8px solid black;
    padding: 25px;
   margin: 0px 0px 25px 0px;
}

.box4{grid-area: box4;
    background-color: white;
    width: 100%;
    border: 8px solid black;
    padding: 25px;
   margin: 0px 0px 25px 0px;
}

.box5{grid-area: box5;
    background-color: white;
    width: 100%;
    border: 8px solid black;
    padding: 25px;
   margin: 0px 0px 25px 0px;
}
/*intro paragraph*/
.intro	{
	grid-area:intro;
    background-color: white;
    font-size:1em;
    width: 100%;
    border: 8px solid black;
    padding: 10px;
   margin: 10px 0px 15px 0px;
   	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	
}

.intro p	{
	margin: 25px;
	font-size: 1em;
	color: black;
}

.intro img {
 display: block;
 border:3px solid black;
 float:right;
 width: 188px;
 length: 250px;

 margin-right: 25px;
 }	



.condensed-version	{
grid-area: condensed-version;
display:none;
}

.nav{grid-area: nav;
	background-color: #333;
    overflow: hidden;
}
/* Style the links inside the navigation bar */
.nav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
    background-color: #4CAF50;
    color: white;
}

/* Hide the link that should open and close the nav on small screens */
.nav .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.nav a:hover, .dropdown:hover .dropbtn {
    background-color: #555;
    color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}





/*the title at the top of page*/

.header {
	grid-area: header ;
	margin-top:5px;
}

.header h1	{
	color: #044476;
	font-weight:bold;
	font-size:1.75em;
	padding:5px;
	font-family:Cinzel;
	margin:auto;
	display: block;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

/*the picture at the top*/
	
.banner {
	grid-area: banner;
	width: 100%;
    paddding: 0px;
    margin: 0px; 
}

/*the buy buttons*/
.button {
  border-radius: 4px;
  background-color: #2F75AC;
  border: none;
  color: white;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  width: 100px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 15px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button: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"
		"intro intro"
		"condensed-version condensed-version"
		"box1 box1"
		"box2 box2"
		"box3 box3"
		"box4 box4"
		"box5 box5";}
}
	
		
		
/*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"
		"intro"
		"condensed-version"
		"box1"
		"box2"
		"box3"
		"box4"
		"box5";
		}
		 
.intro	{
	grid-area: intro;
	display:none;
	
}		

.condensed-version p	{
	margin: 25px;
	font-size: 1em;
	color: black;
	float: right;
}

.condensed-version img {
 display: block;
 border:3px solid black;
 
 width: 188px;
 length: 250px;
 margin:auto;
}

.condensed-version	{
	grid-area: condensed-version; 
    display:block;
    background-color: white;
    font-size:1.2em;
    width: 100%;
    padding: 0px 10px 10px 0px;
   	margin: auto;
   	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);

} 
		
p {
font-size: 16px;
font-family: "Arial";
color:black;
}

h3	{
	font-size:1em;
	font-weight:strong;
}



.heading {
	color: black;
	font-weight:strong;
	font-size:1em;
	padding:5px;
	font-family:Cinzel;
	margin:0px 10px 30px 0px;
	display: block;
	text-align:center;
	border: 3px solid #044476; 
	padding: 4px;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	}
.header h1 {
	font-size:1em;
	font-weight:strong;
	color:#044476;
	margin:auto;
}



/*formatting pricing boxes*/

.prices	{
	font-family:Cinzel;
	margin:3px;	
}

.prices p	{
	margin:10px 0px 0px 0px;
	font-weight: normal;
	font-family:Cinzel;
}

.prices h1	{
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	width:100%;
	margin:0px;
	padding:10px 10px;
	font-size:1em;
	text-align: center;
	color: red;
}
.box1{grid-area: box1;
    border: 3px solid black;
}

.box2{grid-area: box2;
    border: 3px solid black;
}

.box3{grid-area: box3;
    border: 3px solid black;
}

.box4{grid-area: box4;
    border: 3px solid black;
}
.box5{grid-area: box5;
    border: 3px solid black;

}


/*formatting pricing boxes*/
.prices	{
	font-family:Areal;
	margin:5px;
	
}
/*formatting pricing boxes*/
.prices p	{
	
	font-weight:bold;
	font-size: 0.875em;
	padding:10px;

}

.condensed-version	{
	border:3px solid  black;
	margin: 10px 0px 10px 0px;
}
	
	
}

}
