body{
	background-image:url("media/Faded-Blue-Background.png");
	text-align: center;
	margin: 10px;
	font-family: sans-serif;
}

div.heading {
    width: 100%;
    /* 1. Expand the box height slightly to create extra blue room at the bottom */
    aspect-ratio: 1200 / 360;   /* Changed height from 300 to 360 for extra space */
    position: relative;
    background-color: rgba(0, 81, 160, 1); /* Your #0051a0 color fills the extra space */
    background-image: url("media/New-Website-Header.png");
    background-repeat: no-repeat;
    
    /* 2. Pin the image strictly to the top so the extra blue space drops to the bottom */
    background-position: top center; 
    
    /* 3. Keep perfect width aspect ratio, but let the height adapt */
    background-size: 100% auto; 
    
    border-radius: 15px 15px 0px 0px;
        padding-left: 20px; 
    
    /* 💡 2. CRUCIAL: Forces the browser to calculate the width including the padding */
    box-sizing: border-box; 
}

div.nav {
    position: absolute;
    /* 4. Center your links neatly inside that new lower blue zone */
    bottom: 20px;       
    left: 0;
    width: 100%;        
    text-align: center; 
    z-index: 10;    
    padding-bottom: 10px;    
}



}
h1{
	padding: 10px 10px;
	color:rgba(0, 81, 160, 1);
	margin: 0px;


}

a {
	color: blue;
#	font-weight: bolder;
#	font-size: 120%;
#	font-family: cursive;
	text-decoration: none;
    text-align:bottom;
	outline: 0;
}

a:hover {
	color: darkblue;
#	font-weight: bolder;
#	font-size: 120%;
#	font-family: cursive;
	text-decoration: none;
	outline: 0;
}
div.nav a {
    color: white; /* 💡 Change this to whatever header color you want */
    font-weight: bold; /* Optional: makes header links pop out against the blue background */
}
div.nav a:hover {
    color: darkgray; /* 💡 Color when hovering over header links specifically */
}


div.main{
#	background-image: url("tyreback.png");
#	background-size: 300px;
	background-position: right bottom;
	background-repeat: no-repeat;
#	width:940px;
	width:100%;
	height:auto;
	text-align:left;
	color:black;
	background-color: rgba(255, 255, 255, 0.7);


	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	overflow:auto;
	margin:10px auto 0px auto;
	padding:10px;
	#	-moz-box-shadow: 3px 3px 3px 3px #444444;
#	-webkit-box-shadow:3px 3px 3px 3px #444444;
#	box-shadow:5px 5px 50px 0px #444444;
    box-sizing: border-box; 
	overflow: hidden;
}
.main::after {
    content: "";
    clear: both;
    display: table;
}
div.shadow{
	box-shadow:1px 1px 2px -1px whitesmoke; /* lawngreen */;
	border-radius:10px;
}


div.footer{
#	font-size:80%;
#	width:960px;
	width: 100%;
#	height:100px;
#	border:0px solid rgb(0,0,0);
	border-radius:15px;
#	-moz-border-radius:15px;
#	-webkit-border-radius:15px;
	
	margin:10px auto 0px auto;
	padding-bottom: 0px;
	color:whitesmoke;
	background-color: rgba(0, 81, 160, 1);
#	background-color:rgba(0,0,0,1);
#	-moz-box-shadow: 3px 3px 3px 3px #444444;
#	-webkit-box-shadow:3px 3px 3px 3px #444444;
#	box-shadow:3px 3px 3px 3px #444444;
}

div.colL3{
	float:left;
	padding:0px 10px 10px 0px;
	width:50%;
	background-color: White ;
	clear: left;
	position:relative;
	box-sizing: border-box;
}
div.colR3{
	float:left;
	padding:0px 0px 10px 10px;
	width:50%;
	background-color: White ;
#	background-color: DarkTurquoise ;
	clear: right;
	position:relative;
	box-sizing: border-box;
}
div.colM3{
	float:left;
	padding:0px 10px 10px 10px;
	width:50%;
	background-color: White ;
#	background-color: lawngreen ;
	clear: right;
	position:relative;
	box-sizing: border-box;
}

div.colL2{
	float:left;
	padding:0px 10px 10px 0px;
	width:33.33%;
	background-color: White ;
#	background-color: blue;
	clear: left;
	position:relative;
	box-sizing: border-box;
}

