@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@200;400;700&family=Playfair+Display&display=swap");
:root {
  --white: #fffcff;
  --white-100: #fdf6fd;
  --gray-100: #5c56b7;
  --gray-300: #525067;
  --black: #011d52;
  --back3: #011d5270;
  /* --black: #3f4d67; */
  --back1: white;
  --back2: var(--black);
  --back4: #003fb4;
  --grad2: linear-gradient(30deg, var(--back4) 0%, hsl(346, 100%, 50%) 113%);

  --base: 80;
  --spread: 500;
  --outer: 1;
  --backdrop: hsl(0 0% 60% / 0.12);
  --radius: 14;
  --border: 3;
  --size: 200;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  font-family: "Urbanist", sans-serif;
  line-height: 200%;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
  font-size: 1.3rem;
  --grad: radial-gradient(
      farthest-corner at calc(var(--mouseX, 0) * 1px) calc(var(--mouseY, 0) * 1px),
      transparent 0%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    radial-gradient(farthest-corner at 150% 180%, hsl(346, 100%, 50%) 0%, transparent 100%),
    linear-gradient(50deg, var(--back2) 0%, var(--back4) 100%);
  /* --grad: linear-gradient(0deg, black 0%, black 100%); */
  background: var(--back2);
  &.legal {
    background: var(--grad);
    .container {
      padding: 2rem;
      color: var(--back1);
    }
  }
  /* background-image: radial-gradient(farthest-corner ellipse at -67% 104%, #ffabab 0%, 57%, #efbd4e 100%); */
}
section,
header,
footer {
  --padding: 2rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  padding: 3rem var(--padding);
}

@media screen and (min-width: 70rem) {
  section,
  header,
  footer {
    padding: 6rem var(--padding);
    --padding: calc(50% - 32rem);
  }
}

a {
  color: inherit;
}
a:focus {
  outline: 2px solid currentColor;
}
footer {
  min-height: 100vh;
}

footer ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-end;
}

footer p {
  text-align: right;
}

footer li a {
  font-size: 0;
  width: 2rem;
  height: 2rem;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

footer ul ~ p a {
  font-size: 0.9rem;
}

.github a {
  background-image: url("/assets/icons/social/github.svg");
}
.lkdn a {
  background-image: url("/assets/icons/social/linkedin-in.svg");
}
.malt a {
  background-image: url("/assets/icons/social/malt.svg");
}
.upw a {
  background-image: url("/assets/icons/social/upwork.svg");
}
.email a {
  background-image: url("/assets/icons/social/mail.svg");
}
.tw a {
  background-image: url("/assets/icons/social/twitter.svg");
}
.st-ov a {
  background-image: url("/assets/icons/social/stack-overflow.svg");
}
header img {
  border-radius: 100%;
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--back1);
}
header a {
  margin-left: auto;
  text-decoration: none;
  font-size: 0.9rem;
}
header,
footer {
  align-items: flex-end;
  width: 100%;
  padding: 1rem 1rem;
}
header {
  background: transparent;
  position: absolute;
  z-index: 3;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  top: 0rem;
  gap: 1.5rem;
}
@media screen and (min-width: 768px) {
  header {
    top: 1rem;
    padding: 1rem 5rem;
  }
  footer {
    padding: 3rem 5rem;
  }
  header img {
    width: 4rem;
    height: 4rem;
  }
}
section:nth-child(2n) {
  background: var(--back1);
  color: var(--back2);
}
section:nth-child(2n + 1) {
}
.background {
  background-attachment: fixed;
  background-size: 100vw 100vh;
  background-position: 0vw 0vh;
  background-image: var(--grad);
  color: var(--back1);
}
.legal footer.background {
  background: none;
}
h2 {
  font-size: 2rem;
}
#hero {
  /* background: rgba(255, 187, 56, 0.74); */
  padding-top: 6rem;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  /* backdrop-filter: invert(0%) blur(12px) grayrotateX(var(--rX)) rotateZ(var(--rZ)) skewX(var(--sX))  scale(100%); */
}

#hero h1 {
  font-size: 3rem;
  line-height: 110%;
}
#hero h2 {
  font-size: 1.6rem;
}
#hero p {
  margin-top: auto;
}

