*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
  all: unset;
  display: revert;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
ol,
ul {
  list-style: none;
}
img,
svg {
  max-width: 100%;
}
table {
  border-collapse: collapse;
}
textarea {
  white-space: revert;
}

@font-face {
  font-family: "Canela";
  src: local("Canela Light"), local("Canela-Light"),
    url("../assets/fonts/canela/Canela-Light.otf") format("OpenType");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RT Rondelle";
  src: local("RT Rondelle Extralight"), local("RTRondelle-Extralight"),
    url("../assets/fonts/rt-rondelle/RTRondelle-Extralight.otf")
      format("OpenType");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}
html,
body {
  background: #0d3338;
  border: 0;
  margin: 0;
  font-family: "RT Rondelle";
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
}
.bg-img-container {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  z-index: 1;
  top: 0;
}
.bg-img {
  background: transparent url("../assets/imgs/bg-river-desktop.jpg") center
    center fixed;
  background-size: cover;
  background-blend-mode: darken;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  transition: transform 2s ease;
}

::-webkit-input-placeholder {
  color: #fff;
}
::-moz-placeholder {
  color: #fff;
}
:-ms-input-placeholder {
  color: #fff;
}
:-moz-placeholder {
  color: #fff;
}

h1,
h2,
h3 {
  color: #afd051;
  padding: 0 0 1em 0;
  font-family: "Canela";
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 3.5rem;
}
h3 {
  font-size: 1.6rem;
}

a {
  cursor: pointer;
}

header {
  position: fixed;
  top: 2.5em;
  right: 2em;
  z-index: 6;
  width: auto;
  height: auto;
}
main {
  z-index: 2 !important;
}
header nav {
  font-family: "Canela";
  font-size: 0.9rem;
  padding: 1.5em;
  color: #afd051;
}

header .logo {
  pointer-events: all;
}
header nav ul {
  display: block;
  width: 300px;
  overflow: hidden;
  padding: 0 3em 0 0;
}
header nav li {
  position: relative;
}
header nav li ul {
  display: none;
}
header nav li label {
  font-family: "Canela";
  padding: 1em;
  display: block;
  text-transform: uppercase;
  text-align: right;
  letter-spacing: 4px;
  position: relative;
  transition: color 0.6s ease, margin-right 0.3s ease;
  cursor: pointer;
}
header nav li label:after {
  content: "";
  display: block;
  width: 100px;
  border-top: 1px solid #afd051;
  position: relative;
  top: -10px;
  right: -109%;
  transition: border-color 0.8s ease;
}
header nav li label:hover {
  margin-right: 0.8em;
  color: #dbf298;
}
header nav li label:hover:after {
  border-color: #fff;
}

.nav {
  width: 0px;
  height: 0px;
  overflow: hidden;
  position: absolute;
}
#HomeNav:checked ~ main #Home .down-arrow:after {
  animation: bounce 2s ease infinite;
}

main > section {
  transition: top 0.9s cubic-bezier(0.42, 0, 0, 1.05), opacity 0.9s ease,
    padding 0.6s ease-out;
  opacity: 0;
}
/* 
#AboutNav:checked ~ main > section#About {
  transition-delay: top 0.4s;
  transition-delay: opacity 0.4s;
} */

main #Home {
  opacity: 1;
  padding: 0;
}

#HomeNav:checked ~ header nav label[for="HomeNav"] {
  color: #fff;
  margin-right: 2em;
}
#HomeNav:checked ~ header nav label[for="HomeNav"]:after {
  border-color: #fff;
}
#HomeNav:checked ~ main #BgHome {
  transform: scale3d(5, 5, 1);
  transform: scale3d(1, 1, 1);
  opacity: 1;
}
#HomeNav:checked ~ main #Home {
  top: 0;
  pointer-events: all;
}
#HomeNav:checked ~ header .logo {
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0px);
  width: 250px;
}

#AboutNav:checked ~ header nav label[for="AboutNav"],
#BiographiesNav:checked ~ header nav label[for="BiographiesNav"],
#ContactNav:checked ~ header nav label[for="ContactNav"] {
  color: #fff;
  margin-right: 3em;
}

#AboutNav:checked ~ header nav label[for="AboutNav"]:after,
#BiographiesNav:checked ~ header nav label[for="BiographiesNav"]:after,
#ContactNav:checked ~ header nav label[for="ContactNav"]:after {
  border-color: #fff;
}