div.colM2{
	padding:0px 10px 10px 10px;
	float:left;
	width:33.33%;
		background-color: White ;
#	background-color: red;
	position:relative;
	box-sizing: border-box;
}
div.colR2{
	float:left;
	padding:0px 0px 10px 10px;
	width:33.33%;
		background-color: White ;
#	background-color: green;
	clear: right;
	position:relative;
	box-sizing: border-box;
}
div.colL4{
	width:66.66%;
	padding:0px 10px 10px 0px;
	float:left;
		background-color: White ;
#	background-color: orange;
	clear: left;
	position:relative;
	box-sizing: border-box;
}
div.colR4{
	width:66.66%;
	padding:0px 0px 10px 10px;
	float:left;
		background-color: White ;
#	background-color: purple;
	clear: right;
	position:relative;
	box-sizing: border-box;
}
div.colM6{
	width:100%;
	padding:0px 0px 10px 0px;
	float:left;
		background-color: White ;
#	background-color: turquoise;
	clear: right;
	box-sizing: border-box;
}
div.colL1{
	width:16.66%;
	padding:0px 10px 10px 0px;
	float:left;
		background-color: White ;
#	background-color: DarkSlateGray ;
	clear: left;
	position:relative;
	box-sizing: border-box;
}
div.colM1{
	width:16.66%;
	padding:0px 10px 10px 10px;
	float:left;
	background-color: White ;
#	background-color: lightskyblue;
	position:relative;
	box-sizing: border-box;
}
div.colR1{
	width:16.66%;
	padding:0px 0px 10px 10px;
	float:left;
		background-color: White ;
#	background-color: magenta;
	clear: right;
	position:relative;
	box-sizing: border-box;
}

div.colM4{
	width:66.66%;
	padding:0px 10px 10px 10px;
	float:left;
	text-align: left;
		background-color: White ;
#	background-color: Orchid;
	position:relative;
	box-sizing: border-box;
} 

div.colL5{
	width:83.33%;
	padding:0px 10px 10px 0px;
	float:left;
		background-color: White ;
#	background-color: LightSalmon ;
	clear: left;
	position:relative;
	box-sizing: border-box;
} 
div.colR5{
	width:83.33%;
	padding:0px 0px 10px 10px;
	float:left;
		background-color: White ;
#	background-color: Indigo;
	clear: right;
	position:relative;
	box-sizing: border-box;
} 
@media only screen and (max-width: 566px) {
    /* For mobile phones: */
    div.colL3 {
        width: 100%;
    }
     div.colR3 {
        width: 100%;
    }
     div.colM3 {
        width: 100%;
    }
     div.colL2 {
        width: 100%;
    }
     div.colM2 {
        width: 100%;
    }
     div.colR2 {
        width: 100%;
    }
     div.colL4 {
        width: 100%;
    }
     div.colR4 {
        width: 100%;
    }
     div.colM6 {
        width: 100%;
    }
     div.colL1 {
        width: 100%;
    }
     div.colM1 {
        width: 100%;
    }
     div.colR1 {
        width: 100%;
    }
     div.colM4 {
        width: 100%;
    }
     div.colL5 {
        width: 100%;
    }
     div.colR5 {
        width: 100%;
    }
    

}
.holder{
#	width: 100%;
#	height: 100%;
	position: absolute;
#	bottom: 10px;
}

ul{
	padding-left: 20px;
}



.real p{
	
#	text-align: right;
	color: whitesmoke;
	#background-image: linear-gradient(black, #222222);
	height:100%;
	border-top:100px; 
	border-radius: 0px 10px 10px 0px;
}


div img{
	max-width:100%; 

	
} 
div.main img{

	border-radius: 8px 8px 8px 8px;
} 
iframe{
	top: 0px;
	width: 98%;
	border-width: 2px;
	border-color: white;
	border-radius: 30px;
#	height: 300px;
	vertical-align: top;
#	overflow: hidden;
}

.main h2{
#	margin-top: 5px;
#	color: red;
}
.main h3{
	color: black;
#	margin-top: 5px;
#	margin-bottom: 5px;
}
.main ul{
#	margin-top: 5px;
	margin-bottom: 5px;
}
.main h4{
#	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 0.90rem;
}
.main p{
#	margin-top: 5px;
#	margin-bottom: 5px;
}
@media only screen and (max-width: 768px) {
    div.heading {
        /* 1. Kill the aspect ratio constraint so it can grow taller */
        aspect-ratio: auto; 
        
        /* 2. Set an explicit height or padding to give content room */
        min-height: 180px; 
        padding-bottom: 70px; /* Pushes bottom area out so text doesn't overlap links */
        
        /* 3. Keep the background image neat at the top */
        background-size: contain;
    }
    
    div.nav {
        /* 4. Let the navigation container scale safely at the bottom of the new deeper zone */
        bottom: 10px;
        font-size: 0.9rem; /* Slightly smaller text so links fit better without stacking weirdly */
        line-height: 1.8;  /* Adds vertical spacing if links break onto multiple lines */
    }
}