/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	/* border: 0; */
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
    box-sizing: border-box;
} 
a{
    text-decoration: none;
    color: inherit;
}



/*

FONTS
Header font: Alegreya
Body font: Noto Sans




CONTENTS
1. Base Styles
2. Header
3. Homepage
4.
5.
6.
7.





*/




/*===========My Style Sheet===========*/

/* ===== Base Styles ===== */

/*Colour variables*/
:root {
    --primary-colour-orange: #99512b;
    --primary-colour-green: #414316;
    --accent-colour:#b0c2b6;
    --dark-colour: #373531;
    --light-colour: #E7E2DA;
}



body {
    
    background-color: var(--light-colour);
/*=========typography=========*/
    font-family: "Noto Sans", sans-serif;
    color: var(--dark-colour);
    font-size: 20px;
    line-height: 1.5;
}
h1,
h2,
h3,
h4 {
    font-family:"Alegreya", serif;
    line-height: 1.1;
    color: var(--primary-colour-green);
    text-wrap: balance;
    font-weight: 600;
}
h1{
    font-size: 3.5rem;
}
h2,
h3,
h4{
    font-size: 2rem;
}
/* ======link styling====== */
a:link,
a:visited{
    line-height: 1;
    padding: 0;
    text-decoration: underline;
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.15em;
}
a:hover,
a:active {
    text-underline-offset: 0.25em;
}
a:focus-visible {
  outline: 3px dashed red;
  outline-offset: 3px;
}


header a:link,
header a:visited {
    color: var(--primary-colour-green);
    text-decoration-color: var(--primary-colour-orange);
    font-weight: 600;
}
header a:hover,
header a:active,
header a.active-page {
    color: var(--primary-colour-orange);
}

.home-banner {
    position: sticky;
    top: 0;
    z-index: 50;
}
.banner {
   position: fixed;
   top: 0;
   z-index: 49; 
}


/* =========== Header ============ */
header {

    background-color: #E7E2DAE6;
    border-radius: 50px;
    padding:0.5em 1rem;
    position: sticky;
    top: 2.5rem;/*keeps header away from the top of page*/
    z-index: 51;
    position: fixed;
    width: 80%;
    /* centers horizontally */
    left: 50%;
    transform: translateX(-50%);
}

header img /*logo icon*/{
    display: block;
    height: 60px;
    width:auto;
    padding: 0.2rem;
}


header label/* hamburger */{ 
    float: right;
    height: 60px;
    cursor: pointer;
    padding-right: 5px;
}
#menu {
    display: none;
} 
#menu:checked ~ nav {
    display: flex;
    /* align-items: flex-end; */
    text-align: right;
}

/* === nav layout === */
nav{
    display:none;
    flex-direction: column; 
    margin-top: 1rem;

}

header li {
    padding: 0.5rem;
    line-height: 1.2;
}
/* hides logo from list in mobile view */
header li:nth-of-type(4){
    display: none; 
}









/*=========================HOME PAGE=========================*/
/*hero*/
#hero {
    background-image: url("images/backpacker.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 40%;
    border-radius: 20px;
    padding: 8rem 2rem 2rem;
    margin: 0.8rem;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    line-height: 1;
    font-weight: 500;
    height: fit-content;
}

#hero img{
    filter: drop-shadow(0px 0px 20px #000000);
    max-height: 200px;
    margin: 0.6rem;
    width: auto;
}
#hero address a{
    color: var(--primary-colour-green);
    font-weight: 600;
    background-image: url("images/location-green.svg");
    background-repeat: no-repeat;
    background-position: 0.8em center;
    background-size: 1.5em auto;
    filter: drop-shadow(0px 0px 20px #000000);
    background-color: #E7E2DAE6;
    border-radius: 25px;
    padding: 0.5em 0.5em 0.5em 2.2em;
    text-decoration: none;
    font-size: 1rem;
    
}
#hero p {
    font-family: "Alegreya", serif;
    color: var(--light-colour);
    font-size: 2rem;
    font-weight: 600;
    filter: drop-shadow(0px 0px 20px #000000);
    margin: 1rem 0;
    text-wrap: balance;
    
}




