/*------------------------------------*\
  #RESET/normalize
\*------------------------------------*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding and margin */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* Remove default list styles */
ol,
ul {
  list-style: none;
}

/* Remove default blockquote styles */
blockquote,
q {
  quotes: none;
}

/* Reset fonts to ensure consistency */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

/* Remove default background and border on all elements */
html,
body {
  background: transparent;
  border: none;
}

/* Reset form elements to ensure consistency */
input,
button,
textarea,
select {
  font-size: inherit;
  font-family: inherit;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background: none;
}

/* Clear floats */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@keyframes color-fade {
  0% {
    color: #27bbd3;
  }
  12% {
    color: #723aa2;
  }
  24% {
    color: #e23874;
  }
  36% {
    color: #ef800a;
  }
  48% {
    color: #efcc04;
  }
  60% {
    color: #ef800a;
  }
  72% {
    color: #e23874;
  }
  84% {
    color: #723aa2;
  }
  100% {
    color: #27bbd3;
  }
}
.hero, header, footer, .about__image::before, h1 {
  animation: color-fade 30s linear infinite;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
}

footer, nav, h1,
h2,
h3,
h4,
h5 {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  text-transform: uppercase;
}

body {
  color: #333;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1em;
  text-transform: uppercase;
}

h1 {
  font-size: 4rem;
  line-height: 1.4;
  margin-bottom: 2rem;
  position: relative;
  vertical-align: bottom;
}
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}
h1 span {
  color: #333;
}
h1::after {
  background-color: currentColor;
  box-sizing: border-box;
  display: inline-block;
  content: "";
  height: 1.05em;
  margin-left: 0.25em;
  transform: translateY(0.15em);
  width: 0.5em;
}
h1.visible::after {
  animation: blink-animation 1s steps(5, start) infinite;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.6rem;
}

p {
  font-size: 1em;
  line-height: 1.4;
  margin-bottom: 1.5em;
}

nav {
  font-size: 1.25rem;
}

.about__content {
  align-items: stretch;
  display: flex;
  gap: 5rem;
}
@media (max-width: 768px) {
  .about__content {
    flex-direction: column;
  }
}
.about__copy {
  width: 55%;
}
@media (max-width: 768px) {
  .about__copy {
    width: 100%;
  }
}
.about__image {
  flex-grow: 1;
  position: relative;
}
@media (max-width: 768px) {
  .about__image {
    width: 100%;
    height: 70vh;
  }
}
.about__image::before {
  background-color: currentColor;
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0.5;
  position: absolute;
  right: -5rem;
  top: 0;
}
@media (max-width: 768px) {
  .about__image::before {
    left: -4rem;
    right: -4rem;
  }
}
.about__image::after {
  background-image: url("/assets/pexels-fauxels-3183165.jpg");
  background-position: center;
  background-size: cover;
  bottom: 0;
  content: "";
  filter: grayscale(100%);
  left: 0;
  mix-blend-mode: multiply;
  position: absolute;
  right: -5rem;
  top: 0rem;
}
@media (max-width: 768px) {
  .about__image::after {
    left: -4rem;
    right: -4rem;
  }
}

.contact-details {
  align-items: center;
  display: flex;
  gap: 3rem;
}
@media (max-width: 768px) {
  .contact-details {
    align-items: start;
    flex-direction: column;
  }
}
.contact-details__text {
  flex-grow: 1;
}
.contact-details__text ul li {
  margin-bottom: 2rem;
}
.contact-details__map {
  flex-grow: 1;
  height: 30vh;
}
.contact-details__map iframe {
  border: 0;
  height: 100%;
  width: 100%;
}
@media (max-width: 768px) {
  .contact-details__map {
    align-self: center;
    height: 50vh;
    width: 100vw;
  }
}

.content-block {
  border-bottom: 1px solid #ccc;
  padding: 8rem 4rem 9rem;
  margin: 0 auto;
  max-width: calc(1024px + 8rem);
}
@media (max-width: 768px) {
  .content-block {
    padding: 4rem 2rem 5rem;
  }
}

