
/*Code for the header and nav bar*/
header {
	background-color: #00055c;
}

nav {
    width: 100%;
    display: flex;            
    align-items: center;      
    justify-content: space-between; 
    padding: 10px 20px;      
    box-sizing: border-box;
    height: 100px;
}

nav .logo {
    height: 100px;             
}
/*code for the text in header*/
.club-name {
    color: white; 
    font-size: 24px; 
    font-weight: bold; 
    margin-right: auto; 
    padding-left: 10px; 
}

nav .links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-left: 20px;
    font-size: 24px;
}

nav .links a:hover {
    color: lightgray;         
}
/*default body code*/
body {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	padding: 0;
}
/*code for the banners*/
.mainimg img {
	width: 100%;
	max-height: 300px; 
	object-fit: cover;
    display: block;
}

.club-name {
    font-family: 'Oswald', sans-serif;
}
/*main row setup*/
.row {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
    display: flex;         
    flex-wrap: wrap;       
    justify-content: space-between; 
    gap: 1px;             
    align-items: center;
}
/*column setup*/
.column {
	width: 33%;
	padding-bottom: 30px; 

    
}

.column img {
	width: 90%;
	height: 250px; 
	object-fit: cover;
    object-position: center;
    border: solid 5px navy;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/*code for boxes of text*/
.text {
    border: 4px solid #bd170b;
    border-radius: 8px;
    padding: 15px;
    background-color: #bd170b;

    width: 60%;              
    margin: 20px auto;       
    clear: both;             
    box-sizing: border-box;  
    text-align: left;        
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.text p, h2 {
	font-family: 'Oswald', sans-serif;
	text-align: center;
	color: white;
	font-family: ;
}

.text p {
	font-size: 18px;
}

/*column setup on the racing page*/
.racingcol {
	width: 49%;
	padding-bottom: 30px;
}

.racingcol h1, h3 {
	color: #bd170b;
}

.racingcol p {
	font-size: 17px;
}

.racingcol img {
	width: 90%;
	height: 250px; 
	object-fit: cover;
    object-position: center;
    border: solid 5px navy;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: block;

}
/*contact information setup*/
.contact {
	border: solid 3px black;
	background-color: white;
	border-radius: 8px;
	padding: 10px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	font-family: 'Open Sans', sans-serif;  
    max-width: 350px; 
	margin: 0 auto; 
}


.contact h2 {
	color:#bd170b ;
	font-size: 24px;
}
.contact p {
    margin-bottom: 0;
    font-size: 17px;
    /*font-weight: bold;*/
}
.contact a {
    display: block;
    margin-bottom: 15px;
    font-size: 17px;
}

/*footer setup*/
footer {
    background-color: #00055c;
    color: white;
    width: 100%;
    padding: 20px 0;
}

.footerrow {
    display: flex;                     
    justify-content: space-between;    
    align-items: center;               
    width: 90%;
    margin: 0 auto;
}

.footercolumn {
    width: 50%;
}

/* Left side (copyright) */
.footercolumn.left {
	border-right: 2px solid white;
}
.footercolumn.left p {
    text-align: center;
    margin: 0;
}

.footercolumn.right {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Right side navigation */
.footernav {
    display: flex;
    flex-direction: column;
    align-items: center;   
}

.footernav a {
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 18px;
}

.footernav a:hover {
    color: lightgray;
}