/*========sticky telephone link=========*/
.callemail {
    display: block;
    width: 70px;
    height: 70px;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    --after-content: "Call us";
}
.callemail::after {
    
    content: var(--after-content);
    right: 100%; 
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    position: absolute;
    min-width: fit-content;
    color: var(--primary-colour-green);
    background-color: var(--light-colour);
    padding: 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
    margin-right: 5px;
}
.callemail:hover::after {
    opacity: 1;

}


.callemail img {
    width: 100%;
    height: 100%;
}





/*=====banner=====*/
.banner,
.home-banner {
    background-color: var(--accent-colour);
    color: var(--primary-colour-green);
    padding: 0.5em;
    width: 100%;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2em;
    font-size: 1rem;
}










/*=====intro section=====*/
#intro > img {
    max-width:100%;
    display: block;
    margin: 0 auto;
    height: auto;
    border-radius: 10px;
    border: solid 2.5px var(--primary-colour-orange);
}
#intro {
  position: relative;
  /* isolation: isolate; */
  padding: 0 20px 8rem;
  z-index: 20;
  text-wrap: balance; 
}
#intro > div > p:first-of-type,
.home h1 {
    padding-right: 10%; /* positioning text around illustration */
}
#intro > div > p:nth-of-type(2) {
    padding-right: 20%;
}
#intro > div > p:nth-of-type(3) {
    padding-right: 30%;
}
#intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/compass-green.webp");
  background-position-x: 170%;
  background-position-y: 100%; /* pushes it off the page and into next section */
  background-size: 85% auto;
  background-repeat: no-repeat;
  bottom: -30px;
  z-index: -1; /* allows illustration to sit behind the content but above the following section */
}









/*=====Stock section=====*/
.home section:first-of-type { 
    position: relative;
    z-index: 1; /* allows illustration to overlap */
    background-color: var(--primary-colour-orange);
    padding-top: 5rem;
    padding: 1rem;
    color: var(--light-colour);  

}
.home section:first-of-type h2 {
    color: var(--light-colour);
}
.home section:first-of-type > ul {
    display: flex; /* horizontal view */
    gap: 1.5rem; /* space between items */
    padding: 1rem;
    white-space: nowrap;
    overflow-x: auto;
}

.home section:first-of-type > ul > li {
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    font-weight: 500;
    font-size: 1.5rem;
}
.home section:first-of-type > ul > li > img {
    width: 200px;
    height: auto;

}

.home section:first-of-type > img {
    width: 2rem;
    float: right;
    margin-top: -1rem;
}
.home > section:first-of-type > p > a{
    font-size: 1.3rem;
}








/*=====brands section=====*/
.home section:nth-of-type(2) {
    padding: 15px;
    margin-top: 2rem;
    font-weight: 500;
    font-size: 1.5rem;
}
.home section:nth-of-type(2) h2,
.home section:nth-of-type(2) p
{
    color: var(--primary-colour-green);
   
}
.home section:nth-of-type(2) > ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    row-gap: 1rem;
    max-width: 100%;
    margin-top: 1rem;
}
.home section:nth-of-type(2) img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 4px 8px #00000080);

}
.home section:nth-of-type(2) > ul > li {
    text-align: center;
}







/*=========================FOOTER=========================*/
footer::before {
  height: 60%;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #414316;
  z-index: -1;
}

footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(7, auto);
    gap: 0.2rem;
    background-image: url("images/footer-bg-mobile.webp");
    background-repeat : no-repeat;
    background-size: 120% auto;
    background-position-y: bottom;
    padding: 15rem 1rem 1rem;
    text-align: center;
    color: var(--light-colour);
    font-size: 0.9rem;
    position: relative;
}
/* footer * {
    background-color: #414316;
} */
footer h2{
    align-self: end; /* aligns at base */
    font-size: 2rem; 
    color: var(--light-colour);
    font-weight: 600;
}
.address > h2 > a,
.contact > h2 > a{
    text-decoration: none ;
}
footer > a,
footer address a {
    min-height: 30px;
    display: inline-block;
}
footer > a:link {
    font-size: 0.9rem;
    font-weight: 500;
}
footer h2:first-of-type,
footer h2:nth-of-type(2) {
    grid-row: 1;
    margin: 0;
}
footer h2:nth-of-type(3) {
    grid-row: 3;
    grid-column: 1 / span 2;
}
.address { 
    grid-column: 1;
    grid-row: 2; 
    
    }