@media screen and (min-width: 400px) {
  #hero h1 {
    font-size: 4rem;
  }
  #hero h2 {
    font-size: 1.8rem;
  }
}
@media screen and (min-width: 600px) {
  #hero {
    min-height: 85vh;
  }
  #hero h1 {
    font-size: 5rem;
    line-height: 200%;
  }
  #hero h2 {
    font-size: 2rem;
  }
}
@media screen and (min-width: 1024px) {
  #hero p {
    margin-top: 0;
  }
}
input[type="submit"] {
  appearance: none;
  background: none;
  border-radius: inherit;
  outline: 0;
  width: 100%;
  height: 100%;
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
  border-radius: inherit;
  cursor: pointer;
}

.btn,
.submit {
  --radius: 8;
  display: flex;
  /* border: 0; */
  outline: 0;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  width: 12rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  border-radius: calc(var(--radius) * 1px);
  font-size: 1.3rem;
  box-shadow: 0.9px 0.9px 1.8px rgba(0, 0, 0, 0.02), 2.1px 2.1px 4.3px rgba(0, 0, 0, 0.028),
    4px 4px 8px rgba(0, 0, 0, 0.035), 7.1px 7.1px 14.3px rgba(0, 0, 0, 0.042), 13.4px 13.4px 26.7px rgba(0, 0, 0, 0.05),
    32px 32px 64px rgba(0, 0, 0, 0.07);
  color: var(--back1);
}

#testimonials {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
#testimonials h2 {
  width: 100%;
  font-size: 2.3rem;
  text-align: center;
  background-image: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* 
.btn {
  height: 5rem;
  width: 5rem;
  backdrop-filter: blur(5px);
  display: flex;
} */

#testimonials div {
  width: 100%;
  padding: 1.5rem;
  gap: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  /* flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem; */
}
#testimonials > p {
  font-size: 0.8rem;
  position: absolute;
  bottom: 1.5rem;
  right: 3rem;
}
blockquote,
#b > ul > li {
  position: relative;
  padding: 2rem 1.5rem 1.8rem 1.5rem;
  border-radius: 1.5rem;
  flex: 0 1 calc(50% - 1rem);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 2rem;
  background: white;
  box-shadow: 0.9px 0.9px 1.8px rgba(0, 0, 0, 0.02), 2.1px 2.1px 4.3px rgba(0, 0, 0, 0.028),
    4px 4px 8px rgba(0, 0, 0, 0.035), 7.1px 7.1px 14.3px rgba(0, 0, 0, 0.042), 13.4px 13.4px 26.7px rgba(0, 0, 0, 0.05),
    32px 32px 64px rgba(0, 0, 0, 0.07);
}
blockquote::before {
  content: "“";
  font-family: "Playfair Display", serif;
  font-size: 9rem;
  position: absolute;
  line-height: 100%;
  z-index: 0;
  top: -0.5rem;
  left: 1.3rem;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: var(--grad2);
  background-clip: text;
}
blockquote * {
  position: relative;
  z-index: 1;
}
blockquote p:first-of-type::first-letter {
  padding-left: 4rem;
}
blockquote cite {
  display: flex;
  font-size: 1rem;
  justify-content: space-between;
}

blockquote meter {
  width: 0;
  height: 0;
  overflow: hidden;
}

blockquote meter[value="5"] ~ cite::before {
  content: "";
  --size: 1rem;
  height: var(--size);
  display: inline-block;
  width: calc(var(--size) * 5.9);
  background-image: var(--grad2);
  -webkit-mask-image: url(icons/star.svg#5);
  -webkit-mask-repeat: space;
  -webkit-mask-size: contain;
  mask-image: url(icons/star.svg#5);
  mask-repeat: space;
  mask-size: contain;
}

@media screen and (min-width: 768px) {
  #testimonials div {
    padding: 3rem;
  }
  #testimonials > p {
    bottom: 3rem;
  }
  blockquote,
  #b > ul > li {
    padding: 2rem 3rem 1.8rem 3rem;
  }
  blockquote::before {
    font-size: 13rem;
  }
  blockquote p:first-of-type::first-letter {
    padding-left: 0;
  }
  blockquote p:first-of-type {
    padding-left: 5rem;
  }
  blockquote meter[value="5"] ~ cite::before {
    --size: 1.5rem;
  }
}

