* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

:root {
  /* color palette */
  --dark-color: #0d3b66;
  --light-color: #00a552;
  --primary-color: #4d2704;
  --secondary-color: #b38300;

  --pop-color: #00b0c7;

  --link-color: #007ea5;

  --grad1: #fff8e3;
  --grad2: #e6d5d5;
  --grad3: #fffbfb;

  /* typographic scaling */
  --int: 1.5;
  --scale0: 1rem;
  --scale-1: calc(var(--scale0) / var(--int));
  --scale-2: calc(var(--scale-1) / var(--int));
  --scale1: calc(var(--scale0) * var(--int));
  --scale2: calc(var(--scale1) * var(--int));
  --scale3: calc(var(--scale2) * var(--int));
  --scale4: calc(var(--scale3) * var(--int));
}

html {
  height: -webkit-fill-available;
}

body {
  /* background: linear-gradient(
    27.5deg,
    var(--dark-color),
    var(--primary-color),
    var(--secondary-color)
  ); */
  background: linear-gradient(
    27.5deg,
    var(--grad1),
    var(--grad2),
    var(--grad3)
  );
  background-size: 400% 400%;
  animation: bg-gradient 12s ease infinite;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("/img/noise3.png");
  /* filter: invert(100%); */
  background-repeat: repeat;
  background-size: 1366px 768px; /* set the size of the tiled image */
  opacity: 0.45; /* adjust opacity as desired */
  mix-blend-mode: screen;
}

/* ---------------------- */
/* animated grad bgs */
/* ---------------------- */

@keyframes bg-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ---------------------- */
/* scroll shiz */
/* ---------------------- */

.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  perspective: 6px;
  perspective-origin: 0%;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---------------------- */
/* section animations */
/* ---------------------- */

#section1 h1 {
  opacity: 0;
  transform: translateY(6rem);
  transition: all 1.5s;
  transition-timing-function: ease;
}

#section1.is-visible h1 {
  opacity: 1;
  transform: translateY(0);
}

#section1 h2 {
  opacity: 0;
  transform: translateY(5rem);
  transition: all 1.5s;
  transition-delay: 0.5s;
  transition-timing-function: ease;
}

#section1.is-visible h2 {
  opacity: 1;
  transform: translateY(0);
}

section p {
  opacity: 0;
  transition: all 3s;
}

section.is-visible p {
  opacity: 1;
}

#section3 h2 {
  opacity: 0;
  transition: all 1.6s;
}

#section3.is-visible h2 {
  opacity: 1;
}

#section3 img {
  opacity: 0;
  transition: all 3s;
}

#section3.is-visible img {
  opacity: 1;
}

#section5 h2 {
  opacity: 0;
  transition: all 2s;
}

#section5.is-visible h2 {
  opacity: 1;
}

#section5 svg {
  opacity: 0;
  transition: opacity 2s;
  transition-delay: 0.5s;
}

#section5.is-visible svg {
  opacity: 1;
}

/* ---------------------- */
/* section 1 - main */
/* ---------------------- */

#section1 {
  height: 95vh;
}

#mainHeader {
  max-width: 800px;
  margin-bottom: 11vh;
}

#section1 h1 {
  font-size: var(--scale4);
  color: var(--light-color);
  text-align: left;
  margin: 0;
}

#section1 h2 {
  font-weight: 300;
  font-size: var(--scale2);
  letter-spacing: 0px;
  color: var(--light-color);
  text-align: left;
  padding-left: 1%;
  max-width: 800px;
  padding-top: 0.5vh;
  line-height: 3rem;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-4vh);
  }
}

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

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

@media only screen and (max-width: 800px) {
  #section1 .circle-container {
    width: 85%;
  }
}

@media only screen and (max-width: 600px) {
  #mainHeader {
    width: 100%;
    padding: 0 8%;
  }

  #section1 h1 {
    font-size: var(--scale3);
  }

  #section1 h2 {
    font-size: var(--scale1);
    line-height: 2rem;
  }
}

/* ---------------------- */
/* section 2 - bio */
/* ---------------------- */

section:nth-child(2n) {
  height: auto;
}

#bio-content {
  max-width: 800px;
  border-radius: 25px;
  padding: 2.7vw;
  box-shadow: 16px 16px 50px 5px rgba(0, 0, 0, 0.21);
  margin-bottom: 6%;
}

#bio-content p {
  color: var(--light-color);
  line-height: 2.25rem;
  padding: 6%;
  font-weight: 300;
  font-size: var(--scale1);
  letter-spacing: 0.02em;
}

@media only screen and (max-width: 600px) {
  #bio-content {
    max-width: 85vw;
  }

  #bio-content p {
    font-size: var(--scale0);
    line-height: 1.6rem;
  }
}

/* ---------------------- */
/* section 3 - clients & collabs */
/* ---------------------- */

section:nth-child(3n) {
  margin: 4rem auto;
}

