@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&display=swap");
html {
  font-size: 100%;
  animation: bgFade infinite 40s;
  box-sizing: border-box;
}

*,
* ::before,
* ::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  border: none;
  height: -moz-fit-content;
  height: fit-content;
}

li {
  list-style: none;
}

.body__index {
  height: 100vh;
}

.hide {
  display: none !important;
}

html {
  font-size: 100%;
}

/*16px*/
body {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 200;
  color: #000000;
}

p {
  font-size: calc(1.5rem + 0.75vw);
  font-weight: 400;
  font-style: italic;
  font-family: Cormorant Garamond;
  margin: 1rem 0;
}

h2 {
  font-family: Cormorant Garamond;
  font-size: calc(2rem + 0.75vw);
  font-style: italic;
  text-transform: uppercase;
}

h3 {
  font-size: calc(2rem + 1vw);
  font-weight: 600;
  font-style: italic;
  font-family: Cormorant Garamond;
  margin: 1.2rem;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: blue;
  margin: 0;
}

h5 {
  margin: 3rem 0 1.38rem;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

@keyframes bgFade {
  0% {
    background: #B2FF59;
    -webkit-background-clip: text;
  }
  25% {
    background: rgb(255, 238, 0);
    -webkit-background-clip: text;
  }
  50% {
    background: #B2FF59;
    -webkit-background-clip: text;
  }
  70% {
    background: #403aff;
    -webkit-background-clip: text;
  }
  80% {
    background: #e7ff8c;
    -webkit-background-clip: text;
  }
  100% {
    background: #B2FF59;
    -webkit-background-clip: text;
  }
}
@keyframes textShadow {
  0% {
    text-shadow: 2px 0px 2px #403aff;
  }
  25% {
    text-shadow: 0px 2px 2px #403aff;
  }
  50% {
    text-shadow: 2px 0px 2px #403aff;
  }
  75% {
    text-shadow: 0px 2px 2px #403aff;
  }
  100% {
    text-shadow: 2px 0px 2px #403aff;
  }
}
.background {
  filter: blur(4px);
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.4784313725);
}

.blue-box {
  position: fixed;
  max-width: 100vw;
  max-height: 100vh;
  inset: calc(1rem + 4vh) calc(1.5rem + 1.2vw);
  border: 5px solid #403aff;
  background-color: rgba(249, 88, 63, 0.8235294118);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.651) 30%, rgba(0, 128, 0, 0));
  z-index: 1000;
}

.menu {
  display: grid;
  height: 100%;
  width: 100%;
  padding: 5% 20% 5% 20%;
  grid-template-columns: repeat(2, minmax(min(200px, 45%), 1fr));
  grid-auto-rows: minmax(150px, 1fr);
  grid-gap: 5%;
}

a.portfolio-folder {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  position: relative;
  text-decoration: none;
}
a.portfolio-folder :hover .gif {
  animation-play-state: running;
}
a.portfolio-folder h4 {
  grid-row: 2/3;
}

.menu__folder {
  width: auto;
  min-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  grid-row: 1/2;
  position: relative;
  justify-content: center;
  display: flex;
}
.menu__folder :nth-child(1) {
  z-index: 3;
}
.menu__folder :nth-child(2) {
  z-index: 2;
}
.menu__folder :nth-child(3) {
  z-index: 1;
}
.menu__folder :nth-child(4) {
  z-index: 0;
}
.menu__folder div {
  height: 100%;
  max-width: 100%;
  position: absolute;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 10px;
}
.menu__folder div img {
  aspect-ratio: 1/1;
  height: inherit;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  animation-play-state: paused;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 1340px) {
  .menu {
    padding: 5% 10%;
  }
}
@media screen and (max-width: 768px) {
  .blue-box {
    inset: calc(1.5rem + 1.2vw) 0;
    border: 3px solid #403aff;
  }
  .menu {
    grid-gap: 5%;
    padding: 10%;
  }
  .menu .portfolio-folder {
    grid-template-rows: 2fr 1fr;
  }
}
@media (orientation: landscape) and (max-width: 1340px) {
  .menu {
    grid-gap: 5%;
    grid-template-columns: repeat(2, minmax(min(200px, 45%), 1fr));
    grid-auto-rows: minmax(100px, 1fr);
  }
}
my-header,
my-footer {
  display: block;
  width: 100%;
}