@media screen and (min-width: 1024px) {
  #testimonials div {
    grid-template-columns: repeat(2, 1fr);
  }
}

#b {
  padding-bottom: 6rem;
}
#b p {
  word-break: keep-all;
}
@media screen and (min-width: 768px) {
  #b p {
    font-size: 1.6rem;
    line-height: 230%;
  }
}
#b em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
#b em::before {
  background-color: white;
  mix-blend-mode: overlay;
  content: "";
  position: absolute;
  width: calc(100% + 4px);
  height: 37%;
  left: -2px;
  bottom: 18%;
  z-index: -1;
  transform: rotate(-2deg);
}
#b ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-evenly;
  align-items: stretch;
}
#b > ul {
  gap: 3rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
#b > ul > li {
  flex: 0 1 auto;
  background: var(--backdrop);
  font-style: italic;
  font-size: 1rem;
  gap: 1rem;
  color: #ffffff90;
}
#b > ul > li ul {
  order: -1;
}
#b > ul > li li {
  text-align: center;
  font-size: 1.2rem;
  font-style: initial;
  color: var(--back1);
  font-weight: bold;
}
#b > ul > li {
  width: 100%;
  flex: 1 0 auto;
}
@media screen and (min-width: 1024px) {
  #b > ul > li:nth-child(1) {
    width: 100%;
    flex: 1 0 auto;
  }
  #b > ul > li:nth-child(2) ul {
    height: 100%;
    align-items: center;
  }
  #b > ul > li:nth-child(2) {
    width: 1%;
    flex: 1 0 auto;
  }
  #b > ul > li:nth-child(3) {
    width: 33%;
    flex: initial;
  }
}
#gallery {
  height: 80vh;
  overflow: hidden;
  position: initial;
  /* --buff: 3rem;
  mask: linear-gradient(transparent, white var(--buff) calc(100% - var(--buff)), transparent),
    linear-gradient(90deg, transparent, white var(--buff) calc(100% - var(--buff)), transparent);
  mask-composite: intersect; */
}
#real {
  --gap: 0 3rem;
  --rZ: -16deg;
  --rX: 16deg;
  --sX: 16deg;
  display: grid;
  position: fixed;
  z-index: 0;
  bottom: 0;
  left: -50vw;
  right: -50vw;
  gap: var(--gap);
  transform: rotateX(var(--rX)) rotateZ(var(--rZ)) skewX(var(--sX)) scale(1) translateX(25%);
  transform-origin: 100% 90%;
  --count: 10;
  --duration: 120s;
  transform-style: preserve-3d;
}
@keyframes slide {
  to {
    translate: 0% calc(calc((var(--index) + var(--outset, 0)) * -100%));
  }
}
figure {
  --vduration: calc(var(--duration) + var(--column) * 2s);
  --index: calc(var(--line) - 1);
  --inset: 0;
  --outset: 2.8;
  --delay: calc((var(--vduration) / var(--count)) * (var(--index, 0) - 8));
  transform-style: preserve-3d;
  top: calc(var(--column) * 5rem - 10rem);
  border-radius: 1rem;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  position: relative;
  grid-row: var(--line) / calc(var(--line) + 1);
  grid-column: var(--column) / calc(var(--column) + 1);
  box-shadow: 0.9px 0.9px 1.8px rgba(0, 0, 0, 0.02), 2.1px 2.1px 4.3px rgba(0, 0, 0, 0.028),
    4px 4px 8px rgba(0, 0, 0, 0.035), 7.1px 7.1px 14.3px rgba(0, 0, 0, 0.042), 13.4px 13.4px 26.7px rgba(0, 0, 0, 0.05),
    32px 32px 64px rgba(0, 0, 0, 0.07);
  translate: 0% calc(((var(--count) - var(--index)) + var(--inset, 0)) * 100%);
  animation: slide var(--vduration) var(--delay) infinite linear;
  transition: transform 0.4s ease-in-out;
}
figcaption {
  position: absolute;
  opacity: 0;
  inset: 0;
  z-index: 2;
  color: var(--white);
  /* transform: rotate(16deg); */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: opacity 0.4s ease-in-out;
  text-align: center;
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  figcaption {
    font-size: inherit;
  }
}
figcaption small {
  font-size: 0.7rem;
}
figcaption .btn {
  transform: scale(0.5) !important;
  background-color: var(--back1);
  color: var(--back2);
  display: none;
}
figure::after,
figure::before {
  content: "";
  position: absolute;
  inset: -1rem;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
figure::before {
  background-color: transparent;
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
}
figure::after {
  background-image: var(--grad2);
}
figure:hover,
figure:focus,
figure:focus-within {
  transform: translateZ(5rem) scale(1.02);
}
figure:hover::after,
figure:focus::after,
figure:focus-within::after {
  opacity: 0.5;
}
figure:hover::before,
figure:focus::before,
figure:focus-within::before {
  opacity: 1;
}
#real.nojs:hover figure,
#real.nojs:focus figure,
#real.nojs:focus-within figure,
figure.paused {
  animation-play-state: paused;
}
figure:hover figcaption .btn,
figure:focus figcaption .btn,
figure:focus-within figcaption .btn {
  display: flex;
}
figure:hover figcaption,
figure:focus figcaption,
figure:focus-within figcaption {
  opacity: 1;
}
.juke-1 {
  --line: 2;
  --column: 3;
}
.juke-2 {
  --line: 9;
  --column: 1;
}
.juke-3 {
  --line: 4;
  --column: 3;
}
.biblio-1 {
  --line: 1;
  --column: 3;
}
.biblio-2 {
  --line: 5;
  --column: 3;
}
.biblio-3 {
  --line: 5;
  --column: 1;
}
.biblio-4 {
  --line: 1;
  --column: 1;
}
.biblio-5 {
  --line: 6;
  --column: 2;
}
.biblio-6 {
  --line: 6;
  --column: 1;
}
.biblio-7 {
  --line: 3;
  --column: 2;
}
.biblio-8 {
  --line: 8;
  --column: 1;
}
.om-1 {
  --line: 3;
  --column: 3;
}
.om-2 {
  --line: 7;
  --column: 1;
}
.om-3 {
  --line: 8;
  --column: 3;
}
.om-4 {
  --line: 10;
  --column: 1;
}
.om-5 {
  --line: 2;
  --column: 2;
}
.om-6 {
  --line: 2;
  --column: 1;
}
.om-7 {
  --line: 6;
  --column: 3;
}
.om-9 {
  --line: 10;
  --column: 2;
}
.om-8 {
  --line: 9;
  --column: 3;
}
.om-10 {
  --line: 10;
  --column: 3;
}
.om-11 {
  --line: 1;
  --column: 2;
}
.time-1 {
  --line: 11;
  --column: 1;
  display: none;
}
.time-2 {
  --line: 9;
  --column: 2;
}
.time-3 {
  --line: 4;
  --column: 2;
}
.movies-1 {
  --line: 4;
  --column: 1;
}
.movies-2 {
  --line: 3;
  --column: 1;
}
.movies-3 {
  --line: 7;
  --column: 3;
}
.flip {
  --line: 8;
  --column: 2;
}
.nester {
  --line: 7;
  --column: 2;
}
.product-customizer {
  --line: 5;
  --column: 2;
}
/* figure:nth-child(2n + 1) {
  top: -5rem;
}
figure:nth-child(2n) {
  top: 0rem;
} */
@media screen and (min-width: 768px) {
  #real {
    --count: 10;
    --gap: 0 2rem;
    bottom: 0;
    left: 0;
    right: 0;
    transform: rotateX(var(--rX)) rotateZ(var(--rZ)) skewX(var(--sX)) scale(1.5) translateX(-10%);
    transform-origin: center;
  }
  figure {
    --outset: 2.8;
  }
  .juke-1 {
    --line: 2;
    --column: 3;
  }
  .juke-2 {
    --line: 4;
    --column: 3;
  }
  .juke-3 {
    --line: 5;
    --column: 2;
  }
  .biblio-1 {
    --line: 7;
    --column: 3;
  }
  .biblio-2 {
    --line: 4;
    --column: 2;
  }
  .biblio-3 {
    --line: 11;
    --column: 1;
    display: none;
  }
  .biblio-4 {
    --line: 3;
    --column: 2;
  }
  .biblio-5 {
    --line: 2;
    --column: 2;
  }
  .biblio-6 {
    --line: 6;
    --column: 1;
  }
  .biblio-7 {
    --line: 6;
    --column: 3;
  }
  .biblio-8 {
    --line: 9;
    --column: 3;
  }
  .om-1 {
    --line: 3;
    --column: 1;
  }
  .om-2 {
    --line: 10;
    --column: 3;
  }
  .om-3 {
    --line: 3;
    --column: 3;
  }
  .om-4 {
    --line: 8;
    --column: 3;
  }
  .om-5 {
    --line: 6;
    --column: 2;
  }
  .om-6 {
    --line: 2;
    --column: 1;
  }
  .om-7 {
    --line: 5;
    --column: 3;
  }
  .om-8 {
    --line: 9;
    --column: 2;
  }
  .om-9 {
    --line: 1;
    --column: 1;
  }
  .om-10 {
    --line: 5;
    --column: 1;
  }
  .om-11 {
    --line: 1;
    --column: 2;
  }
  .time-1 {
    --line: 8;
    --column: 2;
    display: block;
  }
  .time-2 {
    --line: 10;
    --column: 1;
  }
  .time-3 {
    --line: 10;
    --column: 2;
  }
  .movies-1 {
    --line: 4;
    --column: 1;
  }
  .movies-2 {
    --line: 1;
    --column: 3;
  }
  .movies-3 {
    --line: 8;
    --column: 1;
  }
  .flip {
    --line: 7;
    --column: 1;
  }
  .nester {
    --line: 7;
    --column: 2;
  }
  .product-customizer {
    --line: 9;
    --column: 1;
  }
}
@media screen and (min-width: 1024px) {
  #real {
    --count: 7;
    --gap: 0 2rem;
    transform: rotateX(var(--rX)) rotateZ(var(--rZ)) skewX(var(--sX)) scale(1.4);
  }
  figure {
    --outset: 2;
  }
  .juke-1 {
    --line: 2;
    --column: 3;
  }
  .juke-2 {
    --line: 6;
    --column: 4;
  }
  .juke-3 {
    --line: 5;
    --column: 2;
  }
  .biblio-1 {
    --line: 8;
    --column: 2;
    display: none;
  }
  .biblio-2 {
    --line: 6;
    --column: 3;
  }
  .biblio-3 {
    --line: 8;
    --column: 1;
    display: none;
  }
  .biblio-4 {
    --line: 1;
    --column: 4;
  }
  .biblio-5 {
    --line: 7;
    --column: 1;
  }
  .biblio-6 {
    --line: 6;
    --column: 1;
  }
  .biblio-7 {
    --line: 3;
    --column: 2;
  }
  .biblio-8 {
    --line: 3;
    --column: 4;
  }
  .om-1 {
    --line: 3;
    --column: 1;
  }
  .om-2 {
    --line: 7;
    --column: 4;
  }
  .om-3 {
    --line: 5;
    --column: 1;
  }
  .om-4 {
    --line: 8;
    --column: 3;
    display: none;
  }
  .om-5 {
    --line: 6;
    --column: 2;
  }
  .om-6 {
    --line: 2;
    --column: 1;
  }
  .om-7 {
    --line: 2;
    --column: 2;
  }
  .om-8 {
    --line: 5;
    --column: 4;
  }
  .om-9 {
    --line: 1;
    --column: 1;
  }
  .om-10 {
    --line: 3;
    --column: 3;
  }
  .om-11 {
    --line: 1;
    --column: 2;
  }
  .time-1 {
    --line: 2;
    --column: 4;
  }
  .time-2 {
    --line: 4;
    --column: 4;
  }
  .time-3 {
    --line: 7;
    --column: 2;
  }
  .movies-1 {
    --line: 4;
    --column: 1;
  }
  .movies-2 {
    --line: 1;
    --column: 3;
  }
  .movies-3 {
    --line: 4;
    --column: 3;
  }
  .flip {
    --line: 7;
    --column: 3;
  }
  .nester {
    --line: 4;
    --column: 2;
  }
  .product-customizer {
    --line: 5;
    --column: 3;
  }
}
@media screen and (min-width: 1440px) {
  #real {
    padding-top: 25rem;
    --count: 6;
    --gap: 0 2rem;
    transform: rotateX(var(--rX)) rotateZ(var(--rZ)) skewX(var(--sX)) scale(1.4) translateY(-10%);
  }
  figure {
    --outset: 1.6;
  }
  .juke-1 {
    --line: 2;
    --column: 3;
  }
  .juke-2 {
    --line: 2;
    --column: 2;
  }
  .juke-3 {
    --line: 5;
    --column: 2;
  }
  .biblio-1 {
    --line: 5;
    --column: 5;
    display: block;
  }
  .biblio-2 {
    --line: 4;
    --column: 2;
  }
  .biblio-3 {
    --line: 1;
    --column: 4;
    display: block;
  }
  .biblio-4 {
    --line: 1;
    --column: 5;
  }
  .biblio-5 {
    --line: 6;
    --column: 4;
  }
  .biblio-6 {
    --line: 6;
    --column: 1;
  }
  .biblio-7 {
    --line: 6;
    --column: 3;
  }
  .biblio-8 {
    --line: 2;
    --column: 5;
  }
  .om-1 {
    --line: 3;
    --column: 1;
  }
  .om-2 {
    --line: 7;
    --column: 1;
    display: none;
  }
  .om-3 {
    --line: 3;
    --column: 3;
  }
  .om-4 {
    --line: 3;
    --column: 5;
    display: block;
  }
  .om-5 {
    --line: 6;
    --column: 2;
  }
  .om-6 {
    --line: 2;
    --column: 1;
  }
  .om-7 {
    --line: 6;
    --column: 5;
  }
  .om-8 {
    --line: 4;
    --column: 4;
  }
  .om-9 {
    --line: 1;
    --column: 1;
  }
  .om-10 {
    --line: 5;
    --column: 1;
  }
  .om-11 {
    --line: 1;
    --column: 2;
  }
  .time-1 {
    --line: 2;
    --column: 4;
  }
  .time-2 {
    --line: 5;
    --column: 4;
  }
  .time-3 {
    --line: 4;
    --column: 5;
  }
  .movies-1 {
    --line: 4;
    --column: 1;
  }
  .movies-2 {
    --line: 1;
    --column: 3;
  }
  .movies-3 {
    --line: 4;
    --column: 3;
  }
  .flip {
    --line: 3;
    --column: 4;
  }
  .nester {
    --line: 3;
    --column: 2;
  }
  .product-customizer {
    --line: 5;
    --column: 3;
  }
}

