:root {
	--brand: 			rgba(190, 145, 45, 1);
	--brand-alt: 		rgba(190, 145, 45, 0.5);
	--fground: 			rgba(40, 50, 70, 1);
	--mground:			rgba(240, 230, 210, 1);
	--bground: 			rgba(255, 255, 255, 1);
	--wide:				144rem;
	--medium:			96rem;
	--narrow:			64rem;
	--fade:				all 0.5s ease; 
	--text:				"League Spartan", sans-serif;
	--title:			"League Spartan", sans-serif;
	}

*, *::before, *::after { margin: 0; padding: 0; border: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 62.5%; }
body { min-height: 100vh; background-color: var(--bground); color: var(--fground); font-size: 1.8rem; line-height: 1.25; font-family: var(--text); font-optical-sizing: auto; font-style: normal; font-variation-settings: "wdth" 100; }

a { color: var(--brand); text-decoration: none; transition: var(--fade); }
a:focus, a:hover, a:active { text-shadow: 2px 2px 2px var(--bground); transition: var(--fade); }


strong { font-weight: bold; }

img { width: 100%; height: auto; display: block; }

p { padding-bottom: 2rem; }
p:last-of-type { padding-bottom: 0; }

ul { list-style: none; padding-bottom: 1rem; }
menu { list-style: none; }
li { list-style: none; }

select, textarea, input, button { font-family: inherit; background: var(--bground); font-size: 2rem; width: 100%; padding: 1rem; margin-bottom: 1rem; border-radius: 1rem; }

button {}

h1, h2, h3, h4, h5, h6 { font-family: var(--title); font-weight: bold; text-align: center; }
h1 { font-size: 3rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2.5rem; }
h4 { font-size: 2rem; }

address { font-style: normal; }

nav {
	width: 100%; position: sticky; top: 0; color: var(--bground); background: var(--fground); height: 6rem; border-bottom: 1px solid var(--bground); z-index: 100; 
	
	div {
		max-width: 120rem; width: 100%; margin: 0 auto; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 2rem; 
		
		ul {
			display: flex; flex-direction: row; align-items: center; gap: 2rem; font-weight: bold;
		}
	}
}

header {
	background-repeat: no-repeat; background-position: center center; background-size: cover; max-width: 100vw; height: calc(50vh - 6rem); background-color: var(--fground); color: var(--bground);
	
	div {
		display: grid; align-items: center; height: 100%; max-width: 120rem; margin: 0 auto; 
		
		hgroup { 
			display: flex; flex-direction: row; justify-content: flex-start; align-items: center; height: 100%; gap: 2rem; max-width:
			
			h1 {
				img {
					width: 24rem; height: auto; 
				}
			}
			p {
				font-size: 2.4rem; padding: 2rem; max-width: 40rem; 
			}
			p:last-of-type { 
				padding-bottom: 2rem;
			}
		}
	}
}

main {
	section {
		scroll-margin-top: 6rem; min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: space-between; flex-direction: column;
		
		aside {
			width: 100%; padding: 4rem; display: grid; place-items: center; background: var(--brand); color: var(--bground); border-bottom: 1px solid var(--bground);
			
			p {
				width: 100%; height: 30rem; max-height: 30vh; max-width: 120rem; padding: 2rem; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; 
				
				strong {
					font-size: 4.8rem; padding-right: 2rem; border-right: 1px solid var(--fground); 
				}
				em {
					width: 40%; padding-left: 2rem; text-align: left; text-wrap: balance; padding-bottom: 0; font-style: normal;
				}
			}
		}
		
		hgroup {
			background: var(--fground); color: var(--bground); z-index: 50; width: 100%; display: grid; align-items: center; height: 6rem; position: sticky; top: 6rem;
			
			h2 {
				text-align: right; width: 100%; max-width: 120rem; padding: 0 2rem; margin: 0 auto;
			}
		}
		
		div {
			display: grid; align-items: center; height: 100%; width: 100%; max-width: 120rem; margin: 0 auto;
			
			ul {
				display: flex; flex-direction: column; gap: 4rem; padding: 4rem 0;
				
				li {
					display: flex; flex-direction: column; justify-content: space-between; min-height: calc(100vh - 20rem); padding: 2rem;  background-repeat: no-repeat; background-size: cover; background-position: center center; color: var(--bground); background-color: var(--fground);
					
					h3 {
						font-size: 4rem; text-align: right;
					}
					
					p {
						width: 40%; 
						
						strong {
							display: block; font-size: 2.4rem; border-bottom: 1px solid var(--brand); padding-bottom: 1rem;
						}
						em {
							display: block; font-style: normal;
						}
					}
				}
			}
		}
	}
}

footer {
	padding: 2rem; margin-bottom: 0; background-color: var(--brand); color: var(--bground);
	
	a {
		color: var(--fground);
	}
	
	div {
		display: flex; flex-direction: row; gap: 2rem; justify-content: space-between; align-items: center;
		
		address {
			text-align: right; 
		}
	}
}

body.home {
	header {
		height: calc(100vh - 6rem); background-image: url('home.jpg'); 
		
		hgroup {
			p {
				font-size: 4rem; padding: 2rem; max-width: 100%; font-weight: bold;
			}
		}
	}
	main {
		section {
			div {
				ul {
					li {
						scroll-margin-top: 16rem;
					}
				}
			}
		}
	}
}

body.content {
	main {
		section {
			div {
				font-size: 2.4rem; padding: 4rem 2rem;
			}
		}
	}
}
body.section {
	main {
		section {
			div {
				font-size: 2.4rem; padding: 4rem 2rem;
			}
		}
	}
}

body.services {
	main {
		section {
			ul {
				flex-direction: row;
				
				li {
					width: 33.33%;
					
					h3 {
						font-size: 2.8rem;
					}
					p {
						width: 100%;
					}
				}
			}
		}
	}
	
}

body.about {
	main {
		section {
			div {
				h2 {
					text-align: right; font-size: 2.8rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--brand);
				}
				h3 {
					text-align: left; padding-bottom: 1rem; margin-top: 2rem; text-decoration: underline; 
				}
				ul {
					flex-direction: row; padding-top: 0; padding-bottom: 2rem; flex-wrap: wrap; 
					
					li {
						width: 20%; min-height: 10rem; aspect-ratio: 1; 
					}
				}
			}
		}
	}
}


body.trading {
	main {
		section {
			div {
				h2 {
					text-align: right; font-size: 2.8rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--brand);
				}
				h3 {
					text-align: right; padding-bottom: 1rem; margin-top: 2rem; border-bottom: 1px solid var(--fground); margin-bottom: 2rem;
				}
				ul {
					flex-direction: row; padding-top: 0; padding-bottom: 2rem; flex-wrap: wrap; 
					
					li {
						width: 20%; min-height: 10rem; aspect-ratio: 1; 
					}
				}
			}
		}
	}
}