my-header > header,
my-footer > footer {
  display: block !important;
  justify-content: initial !important;
  align-items: initial !important;
  flex-direction: initial !important;
  position: fixed;
  width: calc(100% - (1.5rem + 1.2vw) * 2);
  margin: 0.5rem calc(1.5rem + 1.2vw);
  z-index: 1001;
  font-family: "Josefin Sans", Arial, Helvetica, sans-serif;
  font-size: calc(1rem + 0.75vw);
  text-transform: uppercase;
}
my-header > header .fire:before,
my-footer > footer .fire:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
my-header > header .Blazing,
my-footer > footer .Blazing {
  animation-play-state: paused;
}
my-header > header a,
my-footer > footer a {
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  color: #120f20;
  transition: text-shadow 1s;
}
my-header > header a:hover, my-header > header a:active,
my-footer > footer a:hover,
my-footer > footer a:active {
  animation-play-state: running;
  cursor: pointer;
}
my-header > header .active,
my-footer > footer .active {
  animation-play-state: running;
}
my-header > header .name a,
my-footer > footer .name a {
  text-shadow: 0 0 0;
}
my-header > header .right,
my-footer > footer .right {
  top: 0;
}
@media screen and (max-width: 768px) {
  my-header > header,
  my-footer > footer {
    margin: 0.5rem;
    width: calc(100% - 0.5rem * 2);
  }
}
@media screen and (max-width: 576px), screen and (max-height: 576px) and (orientation: landscape) {
  my-header > header,
  my-footer > footer {
    margin: 0.25rem;
    width: calc(100% - 0.25rem * 2);
  }
}

/* Your internal content container */
header > .inner,
footer > .inner {
  display: flex;
  /* FLEX ONLY HERE */
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

footer {
  bottom: 0px;
}

.vibrate-1 {
  animation: vibrate-1 0.3s linear infinite both;
}

.vibrate-2 {
  animation: vibrate-2 0.7s linear infinite both;
}

.slide-rotate-hor-bottom {
  animation: slide-rotate-hor-bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate both;
}

.slide-top {
  animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate both;
}

.scale-down-bottom {
  animation: scale-down-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate both;
}

.rotate-10-tl-cw {
  animation: rotate-90-tl-cw 1s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite alternate both;
}

.rotate-2 {
  animation: rotate-90-tl-cw 1.5s cubic-bezier(0.46, 0.1, 0.55, 0.92) infinite alternate both;
}

.delay-02 {
  animation-delay: 0.2s;
}

.riding {
  animation: riding 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate-reverse both;
}

.wing {
  animation: wing 2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate-reverse both;
}

.shiver {
  animation: shiver 0.1s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite alternate-reverse both;
}

.Blazing {
  animation: 2s Blazing infinite alternate linear;
}

@keyframes Blazing {
  0% {
    text-shadow: 0 0 0.5px red, 0 0 2px red, 0 0 5px #f9573f, 2px -5px 10px rgb(255, 238, 0), 0 -5px 10px rgb(255, 238, 0);
  }
  25% {
    text-shadow: 0 3px 20px red, 0 0 30px red, 0 0 20px orange, 0 0 5px yellow, -2px -5px 5px yellow, 3px -10px 10px yellow, -4px -15px 20px yellow;
  }
  50% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 -5px 10px orange, -2px -5px 5px yellow, 3px -10px 10px yellow, -4px -15px 20px yellow, 2px -20px 30px rgba(255, 255, 0, 0.5);
  }
  75% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 -5px 10px orange, 3px -5px 5px yellow, -4px -10px 10px yellow, 2px -20px 30px rgba(255, 255, 0, 0.5), 0px -25px 40px rgba(255, 255, 0, 0);
  }
  100% {
    text-shadow: 0 3px 20px red, 0 0 20px red, 0 0 10px orange, 0 0 0 yellow, 0 0 5px yellow, -2px -5px 5px yellow, 4px -10px 10px yellow;
  }
}
@media screen and (prefers-reduced-motion: reduce) {
  .gif {
    animation: none !important;
  }
}
@keyframes slideUpDown {
  from {
    top: 0px;
  }
  to {
    top: -20pX;
  }
}
@keyframes slideLeftRight {
  from {
    left: 0px;
  }
  to {
    left: -10px;
  }
}
/* ----------------------------------------------
 * Generated by Animista on 2022-2-14 19:3:54
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation vibrate-1
 * ----------------------------------------
 */