figure img {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 100%;
}

#contact form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  grid-template-rows: auto;
}
#contact form input,
#contact form textarea {
  border-radius: 0.5rem;
  border: 0;
  appearance: none;
}

label:nth-of-type(2),
label:nth-of-type(2) + input {
  display: none;
}
label {
  display: flex;
  font-size: 1rem;
  flex-direction: column;
}
label:not(:nth-of-type(1)) {
  margin-top: 2rem;
}
#contact p {
  font-size: 0.9rem;
}
#contact p,
.submit {
  margin-left: auto;
  margin-top: 2rem;
}
#contact p#success {
  font-size: inherit;
  margin-left: 0;
}
input:not([type="submit"]),
textarea {
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  label:not(:nth-of-type(1)) {
    margin-top: 0;
  }
  #contact form {
    gap: 3rem;
    grid-template-columns: 0fr 3fr;
  }
  label {
    font-size: inherit;
  }
  #contact p,
  .submit {
    margin-top: 0;
    grid-column: 1 / 3;
  }
}
input:not([type="submit"]),
textarea {
  outline: 0;
  border: 0;
  /* background: var(--back1); */
  -webkit-backdrop-filter: blur(calc(var(--cardblur, 5) * 1px));
  backdrop-filter: blur(calc(var(--cardblur, 5) * 1px));
  background: var(--backdrop, transparent);
  color: var(--back2);
  padding: 0.3rem 0.5rem;
  padding: 0.3rem 0.5rem;
  transition: all 0.4s ease-in-out;
  box-shadow: 0.9px 0.9px 1.8px rgba(0, 0, 0, 0.02), 2.1px 2.1px 4.3px rgba(0, 0, 0, 0.028),
    4px 4px 8px rgba(0, 0, 0, 0.035), 7.1px 7.1px 14.3px rgba(0, 0, 0, 0.042), 13.4px 13.4px 26.7px rgba(0, 0, 0, 0.05),
    32px 32px 64px rgba(0, 0, 0, 0.07);
}
input:not([type="submit"]):focus,
textarea:focus {
  outline: 0;
  border: 0;
  background: var(--back1);
}

