:root {
	/* COLOURS */
	--background-color:#FFF;
	--header-background-color:#010100;
	--text-color:#010100;
	--header-text-color:#000000;
	
	/* FONT SIZE */
	--font-size: 1.3rem;
	
	/* Typography */
	--font-body: "Source Sans 3", sans-serif;
	--font-heading: "Inter", sans-serif;
	--font-serif: "Times", serif;
	
	/* SPACING */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2rem;
	--space-xl: 4rem;
	--space-xxl: 6rem;
}

/* RESET */		
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
		
p {
	margin: var(--space-md) 0;
}

p:last-of-type {
	margin-bottom: 0;
}

body {
	background:var(--background-color);	
	color:var(--header-text-color);
	font-family:var( --font-body );
	font-size:var(--font-size);
	font-weight:300;
	line-height: 1.3;
	overflow-x: hidden;
	width: 100%;
}
		
h1, h2, h3, h4, h5, h6 {	
	color:var(--text-color);
	font-size:120%;
	font-weight:400;
	line-height: 1.2;
	margin:0 0 1.5rem;
	
	text-transform: uppercase;
}

h1, h2{
	border-bottom:1px solid;	
	font-size:170%;
	padding-bottom:	var(--space-xs);
}

h2{
	margin:1.5rem auto;
}

a{
	color:var(--text-color);
}

hr{
	background:var(--text-color);
	border:none;
	height:1px;
	margin:0 var(--space-xxl);
}

nav{
	align-items:center;
	display:grid;
	grid-template-columns:auto 1fr;
	height:7rem;
	line-height:1;
	padding:0 var(--space-xxl);
	text-transform:uppercase;
}

nav a{
	color:var(--text-color);
	text-decoration:none;
}

.aris{
	font-size:200%;
	letter-spacing:35%;
}

header{
	align-items:center;
	background:linear-gradient(to bottom left,rgba(255,255,255,0.75),rgba(255,255,255,0)),url('../img/aris-header.png');
	background-position:top right,center left;
	background-repeat:no-repeat;
	background-size:100% auto;
	color:var(--text-color);
	display:grid;
	font-size:180%;
	grid-template-columns:1fr 55%;	
	line-height: 1.2;
	min-height:65vh;
	padding:var(--space-xl) var(--space-xxl);
}	

header.castle{
	background:linear-gradient(to bottom left,rgba(255,255,255,0.75),rgba(255,255,255,0)),url('../img/aris-header-castle.png');
	background-position:top right,center left;
	background-size:100% auto;
}

header span{
	font-family: "Mrs Saint Delafield", cursive;
	font-weight: 400;
	font-size:250%;
	font-style: normal;
}
  
menu{
	color:var(--text-color);
	display:flex;
	font-size:85%;
	gap:var(--space-md);	
	justify-content:flex-end;
	line-height:1.2;
	list-style:none;	
}
  
menu li span{
	display:block;
	text-transform:uppercase;
}
  
menu a{
	color:var(--text-color);
	text-align:center;
}
	
section{
	display:grid;				
	gap:6rem;
	grid-template-columns:repeat(auto-fit,minmax(250px,1fr));	
	padding:var(--space-xxl);
}

section.row{
	gap:4rem;
}
	
section.row h2{
	text-align:center;
}
	
section.grid{
	gap:4rem;
	grid-template-columns:1fr 320px;
	row-gap:2rem;
}
	
footer{
	background:var(--text-color);
	color:var(--background-color);	
	font-size:90%;
	padding:var(--space-sm) var(--space-xxl);
}

footer a{
	color:var(--background-color);	
}

img{
	display:block;
	width:100%;
}

ul{
	margin:1.5rem;
}
	
.book-link{
	align-items:center;
	background:#000000;
	border:1px solid;
	color:var(--background-color);
	display:flex;
	justify-content:center;
	line-height:1;
	padding:0.5rem 1rem 0.65rem;	
	text-decoration:none;
	text-transform:uppercase;	
}

.book-link svg{
	width:32px;
}
	
.form-grid{
	display:grid;
	gap:0;
	grid-template-columns:1fr auto;
	margin-top:1.5rem;
}

.form-grid input,
.form-grid button{
	font:inherit;
	padding:0.5rem;
}

.form-grid button{
	font-size:80%;
	padding:0.5rem 1rem;
	text-transform:uppercase;
}

@media (max-width: 1280px) {
	:root {
		--font-size: 1.2rem;
		/* Spacing */
		--space-xs: 0.25rem;
		--space-sm: 0.5rem;
		--space-md: 0.75rem;
		--space-lg: 1rem;
		--space-xl: 2rem;
		--space-xxl: 4rem;
	}
}
  
@media (max-width: 1024px) {
	:root {
		--font-size: 1.2rem;
	}
		
	header{
		grid-template-columns:1fr 65% ;
		font-size:130%;
		min-height:unset;		
	}
	
	section{
		grid-template-columns:1fr;
	}
	
}
  
@media (max-width: 768px) {
	:root {
		
		/* Spacing */
			--space-xs: 0.25rem;
			--space-sm: 0.5rem;
			--space-md: 0.75rem;
			--space-lg: 1rem;
			--space-xl: 2rem;
			--space-xxl: 2rem;
		}
	nav{
	
		grid-template-columns:1fr;
		text-align:center;
}	
	header,header.castle{
		grid-template-columns:1fr 65% ;
		background-size: 100% auto;
		font-size:120%;
	}
	
	footer{
		padding:var(--space-sm) var(--space-xxl);
	}
	
}
  
@media (max-width:650px) {
	
   header,header.castle{
		background:linear-gradient(to bottom left,rgba(255,255,255,0.95),rgba(255,255,255,0)),url('../img/aris-header-small.png');
		background-size:100% auto;
		background-position:top left, top left;
		font-size:115%;
		grid-template-columns:1fr 65% ;
	}
}
	
@media (max-width:600px) {
   :root {
		--font-size: 1.1rem;
	}
	nav{
		height:auto;
		padding:var(--space-sm) var(--space-lg);
		row-gap:1rem;
	}
	.aris{
		font-size:150%;
	}
	header,header.castle{		
		font-size:110%;	
		grid-template-columns:1fr;
		height:auto;
	}
	menu{
	color:var(--text-color);
		gap:1.5rem;
	justify-content:center;
	line-height:1.2;
	list-style:none;	
}
.form-grid{
	display:grid;
	gap:0;
	grid-template-columns:1fr;
	margin-top:1.5rem;
}
}