@keyframes vibrate-1 {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}
/**
 * ----------------------------------------
 * animation vibrate-2
 * ----------------------------------------
 */
@keyframes vibrate-2 {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(2px, -2px);
  }
  40% {
    transform: translate(2px, 2px);
  }
  60% {
    transform: translate(-2px, 2px);
  }
  80% {
    transform: translate(-2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}
/**
 * ----------------------------------------
 * animation slide-rotate-hor-bottom NOT
 * ----------------------------------------
 */
@keyframes slide-rotate-hor-bottom {
  0% {
    transform: translateY(0) rotateX(0deg);
  }
  100% {
    transform: rotateY(25deg);
  }
}
/**
 * ----------------------------------------
 * animation slide-top
 * ----------------------------------------
 */
@keyframes slide-top {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50px);
  }
}
/* ----------------------------------------------
 * Generated by Animista on 2022-2-14 21:4:32
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation scale-down-bottom
 * ----------------------------------------
 */
@keyframes scale-down-bottom {
  0% {
    transform: scale(1);
    transform-origin: 50% 100%;
  }
  100% {
    transform: scale(0.95);
    transform-origin: 50% 100%;
  }
}
/* ----------------------------------------------
 * Generated by Animista on 2022-2-14 21:14:5
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation rotate-10-tl-cw
 * ----------------------------------------
 */
@keyframes rotate-90-tl-cw {
  0% {
    transform: rotate(0);
    transform-origin: 50% 0%;
  }
  100% {
    transform: rotate(10deg);
    transform-origin: 50% 0%;
  }
}
/* ----------------------------------------------
 * Generated by Animista on 2023-6-5 13:24:6
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 *  riding animation rotate-90-bl-ccw
 * ----------------------------------------
 */
@keyframes riding {
  0% {
    transform: rotate(10deg);
    transform-origin: 50% 100%;
  }
  100% {
    transform: rotate(-10deg);
    transform-origin: 50% 100%;
  }
}
/**
 * ----------------------------------------
 *  riding animation rotate-90-bl-ccw
 * ----------------------------------------
 */
@keyframes wing {
  0% {
    transform: rotate(0deg);
    transform-origin: 0% 100%;
  }
  100% {
    transform: rotate(5deg);
    transform-origin: 0% 100%;
  }
}
/* ----------------------------------------------
 * Generated by Animista on 2023-6-5 16:22:35
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation slide-top
 * ----------------------------------------
 */
@keyframes shiver {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-3px);
  }
}
.bio {
  display: grid;
  grid-template-columns: 9fr 3fr;
  grid-auto-flow: dense;
  height: -moz-fit-content;
  height: fit-content;
  color: #e7ff8c;
  background-color: inherit;
  inset: 25vh 0 0 0;
  z-index: -1;
  text-wrap: stable;
}
.bio h2 {
  color: #f9573f;
}

.bio__picture {
  z-index: 100;
  position: fixed;
  top: 4.5rem;
  right: 1.5rem;
}
.bio__picture img {
  width: 30vw;
  box-shadow: 0px 0px 7px rgba(249, 88, 63, 0.8235294118);
}

.bio__wrapper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10vw, 1fr) minmax(450px, 550px) minmax(10vw, 1fr);
  grid-template-rows: minmax(50vh, auto) minmax(50vh, auto);
  grid-auto-rows: auto;
  grid-column: 1/2;
  grid-row: 1/-1;
  height: -moz-fit-content;
  height: fit-content;
  margin-bottom: 5vh;
  background-color: #120f20;
}