#AboutNav:checked ~ main #About {
  opacity: 1;
  pointer-events: all;
}
#AboutNav:checked ~ main #About .content.bg {
  /* transform: scale3d(1, 1, 1); */
}
#BiographiesNav:checked ~ main #Biographies {
  opacity: 1;
  pointer-events: all;
}
#BiographiesNav:checked ~ main #Biographies .content.bg {
  opacity: 1;
  overflow: hidden;
}
#BiographiesNav:checked ~ main #Biographies nav a {
  pointer-events: all;
}
#BiographiesNav:checked ~ main #Biographies nav a label {
  padding-left: 0em;
  opacity: 0.4;
}
#BiographiesNav:checked ~ main #Biographies nav a:nth-child(1) label {
  transition-delay: 0.4s;
}
#BiographiesNav:checked ~ main #Biographies nav a:nth-child(2) label {
  transition-delay: 0.7s;
}
#BiographiesNav:checked ~ main #Biographies nav a:nth-child(3) label {
  transition-delay: 1s;
}
#ContactNav:checked ~ main #Contact {
  opacity: 1;
  pointer-events: all;
}
#ContactNav:checked ~ main #Contact .container {
  transform: translate3d(0, -50%, 0);
}
#ContactNav:checked ~ main #Contact {
  pointer-events: all;
}
#About h2,
#About p,
#Biographies #Content,
#Contact h2,
#ContactDetails li {
  opacity: 0;
  transform: translate3d(0, 100px, 0);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

#ContactDetails li:nth-child(1) {
  transition-delay: 0.5s;
}
#ContactDetails li:nth-child(2) {
  transition-delay: 1s;
}
#ContactDetails li:nth-child(3) {
  transition-delay: 1.5s;
}
#About p {
  transition-delay: 0.4s;
}
#Biographies #Content {
  transition-delay: 1.2s;
}
#AboutNav:checked ~ main #About h2,
#AboutNav:checked ~ main #About p,
#BiographiesNav:checked ~ main #Biographies #Content,
#ContactNav:checked ~ main #Contact h2,
#ContactNav:checked ~ main #Contact #ContactDetails li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#HomeNav:checked ~ main #Home .down-arrow,
#AboutNav:checked ~ main #About .down-arrow,
#BiographiesNav:checked ~ main #Biographies .down-arrow,
#ContactNav:checked ~ main #Contact .up-arrow {
  opacity: 1;
  pointer-events: all;
  touch-action: auto;
  z-index: 10;
}

main {
  width: 100%;
  height: 100%;
  z-index: 2;
  position: relative;
}
.content {
  width: 100%;
  height: 100%;
}
.up-arrow,
.down-arrow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate3d(-50%, 0, 0) scale3d(1, 1, 1);
  background: transparent url("../assets/imgs/green-arrow.svg") center center
    no-repeat scroll;
  width: 50px;
  height: 35px;
  font-size: 0;
  cursor: pointer;
  transition: transform 1.2s ease-in, opacity 0.7s ease-out;
  opacity: 0;
  pointer-events: none;
}
.up-arrow {
  transform: translate3d(-50%, 0, 0) scale3d(1, 1, 1) rotate(180deg);
}
.up-arrow:after,
.down-arrow:after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translate3d(-50%, 0px, 0px) scale3d(1, 1, 1);
  z-index: 9;
  background: transparent url("../assets/imgs/green-arrow.svg") center center
    no-repeat scroll;
  width: 75%;
  height: 84%;
  opacity: 0.7;
}

@media screen and (max-height: 630px) {
  #Home.down-arrow, #Home.up-arrow {
    bottom: calc(50% - 190px) !important;
  }
}

