:root {
  --brandcolour: #527bbe;
  --headcolour: black;
  --headbackgroundcolour:rgb(255,255,255,0.9);
  --textcolour: rgb(100, 100, 100);
  --secondarycolour: #666;
  --backgroundcolour: #fff;
  --footerbackgroundcolour: #040404;
  --footertextcolour: #fcfcfc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Mulish", sans-serif;
  color: #333;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

.header-content NAV {
  margin-right: 1em;
  display: block;
  margin-top: 6px;
}
NAV A {
  display:inline-block;
  height: 28px;
}
.icons {
  display: block;
  margin-right: 2em;
}
.icons A:last-child {
  margin-left: 0.5em;
}
.icon {
  height: 28px;
  margin-left: 12px;
}
#home-icon {
  opacity: 0;
}

.paper-background {
  /* background-image: url('img/paper-background.png'); */

  /* background-size: cover;
    background-attachment: fixed; */
}

#background-video,
#computerroom3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: -1;
}
#computerroom3d {
  opacity: 0.2;
}

body.scrollable {
  overflow-y: auto;
  height: auto;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content h1 {
  position: static;
  font-size: 24px;
  font-weight: normal;
  font-weight: 600;
  margin: 0;
}

.header-content h1 a {
  text-decoration: none;

  color: var(--brandcolour);
}

h1 {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 24px;
  font-weight: bold;
  z-index: 1000;
}

H2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-name {
  color: silver;
  font-weight: normal;
}

#hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgb(255,255,255,0.5);
}

.typewriter {
  line-height: 48px;
}
#retype {
  color: var(--brandcolour);
  font-weight: 400;
}
#hero table {
  font-size: 32px;
  border-collapse: collapse;
}

#hero table td {
  height: 2em;
}

#hero table td:first-child {
  text-align: right;
  padding-right: 12px;
  color: var(--brandcolour);
  width: 180px;
  
}

#hero table td:last-child {
  color: black;
  font-weight: bold;
  width: 480px;
  
}

.cols-intro H3 {
  font-size: 32px;
  line-height: 48px;
  text-transform: uppercase;
}

A {
  color: var(--headcolour);
  text-decoration-color: var(--brandcolour);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:focus, button:focus, [tabindex]:focus {
  outline: 2px solid var(--brandcolour);
  border-radius: 3px;
}

A.page-link {
  color: var(--textcolour);

  transition: background-size 0.5s;
}

a[target="_blank"]::after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
  margin: 0px 2px 0px 4px;
  opacity: 0.5;
  vertical-align: text-top;
}

#hero a {
  /* text-decoration: none; */
  color: var(--headcolour);
}
.silver {
  color: var(--brandcolour);
  font-weight: normal;
}
.cursor {
  display: inline-block;
  width: 0.6em;
  height: 0.8em;
  background-color: var(--brandcolour);
  margin-left: 2px;
  animation: blink 0.7s infinite;
  opacity: 0.5;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.logo-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--brandcolour);
}

.logo-ticker-wrapper {
  display: flex;
  animation: scroll 45s linear infinite;
  will-change: transform;
}

.logo-track {
  display: flex;
  gap: 60px;
  padding-right: 60px;
}

.logo-track img {
  height: 80px;
  max-width: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition:
    opacity 0.3s,
    filter 0.3s;
  flex-shrink: 0;
}

.logo-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* .copy-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    padding: 0 20px;
    padding-top: 20vh;
} */

.cols-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

