@charset "utf-8";

/*

CSS of A Pride's Daycare
Assignment: CSS3-compliant stylesheet = Appearance of Home page and Working Navigation Link #3 (Home)

Author: Angela Cary
Date: 3/23/2026




Filename: style1.css

*/




   /* Body Styles */


body {
	
	display: grid;
	position: relative;
	overflow: scroll;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 256px auto 256px;
	grid-template-areas: "header      header"
						 "nav         nav"
						 "leftColumn  rightColumn"
						 "footer      footer";
	gap: 10px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Times New Roman', Verdana, sans-serif;
	width: 95%;
	max-width: 1000px;
	min-width: 320px;
	
	
	
}


body > #mainHeader {
	
	background-image: url('homePageHeader.jpg');
	overflow: hidden;
	width: 100%;
	height: auto;
}



body > #mainHeader > h1 {
	
	font-family: Times New Roman; 
	font-weight: bold;
	text-decoration: none;
	font-size: 25px;
	text-align: center;
	background-color: rgba(112,128,144,1.0);
	color: white;
	padding: 20px;
	margin-top: 85px;
	margin-right: 300px;
	margin-left: 300px;
	border: 4px solid white;
	box-shadow: 0 0 10px black;
	text-shadow: 4px 4px 6px black;
}

body > section#leftColumn > h2 p {
	font-size: 1em;
	text-align: center;
}







   /* Grid Area Classes */

#mainHeader {
    grid-area: header;
	display: block;
	position: relative;
	max-height: 225px;
	grid-row: 1;
	grid-column: 1/-1;
}

.horizontalNavigation {
	grid-area: nav;
	display: grid;
	position: relative;
	grid-row: 1;
	grid-column: span 2;
	background-color: rgb(165,42,42);
	
}

#leftColumn {
	grid-area: leftColumn;
	display: grid;
	position: relative;
	grid-area: 2/1;
	text-align: center;
	letter-spacing: 0.1em;
	border-radius: 20px;
}

#rightColumn {
	grid-area: rightColumn;
	display: grid;
	position: relative;
	grid-area: 2/2;
	text-align: center;
	
	border: 2x single black;
	border-radius: 20px;
	
	
}

#mainFooter {
	grid-area: footer;
	display: grid;
	grid-row: 3;
	grid-column: span 2;
	width: 100%;
	height: auto;
	text-align: center;
	margin: 0px 15px 0px 15px;
	padding: 0px 15px 0px 15px;
	

}
	
	
   
   
   
   /* Horizontal Navigation Styles */


nav.horizontalNavigation a {
	display: block;
	text-align: center;
	text-decoration: none;
	font-size: 1.5em;
	line-height: 2em;
	color: white;
	
}

nav.horizontalNavigation li {
	display: block;
	float: left;
	width: 20%;
}

nav.horizontalNavigation ul {
	list-style-type: none;
	display: flex;
	margin: 0;
	padding: 0px;
	justify-content: center;
	width: 100%;
}

/* horizontalNav Styles */

#rightColumn > nav.horizontalNav {
	
	grid-area: rightColumn;
	grid-row: 2;
	grid-column: 2;
	width: 45%;
	float: left;
	
	
}

nav.horizontalNav li {
	list-style-type: none;
	
}



.horizontalNav a {
	font-family: fantasy;
	color: rgb(165,42,42);
	text-align: center;
	text-decoration: underline;
	font-size: 2.5em;
	content:"";
	clear: both;
	width: 100%;
	
	
}
	
.horizontalNav {
	
	margin-bottom: 400px;
	margin-right: 85px;
}
	
	

  

  /* Left Column Styles */

#leftColumn { 
	clear: left;
	float: left;
	width: 720px;
	margin: 0;
	padding: 10px;
	background-color: rgba(178,216,216,1);
}





   /* Right Column Styles */

#rightColumn {
	float: left;
	width: 240px;
	background-image: url('crowdPicture.png');
	background-size: contain;
	background-repeat: no-repeat;
	text-decoration: none;
	background-color: rgba(178,216,216,1);
	
}

 #rightColumn >  p {
	font-size: 1em;
	font-weight: bold;
	align-content: center;
	position: absolute;
	z-index: 1;
	margin-top: 275px;
	
	
}


	

   /* Footer Styles */


#mainFooter {
	background-image: url('footerImageHomePage.png');
	background-size: contain;
	width: auto;
	height: auto;
	clear: left;
	float: left;

}

#mainFooter > a {

	
	font-family: italic;
	text-align: center;
	font-size: 1em;
	font-weight: normal;
	background-color: white;
	color: black;
	margin-left: 300px;
	margin-right: 300px;
	margin-bottom: 15px;
	border: 1px single red;
	border-radius: 20px;
	box-shadow: 0 0 5px red;

}



#mainFooter > img {
	
	display: block;
	width: 100%;
}

#mainFooter > h3 {
	text-align: center;
	font-size: 1em;
	font-weight: bold;
	text-decoration: underline;
	background-color: white;
	color: black;
	margin-left: 325px;
	margin-right: 325px;
	border: 1px single red;
	border-radius: 20px;
	box-shadow: 0 0 2px red;
}
	
	
	
	
#mainFooter > p {
	font-family: italic;
	text-align: center;
	font-size: 1em;
	font-weight: normal;
	background-color: white;
	color: black;
	margin-left: 300px;
	margin-right: 300px;
	border: 1px single red;
	border-radius: 20px;
	box-shadow: 0 0 5px red;
}




   /* Aside Styles */

aside {
	
	background-image: url('iconForMap.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 25%;
	line-height: 25px;
	background-color: black;
	float: left;
	margin-left: 350px;
	border: 1px single red;
	border-radius: 20px;
	box-shadow: 0 0 1px red;
	margin-bottom: 10px;
	
	

}

aside > a {
	text-decoration: none;
	font-weight: bold;
	color: white;
	text-align: center;
	margin-left: 60px;
	clear: both;
	content: "";
}
	
	





/* Grid outline .item for assignment */

#mainHeader .horizontalNavigation {
	 outline: 1px dashed gray;
}

#leftColumn {
		 outline: 1px solid gray;
}

#rightColumn {
		 outline: 1px solid gray;
		
}
#mainFooter {
		 outline: 1px solid gray;
}
	


	
	


