/*
Theme Name: Our Theme 1
Description: Simple theme with custom menus and lots of Theme Options to let you customise your website.
Author: AR Website Design
Version: 1.0
Tags: grid system

License:
License URI:

General comments (optional).
*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Roboto', sans-serif;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	background-color: #dc0000;
}

header img {
	height: 5rem;
}

header ul {
	list-style-type: none;
	display:flex;
	gap:2rem;
}

header a {
	color: #fff;
	text-decoration: none;
	font-size: 1.25em;
}

#hero {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	padding: 4rem;
	background-image: url('/wp-content/uploads/2025/09/wye-66891_1920.jpg');
	background-size: cover;
	background-position: 50% 50%;
}

#hero__img {
	margin: auto;
}

#hero img {
	width: 100%;
	margin: auto;
}

h1 {
	font-family: 'Orbitron', sans-serif;
	color: #fff;
	text-transform: uppercase;
	font-size: 3em;
}

#cta {
	padding: .5rem 2rem;
	border-radius: 4px;
	background-color: #dc0000;
	color: #fff;
	text-decoration: none;
	font-size: 1.5em;
	font-family: 'Orbitron', sans-serif;
	transition: opacity .2s;
}

#cta:hover,#cta:focus {
	opacity: .8;
}

#text {
	display: grid;
	grid-template-columns: auto 300px;
	padding: 0 2rem;
	font-size: 1.5em;
}

#text__areas {
	display: flex;
	flex-flow: column nowrap;
	list-style-type: none;
	gap: .5rem;
	padding: 0;
}

#text__areas li {
	padding: .5rem 1rem;
	background-color: #ccc;
	border-radius: 99px;
}

#images {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	padding: 2rem;
	gap: 2rem;
}

#images img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

footer {
	display:grid;
	grid-template-columns: repeat(3, auto);
	background-color: #3F3F3F;
	padding: 2rem;
	gap:1rem;
	color: #fff;
	font-family: 'Orbitron', sans-serif;
}

#copyright {
	margin:0;
	grid-column: 1 / 4;
}

@media (max-width: 1024px) {
	#hero {
		display:grid;
		grid-template-columns: 1fr;
		grid-template-areas: 'hero__img' 'hero__text';
		gap: 1rem;
	}
	
	#hero__text {
		grid-area: hero__text;
	}
	
	#hero_img {
		grid-area: hero__img;
	}
	
	h1 {
		margin-top: 0;
	}
	
	footer {
		display: flex;
		flex-flow: column nowrap;
		justify-content: center;
		align-items: center;
	}
	
	#copyright {
		grid-column: 1 / 2;
	}
}

@media (max-width: 768px) {
	#text {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-areas: 'areas' 'content';
	}
	
	#text__content {
		grid-area: content;
		text-align: center;
	}
	
	#text__areas {
		grid-area: 'areas';
		display: flex;
		flex-flow: row wrap;
		justify-content: center;
	}
}