/* Colour Palette */

:root {
	--deep-red: #800000;
	--bright-red: #a62b2b;
	--box-colours: #c6b5b1;
	--text: #4a4a4a;
	--background: #fff8f9;
	--maroon-black: #2b1000;
}




body {
	font-family: 'Newsreader', sans-serif;
	color: var(--text);
	font-size: 18px;
	line-height: 1.5;
	background-color: var(--background);
	}


/* @keyframes animateleft { from {left:-300px;opacity:0} to{left:0;opacity:1}}
 *//* The @keyframes CSS at-rule controls the intermediate steps in a CSS animation
sequence by defining styles for keyframes (or waypoints) along the animation
sequence. */ 



/* --- Typographical Scales --- */

/* Viewport is the browser window size. 1vw = 1% of viewport width. */
header h1 { /* 64px is 3.333%  of 1920px */
	font-size: 3.333vw;
	color: white;
	margin-bottom: 1rem;
}
header p { /* 40px is 2.083%  of 1920px */
	font-size: 2.083vw;
	color: white;
	font-family: 'League Script';
	margin: 0;
	font-weight: 600;
}

/* .shine {   Call to action color 
	color: #557763;
} */

h1 {
	font-family: 'Bodoni Moda', cursive;
	color: black;
}

h2, h3 {
	line-height: 1;
	margin: 40px 0;
}
h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

p {
	margin-bottom: 1rem;
}

/* layout */

nav {
	background-color: #000000;
	width: 100%;

}

nav ul {
	display: flex;	
	justify-content: right;
	margin: 0;
	gap: 1rem;
	margin-right: 1.5rem;

}

nav li {
	padding: 0.5rem 0;
	list-style-type: none;
	font-size: 1rem;
}

/*  Places the content image in the bg with the headings on top  */
.header-bg-wrap {
  	overflow: hidden;
  	position: relative;
	  background: #2b1000;
	  max-height: 58vh;
}

.header-bg-image {
  	opacity: 0.4;
  	/*The opacity property specifies the opacity/transparency of an element.*/	
  	position: absolute;
  	left: 0;
  	top: 0;
  	width: 100%;
  	height: auto;
	object-fit: cover;
	height: 100%;
	
}

.header-content {
	height: 58vh; /* Roughly 500px of 1080px high screen */
 	position: relative;
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	justify-content: center;
  }

main, .bg-container {
	width: 71%;
	margin: auto;
	padding: 20px;
	}

main {
	padding-top: 20px;
	overflow: hidden;
}

.content {
	margin-left: auto;
 	margin-right: auto;
  	width: 80%;
}

section img {
	border: none;
	-webkit-box-shadow: 3px 3px 7px #777;
	-moz-box-shadow: 3px 3px 7px #777;
}

section {
	
margin-bottom: 5rem;	
	
}

h4 {
	font-weight: bold;
	text-align: center;
	padding: 1rem;
	font-size: 18px;
}



.grey-border {
	border: 1px solid var(--bright-red);
}

section ul {
	border-right: 2px solid #80000080;
}

section ul li {
	margin-top: 2rem;
	list-style: none;
	font-size: 20px;
	padding-left: 2.5rem;
	border-bottom: 1px solid var(--bright-red);
	padding-bottom: 0.5rem;
}

section ul li:last-of-type {
	margin-bottom: 4rem;
}

section ul {
	width: 70%;
	margin: 0 auto;
}

.image-container {
	width: 40%;

}

.about {
	width: 100%;
	background-color: var(--box-colours);
	padding: 6rem;
	color: #000;
}

aside {
	width: 70%;
	margin: 0 auto;
}

.one img {
	height: 102px;
	margin-bottom: 1.5rem;
}

.one p {
	margin-bottom: unset;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
}

.one {
	margin: 3rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;


}

.image {
	width: 30%;
}

.flex {
	display: flex;
	gap: 3rem;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

footer {
	margin-top: 24px;
	background-color: #2b1000;
}

footer ol {
	font-size: 20px;
	text-align: center;
	list-style-type: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 40px 0;
}

footer ol li {
	margin: 10px;
	display: block; 
	/*Makes the li selectable up the to the edge of the margins*/
}

footer a:link, footer a:visited, nav a {
	color:#fff;
	text-decoration: none;
}

footer a:hover, footer a:active, nav:hover {
	color: #f8f2f2;
	text-decoration: underline;
}

.p {
	text-align: center;
	color: rgb(95, 95, 95);
	margin-bottom: unset;
	padding-bottom: 1rem;
}

a {
	color: var(--bright-red);
}

td {
	border: 1px solid var(--bright-red);
	padding: 0.8rem;
}

table {
	width: 100%;
	border-collapse: collapse;
}







/* -- Code for the Cookie Compliance popover window -- */
#cookiePopup {
	background-color: #ffffff;
	position: sticky;
	left: 5%;
	bottom: 0;
	font-size: 14px;
	width: 100%;
	box-shadow: 0 0 2em rgba(5, 0, 31, 0.15);
	font-family: "Poppins", sans-serif;
	text-align: justify;
	line-height: 1.8em;
	margin: 0 auto;
	padding: 2em 1.4em;
	border-radius: 6px;
	transition: all 0.5s ease-in-out;
  
  }


#cookiePopup p {
  text-align: center;
  margin: 1.4em 0;
}
#cookiePopup button {
  background-color: var(--bright-red);
  border: none;
  color: #ffffff;
  font-size: 1.2em;
  padding: 1em 1.4em;
  display: block;
  position: relative;
  margin: auto;
  border-radius: 5px;
  cursor: pointer;
}
#cookiePopup a {
  color: var(--bright-red);
}

.hide {
  display: none;
  
}
.show {
  display: block;
 
}
/* -- End of Code for the Cookie Compliance popover window -- */

@media only screen and  (min-width:900px) {

 h2 {
	font-size: 48px;
}

h3 {
	font-size: 36px;
}

h4 {
	font-size: 24px;
}

.outer-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	}

.inner-container {
	width: 48%;
	}

}