.hours { 
    grid-column: 2; 
    grid-row: 2; 
}
.contact   { 
    grid-column: 1 / span 2; 
    grid-row: 4; 
}

.today {
    border: 2px solid var(--light-colour);
    margin: 0.5em 0 0.2em;
    border-radius: 10px;
}

/* logo */
footer img { 
    max-width: 100%;
    height: auto;
    grid-row: 5;
    grid-column: 1 / span 2;
    margin: 0 auto;
    padding: 0.5rem;
}
footer > p:first-of-type {
    font-size: 0.8rem;
    grid-column: 1 / span 2;
    grid-row: 6;

}
footer > a:link:first-of-type {
    font-size: 1rem;
    grid-column: 1 / span 3;
    grid-row: 7;
    color: var(--accent-colour);
    text-decoration: underline;
    text-align: center;
}
footer a:visited {
    color: var(--light-colour);
}
footer > a:link:nth-of-type(2) {
    grid-column: 1 / span 3;
    grid-row: 8;
}
footer > a:link:nth-of-type(3) {
    grid-column: 1 / span 3;
    grid-row: 9;
}





/*=========================FIND US PAGE=========================*/
iframe { /* map */
    display: block;
    margin: 2rem auto;
    height:auto;
    aspect-ratio: 16 / 9;
    min-width: 60%;
    max-width: 90%;
    border: solid 2.5px var(--primary-colour-orange);
    border-radius: 10px;
}
.find-us {
    margin-top: 8rem;
}
.find-us h2,
.find-us h1,
.find-us ul li,
.find-us > p:first-of-type,
.find-us div p,
.find-us div address{
    text-align: center;
}
.find-us > *:not(.banner):not(img):not(ul li):not(iframe) {
    margin-left: 2rem;
    margin-right: 2rem;
}

/* transport */
.find-us ul li{
    background-repeat: no-repeat;
    background-size: 4rem;
    background-position: top center;  
    padding-top: 4rem;
    padding-bottom: 1rem;
    text-wrap: balance;
    line-height: 1.2;
}
.find-us ul li:first-of-type {
    background-image: url("images/train.svg");    
}
.find-us ul li:nth-of-type(2) {
    background-image: url("images/bus.svg");  
}
.find-us ul li:nth-of-type(3) {
    background-image: url("images/car.svg");
}




.find-us img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    border: solid 2.5px var(--primary-colour-orange);
    display: block;
    margin: 0 auto 0.5rem;
}
.find-us  img + h2 + address,
.find-us  img + h2 + p {
    margin-bottom: 1rem;
}
.find-us  img + h2 + p {
    padding: 0 4rem;
}
.find-us div {
    margin-top: 4em;
    margin-bottom: 4em;
}

.find-us > div > img:nth-child(4) {
    margin-top: 2em;
}









/*=========================GET IN TOUCH PAGE=========================*/
.get-in-touch {
    background-image: url("images/stamp-trees.webp");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 50%;
    margin: 8rem 1rem 0rem;
    padding: 1rem;
    border: 20px solid transparent;
    border-image: url("images/postcard-tp-mobile-long.webp") 40 stretch;
}
.get-in-touch form {
    max-width: 600px;
    margin: 2rem auto;
    display: grid;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: solid 2.5px var(--primary-colour-orange);
}
.get-in-touch h1 {
    width: 60%;
}