.client-container {
  width: 960px;
  max-width: 100%;
  height: 100%;
  /* margin: 4rem auto; */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.client-container h2 {
  font-weight: 400;
  color: var(--pop-color);
  text-align: center;
  margin-bottom: 4rem;
  line-height: 2.25rem;
}

.logo-container {
  max-width: 90%;
  display: grid;
  justify-items: center;
  grid-gap: 5rem;
  grid-template-columns: repeat(4, 1fr);
  /* grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));*/
  /* grid-auto-rows: 6rem; */
}

.logo-container img {
  max-width: 100%;
  object-fit: cover;
  filter: brightness(50%) sepia(100) saturate(50) hue-rotate(135deg);
}

@media only screen and (max-width: 600px) {
  section #section3 {
    height: auto;
  }

  .client-container h2 {
    font-size: var(--scale0);
    line-height: 1.6rem;
  }

  .logo-container {
    grid-template-columns: repeat(2, 1fr);
  }

  section:nth-child(3n) .triangle-container {
    width: 75%;
    left: -55%;
    bottom: 10rem;
  }
}

/* ---------------------- */
/* section 4 - always */
/* ---------------------- */

section:nth-child(4n) {
  height: auto;
}

#always {
  max-width: 660px;
  border-radius: 25px;
  padding: 2.7vw;
  box-shadow: 16px 16px 50px 5px rgba(0, 0, 0, 0.21);
  margin-top: 6%;
}

#always p {
  color: var(--light-color);
  line-height: 2.25rem;
  padding: 6%;
  font-weight: 300;
  font-size: var(--scale1);
  letter-spacing: 0.02em;
}

.yellow {
  color: var(--pop-color);
}

@media only screen and (max-width: 800px) {
  section:nth-child(4n) .square-container {
    right: -14.5%;
  }
}

@media only screen and (max-width: 600px) {
  #always {
    max-width: 85vw;
  }

  #always p {
    font-size: var(--scale0);
    line-height: 1.6rem;
  }

  section:nth-child(4n) .square-container {
    right: -14%;
  }
}

/* ---------------------- */
/* section 5 - follows */
/* ---------------------- */

section:nth-child(5n) {
  height: 75vh;
}

section:nth-child(5n) h2 {
  color: var(--light-color);
  text-transform: lowercase;
  font-size: var(--scale4);
  margin-bottom: 2.5%;
}

#socialFollows {
  text-align: left;
  margin-bottom: 10%;
}

#socialIcons {
  letter-spacing: 5vw;
  text-align: right;
}

section:nth-child(5n) svg {
  fill: var(--light-color);
  width: 10vw;
  height: 10vw;
  transition: 0.4s;
}

section:nth-child(5n) svg:hover {
  fill: var(--pop-color);
}

@media only screen and (max-width: 600px) {
  section:nth-child(5n) h2 {
    font-size: var(--scale2);
    /* -webkit-text-stroke: 2px #fff; */
  }
}

/* ---------------------- */
/* section 6 - contact */
/* ---------------------- */

/* section:nth-child(6n) {
  height: 75vh;
  background-color: var(--light-color);
}

#contact {
  margin-bottom: 5%;
}

#contact h2 a {
}

section:nth-child(6n) h2 a {
  font-size: var(--scale3);
  margin: auto;
  color: var(--dark-color);
}

section:nth-child(6n) h2 a:hover {
  color: var(--pop-color);
}

section:nth-child(6n) a.underline-left::after {
  transform: translateY(-0em);
}

@media only screen and (max-width: 600px) {
  section:nth-child(6n) h2 {
    font-size: var(--scale2);
  }
} */

/* ---------------------- */
/* footer */
/* ---------------------- */

footer {
  position: relative;
  bottom: 0;
}

footer p {
  padding-bottom: 15px;
  color: rgb(61, 61, 61);
}

#time-location {
  font-size: 12px;
  font-weight: 600;
  color: #aa9c91;
  padding: 10px;
  text-transform: uppercase;
  padding-bottom: 3vh;
  text-align: center;
}

/* ---------------------- */
/* typography */
/* ---------------------- */

p {
  color: #fff;
  text-align: center;
}

/* ---------------------- */
/* link styles */
/* ---------------------- */

a {
  color: var(--link-color);
  text-decoration: none;
  transition: 0.5s;
  padding-left: 0.1em;
  padding-right: 0.1em;
  padding-bottom: 0.04em;
}

a:hover {
  color: var(--pop-color);
}

/* ---------------------- */
/* link underline-L style */
/* ---------------------- */

a.underline-left {
  border-bottom: 0.125em solid transparent;
  transition: all 0.5s;
  position: relative;
}

a.underline-left::after {
  content: "";
  position: absolute;
  top: 100%;
  border-bottom: 0.1em solid var(--pop-color);
  transform: translateY(-0.1em);
  transition: all ease-in-out 0.5s;
  left: 0;
  right: 100%;
}

a.underline-left:hover::after {
  transition: all ease-in-out 0.5s;
  right: 0;
}