.cols {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.cols .copy {
  padding-top: 2em;
}

.cols-graphic {
  flex-shrink: 0;
  width: 30vh;
  margin-left: auto;
  margin-right: auto;
}

.cols-graphic img {
  height: 30vh;
  width: auto;
  display: block;
}

.copy {
  flex: 1;
}

.copy P {
  padding-top: 1em;
}

.copy h3 {
  margin-bottom: 10px;
  font-size: 24px;
  text-transform: uppercase;
}

.copy p {
  margin: 0;
  font-size: 1.2em;
  line-height: 1.6em;
  color: var(--textcolour);
}

#lifecycleDiagram {
  background-image: url(img/lifecycleInner.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.lifecycleAnimation {
  -webkit-animation: lifecycleRotation 60s infinite linear;
  -moz-animation: lifecycleRotation 60s infinite linear;
  animation: lifecycleRotation 60s infinite linear;
}

@-webkit-keyframes lifecycleRotation {
  0% {
    -webkit-transform: rotate(10deg);
  }

  100% {
    -webkit-transform: rotate(370deg);
  }
}

@-moz-keyframes lifecycleRotation {
  0% {
    -moz-transform: rotate(370deg);
  }

  100% {
    -moz-transform: rotate(10deg);
  }
}

@keyframes lifecycleRotation {
  0% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(370deg);
  }
}

.scroll-container {
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  position: absolute;

  top: 0;
  left: 0;

  /* overflow-y: scroll;
    height: 100vh; */
}

SECTION {
  height: 100vh;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  position: relative;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  min-width: 700px;
  max-width: 800px;

  /* font-size: 1em; */
  /* border: 1px solid black; */
}

#footer {
  /* margin-top: 30vh; */
  height: auto;
  scroll-snap-stop: normal;
  max-width: 100%;
  width: 100%;
  background-color: var(--footerbackgroundcolour);
  opacity: 0.6;
  color: var(--footertextcolour);
  /* padding: 10vw; */
  border-top: 1px solid var(--brandcolour);
  display: flex;
  flex-direction: row;
  vertical-align: top;
  justify-content: space-around;
  padding-left: 3vw;
  padding-right: 3vw;
  padding-top: 3vh;
  padding-bottom: 4vh;
  align-items: start;
}
#footer DIV {
  font-size: smaller;
  padding: 3vw;
  width: 30vw;
}
#footer H3 {
  margin-bottom: 1em;
}
#footer A {
  color: var(--footertextcolour);
  text-decoration-color: var(--footertextcolour);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
#attribution-footer A {
  /* color: var(--textcolour);
  text-decoration-color: var(--textcolour); */
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

#smileyface-container {
  min-height: 180px;
  max-height: 280px;
}
#smileyface {
  /* width: 180px; */
}
#smileyface-lefteye {
  position: absolute;
  top: 7vh;
  margin-left: 6vh;
  width: 6vh;
  height: 9vh;
  background: var(--brandcolour);
  border-radius: 6vh / 9vh;
}
#smileyface-righteye {
  position: absolute;
  top: 7vh;
  margin-left: 19vh;
  width: 6vh;
  height: 9vh;
  background: var(--brandcolour);
  border-radius: 6vh / 9vh;
}
#smileyface-leftpupil {
  position: absolute;
  top: 10vh;
  margin-left: 7vh;
  width: 3vh;
  height: 3vh;
  background: var(--backgroundcolour);
  border-radius: 3vh / 3vh;
}
#smileyface-rightpupil {
  position: absolute;
  top: 10vh;
  margin-left: 20vh;
  width: 3vh;
  height: 3vh;
  background: var(--backgroundcolour);
  border-radius: 3vh / 3vh;
}
.blink {
  animation: blinkAnimation 0.3s forwards;
}

@keyframes blinkAnimation {
  0% {
    height: 8vh;
  }
  50% {
    height: 1vh;
    margin-top: 6vh;
  }
  100% {
    height: 8vh;
  }
}

.middle {
  position: relative;
  display: block;
  top: 50%;
  transform: translateY(-50%);
}

#scrolldown-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  color: var(--brandcolour);
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.animate-fadeInOut {
  -webkit-animation: fadeInOut 5s infinite;
  -moz-animation: fadeInOut 5s infinite;
  -o-animation: fadeInOut 5s infinite;
  animation: fadeInOut 5s infinite;
}

@-webkit-keyframes fadeInOut {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.2;
  }
}

.error-message {
  font-weight: 400;
  margin-top: 1em;
}