.bio-descriptive {
  grid-column: 2/span 1;
  grid-row: 1/2;
  margin-top: 7vh;
}

.bio-cv {
  margin-bottom: 7vh;
  grid-row: 2/span 1;
  grid-column: 2/span 1;
}
.bio-cv ul {
  padding: 0;
  margin: 7vh 0;
}
.bio-cv ul li {
  display: list-item;
  list-style-type: disclosure-closed;
}

@media screen and (max-width: 780px) {
  .bio {
    display: block;
    position: relative;
    inset: 0;
    margin-top: 2rem;
    padding: 5vw;
    background-color: #120f20;
  }
  section:first-of-type {
    display: block;
    width: 100%;
    padding: 2rem 5vw 0;
  }
  section:first-of-type .bio__picture {
    position: relative;
    top: 3rem;
    right: auto;
    width: 80vw;
    max-width: 350px;
    margin: 0 auto;
    display: block;
  }
  section:first-of-type .bio__picture img {
    width: 100%;
    height: auto;
    box-shadow: 0px 0px 7px rgba(249, 88, 63, 0.8235294118);
    display: block;
  }
  .bio__wrapper {
    display: block;
    grid-template-columns: none;
    grid-template-rows: none;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    padding: 0;
    margin-bottom: 5vh;
  }
  .bio__wrapper .bio-descriptive {
    margin-top: 2rem;
    width: 100%;
  }
  .bio__wrapper .bio-cv {
    width: 100%;
    margin-top: 2rem;
  }
  .bio__wrapper .bio-cv ul {
    padding: 0;
    margin: 2rem 0;
  }
  .bio__wrapper .bio-cv ul li {
    display: list-item;
    list-style-type: disclosure-closed;
  }
  .bio-descriptive,
  .bio-cv {
    grid-column: auto;
    grid-row: auto;
  }
}
section .blue-box_video {
  position: fixed;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
  margin: 40px;
  border: 5px solid #403aff;
  background-color: rgba(219, 27, 27, 0);
  display: flex;
  z-index: 1;
  overflow-y: scroll;
  overflow-x: hidden;
}
@media screen and (max-width: 768px), screen and (max-height: 768px) and (orientation: landscape) {
  section .blue-box_video {
    width: calc(100% - 70px);
    height: calc(100% - 70px);
    margin: 35px;
  }
}
@media screen and (max-width: 576px), screen and (max-height: 576px) and (orientation: landscape) {
  section .blue-box_video {
    width: calc(100% - 50px);
    height: calc(100% - 50px);
    margin: 25px;
  }
}
section .container_video_full {
  width: 90%;
  margin: auto;
  z-index: 9;
  scroll-behavior: auto;
}
section .janela_video {
  position: relative;
  padding-top: 56.25%;
  margin-top: 2.5%;
  margin-bottom: 2.5%;
  background-color: #0009ca;
}
section .janela_video .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -50px 0 0 -50px;
  border: 5px solid rgb(255, 238, 0);
  border-radius: 50%;
  border-top: 5px solid #f9573f;
  width: 100px;
  height: 100px;
  animation: spinner 4s linear infinite;
}
@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
section .janela_video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*menu-pintura*/
section {
  position: relative;
}
section .blue-box.pintura {
  z-index: 600;
  background-color: #403aff;
  overflow: scroll;
}