.down-arrow:hover {
  animation: bounceZoom 2s ease infinite;
}
.up-arrow:hover {
  animation: bounceZoomRotated 2s ease infinite;
}
.up-arrow:hover:after,
.down-arrow:hover:after {
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate3d(-50%, 0px, 0px);
  }
  40% {
    transform: translate3d(-50%, -10px, 0px);
  }
  60% {
    transform: translate3d(-50%, 20px, 0px);
  }
}
@keyframes bounceZoom {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate3d(-50%, 0, 0) scale3d(1, 1, 1);
  }
  40% {
    transform: translate3d(-50%, 0, 0) scale3d(1.3, 1.3, 1.3);
  }
  60% {
    transform: translate3d(-50%, 0, 0) scale3d(0.8, 0.8, 0.8);
  }
}
@keyframes bounceZoomRotated {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate3d(-50%, 0, 0) rotate(180deg) scale3d(1, 1, 1);
  }
  40% {
    transform: translate3d(-50%, 0, 0) rotate(180deg) scale3d(1.3, 1.3, 1.3);
  }
  60% {
    transform: translate3d(-50%, 0, 0) rotate(180deg) scale3d(0.8, 0.8, 0.8);
  }
}

.logo {
  display: block;
  position: absolute;
  top: 6.6em;
  left: 9.7em;
  transform: translate3d(-50%, -50%, 0px);
  width: 180px;
  transition: top 0.6s ease, left 0.6s ease, width 0.6s ease;
  position: fixed;
  cursor: pointer;
}

.fullscreen {
  width: 100vw;
  height: 100vh;
  position: relative;
  padding: 0;
  margin: 0;
  background: #0d33386b;
  scroll-snap-align: center;
  position: absolute;
  top: 0;
  pointer-events: none;
  overflow: hidden;
  /* padding-bottom: 4em; */
}
#Home {
  background: transparent;
}
#BgHome {
  background: transparent url("../assets/imgs/bg-cutout.svg") center center
    no-repeat scroll;
  width: 100%;
  height: 100%;
  top: 0;
  background-size: cover;
  transform: scale3d(1, 1, 1);
  transform: scale3d(5, 5, 1);
  transition: transform 0.9s ease-in-out, opacity 0.7s ease-out;
  opacity: 0.3;
}
#ContentBgHolder {
  overflow-y: scroll;
  padding: 3em;
}
#ContentBgHolder .content {
  overflow: hidden;
  overflow-y: scroll;
}

#About,
#Biographies {
  padding: 2em;
  top: 0;
}
#About .container,
#Biographies .container {
  max-width: 1420px;
  margin: 0 auto;
  top: 54%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 2em;
}

.content.bg {
  background-color: rgb(13 51 56 / 56%);
  width: 100%;
  height: 100%;
  position: relative;
  padding: 1em;
}
#Biographies input {
  display: none;
  width: 20px;
  height: 20px;
}

#Biographies .content.bg {
  overflow: visible !important;
}

#Biographies nav {
  display: inline-block;
  width: 25%;
  vertical-align: top;
  padding: 6em 0 0 0;
  padding: 0;
}
#Biographies nav a {
  display: block;
  padding: 0em 0 1em 0;
  font-size: 2.2rem;
  color: #afd051;
  font-family: "Canela" !important;
  position: relative;
}
#Biographies nav a label {
  opacity: 0;
  transition: opacity 0.6s ease, padding 0.4s ease;
  padding-left: 2em;
  word-break: keep-all;
  white-space: nowrap;
  font-size: 1em;
}



#Biographies .avatars {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 150px;
  top: 0;
  max-width: 200px;
  margin-bottom: 1em;
  transition: all 700ms ease-out;
  transition-delay: 300ms;
}

#Biographies .avatars .border {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40vw;
  border-bottom: 1px solid #afd051;
  border-right: 1px solid #afd051;
  height: 100%;
}

#Biographies .avatars .avatar {
  position: absolute;
  top: 0;
  right: 1em;
  height: calc(100% - 1em);
  aspect-ratio: 1/1;
  opacity: 0;
  transition: opacity 700ms ease-out;
}

#Biographies section {
  display: inline-block;
  width: 62%;
  vertical-align: top;
  position: relative;
}



#Biographies #Content article {
  position: absolute;
  top: 30px;
  left: 0px;
  opacity: 0;
  pointer-events: none;
  transition: top 0.6s ease, opacity 0.5s ease;
}
#RichardEvansNav:checked ~ main #Biographies .avatars .avatar-01 {
  opacity: 1;
}

#OliverDaveyNav:checked ~ main #Biographies .avatars .avatar-02 {
  opacity: 1;
}

#SamDouglasNav:checked ~ main #Biographies .avatars .avatar-03 {
  opacity: 1;
}