/* Glow specific styles */
[data-glow] {
  --border-size: calc(var(--border, 2) * 1px);
  --backup-border: var(--backdrop);
  --spotlight-size: calc(var(--size, 150) * 1px);
  --hue: calc(var(--base) + (var(--xp, 0) * var(--spread, 0)));
  background-image: radial-gradient(
    var(--spotlight-size) var(--spotlight-size) at calc(var(--mouseX, 0) * 1px) calc(var(--mouseY, 0) * 1px),
    hsl(
      var(--hue, 210) calc(var(--saturation, 100) * 1%) calc(var(--lightness, 70) * 1%) / var(--bg-spot-opacity, 0.1)
    ),
    transparent
  );
  background-color: var(--backdrop, transparent);
  background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-position: 50% 50%;
  background-attachment: fixed;
  border: var(--border-size) solid var(--backup-border);
  position: relative;
  touch-action: none;
  -webkit-backdrop-filter: blur(calc(var(--cardblur, 5) * 1px));
  backdrop-filter: blur(calc(var(--cardblur, 5) * 1px));
  transition: all 0.4s ease-in-out;
}

[data-glow]:focus,
[data-glow]:focus-within {
  background: var(--back1);
  color: var(--back2);
}

[data-glow]::before,
[data-glow]::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border: var(--border-size) solid transparent;
  border-radius: calc(var(--radius) * 1px);
  background-attachment: fixed;
  background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-repeat: no-repeat;
  background-position: 50% 50%;
  -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in;
  mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
  mask-clip: padding-box, border-box;
  mask-composite: intersect;
}

