@import url("https://use.typekit.net/mzd4ant.css");
#invictus {
  background-color: var(--bg-color);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 332px);
}
#invictus #message {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 875px) {
  #invictus #message {
    transform: translateY(-110px);
  }
}
@media (min-width: 875px) {
  #invictus #message {
    padding-bottom: 50px;
  }
}
#invictus #message h2 {
  text-align: center;
  color: var(--text);
  font-size: 2rem;
  margin-top: 50px;
  font-family: "futura-pt", sans-serif;
  font-weight: 300;
  font-style: normal;
  transition: opacity 1s ease;
  text-transform: uppercase;
}
@media (max-width: 875px) {
  #invictus #message h2 br {
    display: none;
  }
}
#invictus #box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#invictus #box .text {
  color: var(--text);
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 10px;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  font-style: normal;
  transition: opacity 1s ease;
  text-transform: uppercase;
  max-width: 350px;
}
@media (max-width: 875px) {
  #invictus #box .text {
    margin: 50px 0;
  }
}
#invictus #box .text h1 {
  font-size: 4rem;
}
#invictus #box .green-stack {
  position: relative;
  width: 306px;
  height: 680px;
  max-height: 440px;
  margin: 80px auto;
  background: #111;
  perspective: 800px;
  overflow: visible;
  transform: rotate(0deg);
}
@media (max-width: 875px) {
  #invictus #box .green-stack {
    transform: rotate(0deg);
    max-height: 280px;
  }
}
#invictus #box .green-stack.invert {
  transform: rotate(180deg);
}
@media (max-width: 875px) {
  #invictus #box .green-stack.invert {
    transform: rotate(180deg);
  }
}
#invictus #box .green-stack .layer {
  background: linear-gradient(to bottom, var(--colorTop), var(--colorBottom));
  transition: background 1s;
  position: absolute;
  left: 50%;
  transform-origin: center;
  border-radius: 6px;
  filter: blur(0.8px);
  transform: translateX(-50%) rotateX(75deg);
  box-shadow: 0 0 15px color-mix(in srgb, var(--colorTop) 25%, transparent);
}
#invictus #box .green-stack .layer:nth-child( 8) {
  width: 306px;
  height: 440px;
  top: 210px;
  opacity: 0.3;
  transform: translateX(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1.5, 0, 0);
}
@media (max-width: 875px) {
  #invictus #box .green-stack .layer:nth-child( 8) {
    width: 200px;
    height: 320px;
    transform: translate(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1, 0, 0);
  }
}
#invictus #box .green-stack .layer:nth-child( 7) {
  width: 306px;
  height: 440px;
  top: 180px;
  opacity: 0.4;
  transform: translateX(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1.5, 0, 0);
}
@media (max-width: 875px) {
  #invictus #box .green-stack .layer:nth-child( 7) {
    width: 200px;
    height: 320px;
    transform: translate(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1, 0, 0);
  }
}
#invictus #box .green-stack .layer:nth-child( 6) {
  width: 306px;
  height: 440px;
  top: 150px;
  opacity: 0.5;
  transform: translateX(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1.5, 0, 0);
}
@media (max-width: 875px) {
  #invictus #box .green-stack .layer:nth-child( 6) {
    width: 200px;
    height: 320px;
    transform: translate(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1, 0, 0);
  }
}
#invictus #box .green-stack .layer:nth-child( 5) {
  width: 306px;
  height: 440px;
  top: 120px;
  opacity: 0.6;
  transform: translateX(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1.5, 0, 0);
}
@media (max-width: 875px) {
  #invictus #box .green-stack .layer:nth-child( 5) {
    width: 200px;
    height: 320px;
    transform: translate(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1, 0, 0);
  }
}
#invictus #box .green-stack .layer:nth-child( 4) {
  width: 306px;
  height: 440px;
  top: 90px;
  opacity: 0.7;
  transform: translateX(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1.5, 0, 0);
}
@media (max-width: 875px) {
  #invictus #box .green-stack .layer:nth-child( 4) {
    width: 200px;
    height: 320px;
    transform: translate(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1, 0, 0);
  }
}
#invictus #box .green-stack .layer:nth-child( 3) {
  width: 306px;
  height: 440px;
  top: 60px;
  opacity: 0.8;
  transform: translateX(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1.5, 0, 0);
}
@media (max-width: 875px) {
  #invictus #box .green-stack .layer:nth-child( 3) {
    width: 200px;
    height: 320px;
    transform: translate(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1, 0, 0);
  }
}
#invictus #box .green-stack .layer:nth-child( 2) {
  width: 306px;
  height: 440px;
  top: 30px;
  opacity: 0.9;
  transform: translateX(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1.5, 0, 0);
}
@media (max-width: 875px) {
  #invictus #box .green-stack .layer:nth-child( 2) {
    width: 200px;
    height: 320px;
    transform: translate(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1, 0, 0);
  }
}
#invictus #box .green-stack .layer:nth-child( 1) {
  width: 306px;
  height: 440px;
  top: 0px;
  opacity: 1;
  transform: translateX(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1.5, 0, 0);
}
@media (max-width: 875px) {
  #invictus #box .green-stack .layer:nth-child( 1) {
    width: 200px;
    height: 320px;
    transform: translate(-50%) rotateX(-65deg) scaleX(1) matrix(1, 0, 0, 1, 0, 0);
  }
}