#SamDouglasNav:checked ~ main #Biographies #Content #SamDouglasContent,
#OliverDaveyNav:checked ~ main #Biographies #Content #OliverDaveyContent,
#RichardEvansNav:checked ~ main #Biographies #Content #RichardEvansContent {
  opacity: 1;
  pointer-events: all;
  top: 0px;
}
#SamDouglasNav:checked ~ main #Biographies nav label[for="SamDouglasNav"],
#OliverDaveyNav:checked ~ main #Biographies nav label[for="OliverDaveyNav"],
#RichardEvansNav:checked ~ main #Biographies nav label[for="RichardEvansNav"] {
  opacity: 1;
}

#Biographies h3 {
  font-family: "Canela" !important;
  color: #fff;
}
#Biographies p {
  letter-spacing: 1px;
  line-height: 1.4;
  font-family: "RT Rondelle" !important;
}

#About h2,
#About p {
  width: 49%;
  display: inline-block;
  vertical-align: top;
}
#About h2 {
  font-size: 2.8rem;
  padding: 0 0em 0 0;
  letter-spacing: 1px;
  font-family: "Canela" !important;
}
#About p {
  padding: 0 0 0 5em;
}

#Contact .left,
#Contact .right {
  height: 100%;
  display: inline-block;
  vertical-align: top;
  position: relative;
}
#Contact .content {
  display: flex;
}
#Contact .container,
#Contact form {
  position: absolute;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  left: 0;
  padding: 2em 4em;
  width: 100%;
  max-width: 610px;
}
#Contact .container {
  left: auto;
  right: 0;
  text-align: right;
  padding-right: 6vw;
  transform: translate3d(0px, 0%, 0px);
  transition: transform 0.9s ease;
  padding-left: 1em;
  padding-top: 0em;
}
#Contact .left {
  width: 33%;
  background: #0d3338;
}
#Contact .right {
  width: 70%;
  background: rgb(13 51 56 / 56%);
}
#Contact #ContactDetails li a {
  padding: 1.2em 3em 1.2em 0.5em;
  display: block;
  transform: scale3d(1, 1, 1);
  transform-origin: right;
  transition: transform 0.6s ease;
}
#Contact #ContactDetails li a:hover {
  transform: scale3d(1.2, 1.2, 1.2);
  transform-origin: right;
}
#Contact .phone {
  background: transparent url("../assets/imgs/icon-contact.svg") right center
    no-repeat scroll;
  background-size: 25px;
}
#Contact .email {
  background: transparent url("../assets/imgs/icon-email.svg") right center
    no-repeat scroll;
  background-size: 28px;
}
#Contact .maps {
  background: transparent url("../assets/imgs/icon-location.svg") right center
    no-repeat scroll;
  background-size: 21px;
}
#Contact form input,
#Contact form textarea {
  display: block;
  border: 1px solid rgb(176 206 100);
  width: 100%;
  margin: 1.5em 0;
  padding: 0.5em 1em;
  color: #fff;
  opacity: 0.6;
  transition: opacity 0.6s ease;
}
#Contact form textarea {
  min-height: 100px;
}
#Contact form input[type="submit"] {
  max-width: 120px;
  text-align: center;
  border: 1px solid rgb(176 206 90 / 23%);
  background: rgb(176 206 90 / 23%);
  margin: 3em 0 1em 0;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.6s ease, background 4s ease;
}
#Contact input:hover,
#Contact textarea:hover {
  opacity: 0.8;
}
#Contact form input[type="submit"]:hover {
  opacity: 1;
  background: rgb(176 206 90 / 50%);
}
#Contact input:focus,
#Contact textarea:focus,
#Contact input:active,
#Contact textarea:active {
  opacity: 1;
}
.for-mobile,
#Contact .contact-mobile {
  display: none;
}

footer {
  position: fixed;
  padding: 0 20px;
  bottom: 3.3em;
  font-size: 0.7em;
  text-align: center;
  width: 100%;
  pointer-events: all;
  opacity: 0.8;
  z-index: 999;
  transition: bottom 300ms ease-out;
  transition: opacity 300ms ease-out;
}

