/*  Top menu bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 7em;
  display: flex;
  align-items: center;
  flex-direction: row;
  overflow: hidden;
  forced-color-adjust: none;
  background-color: white !important;
  z-index: 100;
}

@media (forced-colors: active) {
  .navbar {
    background-color: white !important;
    background: white !important;
  }
}

.navbar .logo {
    padding: 0.7em 0.7em;
    width : auto;
    height: 80%;
    cursor: pointer;
}
.navbar .pat {
    width : auto;
    height: 3em;
}

.navbar a {
  padding: 1.3em 1em;
  text-decoration: none;
  font-size: 1.1em;
  
}
.navbar a:hover, a:hover, .fake-link:hover {
  text-decoration: none;
  color: var(--theme-colour);
  cursor: pointer;
}

.navbar .active {
  color: var(--theme-colour);
}

.navbar .donate {
  text-align: center;
  border: none;
  background: var(--theme-tone2);
  padding: .8em .8em !important;
  border-radius:5px;
  outline: none;
  cursor: pointer;
}

.navbar .menu .donate {
  float: left; 
  margin-left: 20px;
  margin-bottom: 20px;
  text-align: center;
  border: none;
  background: var(--theme-tone2);
  padding: .8em .8em !important;
  border-radius:5px;
  outline: none;
  cursor: pointer;
}


/* popup down menu on small screens */
.navbar .menu {
  margin: 0;
  padding: 0;
  background-color: white;
  position: fixed;
  right:0;
  top: 7em;
  z-index: 100;
  width:100% !important;
  overflow: hidden;
  max-height: 0;
}

.navbar .menu a {
  display: block;
  padding: 20px 20px;
  text-decoration: none;
}

/* menu icon on small screens */
.navbar .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 20px 20px;
  position: relative;
  user-select: none;
}

.navbar .menu-icon .navicon {
  background: #333;
  display: none;
  height: 3px;
  position: relative;
  transition: background .2s ease-out;
  width: 24px;
}

.navbar .menu-icon .navicon:before,
.navbar .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.navbar .menu-icon .navicon:before {
  top: 8px;
}

.navbar .menu-icon .navicon:after {
  top: -8px;
}

/* hidden menu btn to hide/show dropdown menu */
.navbar .menu-btn {
  display: none;
}
/*
.navbar .menu-btn:checked ~ .menu {
  max-height: 100%;
  display: block;
  animation: 1s scroll_down ;   
}*/

.navbar .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.navbar .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.navbar .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* ********************** 48em = 768px **************************/

@media (max-width: 56em) {
  .navbar {
    height: 6em;
  }
 
  .navbar .menu {
    clear: none;
    float: right;
    max-height: none;
    width: fit-content;
    display: none;
    top: 6em;
  }

  .navbar .menu-btn:checked ~ .menu {
    max-height: 100%;
  }

  .navbar .menu-icon .navicon {
    display: block;
  }

  .navbar a {
    display: none;
  }

  .main .img-container {
    padding-top: 6em;
  }
  
  .content-area {
    margin-top: 6em; 
  }

  .people, .reveal {
    font-size: 0.8em;
  }
}


@media (max-width: 42em) {

  .navbar .logo {
    padding: 0.7em 0.3em;
  }
  .navbar .pat {
      width : auto;
      height: 3em;
  }
}


/* Footer sections */
.footer {
  display: flex;
  flex-direction: column;
}

.footer .links {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: var(--theme-tone1);
  padding: 1em 4em;
  padding-top:0;
  
}
.footer .links div:first-child{
    max-width: 20em;
}


.footer .links .heading {
  font-size: 1.1em;
  color: var(--theme-tone3);
  margin-top: 1em;
  margin-bottom: 0.6em;
}

.footer .links .text {
  color: rgb(118, 118, 118);
}

.footer .links .text h2{
  font-size: 1em;
  font-weight: normal;
}

.footer .copyright {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background-color: var(--theme-tone2);
  font-size: 0.8em;
  padding: 1em 2em;
  gap: 0.5em;
}

/* Smooth scrolling IF user doesn't have a preference due to motion sensitivities */
@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}


#cookie-bar {
  display: flex;
  align-items: center;
  flex-direction: row;
	color: #ffffff;
	min-height: 20px;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 999;
	padding:3px 20px 2px;
	background-color: var(--theme-deep-navy);
	text-align: center;
	font-size: 0.8em;
}

#cookie-bar a {
	color: #ffffff;
	text-decoration: underline;
}

button#cookieAccept {
	margin:0.5em;
	background:var(--theme-colour);
	border:none;
	color: #ffffff;
	padding:2px 12px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 1em;
	font-weight: bold;
}


.social-media{
    font-size: 1.5em;
    display: flex;
    flex-wrap: wrap;
    gap:0.5em;
}

.share-link{
    font-size: 0.8em;
}

.social-media svg {
  width:1.3em;
  height: 1.3em;
  fill: var(--text-colour);
}

.social-media svg:hover {
  fill: var(--theme-colour);
}


.back-to-top-wrapper {
  display: block;
  position: fixed;
  right: 0.25rem;
  bottom: 0;
  width: 3em;
  z-index: 99999;
}

.back-to-top-wrapper a {
  width: 3rem;
  height: 3rem;
  background-color: var(--theme-tone2);
  text-align: center;
  border-radius: 10%;
  font-size: 2rem;
  display: inline-block;
  text-decoration: none;
  outline: none;
  overflow: hidden;
  pointer-events: none;
  padding-top:.35em;

  opacity: 0;
  z-index: 100000;
  transition: opacity .4s ease-in-out, background .2s ease-in-out;
}

.back-to-top-wrapper a.active {
  pointer-events: auto;
  opacity: .9;
  transition:opacity .4s ease-in-out, background .2s ease-in-out
}

#under-dev {
  display: flex;
  align-items: center;
	color: #c74141;
	position: absolute;
	left: 0;
	top: 5em;
	width: 100%;
  padding: 2em;
	z-index: 2;
	text-align: center;
	font-size: 1.5em;
}