		body {
  /*margin: 10px;
	padding 0 20px; */
  height: 100%;
	 font-family: Inter, sans-serif;
  
	
}
		
		.wrapper {
	max-width: 1250px; 
	/*min-width: 1200px */
  margin-left: auto;
  margin-right: auto;
    
  width: 100%;
  margin: 0 auto;
  padding: 0px;
  justify-content: center;
  align-items: center;
	
	 h2 {
      color: red; /* Change the text color of all h2 elements to blue */
    }
	
	}
	
	
	
	.hidden {
					display: none;
										
					}
	

 .img {
 max-width: 60%; 
   height: auto; 
   max-width: 75%;
	padding-top: 60px;
	padding-left:40px;
	 text-align: center; 
	 z-index: -10;
   }
	
	
	.image1 {
  position: absolute;
  
   height: auto; 
   max-width: 75%;
	padding-top: 60px;
	padding-left:40px;
	 text-align: center; 	
  z-index: 20; /* This image will be in the back */
}

.image2 {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2; /* This image will be in the front (higher z-index value) */
}
		
	
	@media (min-width: 200.1px) and (max-width: 600px) {
	
	
	 h2 {
      color: green; /* Change the text color of all h2 elements to blue */
    }
	}
	
  /*  *******************************************************************/
	@media (min-width: 200.1px) and (max-width: 600px) {
	/*@media only screen and (max-width: 600px) { */
	/* iphones */
	  .wrapgrid {
    max-width: 700px;
	  width: 100%;
    margin: 5px;
    line-height: 1.3rem;  /* was 1.4 and font 1.3 */
    font-size: 1.2rem;
	
	
    padding-right: 3px;
    padding-left: 3px;
 /* margin-right: auto;
  margin-left: auto; */
	}
	 h2 {
      color: black; /* Change the text color of all h2 elements to blue */
    }
	
	
	div.item1 {
    
    /* The width of the container also implies margin around the images. */
     width: 310px;
		 }	
	
	
	.hidden {
					display: block;
										
					}
					
				
		
								
								
}
	
/* ***************************************************************/

@media (min-width: 700px) and (max-width: 1021px) {
 /*@media screen and (min-width: 1024px) { */
  .wrapgrid {
   /* ipads */
	  max-width: 768px;
		font-size: 1.10em; /* 30px/16=1.875em */
		width: 100%;
    margin: 5px;
		
		 h2 {
      color: lightgreen; /* Change the text color of all h2 elements to blue */
    }
  }
			
		
	
}
@media (min-width: 1022.1px) and (max-width: 1199px) {
   /*@media screen and (min-width: 1170px) { */
   .wrapgrid {
	 /* small laptops */
    max-width: 1050px;
	  width: 100%;
    margin: 5px;
		 h2 {
      color: pink; /* Change the text color of all h2 elements to blue */
    }
  }
}
	
	@media (min-width: 199px) {
  .main-container {
    max-width: 540px;
		
		 h2 {
      color: blue; /* Change the text color of all h2 elements to blue */
    }
         }
         }
	
	
	.wrapgrid {

	max-width: 1250px; 
	/*min-width: 1200px */
  margin-left: auto;
  margin-right: auto;
    
  width: 100%;
  margin: 0 auto;
  padding-left: 5px;
	padding-right:5px;
  justify-content: center;
  align-items: center;
	font-size: 16px;
	
  display: grid;
  /*gap: 10px; 
	border-left: 15px;
	border-right: 15px; */
	
	
	/*margin-left: 5px;
	margin-right: 5px;	*/
	
  grid-template-areas:
     "header"
     "nav"
		 "ad"
		 "sidebar"
		 "content"     
		 "footer";
		
}		
		
	
.main-head {
  grid-area: header;
	 					 				
	 									/* border-style: solid; */
   									/* border-color: blue; */
	padding-left: 15px;
	padding-right: 15px;
}
.content {
  grid-area: content;
						 /*border-style: solid; */
 						 /*border-color: red; */
	padding-left: 15px;
	padding-right: 10px;  
}





.main-nav {
  grid-area: nav;			 		
	
						/* border-style: solid;  */
  					/* border-color: yellow; */
	padding-left: 15px;
	padding-right: 15px;
	 height: 100px;
	 padding-top: 75px;
	 padding-bottom: 75px;
	 
}
.side {
  grid-area: sidebar;
						 /* border-style: solid;  */
  					/*	border-color: black; */
	padding-left: 15px;
	padding-right: 15px;
}
.advert {
  grid-area: ad;
	 					/* border-style: solid; */
   					/* border-color: green; */
	padding-left: 25px;
	padding-right: 25px;
}
.footer {
  grid-area: footer;
	 					/* border-style: solid;  */
   					/* border-color: #828280; */
	padding-left: 25px;
	padding-right: 25px;
	 
	
}	
		
	/* Default styles for desktop and larger screens */
.responsive-img {
  width: 500px;
  height: auto;
}

	
	 .foot_item1 {
            flex: 1 1 200px;
            background-color: white; 
            padding: 20px;
            text-align: center;
            /*border: 1px solid #ccc; */
						
        }
		.foot_box {
				margin-left: 20px;
				margin-right: 20px;
				}
		


.nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
	background-color: white;  /*grey; */
	/* background-image: linear-gradient(to right, #9E768F , #9FA4C4); */
  color: black;  /*#3D0E61; */
  height: 100px;
  padding: 1em;
  /*  font-weight:bolder; */
  font-size: 1.3rem;
	/*  position: sticky; */
	 
}

	
	
	
	
/* Styles for screens smaller than or equal to 600px (typical mobile devices) */
@media screen and (max-width: 600px) {
  .responsive-img {
    width: 100%; /* Image takes the full width on mobile */
    height: auto; /* Maintains aspect ratio */
		h2:grey;
  }
	
}	


				 

/* Thick black border */
hr {
				background:  black;  /*f6f6ee; */
 				border: 1px solid black;
				padding-left:50px;
				padding-right:30px;
				}	

h4 {
  color: black; /* Changes text color to black */
  font-family: inherit; /* Sets the font */
  font-size: 1.5rem; /* Sets a custom font size */
  text-align: center; /* Centers the text */
  margin: 10px 0; /* Adjusts top and bottom margins */
}

h5 {
  color: black; /* Changes text color to black */
  font-family: inherit; /* Sets the font */
  font-size: 1.5rem; /* Sets a custom font size */
  text-align: center; /* Centers the text */
  margin: 10px 0; /* Adjusts top and bottom margins */
}


		/*    to determine if screen size to block display in a div  */	
@media all and (min-width: 959px) {
 .desktop {
 display: block;
 }
 .mobile {
 display: none;
 }
}
@media all and (max-width: 959px) {
 .desktop {
 display: none;
 }
 .mobile {
 display: block;
 }
 
 
		
}		