#AboutNav:checked ~ .bg-img-container .bg-img {
  transform: scale3d(1.2, 1.2, 1.2) translate3d(0, 0, 0);
}
#BiographiesNav:checked ~ .bg-img-container .bg-img {
  transform: scale3d(1.3, 1.3, 1.3) translate3d(0, 0, 0);
}
#BiographiesNav:checked ~ #RichardEvansNav:checked ~ .bg-img-container .bg-img {
  transform: scale3d(1.3, 1.3, 1.3) translate3d(-4%, 0, 0);
}
#BiographiesNav:checked ~ #OliverDaveyNav:checked ~ .bg-img-container .bg-img {
  transform: scale3d(1.3, 1.3, 1.3) translate3d(4%, 0, 0);
}
#ContactNav:checked ~ .bg-img-container .bg-img {
  transform: scale3d(1.5, 1.5, 1.5) translate3d(0, 0, 0);
}

@media screen and (max-height: 767px), (max-width: 1920px) {
  #About .container,
  #Biographies .container {
    /* left: 0; */ /* transform: translate3d(0, -40%, 0); */ /* position: relative; */ /* top: 0; */ /* transform: none; */ /* padding-top: 7em; */
  }
}

@media screen and (max-width: 1680px) {
  #About h2 {
    width: 35%;
  }
  #About p {
    width: 45%;
    padding: 0 0 0 2em;
  }
  #Biographies section {
    width: 50vw;
  }
  #ContactNav:checked ~ main #Contact .container,
  #Contact .container,
  #Contact form {
    transform: translate3d(0px, -40%, 0);
  }
}

@media screen and (max-width: 1680px) {
  #Biographies nav a {
    font-size: 1.2em;
  }
  #About h2 {
    font-size: 2em;
  }
  #Contact h2 {
    font-size: 2em;
    font-family: "Canela";
  }
}

@media screen and (max-height: 767px), (max-width: 1280px) {
  .up-arrow,
  .down-arrow {
    bottom: 10%;
  }

  header {
    top: 1em;
  }
  .logo {
    top: 6.6em;
  }
  #About .container {
    position: relative;
    top: 0;
    transform: none;
    padding-top: 7em;
    left: 0;
  }
  #Biographies .container {
    position: relative;
    top: 0;
    transform: none;
    padding: 8em 0 0 0;
    left: 0;
    width: 95%;
  }
  
}

@media screen and (max-width: 1280px), (max-height: 670px) {
  #Biographies p {
    font-size: 0.6em;
  }
  #Biographies h3 {
    font-size: 1em;
  }
  #Biographies nav .avatars {
    height: 120px;
    max-width: 150px;
  }
  #Biographies nav a {
    padding-bottom: 0.3em;
  }
  #Biographies #Content article {
    width: 80%;
  }

  #About .container h2 {
    font-size: 1.5em;
  }
  #About .container p {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 1280px) {

  #About h2,
  #About p {
    display: block;
    width: 100%;
    padding: 1em 0;
  }
  #Biographies h3 {
    max-width: 70%;
  }
  #About h2 {
    max-width: 65vw;
  }
  #Contact h2 {
    font-size: 2.2rem;
  }
  #Contact .container {
    padding: 0 3em 0 0;
  }
  #Contact form {
    padding: 2em 2em;
    max-width: 57%;
  }
}