/* This is the emphasis light */
[data-glow]::before {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at calc(var(--mouseX, 0) * 1px)
      calc(var(--mouseY, 0) * 1px),
    hsl(
      var(--hue, 210) calc(var(--saturation, 100) * 1%) calc(var(--lightness, 50) * 1%) / var(--border-spot-opacity, 1)
    ),
    transparent 100%
  );
  filter: brightness(2);
}
/* This is the spotlight */
[data-glow]::after {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at calc(var(--mouseX, 0) * 1px)
      calc(var(--mouseY, 0) * 1px),
    hsl(0 100% 100% / var(--border-light-opacity, 1)),
    transparent 100%
  );
}

[data-glow]::after {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at calc(var(--mouseX, 0) * 1px)
      calc(var(--mouseY, 0) * 1px),
    hsl(0 100% 100% / var(--border-light-opacity, 1)),
    transparent 100%
  );
}
[data-glow]::before {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at calc(var(--mouseX, 0) * 1px)
      calc(var(--mouseY, 0) * 1px),
    hsl(
      var(--hue, 210) calc(var(--saturation, 100) * 1%) calc(var(--lightness, 50) * 1%) / var(--border-spot-opacity, 1)
    ),
    transparent 100%
  );
  filter: brightness(2);
}

[data-glow] [data-glow] {
  position: absolute;
  inset: 0;
  will-change: filter;
  opacity: var(--outer, 1);
}
[data-glow] > [data-glow] {
  border-radius: calc(var(--radius) * 1px);
  border-width: calc(var(--border-size) * 20);
  filter: blur(calc(var(--border-size) * 10));
  background: none;
  pointer-events: none;
}
[data-glow] > [data-glow]::before {
  inset: -10px;
  border-width: 10px;
}
[data-glow] [data-glow] {
  border: none;
}
[data-glow] :is(a, button) {
  border-radius: calc(var(--radius) * 1px);
  border: var(--border-size) solid transparent;
}
[data-glow] :is(a, button) [data-glow] {
  background: none;
}
[data-glow] :is(a, button) [data-glow]::before {
  inset: calc(var(--border-size) * -1);
  border-width: calc(var(--border-size) * 1);
}