/*=========================EVENTS PAGE=========================*/
.events {
    margin: 8rem 1rem 0rem;
}
.events h1 {
    text-align: center;
}
.events > h3,
.events form h3 {
    color: var(--primary-colour-orange);
}
.events img {
    max-width: 50%;
    height: auto;
    margin: 0 auto;
    border: solid 1px var(--primary-colour-green);
}
.events article { 
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: solid 2px var(--primary-colour-green);
    border-radius: 10px;   
}
.events article:first-of-type {
    border: solid 5px var(--primary-colour-green);
    margin-bottom: 2rem;
}
.events article h3 {
    color: var(--primary-colour-orange);
    font-size: 3rem;
}
.events article h4 {
    color: var(--primary-colour-green);
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}
.events article h4 + h4 {
    padding-bottom: 1rem;
}
.events article:last-of-type {
    margin-bottom: 2rem;
}
.story {
    margin-top: 8rem;
    position: relative;  
}
.story::before {
    background-image: url(images/footsteps-40.svg);
    background-repeat: no-repeat;
    background-size: 150vw;   
    background-position: 50%;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.story img {
    border: solid 2px var(--primary-colour-orange);
    border-radius: 10px;
}
.story h1 {
    text-align: center;
}
.story h3,
.story h2{
    color: var(--primary-colour-orange);
    background-color: #E7E2DACC;
}
.story section:first-of-type {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-column-gap: 1rem;
}
.story section:first-of-type img {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
}
.story section:first-of-type h2 {
    font-size: 2rem;
    font-weight: 600;
    align-self: end;
}
.story section:first-of-type h2, p {
    grid-column: 2;
}
.story p {
    line-height: 1.2;
    font-size: 1rem;
    background-color: #E7E2DACC;
}
.story section:nth-of-type(2) img,
.story section:last-of-type img {
    max-width: 80%;
    margin: 0 auto;
    display: block;   
}
.story section:nth-of-type(3) {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: auto auto auto;
    grid-column-gap: 1rem;
}
.story section:nth-of-type(3) img:last-of-type {
    grid-column: 1;
    grid-row: 1 / span 3;
}
.story section:nth-of-type(3) img:first-of-type,
.story section:nth-of-type(3) h3,
.story section:nth-of-type(3) p {
    grid-column: 2;
}

.story section {
    margin: 3rem 1.5rem 0rem 1.5rem;
}

.story img {
    max-width: 100%;
    height: auto;

}
.story section:last-of-type img {
    margin-top: 2rem;

}



/* =========ACCESSIBILITY STATEMENT=========== */
.access {
    margin: 10rem auto 1rem;
    padding: 1rem 10%;
}
.access h1 {
    text-align: center;
    padding-bottom: 1rem;
}

/*======================404======================*/
.error {
    margin: 8rem auto 5rem;
    position: relative;
    text-align: center;
    padding-bottom: 5rem;
}
.error h1  { /*hide*/
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.error img {
    width: 100%;
    height: auto;
    z-index: 1;
    position: relative;
}
.error p,
.error a {
    text-align: center;
    background-color: #E7E2DAE6;
    color: var(--dark-colour);
    border-radius: 20px;
    z-index: 2;
    position: relative;
}
.error p {
    font-family:"Alegreya", serif;
    font-size: 1.5rem;
    font-weight: 500;
    
}
.error a {
    
}












/* =========MEDIA QUERIES=========== */
@media (min-width: 500px) {
#hero address {
    background-size: 1.1em auto;
    background-position: 0.4em center;
    margin: 1em;
}
#hero p{
    font-size: 2.8rem;
    line-height: 1.2;
    }

.banner,
.home-banner {
    padding: 0.5rem;
    font-size: 1rem;
}
footer {
    background-size: 100% auto;
    padding-top: 22rem; 
    
}
.story section {
    margin: 3rem 4rem 0rem 4rem;
}

}
@media (min-width: 600px) {
    #hero {
        background-image: url("images/campfire.webp");
        padding-top: 10rem;
        margin: 1.5rem;
     }
header {
    top: 3.5rem;
}

#hero address a{
    padding-left: 2.5em;
    font-size: 1.2rem;
}
    .home section:nth-of-type(2) > ul {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr); 
    row-gap: 2rem;
    margin: 1rem;
}
.address { 
    grid-column: 1;
     grid-row: 2; 
    }
.hours { 
    grid-column: 2; 
    grid-row: 2; 
}
.contact   { 
    grid-column: 3; 
    grid-row: 2; 
}

footer h4:first-of-type 
{
    grid-row: 1;
    grid-column: 1;
}
footer h4:nth-of-type(2){
    grid-row: 1;
    grid-column: 2;
}
footer h4:nth-of-type(3) {
  grid-row: 1;
  grid-column: 3;
}
footer img
{
    grid-column: 1 / span 3;
    grid-row: 3;
}
footer > p:first-of-type {
    grid-column: 1 / span 3;
    grid-row: 4;
} 
footer > a:first-of-type {
    grid-column: 1 / span 3;
    grid-row: 5;
} 
footer > a:nth-of-type(2) {
    grid-column: 1 / span 3;
    grid-row: 6;
} 
footer > a:nth-of-type(3) {
    grid-column: 1 / span 3;
    grid-row: 7;
} 
footer {
    background-image: url("images/footer-bg.webp");
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    background-size: 107%;
    padding-top: 21rem;
    background-position: bottom;
}