.pintura__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
  grid-template-rows: auto;
  grid-auto-flow: dense;
  justify-items: center;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow: scroll;
}
.pintura__container .wide {
  grid-column: span 2;
  margin: auto;
}
.pintura__container .tall {
  grid-row: span 1;
}
.pintura__container .individual__container {
  display: grid;
  grid-template-rows: auto;
  width: calc(100% - 1.5rem);
  padding: 1.5rem;
  justify-items: center;
}
.pintura__container .individual__container:hover p {
  opacity: 1;
}
.pintura__container .individual__container img {
  max-height: 77vh;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.pintura__container .individual__container p {
  text-align: center;
  color: #B2FF59;
  margin: 5px 0;
  opacity: 0;
  transition: all 0.5s;
}
.pintura__container .individual__container p span {
  font-weight: 600;
}

@media screen and (max-width: 600px) {
  .pintura__container {
    grid-template-columns: 100%;
  }
  .pintura__container .wide {
    grid-column: span 1;
    margin: auto;
  }
  .pintura__container .individual__container {
    padding: 1rem 0;
  }
}
@media screen and (max-width: 810px) {
  .pintura__container .individual__container p {
    opacity: 1;
  }
}
.contact-container {
  position: absolute;
  inset: 25vh 0 0 25vw;
  max-width: 100vw;
  max-height: 100vh;
  background-image: linear-gradient(135deg, rgba(249, 88, 63, 0.4941176471), #f9573f);
  padding: 5vw;
  overflow: visible;
}
.contact-container h3 {
  mix-blend-mode: difference;
  color: transparent;
  animation: bgFade infinite 40s;
}
@media screen and (max-width: 780px) {
  .contact-container {
    inset: 7vh 0 0 10vw;
    padding: 10vh 0 0 3vw;
  }
}

section.web-dev {
  max-height: -moz-fit-content;
  max-height: fit-content;
  width: 55vw;
  background-color: #403aff;
  box-shadow: 0 0 7px 2px rgba(249, 88, 63, 0.8235294118), 0 0 20px inset #0009ca;
  top: 5vh;
  display: grid;
  margin: auto;
  padding: 5vw 5vw;
  text-align: center;
}
section.web-dev p {
  text-shadow: 0 0 20px rgb(255, 0, 0);
  color: #e7ff8c;
}
section.web-dev .image {
  width: 50%;
  height: 20vh;
  -o-object-fit: contain;
     object-fit: contain;
  position: relative;
  display: flex;
  justify-content: center;
  margin: auto;
}
section.web-dev .image :nth-child(1) {
  z-index: 3;
}
section.web-dev .image :nth-child(2) {
  z-index: 2;
}
section.web-dev .image img {
  height: inherit;
  max-width: 100%;
  position: absolute;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 1/1;
}

section.web-dev.temporaria {
  top: 15vh;
}

@media screen and (max-width: 1340px) {
  section.web-dev {
    width: 55vw;
  }
}
@media screen and (max-width: 768px) {
  section.web-dev {
    width: calc(100% - 1rem);
  }
}
@keyframes bgFade {
  0% {
    background: #B2FF59;
    -webkit-background-clip: text;
  }
  25% {
    background: rgb(255, 238, 0);
    -webkit-background-clip: text;
  }
  50% {
    background: #B2FF59;
    -webkit-background-clip: text;
  }
  70% {
    background: #403aff;
    -webkit-background-clip: text;
  }
  80% {
    background: #e7ff8c;
    -webkit-background-clip: text;
  }
  100% {
    background: #B2FF59;
    -webkit-background-clip: text;
  }
}
@keyframes textShadow {
  0% {
    text-shadow: 2px 0px 2px #403aff;
  }
  25% {
    text-shadow: 0px 2px 2px #403aff;
  }
  50% {
    text-shadow: 2px 0px 2px #403aff;
  }
  75% {
    text-shadow: 0px 2px 2px #403aff;
  }
  100% {
    text-shadow: 2px 0px 2px #403aff;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.header {
  padding: 2rem 1rem;
  text-align: center;
}
.header h1 {
  font-size: 2.5rem;
  font-weight: 300;
}

.main {
  padding: 2rem 1rem;
  max-width: 100%;
  margin: 0 auto;
  background-color: #56cc7b;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.project {
  background: none;
  overflow: hidden;
  cursor: help;
  margin-bottom: 50px;
  width: 100%;
  min-width: 0;
  /* allow it to shrink/fit inside flex/grid correctly */
  box-sizing: border-box;
}

.gallery,
.project {
  min-width: 0;
  /* crucial for preventing flex-basis collapse in wide layouts */
}

.project__single {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  display: grid;
  /* safe default that doesn't change layout */
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: stretch;
  /* --> critical for grid parents */
  align-items: stretch;
}

.viewer-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  /* ensure grid/flex parents let it stretch */
  justify-self: stretch;
  align-self: stretch;
}
.viewer-wrap model-viewer {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 1px;
  min-height: 1px;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}
.viewer-wrap model-viewer img {
  display: block;
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  -o-object-fit: contain;
     object-fit: contain;
}

.project__single,
.project__double,
.project__triple,
.project__grid {
  height: 90vh;
  display: grid;
}

.project__hero {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin: auto;
}

.project__double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.project__image {
  width: 100%;
  height: 80vh;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.project__image:hover,
.project__hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(181, 111, 255, 0.15);
}

.project__triple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 80vh;
  overflow: hidden;
}

.project__hero-column {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.project__secondary-column {
  display: grid;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
}

.project__hero-column {
  height: 100%;
}

.project__secondary,
.project__grid-item,
.project__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin: auto;
}

.project__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 80vh;
}