footer {
  background-color: currentColor;
  padding: 4rem 0;
}
footer .content-block {
  border: none;
  padding: 0 4rem;
  margin: 0 auto;
}
footer .footer-content {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
footer .footer-content__column {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
footer .footer-content ul li {
  text-align: right;
}
footer .footer-content ul li a {
  color: #fff;
  display: block;
  font-size: 1.25rem;
  line-height: 1.5;
  text-decoration: none;
}
footer .unsplash-disclaimer {
  color: #fff;
  margin-top: 3rem;
  text-align: right;
}
footer .unsplash-disclaimer a {
  color: #fff;
}
footer .smallprint {
  border-top: 1px solid #fff;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  width: 100%;
}
@media (max-width: 768px) {
  footer .smallprint {
    flex-direction: column;
    text-align: center;
  }
}
footer .smallprint a {
  color: #fff;
}

header {
  align-items: center;
  backdrop-filter: blur(1rem);
  background-color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid currentColor;
  display: flex;
  height: 4rem;
  justify-content: space-between;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}
header .company-logotype {
  padding: 1rem 2.5rem;
}
@media (max-width: 768px) {
  header .company-logotype {
    padding: 1rem;
  }
}
header .company-logotype svg {
  height: 2rem;
  width: auto;
}
header .company-logotype svg path {
  fill: currentColor !important;
}
header nav a {
  color: currentColor;
}
header nav a::after {
  background-color: currentColor;
}
header nav a:hover span {
  color: #fff !important;
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
}

.hero {
  align-items: center;
  background-color: currentColor;
  display: flex;
  height: 100vh;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
  position: relative;
  z-index: 101;
}
.hero::before {
  bottom: 0;
  content: "";
  opacity: 1;
  color: #000;
  background-image: repeating-linear-gradient(45deg, currentColor 25%, transparent 25%, transparent 75%, currentColor 75%, currentColor), repeating-linear-gradient(45deg, currentColor 25%, transparent 25%, transparent 75%, currentColor 75%, currentColor);
  background-position: 0 0, 3px 3px;
  background-size: 6px 6px;
  background-attachment: fixed;
  mix-blend-mode: multiply;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}
.hero::after {
  background-color: currentColor;
  bottom: 0;
  content: "";
  left: 0;
  mix-blend-mode: color;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.hero nav {
  bottom: 0rem;
  color: #fff;
  position: absolute;
  right: 0rem;
  z-index: 30;
}
@media (max-width: 768px) {
  .hero nav {
    display: none;
  }
}
.hero nav a {
  color: #fff;
}
.hero nav a::after {
  background-color: #fff;
}
.hero nav a:hover {
  color: #e9573f;
}
.hero svg {
  height: 70vh;
  position: relative;
  width: auto;
  z-index: 20;
}
.hero svg g {
  fill: #fff !important;
}
.hero .background-video {
  display: none;
  filter: grayscale(100%);
  min-height: 100%;
  min-width: 100%;
  mix-blend-mode: overlay;
  opacity: 0.5;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.hero.visible .background-video {
  display: block;
}

nav {
  margin-right: 1.5rem;
}
nav ul {
  display: flex;
}
nav ul a {
  cursor: pointer;
  display: block;
  line-height: 1rem;
  padding: 1.5rem;
  position: relative;
  text-decoration: none;
}
nav ul a::after {
  background: currentColor;
  bottom: 0;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  transform: scaleY(0);
  transform-origin: bottom left;
  transition: transform 200ms;
  width: 100%;
  z-index: -1;
}
nav ul a:hover::after {
  transform: scaleY(1);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(16rem, auto);
  gap: 2rem;
}
@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.service-card {
  background-color: #fff;
  border: 2px solid currentColor;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 0.6rem rgba(0, 0, 0, 0.1);
  position: relative;
}
.service-card__symbol {
  align-items: center;
  background-color: currentColor;
  border-radius: 0.8rem 0.8rem 0 0;
  display: flex;
  justify-content: center;
  padding: 3rem 2rem 1rem;
  position: relative;
  z-index: 2;
}
.service-card__symbol::before {
  background: linear-gradient(#fff, transparent);
  background-size: cover;
  border-radius: 0.8rem 0.8rem 0 0;
  bottom: 0;
  content: "";
  left: 0;
  mix-blend-mode: overlay;
  opacity: 0.3;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
.service-card__symbol svg {
  height: auto;
  width: 70%;
}
.service-card__name {
  background-color: currentColor;
  padding: 1rem 1rem 2rem;
}
.service-card__name h3 {
  color: #fff;
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
}
.service-card__description {
  color: #333;
  padding: 2rem 1.5rem;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(16rem, auto);
  gap: 2rem;
}
@media (max-width: 768px) {
  .team__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.team .team-member__avatar {
  background-color: currentColor;
  border-radius: 50%;
  margin: 0 auto 2rem;
  width: 80%;
  position: relative;
}
.team .team-member__avatar img {
  bottom: 0;
  border-radius: 50%;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
}
.team .team-member__avatar::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.team .team-member__name, .team .team-member__job-title {
  text-align: center;
}