.banner,
.home-banner {
    font-size: 1.2rem;

}


/*====find us page====*/
.find-us section,
.find-us ul {
    margin-top: 2rem;
}
.find-us ul {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.find-us ul * {
    flex: 1;
}
.find-us div {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr 1fr 1fr 0.5fr;
    grid-template-rows: repeat(5, auto);
    column-gap: 1rem;
}
.find-us div img {
    max-width: 90%;
}
.find-us div img:first-of-type {
    grid-column: 1 / span 3;
    grid-row: 1 / span 3;
}
.find-us div img:nth-of-type(2) {
    grid-column: 4 / span 3;
    grid-row: 3 / span 3;
}
.find-us div h2:first-of-type {
    grid-column: 4 / span 2;
    grid-row: 1;
}
.find-us div h2:nth-of-type(2) {
    grid-column: 2 / span 2;
    grid-row: 4;
}
.find-us div address {
    grid-column: 4 / span 2;
    grid-row: 2;
    margin-bottom: 2rem;
}
.find-us div p {
    grid-column: 2 / span 2;
    grid-row: 5;
}
.find-us div h2:first-of-type,
.find-us div address {
    text-align: left;
}
.find-us div h2:nth-of-type(2),
.find-us div p {
    text-align: right;
}
.find-us > p:last-of-type {
    margin-bottom: 4rem;
}
.find-us iframe {
    max-width: 50%;
}
.find-us  img + h2 + p {
    padding: 0rem;
}
.events article {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;

}
.events img {
    width: 200px;
}



.error img {
    margin-top: -6rem;
}

.error p,
.error a {
    margin-top: -8rem;
}

}


@media (min-width: 800px) {
    h2 {
        font-size: 3rem;
    }

     /* #hero {
        background-image: url("images/campfire.webp");
        padding-top: 10rem;
        margin: 1.5rem;
     } */
     #hero address {
        margin: 0.7rem;
     }
     #hero > img {
        max-height: 300px;
     }
     header label/* hamburger */{ 
    display: none;
    }
    footer {
        background-position-y: 35%;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, auto);
    }
    nav {
        display: flex;
        text-align: center;
        font-size: 1.8rem;
    }
    header li:nth-of-type(4){
        display: flex;
    }
    header li:first-of-type{
        display: none;
    }
    header li{
        padding: 0;
    }
    header > a > img{
        display: none;
    }

    nav ul{
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        justify-items: center;
        align-items: center;
    
    }
    header{
        padding: 0rem 1.5rem 0.8rem ;
        margin-bottom: 1.5rem;
        width: 90%;
    }


    footer {
        font-size: 1rem;
    }



    .banner,
    .home-banner {
        font-size: 1.5rem;
            margin-bottom: 2rem;
        
    }
    #intro {
        max-width: 100vw;

    }

    #intro::before {
        background-position-x: 110%;
    background-position-y: 100%;
    background-size: 50% auto;
    }

    .home section:first-of-type > ul > li > img {
        width: 300px;
    }
    .home section:first-of-type > ul {
    gap: 2.5rem; 
    padding: 2rem;
    }
    .home section:first-of-type {
        padding: 2.5rem;
    }
    .find-us div p,
    .find-us div address {
        font-size: 2rem;
    }
    .find-us section:first-of-type {
        gap: 10rem;
    }


    .get-in-touch {
        background-image: url("images/postcard.webp");
        background-position: right top;
        background-size: contain;
        border-image: url("images/postcard-tp.webp") 40 stretch;

        display: grid;
        grid-template-columns:1fr 1fr;
        grid-template-rows: 0.5fr 1fr 2fr 2fr 2fr;
        column-gap: 1.5rem;
        margin: 10rem 3rem 2rem;
    }
    .get-in-touch h1 {
        grid-column: 1 / span 2;
        text-align: center;
        width: 100%;
    }
    /* .get-in-touch h1, */
    .get-in-touch h2,
    .get-in-touch a,
    .get-in-touch p {
        grid-column: 1;
        width: 100%;

    }
    .get-in-touch form {
    grid-column: 2; 
    grid-row: 2 / span 4;
    width: 50%;
    padding-left: 4rem;
    margin: 2rem 0;
        border-top: none;
    border-left: solid 2.5px var(--primary-colour-orange);
    /* padding-top: 10rem; */
    }
    .get-in-touch h2 {
        align-self: start;
        text-align: right;
        padding-right: 2rem;
    }
    .get-in-touch a {
        align-self: center;
        text-align: right;
        padding-right: 2rem;
    }
    .get-in-touch p {
        align-self: center;
        text-align: right;
        padding-right: 2rem;
    }
    .get-in-touch p + a,
    .get-in-touch a + a {
        align-self: end;
    }
    .get-in-touch a + a {
        padding-right: 7rem;
    }
    .get-in-touch h2:first-of-type,
    .get-in-touch a:first-of-type {
        grid-row: 3;
    }
    .get-in-touch h2:nth-of-type(2),
    .get-in-touch a:nth-of-type(2) {
        grid-row: 4;
    }
    .get-in-touch h2:nth-of-type(3),
    .get-in-touch p,
    .get-in-touch a:nth-of-type(3),
    .get-in-touch a:nth-of-type(4){
        grid-row: 5;
    }
    .find-us,
    .events,
    .story {
        margin-top: 10rem;
}