/* Tablet and below */
@media screen and (max-width: 960px), (max-height: 500px) {
  .for-mobile {
    display: block;
  }
  h2 {
    padding-bottom: 0.3em;
    font-family: "RT Rondelle";
    font-size: 2em;
  }
  h3 {
    font-size: 1rem;
    max-width: 100% !important;
    font-weight: bolder;
  }
  .logo {
    top: 3.5em;
    left: 3.4em;
    width: 140px;
  }
  .logo #Mara #text {
    opacity: 0;
  }

  #HomeNav:checked ~ header .logo {
    top: 50%;
    max-width: 55%;
  }
  #HomeNav:checked ~ header .logo #Mara #text {
    opacity: 1;
  }

  /* Thanks for the menu toggle https://codepen.io/andreykrokhin/pen/mGEqja */
  #NavMenuToggle:checked ~ header {
    background: rgb(13 51 56 / 100%);
  }
  #NavMenuToggle:checked ~ header nav .nav-menu-toggle > span {
    transform: rotate(45deg);
  }
  #NavMenuToggle:checked ~ header nav .nav-menu-toggle > span::before {
    top: 0;
    transform: rotate(0);
  }
  #NavMenuToggle:checked ~ header nav .nav-menu-toggle > span::after {
    top: 0;
    transform: rotate(90deg);
    width: 100%;
  }
  #NavMenuToggle:checked ~ header nav ul {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.6s ease 0.4s;
  }
  .fullscreen {
    pointer-events: none;
    touch-action: none;
    background: rgb(13 56 40 / 65%);
    padding: 6em 0 0 0;
    background: rgb(13 56 40 / 70%);
  }
  .nav-menu-toggle {
    display: flex;
    align-items: center;
    position: fixed;
    top: 2em;
    right: 2.2em;
    width: 30px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
    pointer-events: all;
  }
  .nav-menu-toggle > span,
  .nav-menu-toggle > span::before,
  .nav-menu-toggle > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #afd051;
    transition-duration: 0.25s;
  }
  .nav-menu-toggle > span::before {
    content: "";
    top: -11px;
  }
  .nav-menu-toggle > span::after {
    content: "";
    top: 11px;
    width: 15px;
    right: 0;
  }

  header {
    width: 100%;
    height: 100%;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    background: transparent;
    margin: 0;
    transition: background 0.6s ease;
    pointer-events: none;
  }
  header nav {
    overflow: hidden;
    margin: 1em 2em;
    height: 100%;
    pointer-events: none;
  }
  header nav ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease 0s;
    padding: 0;
  }
  header nav li label {
    text-align: center;
    font-family: "RT Rondelle";
    padding: 1.5em 1em;
  }

  .content.bg {
    padding-top: 7em;
    padding: 0 0 3em 0;
    overflow: scroll;
    transform: none;
    background: none;
  }
  .up-arrow,
  .down-arrow {
    bottom: 10%;
    position: fixed;
    width: 30px;
    height: 30px;
  }
  #Home .down-arrow {
    bottom: 20%;
    position: fixed;
  }
  #Contact form input[type="submit"] {
    width: 90px;
  }
  #Contact h2 {
    font-size: 1.8em;
  }

  #Home #BgHome {
    background-image: url("../assets/imgs/bg-cutout-mobile.svg");
  }

  #About,
  #Biographies {
    padding: 6em 0 0 0;
  }



  #About .container,
  #Biographies .container {
    position: relative;
    transform: translate3d(0px, 0px, 0px);
    left: 0;
    top: 0;
    overflow: hidden;
    height: 100%;
    padding: 0;
  }

  #Biographies {
    padding-top: 4em;
  }
  #Biographies nav .avatars {
    height: 100px;
  }
  #Biographies nav a {
    padding: 0.3em !important;
  }
  
  #Biographies #Content p {
    font-size: 0.55em;
  }
  #Biographies #Content article {
    width: 90%;
  }

  #About .container {
    overflow: scroll;
    margin: 0;
    height: auto;
    top: 0;
    transform: none;
  }

  #About h2,
  #About p {
    display: block;
    width: 100%;
    padding: 0.5em 30px;
    max-width: 630px;
    margin: 0 auto;
    position: relative;
  }

  #Biographies nav,
  #Biographies section {
    width: 100%;
    padding: 0.5em 1.5em;
  }
  #Biographies nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    width: 100% !important;
    max-width: none !important;
  }
  #Biographies nav .avatars {
    margin-left: 0 !important;
  }

  #Biographies section {
    display: block;
    padding-top: 2em;
    margin-bottom: 2em;
    overflow: scroll;
    height: 72%;
  }
  #Biographies section article {
    padding-bottom: 6em;
  }
  #Biographies nav a {
    padding: 0 0 0.9em 0;
    display: block;
    padding: 0.4em 7% 0 0;
    font-family: "RT Rondelle";
  }
  #Biographies #Content {
    width: 100% !important;
  }

  #Biographies nav a:nth-child(3) {
    padding-right: 0;
  }
  #BiographiesNav:checked
    ~ #SamDouglasNav:checked
    ~ main
    #Biographies
    nav
    a[href="#SamDouglasNav"],
  #BiographiesNav:checked
    ~ #OliverDaveyNav:checked
    ~ main
    #Biographies
    nav
    a[href="#OliverDaveyNav"],
  #BiographiesNav:checked
    ~ #RichardEvansNav:checked
    ~ main
    #Biographies
    nav
    a[href="#RichardEvansNav"] {
    position: relative;
  }

  #BiographiesNav:checked
    ~ #SamDouglasNav:checked
    ~ main
    #Biographies
    #Content
    #SamDouglasContent,
  #BiographiesNav:checked
    ~ #OliverDaveyNav:checked
    ~ main
    #Biographies
    #Content
    #OliverDaveyContent,
  #BiographiesNav:checked
    ~ #RichardEvansNav:checked
    ~ main
    #Biographies
    #Content
    #RichardEvansContent {
    position: relative;
  }

  #Contact .content,
  #Contact .left,
  #Contact .right,
  #Contact .container,
  #Contact form,
  #ContactNav:checked ~ main #Contact .container {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    transform: none;
    margin: 0 auto;
  }
  #Contact .container,
  #Contact form {
    max-width: 600px;
  }
  #Contact .left {
    display: none;
  }
  #Contact .right {
    background: none;
  }
  #Contact .content {
    height: 100%;
    overflow: scroll;
  }
  #Contact .phone,
  #Contact .email,
  #Contact .maps {
    background-position: left center;
    background-size: 19px;
  }
  #Contact .maps {
    background-size: 15px;
  }

  #Contact .contact-mobile {
    display: block;
    text-align: left;
  }
  #Contact .contact-mobile .container {
    text-align: left;
    padding: 0 0 4em 1.5em;
  }
  #Contact .contact-mobile .container h2 {
    display: none;
  }
  #ContactNav:checked ~ main #Contact .content .left {
    padding-top: 2em;
  }
  #Contact #ContactDetails li a {
    padding: 1em 1em 1em 2.5em;
  }
  footer {
    bottom: 0.6em;
  }
  #Contact #ContactDetails li a,
  #Contact #ContactDetails li a:hover {
    transform-origin: left;
  }
}

