* { box-sizing: border-box; }
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,700;1,300;1,400;1,700&display=swap');


body
{
	font-family: 'Rubik', sans-serif;
	font-size: 15px;
	margin: 0 30px;
	max-width: 1250px;
}

/* The grid container */
.grid-container
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-areas: 'banner banner banner'
	                     'nav nav nav'
	                     'main main main'
	                     'footer footer footer';
	grid-gap: 10px;
	/*  - if you want gap between the columns */
}

/* Text */

h1 { margin: 0 0 1em 0; font-size: 2.5em; font-weight 700; }
h2 { margin: 0 0 0.5em 0; font-size: 1.6em; font-weight 700; line-height: 1.1em; }
h3 { margin: 0 0 0.5em 0; font-size: 1.3em; font-weight 700; }
h4 { margin: 0 0 1.5em 0; font-size: 1em; font-weight 700;  }

p { margin: 0 0 1em 0; font-size: 1em; font-weight 400; }

.basetext {
	line-height: 20px;
	font-weight: normal;
	color: #000000;
	text-align: left;

}




/* Style the banner */
.banner
{
	grid-area: banner;
	height: 140px;
	background-size: contain;
	background-image: url(../images/scolarsvectorlogo.svg), linear-gradient(to bottom, rgba(95, 169, 255, 1), rgba(95, 169, 255, .3)) ;
	background-repeat: no-repeat;
	background-position: center;
}


/* Style the nav */
.nav
{
	grid-area: nav;
	background-color: #fff;
	padding: 5px;
	text-align: left;
}

.nav ul { 
 list-style: none;
 margin: 0; 
 padding: 5px; 
 }
 
 .nav ul li {
 display: inline-block;
 color: #A50012;
 padding: 0 12px; 
 position: relative;
 }

.nav ul li:hover {
color: #D37A13;
background-color: #EBEBEB;
}

.nav ul li a {
	text-decoration: none;
	color: #83000F;
 }

.nav ul li a:visited { color: #62000B; }

.main
{
	grid-area: main;
	padding: 0 10px 10px 10px;
	min-height: 500px;
}

.main h1
{
color: #A50012;
margin: 1em 0 1em 0;
}

.main ul { 
 list-style: none;
 display: block;
 list-style-image: url(images/listbullet.gif);
 margin: 0px 0px 10px 30px; 
 padding: 5px; 
 }
 
 .main ul li {
 margin-bottom: 10px; 
 }

.photo
{
	height: 305px;
	background-size: contain;
	background-image: url(../images/DP1.jpg);
	background-repeat: no-repeat;
	background-position: center;
}

/* Style the footer */
.footer
{
	grid-area: footer;
	background-color: #f1f1f1;
	padding: 10px;
	text-align: center;
}

.footer h3 {color: #A50012;}

@media screen and ( max-width: 1060px) {


.banner {height: 110px;}

.nav ul li {
 display: inline-block;
 color: #A50012;
 padding: 0 8px; 
font-size: 13px;
 }

h1 { margin: 0 0 1em 0; font-size: 2.4em; font-weight 700; }
h2 { margin: 0 0 0.5em 0; font-size: 1.5em; font-weight 700; line-height: 1.1em; }
h3 { margin: 0 0 0.5em 0; font-size: 1.3em; font-weight 700; }
h4 { margin: 0 0 1.5em 0; font-size: 1em; font-weight 700;  }

}

@media screen and ( max-width: 850px) {

.body	margin: 0 20px;

.grid-container
{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-template-areas: 'banner'
	                     'nav'
	                    'main'
	                    'footer';
	grid-gap: 8px;
	/*  - if you want gap between the columns */
}
.banner {height: 90px;}

.main ul { 
 margin: 0px 0px 5px 30px; 
 padding: 5px; 
 }

 .nav ul li {
 display: block;
 padding: 0 10px; 
 margin-bottom: 8px;
 }
 
h1 { margin: 0 0 1em 0; font-size: 2.1em; font-weight 700; }
h2 { margin: 0 0 0.5em 0; font-size: 1.3em; font-weight 700; line-height: 1.1em; }
h3 { margin: 0 0 0.5em 0; font-size: 0.9em; font-weight 700; }
h4 { margin: 0 0 1.5em 0; font-size: 0.8em; font-weight 700;  }
}

.photo
{
	height: 250px;
	background-size: contain;
	background-image: url(../images/DP1.jpg);
	background-repeat: no-repeat;
	background-position: center;
}