.cases {
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  padding-top: 56px;
}
.cases H3 {
  width: 100%;
  line-height: 0.1em;
  border-bottom: 1px solid var(--brandcolour);
  margin-top: 2vh;
}
.cases H3 SPAN {
  position: relative;
  background-color: var(--backgroundcolour);
  padding: 0px 10px 0px 0px;
  font-size: 0.8em;
  z-index: 10;
}
.cases A {
  padding-top: 5vh;
  text-decoration: none;

  -webkit-transition: all 300ms ease-out;
  -moz-transition: all 300ms ease-out;
  -o-transition: all 300ms ease-out;
  transition: all 300ms ease-out;
  cursor: pointer;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  filter: grayscale(100%);
}
.cases A:hover {
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  filter: grayscale(0%);
  transform: scale(1.05);
}
.cases A IMG {
  vertical-align: middle;
  align-items: center;
  max-height: 60px;
  max-width: 120px;
  padding-left: 1em;
  margin: auto;
  object-fit: contain;
}
.cases A SPAN {
  padding-left: 1em;
  display: inline-block;
  text-align: center;
  justify-content: center;
  text-transform: uppercase;
  color: var(--textcolour);
  font-size: 1em;
}
.case .logo {
  max-height: 12vh;
  margin-bottom: 4vh;
}
.case H2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 0px;
}
.subtitle {
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 0px;
  color: var(--secondarycolour);
}
.capabilities {
  margin-top: 1em;
}
.capabilities > span {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brandcolour);
  margin-top: 6px;
  margin-bottom: 0px;
  display: inline-block;
  margin-right: 13px;
}
.capabilities > span:before {
  content: "\2713";
  display: inline-block;
  color: var(--brandcolour);
  padding: 0 5px 0 0;
}
.illustration {
  /* width: 100%; */
  display: block;
  /* height: auto; */
  /* max-height: 540px; */
  max-width: 540px;
  object-fit: contain;
  /* margin: 1em auto auto 1em; */
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  /* border-radius: 5px;
  padding: 2em; */
  align-content: center;
}
.email-illustration {
  max-width: 200px;
  vertical-align: text-bottom;
}
.illustration.border {
  /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
}
.illustration.right {
  float: right;
  margin: 2em;
  max-width: 50%;
}

BLOCKQUOTE {
  /* border: 1px solid; */
  padding-top: 2em;
  border-radius: 5px;
  background-color: var(--backgroundcolour);
  font-family: "Nothing You Could Do", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2em;
  line-height: 1.6em;
  border-color: var(--brandcolour);
  color: var(--brandcolour);
  margin-top: 1em;
  margin-bottom: 0px;
  letter-spacing: 0.02em;
  margin-right: 0px;
  margin-left: 5%;
  text-align: left;
}

CITE {
  margin: 0px 40px 0px 30px;
  background-color: var(--backgroundcolour);
  font-family: "Mulish", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.9em;
  line-height: 1.2em;
  color: var(--brandcolour);
  display: block;
  margin-top: 0.5em;
  padding: 1em;
  /* border: 1px solid; */
  border-color: var(--brandcolour);
  border-top: 0px;
  /* background-color: #FFFAE8; */
  margin-top: -4px;
  margin-left: 10%;
  border-radius: 5px 0px 5px 5px;
}

SECTION.case,
SECTION.terms {
  margin-top: 13vh;
  margin-bottom: 20vh;
  height: auto;
}
SECTION H2 {
  margin-bottom: 12px;
}

.case .copy {
  padding-top: 1em;
}
.case H2 {
  padding-top: 12px;
}

/* SECTION.terms > ol > li > ol > li  {
    list-style-type: lower-alpha;
} */

ol {
  padding-bottom: 1em;
}
SECTION.terms > ol {
  padding-top: 1em;
}
li {
  margin-left: 1em;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}

@media screen and (max-width: 480px) {
  HEADER {
    padding: 15px;
    background-color: var(--headbackgroundcolour);
  }
  .header-content h1 {
    font-size: 20px;
  }
  .icon {
    height: 22px;
  }
  .header-content NAV {
    margin-right: 0px;
  }
  .page-name {
    font-size: 0.7em;
  }
  #hero table {
    font-size: 20px;
    margin-top: -9vh;
    width: 100%;
  }
  #hero table td:first-child {
    padding-right: 12px;
    width: 120px;
    white-space: nowrap;
  }
  #hero table td:last-child {
    width: 300px;

  }
  
  .digital-hero #hero table td:first-child, .deliver-hero #hero table td:first-child {
    width: 100px;
    font-size: 17px;
    white-space: nowrap;
  }
  .digital-hero #hero table td:last-child, .deliver-hero #hero table td:last-child {
    width: 260px;
    font-size: 17px;
    white-space: nowrap;
  }
  SECTION {
    font-size: 0.8em;
    width: 90vw;
    min-width: auto;
  }
  SECTION H2 {
    font-size: 20px;
  } 
  .case H2 {
    font-size: 20px;
  }
  .cases A SPAN {
    font-size: 0.9em;
  }
  .cases A IMG {
    max-width: 70px;
  }
  .copy H3 {
    font-size: 18px;
  }
  .illustration {
    max-width: 100%;;
  }
  #footer {
    flex-wrap: wrap;
  }
  #footer DIV:first-child {
    border-top: none;
    padding-top: 2vh;
  }
  #footer DIV {
    width: auto;
    margin-bottom: 4vh;
    border-top: 1px solid var(--textcolour);
    padding-top: 5vh;
  }
}