.project__grid-column {
  height: inherit;
}

.project__grid-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  gap: 20px;
}

.project--fallback {
  padding: 2rem;
  text-align: center;
}
.project--fallback .project__fallback h3 {
  color: #231b83;
  margin-bottom: 1rem;
}
.project--fallback .project__fallback p {
  color: #666;
}

.modal * {
  display: initial !important;
}

.modal {
  position: fixed;
  display: block !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal[aria-hidden=false] {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal__content {
  display: block !important;
  background: rgba(255, 255, 255, 0.8470588235);
  padding: 0.5rem calc(1.5rem + 1.2vw);
  padding-top: calc(1rem + 2vh + 0.5rem);
  line-height: calc(1rem + 2vh);
  max-width: 90%;
  width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  z-index: 1001;
  box-shadow: 0 20px 40px rgba(119, 104, 255, 0.3);
  font-size: calc(1rem + 0.75vw);
}
@media (max-width: 600px) {
  .modal__content {
    padding-left: 0.25rem;
    width: calc(100% - 2rem);
  }
}

.modal__close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #ff7575;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  top: auto;
  bottom: 1rem;
}
.modal__close:hover {
  color: #231b83;
}

.modal__body h2 {
  color: #f9573f;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}
.modal__body .modal__year {
  color: #3498db;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.modal__body .modal__description {
  line-height: 1.6;
  color: #333;
}

.loading {
  text-align: center;
  padding: 2rem;
  color: #666;
}

.error {
  text-align: center;
  padding: 2rem;
  color: #e74c3c;
  background: #ffe6e6;
  border-radius: 8px;
  margin: 2rem 0;
}

@media (max-width: 860px) {
  .project__single .viewer-wrap,
  .project__double .viewer-wrap,
  .project__triple .viewer-wrap {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .project__single .viewer-wrap model-viewer,
  .project__double .viewer-wrap model-viewer,
  .project__triple .viewer-wrap model-viewer {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .project__single,
  .project__double,
  .project__triple,
  .project__grid {
    width: 100%;
    height: auto;
    display: block;
    gap: 1rem;
    box-sizing: border-box;
  }
  .project__single {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  img,
  model-viewer {
    cursor: zoom-in;
    display: block;
    width: 100%;
    height: auto;
    max-height: 60vh;
    -o-object-fit: contain;
       object-fit: contain;
    margin: auto;
  }
  .project__hero {
    width: 100%;
    height: auto;
  }
  .project__double {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    align-items: center;
    justify-items: center;
  }
  .project__image {
    width: 100%;
    height: auto;
    max-height: 50vh;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .project__triple {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .project__hero-column {
    height: auto;
  }
  .project__secondary-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px;
    width: 100%;
    height: auto;
  }
  .project__secondary {
    width: 100%;
    height: auto;
    max-height: 40vh;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .project__grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 0;
  }
  .project__grid-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }
  .project__grid-item {
    width: 100%;
    height: auto;
    max-height: 40vh;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .main {
    padding: 0;
  }
}/*# sourceMappingURL=main.css.map */