/* Mobile and below */
@media screen and (max-width: 600px) {

  body {
    font-size: 16px;
  }
  .logo {
    top: 3.1em;
    left: 3.2em;
  }
  #About h2 {
    font-size: 1.5em;
    font-family: "RT Rondelle";
    padding-bottom: 2em;
  }
  #About .container {
    top: auto;
    transform: none;
  }
  p {
    line-height: 1.5;
    font-size: 0.8em;
  }
  #BiographiesNav:checked
    ~ #SamDouglasNav:checked
    ~ main
    #Biographies
    nav
    a[href="#SamDouglasNav"],
  #BiographiesNav:checked
    ~ #OliverDaveyNav:checked
    ~ main
    #Biographies
    nav
    a[href="#OliverDaveyNav"],
  #BiographiesNav:checked
    ~ #RichardEvansNav:checked
    ~ main
    #Biographies
    nav
    a[href="#RichardEvansNav"] {
    position: relative;
  }

  #AboutNav:checked ~ .bg-img-container .bg-img {
    transform: scale3d(1.4, 1.4, 1.4) translate3d(0, 0, 0);
  }
  #BiographiesNav:checked ~ .bg-img-container .bg-img {
    transform: scale3d(1.6, 1.6, 1.6) translate3d(0, 0, 0);
  }
  #BiographiesNav:checked
    ~ #RichardEvansNav:checked
    ~ .bg-img-container
    .bg-img {
    transform: scale3d(1.6, 1.6, 1.6) translate3d(-4%, 0, 0);
  }
  #BiographiesNav:checked
    ~ #OliverDaveyNav:checked
    ~ .bg-img-container
    .bg-img {
    transform: scale3d(1.6, 1.6, 1.6) translate3d(4%, 0, 0);
  }
  #ContactNav:checked ~ .bg-img-container .bg-img {
    transform: scale3d(1.7, 1.7, 1.7) translate3d(0, 0, 0);
  }

  #ContactNav:checked ~ footer {
    opacity: 0;
  }
}

@media screen and (orientation: landscape) and (max-width: 400px),
  (max-height: 500px) {
  #Biographies nav {
    display: inline-block;
    max-width: 230px;
    width: 24%;
  }
  #Biographies section {
    display: inline-block;
    width: 75%;
    height: auto;
    padding-top: 0;
  }
}