.story {
    display: inline-block;
    
}
.story section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin: 4rem;
}
.story section:first-of-type {
    margin-left: 10%;
    margin-right: 10%;
    grid-template-columns: repeat(10, 1fr);
}

.story section:first-of-type img {
    grid-column: 1 / span 4;
    width: 100%;
    height: auto;
    max-width: 350px;

}
.story section:first-of-type h2,
.story section:first-of-type p {
    grid-column: 5 / span 6;
}
.story section:nth-of-type(2) h3,
.story section:nth-of-type(2) p {
    grid-column: 1 / span 6;
}
.story section:nth-of-type(2) h3 {
    grid-row: 1;
    align-self: end;
}
.story section:nth-of-type(2) p {
    grid-row: 2;
}
.story section:nth-of-type(2) img {
    grid-column: 7 / span 6;
    grid-row: 1 / span 2;
}

.story section:first-of-type h2 {
    font-size: 3.5rem;
    align-self: end;
}
.story p {
    font-size: 1.2rem;
}
.story section:nth-of-type(3) {
    grid-template-columns: 1fr 2fr;
    min-width: 0;
}
.story section:nth-of-type(3) img:last-of-type {
    grid-column: 1;
    max-width: 80%;
    margin-bottom: 8rem;
    margin-left: auto;
}
.story section:nth-of-type(3) img:first-of-type {
    grid-column: 2;
    grid-row: 3;
    max-width: 60%;
   min-width: 0;
   justify-self: left;
   align-self: start;
}

.story section:nth-of-type(3) p {
    grid-column: 2;
    grid-row: 2;
    max-width: 80%;
    
}
.story section:nth-of-type(3) h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
}
.story section:last-of-type {
    display: inline-block;
    margin-left: 10%;
    margin-right: 10%;
}
}



@media (min-width: 1000px) {

#intro > img {
    max-width: 90%;
    margin: 0;
    justify-self: end;
    grid-column: 1;
    grid-row: 1 / span  4;

}
#intro::before {
    background-position-x: 110%;
  background-position-y: 102%;
  background-size: 50% auto;
}
#intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;

}
#intro > div {
    grid-column: 2;
}
#intro > div > p {
    grid-column: 2;
    width: 90%;
}
.home section:first-of-type > ul > li > img {
    width: 400px;
}
#hero address {
    font-size: 1.5rem;
}
footer {
    background-size: 100%;
    padding-top: 25rem;
    background-position-y: 15%;
} 
.home section:nth-of-type(2) > ul {
    margin: 3.5rem;
}

.story section:first-of-type {
    margin-left: 20%;
    margin-right: 20%;
}
.story section:nth-of-type(3) {
    margin-left: 10%;
    margin-right: 10%;
}

.events img {
    max-width: 20%;
  }

.error img {
    margin-top: -8rem;
}
.error p,
.error a {
    margin-top: -12rem;
}

}

@media (min-width: 1200px) {
.error img {
    margin-top: -12rem;
}
.error p,
.error a {
    margin-top: -18rem;
}   
}
