:root {
  --light: ;
}

html {
  background: black;
}
html.dark {
  background: black;
}
html.light {
  background: white;
}
html.time {
  --time: hsl(0, 0, var(--light));
  background: var(--time);
}
html h1,
html h2,
html h3,
html h4 {
  font-family: "Hack", Serif;
}
html * {
  box-sizing: border-box;
}

body {
  position: relative;
  background-attachment: fixed;
  background-image: url("../media/bg.png.webp");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  min-width: 280px;
  margin: 0;
  padding: 8px;
  color: #fee0e0;
  font-family: "Expletus Sans", "Noto Sans";
}
body::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
@media (min-width: 992px) {
  body {
    padding: 48px;
  }
}

main {
  align-items: center;
  border-radius: 69px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  max-width: min(80vw, 1720px);
  min-height: 100vh;
  min-width: 100%;
}
@media (min-width: 992px) {
  main {
    width: unset;
    margin: 48px auto;
  }
}
main .bg {
  background: linear-gradient(145deg, #f5d0a4 20%, #f5baa4 30%, #cf8aba 65%, #996781 80%, #4e3e5c) no-repeat fixed;
}

@keyframes hue-rotate {
  0% {
    backdrop-filter: hue-rotate(327deg);
  }
  42% {
    backdrop-filter: hue-rotate(237deg);
  }
  50% {
    backdrop-filter: hue-rotate(147deg);
  }
  60% {
    backdrop-filter: hue-rotate(57deg);
  }
  100% {
    backdrop-filter: hue-rotate(-33deg);
  }
}
@keyframes filter-rotate {
  0% {
    filter: hue-rotate(327deg);
  }
  42% {
    filter: hue-rotate(237deg);
  }
  50% {
    filter: hue-rotate(147deg);
  }
  60% {
    filter: hue-rotate(57deg);
  }
  100% {
    filter: hue-rotate(33deg);
  }
}
section {
  border-radius: 4px;
  margin: 0 auto 48px;
  max-width: 1440px;
  padding: 24px;
  position: relative;
}
section:nth-of-type(1) {
  clip-path: ellipse(50% at 0% 0%);
  border-radius: 8px 8px 4px 4px;
  left: -1px;
  max-width: 100%;
  top: -1px;
  width: clamp(50%, 100vw, 720px);
}
section:nth-last-of-type() {
  border-radius: 4px 4px 8px 8px;
  bottom: -1px;
  right: -1px;
}
section * {
  position: relative;
  z-index: 1;
}
section .backdrop_filter {
  background: black;
  height: 100%;
  left: 0;
  mix-blend-mode: saturation;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}
section::before {
  background: rgba(0, 0, 0, 0.6862745098);
  content: "";
  filter: blur(10px);
  height: 100%;
  left: -12px;
  position: absolute;
  top: -12px;
  width: 100%;
  z-index: 1;
}
@media (min-width: 992px) {
  section {
    margin: 48px auto;
  }
}

.shapes {
  height: 100vh;
  filter: blur(5px);
  left: 50%;
  mix-blend-mode: luminosity;
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  width: auto;
}
.shapes .triangle {
  background: #4fffff;
  width: 500px;
  height: 500px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  transform: rotate(45deg);
}

.header {
  text-align: center;
}
@media (min-width: 992px) {
  .header {
    text-align: start;
  }
}
.header .pipe {
  display: none;
}
@media (min-width: 992px) {
  .header .pipe {
    display: inline;
  }
}
.header .title {
  display: block;
  margin-top: 12px;
}
@media (min-width: 992px) {
  .header .title {
    display: inline;
    margin: unset;
  }
}

.portfolio article {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  margin: 48px auto;
  text-align: center;
}
.portfolio article img {
  max-height: min(90vh, 500px);
  border-radius: 50px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}
.portfolio article .content {
  background: rgba(61, 47, 55, 0.975);
  border-radius: 8px;
  margin-top: -48px;
  padding: 24px;
  width: 90%;
}
.portfolio article .content h3 {
  margin: 0;
}
.portfolio article .content h3 span {
  display: block;
  margin: inherit;
  font-style: italic;
  font-size: max(11px, 0.75em);
}
.portfolio article .content p {
  margin: 16px 0;
}
@media (min-width: 992px) {
  .portfolio article {
    border-radius: 50px;
    margin: 48px auto;
    max-height: min(80vh, 720px);
    overflow: hidden;
    transition: width 0.3s;
    width: 75%;
    text-align: center;
  }
  .portfolio article img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s;
    width: 100%;
    max-height: unset;
  }
  .portfolio article .content {
    align-items: center;
    background: rgba(61, 47, 55, 0.975);
    bottom: 0;
    clip-path: ellipse(100% 150% at 0% 50%);
    display: flex;
    flex-direction: column;
    height: 0%;
    justify-content: center;
    left: 0;
    max-width: 420px;
    min-width: 25%;
    opacity: 0;
    padding-left: 24px;
    padding-right: 72px;
    position: absolute;
    transform: translateX(-133%) scale(1.125);
    transition: transform 1.618s 0s, opacity 0.3s, height 0s 0.3s;
    width: 33%;
  }
  .portfolio article .content h3 {
    margin: 0;
  }
  .portfolio article .content h3 span {
    display: block;
    margin: inherit;
    font-style: italic;
    font-size: max(11px, 0.75em);
  }
  .portfolio article .content p {
    margin: 16px 0;
  }
  .portfolio article:hover {
    width: 100%;
  }
  .portfolio article:hover img {
    transition: transform 1.618s 0.809s ease-in-out;
    transform: translate(-50%, -50%);
  }
  .portfolio article:hover .content {
    height: 100%;
    opacity: 1;
    transform: translateX(0%);
    transition: transform 0.809s 1.618s ease-in-out;
  }
}

.backdrop_filter {
  background: white;
  display: block;
  filter: blur(10px);
  height: 250px;
  mix-blend-mode: saturation;
  width: 250px;
  background-attachment: fixed;
}
.backdrop_filter--red {
  background: red;
  mix-blend-mode: exclusion;
}

.btn {
  background-image: linear-gradient(33deg, #e69acf 45%, #f5baa4 55%, #f5baa4 95%, #e69acf 100%);
  background-position: 10% 50%;
  background-size: 200% 200%;
  color: black;
  display: inline-block;
  font-weight: bold;
  padding: 0.75em 1.5em;
  text-decoration: none;
  transition-duration: 0.3s;
  transition-property: background-image, background-position;
}
.btn:hover {
  transition-duration: 0.809s;
  background-position: 95% 50%;
  transition-timing-function: cubic-bezier(0.75, 0.1, 0.5, 0.9);
}

@font-face {
  font-family: "Expletus Sans";
  src: url("../fonts/Expletus_Sans/ExpletusSans-VariableFont_wght.ttf") format("TrueType");
  font-weight: 100 1000;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/Noto_Sans/NotoSans-Regular.ttf") format("TrueType");
}
@font-face {
  font-family: "Hack";
  src: url("../fonts/Hack/HackNerdFont-Regular.ttf") format("TrueType");
}

/*# sourceMappingURL=style.css.map */
