:root {
  --display: none;
  --red: #c30;
  --darkblue: #222555;
  --cyan: #aaffff;
  --lightyellow: #ffffaa;
  --yellow: #fe3;
  --pink: #ff1493;
  --white: #fff;
  --black: #000;
  --gray-e: #eee;
  --gray-d: #ddd;
  --gray-c: #ccc;
  --gray-1: #111;
  --gray-2: #222;
  --gray-3: #333;
  --gray-5: #555;
  --gray-7: #777;
  --gray-9: #999;
  --dark: #2c2c33;
  --light: #e3e9e9;
  --primary: var(--pink);
  --text-color: var(--white);
  --button-bg: var(--gray-5);
  --main-bg: linear-gradient(90deg, rgb(2, 0, 5) 0%, rgb(11, 0, 34) 100%);
  --card-bg: rgb(11, 0, 34);
  --aside-bg: #0b002280;
  --secondary: var(--darkblue);
  --border-radius: 0;
  --header-height: 120px;
  --speed: 0.25s;
  --speed-slow: 0.75s;
  --ease: cubic-bezier(0.5, 0, 0, 1.25);
  --ease-deep: cubic-bezier(0.5, 0, 0, 1.5);
  --ease-no-bounce: cubic-bezier(0.5, 0, 0, 1);
  --angle: 12deg;
}

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
ul,
li,
div {
  margin: 0;
  padding: 0;
  color: var(--text-color);
}

img {
  max-width: 100%;
}

html {
  font-family: "Roboto", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 2.5rem;
}

@media (width < 1200px) {
  h2 {
    font-size: 2rem;
  }
}

h3 {
  font-size: 1.5rem;
}

@media (width < 1200px) {
  h3 {
    font-size: 1.1rem;
  }
}

p {
  line-height: 1.5em;
}

p.large {
  font-size: 1.2rem;
}

blockquote {
  margin: 0;
  padding: 0;

  p {
    font-family: "Caveat", cursive;
    font-size: 3.5em;
    letter-spacing: -0.02em;
    line-height: 0.75em;
    font-optical-sizing: auto;
    font-weight: 700;
    text-align: left !important;
  }

  footer {
    margin-top: 2em;
  }

  cite {
    font-size: 0.75em;
    opacity: 0.5;
  }
}

.bigger {
  font-size: 2em;
  font-weight: 100;
}

.big {
  font-size: 3em;
  font-weight: 100;
}

.huge {
  font-size: 5em;
  font-weight: 100;
}

.red {
  color: var(--primary);
}

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

.pink {
  color: var(--pink);
}

.light {
  color: var(--light);
}

.dark {
  color: var(--dark);
}

.gray {
  color: var(--gray-7);
}

.darker {
  color: rgba(0, 0, 0, 0.2);
}

body {
  background: var(--main-bg);
}

.logo {
  fill: var(--secondary);
  width: 28px;
  display: inline-block;
}

.page-title {
  font-size: 1rem;
  text-transform: none;
  font-weight: 500;
  letter-spacing: inherit;
  color: var(--white) !important;
}

.marg-btm {
  margin-bottom: 1.5em;
}

.char60 {
  max-width: 60ch;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 400;
  transition: color var(--speed);
  white-space: nowrap;
}

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

a.button,
button {
  font-size: 1.2rem;
  background-color: var(--card-bg);
  display: inline-block;
  padding: 0.75em 2em;
  margin: 1.5em 0 1em;
  color: var(--primary);
  border: 0;
  box-shadow: 1px 1px 0 0 var(--primary), 2px 2px 0 0 var(--primary);
  transition: all var(--speed) var(--ease);
  border-radius: 2em;
}

a.button:hover,
button:hover {
  translate: -2px -2px;
  box-shadow: 1px 1px 0 0 var(--primary), 2px 2px 0 0 var(--primary), 3px 3px 0 0 var(--primary), 4px 4px 0 0 var(--primary), 5px 5px 0 0 var(--primary);
}

a.button+a.button,
button+a.button {
  margin-left: 1rem;
}

ul:not(.standard) {
  list-style: none;
  color: #000000 !important;

  li {
    color: #000000 !important;
  }
}

ol li {
  margin-bottom: 1.5em;
}

.small {
  font-size: 0.8em;
}

.circle {
  border-radius: 50%;
}

.center {
  display: block;
  text-align: center;
  margin: 0 auto;
}

.halfsize {
  display: block;
  width: 50%;
  margin: 0 auto;
}

.threequartersize {
  display: block;
  width: 75%;
  margin: 0 auto;
}

img,
video {
  width: 100%;
}

img.sml,
video.sml {
  max-width: 250px;
}

img.med,
video.med {
  max-width: 400px;
}

p+p {
  margin-top: 1rem;
}

.nomarg {
  margin: 0;
}

.inline {
  display: inline-block;
}

header {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
  color: var(--white);
  z-index: 9;
  height: var(--header-height);
  background-color: rgba(34, 34, 51, 0.8);
  -webkit-backdrop-filter: blur(20px) hue-rotate(180deg) saturate(900%);
  backdrop-filter: blur(20px) hue-rotate(180deg) saturate(900%);
}

.relative-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  /* overflow-x: hidden; */
}

main {
  position: relative;
  top: var(--header-height);
  left: 0;
  background-color: var(--main-bg);
  padding: 3rem;
  width: 60%;
  transition: width var(--speed) var(--ease);
}

main.fullscreen {
  width: 100%;
}

@media (width < 1200px) {
  main {
    width: 50%;
    /* padding: 2rem; */
  }
}

@media (width < 540px) {
  main {
    width: 40%;
    /* padding: 2rem; */
  }
}

section {
  max-width: 90rem;
  margin: 0 auto;
  margin-bottom: 10rem;
  container-type: inline-size;
}

section>h2,
.project-details>h2 {
  margin-bottom: 1rem;
}

aside {
  position: fixed;
  backdrop-filter: blur(100px);
  inset: 0 0 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2rem;
  width: 40%;
  translate: 100% 0;
  transition: translate var(--speed) var(--ease);
  background-color: var(--aside-bg);
}

aside.active {
  translate: 0;
}

aside .close {
  position: absolute;
  font-size: 1.25rem;
  text-align: right;
  padding-right: 8px;
  width: 48px;
  height: 48px;
  top: 0;
  left: -48px;
  border-radius: 0 0 0 48px;
  transform-origin: top right;
  rotate: -90deg;
  cursor: pointer;
  transition: rotate calc(var(--speed) * 2) ease-in-out calc(var(--speed) * 2);
}

@media (width < 1200px) {
  aside {
    width: 50%;
    /* padding: 1rem; */
  }
}

@media (width < 540px) {
  aside {
    width: 60%;
    /* padding: 1rem; */
  }
}

aside::-webkit-scrollbar {
  width: 8px;
}

aside::-webkit-scrollbar-track {
  background: transparent;
}

aside::-webkit-scrollbar-thumb {
  background: var(--gray-5);
  border-radius: 4px;
}

aside::-webkit-scrollbar-thumb:hover {
  background: blue;
}

aside video {
  width: 100%;
  height: auto;
}

.grid-container {
  display: grid;
  position: relative;
  gap: 2.5rem;
  container-type: inline-size;
  grid-template-columns: repeat(4, 1fr);

  &.outlined {
    border: 1px solid var(--white);
    place-items: center;
    grid-template-rows: 80px;

    &>* {
      border: 1px solid var(--white);
    }
  }
}

/* .grid-container.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid-container.four {
  container-type: inline-size;
  grid-template-columns: repeat(4, 1fr);
} */



/* @media (width < 1200px) {
  .grid-container.four {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (width < 920px) {
  .grid-container.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 540px) {
  .grid-container.four {
    grid-template-columns: repeat(1, 1fr);
  }
} */

/* .grid-container.five {
  grid-template-columns: repeat(5, 1fr);
} */

@media (width < 1200px) {
  .grid-container {
    gap: 2rem;
  }
}

.grid-container.perspective {
  perspective: 1200px;
}

.grid-container .span3 {
  grid-column: span 3;
}

@media (width < 1200px) {
  .grid-container .span3 {
    grid-column: span 2;
  }
}

nav.global {
  float: right;
}

nav.global li {
  display: inline-block;
  margin-right: 1.5rem;
}

nav.global li a {
  color: var(--white);
}

nav.global li:last-of-type {
  margin-right: 0;
}

.card {
  background-color: var(--card-bg);
  color: var(--gray-3);
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  translate: 0 60px;
  opacity: 0;
  filter: blur(10px);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), translate var(--speed-slow) var(--ease-deep) 0s, opacity var(--speed-slow) var(--ease) 0s, filter var(--speed-slow) ease-in-out;
}

.card.live {
  translate: 0;
  opacity: 1;
  filter: blur(0);
}

.card h3 {
  translate: 0 -1em;
  transition: translate var(--speed) var(--ease);
}

.card-info {
  position: relative;
}

.card-content {
  padding: 2rem 1rem 1rem;
}

.card-content span {
  font-size: 0.9rem;
}

span.role {
  display: block;
  font-size: 0.7rem;
  color: var(--primary);
}

.card:hover {
  translate: -2px -2px;
  box-shadow: 1px 1px 0 0 var(--primary), 2px 2px 0 0 var(--primary);
  transition: box-shadow var(--speed) var(--ease);
}

.card:hover h3 {
  translate: 0;
}

.card:hover .card-image svg {
  inset: auto 0 0 -100%;
}

.card-image {
  overflow: hidden;
  position: relative;
}

.card-image svg {
  fill: var(--card-bg);
  position: absolute;
  inset: auto -100% 0 0;
  transition: inset 0.25s ease-in-out;
  z-index: 1;
}

.card-image::before {
  display: var(--display);
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--pink);
  mix-blend-mode: color;
  z-index: 1;
}

.card.selected {
  translate: -2px -2px;
  box-shadow: 1px 1px 0 0 var(--primary), 2px 2px 0 0 var(--primary), 3px 3px 0 0 var(--primary), 4px 4px 0 0 var(--primary), 5px 5px 0 0 var(--primary), 6px 6px 0 0 var(--primary), 7px 7px 0 0 var(--primary), 8px 8px 0 0 var(--primary), 9px 9px 0 0 var(--primary), 10px 10px 0 0 var(--primary), 11px 11px 0 0 var(--primary), 12px 12px 0 0 var(--primary), 13px 13px 0 0 var(--primary), 14px 14px 0 0 var(--primary), 15px 15px 0 0 var(--primary), 16px 16px 0 0 var(--primary), 17px 17px 0 0 var(--primary), 18px 18px 0 0 var(--primary), 19px 19px 0 0 var(--primary);
}

.card.selected::after {
  box-shadow: inset 0 0 0 2px var(--primary);
  content: "";
  border-radius: var(--border-radius);
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}

.card.selected .card-image svg {
  inset: auto 0 0 -100%;
}

.card.selected h3 {
  translate: 0;
}

.card.complete img {
  filter: brightness(0.95);
}

.project-details {
  position: absolute;
  width: calc(100% - 4rem);
  translate: calc(100% + 3rem) 0;
  filter: blur(10px);
  opacity: 0;
  transition: translate var(--speed) var(--ease), filter var(--speed) ease-in-out, opacity var(--speed) var(--ease);
  padding-bottom: 5rem;

  h4 {
    letter-spacing: 0.05em;
    font-weight: 400;
  }

  ul {
li {
  margin-left: 2em;
  &:first-of-type {
    margin-top: 0.25em;
  }
}
  }
}

.project-details.selected {
  translate: 0;
  transition-delay: var(--speed);
  filter: blur(0);
  opacity: 1;
}

.project-details img,
.project-details video {
  border-radius: calc(var(--border-radius) * 2);
}

.project-details h3 {
  margin: 1em 0 0.25em;
  color: var(--primary);
}

@media (width < 1200px) {
  .project-details {
    width: calc(100% - 4rem);
  }
}

@keyframes iris {
  from {
    box-shadow: inset 0 0 0 calc(var(--size) * 0.5) white;
  }

  to {
    box-shadow: inset 0 0 0 0 white;
  }
}

.presentation {
  scroll-snap-type: y mandatory;
  height: 100dvh;
  overflow-y: scroll;
  overflow-x: hidden;
  font-size: 2rem;

  @media (width < 920px) {
    h2 {
      font-size: 48px;
    }

    font-size: 1rem;
  }

  h1 {
    font-size: 9rem;
  }

  ul {
    list-style: inside;
    /* line-height: 5rem; */

    &.margin-left {
      margin-left: 5rem;
    }

    li {
      margin-top: 1.5rem;

      &.pink {
        color: var(--pink) !important;
      }
    }
  }
}

.presentation h2 {
  padding-left: 0.5em;
  border-left: 3px solid var(--red);
  margin-bottom: 0.25em;
}

.presentation::-webkit-scrollbar {
  width: 6px;
}

.presentation::-webkit-scrollbar-track {
  background: var(--dark);
}

.presentation::-webkit-scrollbar-thumb {
  background-color: var(--red);
  border-radius: 3px;
}

section.middle {
  display: grid;
  grid-template-columns: 2fr 1fr;
  position: relative;
  align-items: center;
  align-content: center;
  margin: 0 auto;
  height: 100dvh;
  width: 100vw;
  padding: 6rem;
  gap: 3rem;
  max-width: none;
  scroll-snap-align: center;
  overflow: hidden;
  background-color: var(--gray-e);

  &.dark {
    background-color: #090919;

    h2 {
      border-left: 3px solid var(--pink);
    }
  }



  @media (width < 1600px) {
    grid-template-columns: 1fr;
    align-content: end;
  }
}

section.middle.two {
  grid-template-columns: 1fr 2fr;

  @media (width < 720px) {
    grid-template-columns: 1fr;
  }
}

section.middle.three {
  grid-template-columns: 1fr 1fr;

  @media (width < 720px) {
    grid-template-columns: 1fr;
  }
}

section.middle .red {
  color: var(--red);
}

section.middle p {
  color: var(--gray-3);
}

.right-container,
.right-container::after {
  --size: 400px;
  width: var(--size);
  height: var(--size);
  display: inline-block;
  position: relative;
  background-size: cover;
  border-radius: calc(var(--size) * 0.5);
}

@media (width < 1300px) {

  .right-container,
  .right-container::after {
    --size: 300px;
  }
}

.right-container.animated,
.right-container.animated::after {
  box-shadow: inset 0 0 0 calc(var(--size) * 0.5) white;
  animation: iris 0.5s cubic-bezier(0.5, 0, 0, 1) 0.5s forwards;
}

.right-container.animated::after {
  position: absolute;
  content: "";
  width: calc(var(--size) + 2);
  height: calc(var(--size) + 2);
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  box-shadow: inset 0 0 0 2px white;
  background-image: none;
}

.headshot {
  background-image: url("images/Tony.jpg");
}

.middle {
  .light {
    background-color: var(--light);
  }
}

.middle.rose {
  background-color: #e9e3e6;
}

.copy {
  hyphens: none;
  max-width: 70ch;
  z-index: 2;

  &h4,
  &h3 {
    font-weight: 400;
    margin-top: 2em;
    letter-spacing: 0.01em;
  }
}

.middle .images {
  display: grid;
  place-items: center;
  gap: 2rem;
}

@keyframes slideup {
  from {
    margin-top: 50rem;
  }

  to {
    margin-top: -20rem;
  }
}

.middle .images img.animated {
  margin-top: 50rem;
  animation: slideup 15s ease-in-out 1s infinite alternate;
}

.middle .images.scroll {
  place-items: start center;
  overflow-y: scroll;
  height: 100dvh;
}

.middle .images.two {
  grid-template-columns: 1fr 1fr;

  @media (width < 1200px) {
    grid-template-columns: 1fr;
  }
}

.middle .images.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.questions {
  position: fixed;
  height: 154px;
  top: -160px;
  right: 3em;
  left: 3em;
  text-align: center;
  font-size: 3em;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--light);
  z-index: 9;
  padding: 1em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background-color: rgba(34, 34, 51, 0.9);
  transition: top var(--speed) var(--ease);
  border-radius: 100px;
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.25);
}

.questions.active {
  top: 1rem;
}

select#theme {
  padding: 0.5rem;
  border-radius: 0;
  border: 1px solid var(--gray-5);
  outline: none;
  min-width: 150px;
  background-color: var(--aside-bg);
  color: var(--text-color);
}

label[for=theme] {
  font-size: 14px;
  margin: 0 1rem;
  color: var(--white);
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

.theme-wrapper {
  justify-self: end;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* The Close Button */
/* 100% Image Width on Smaller Screens */
@media (width < 700px) {
  .modal-content {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bgvid {
    display: none;
  }
}

.tiltcard {
  position: relative;
  aspect-ratio: 1/1;
  transition: rotate var(--speed-slow) var(--ease-no-bounce);
  transform-style: preserve-3d;
  transform-origin: top;
}

.tiltcard::after {
  content: "";
  position: absolute;
  inset: 0px;
  translate: 0;
  transform: translateZ(0px);
  background: black;
  filter: blur(0rem);
  opacity: 1;
  z-index: 1;
  transition: transform var(--speed-slow) var(--ease-no-bounce), filter var(--speed-slow) var(--ease-no-bounce), rotate var(--speed-slow) var(--ease-no-bounce), translate var(--speed-slow) var(--ease-no-bounce), opacity var(--speed-slow) var(--ease-no-bounce), inset var(--speed-slow) var(--ease-no-bounce);
}

.tiltcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 100;
  background: radial-gradient(circle, transparent 100px, var(--black));
  opacity: 0;
  transition: opacity var(--speed-slow) var(--ease-no-bounce);
}

.tiltcard:hover {
  rotate: x var(--angle);
}

.tiltcard:hover::after {
  inset: -12px;
  rotate: x calc(var(--angle) * -1);
  translate: 0 20px;
  opacity: 0.25;
  filter: blur(0.5rem);
  transform: translateZ(-50px);
}

.tiltcard:hover::before {
  opacity: 1;
}

.tiltcard:hover h3 {
  rotate: x calc(var(--angle) * -1);
  transform: translate3d(0, -30px, 20px);
}

.tiltcard:hover .front-image {
  opacity: 1;
  rotate: x calc(var(--angle) * -1);
}

.tiltcard .front-image {
  scale: 1.15;
  transform-origin: bottom;
  position: absolute;
  opacity: 0;
  z-index: 10000;
  transition: all var(--speed-slow) var(--ease-no-bounce);
  -webkit-clip-path: inset(0 25px);
  clip-path: inset(0 25px);
}

.tiltcard h3 {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 85%;
  margin-inline: auto;
  inset: auto 0 2rem;
  transform: translate3d(0, 0px, 20px);
  transition: rotate var(--speed-slow) var(--ease-no-bounce), transform var(--speed-slow) var(--ease-no-bounce);
}

.tiltcard .bg-image {
  position: absolute;
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  z-index: 10;
}

.bgvid {
  position: absolute;
  inset: 0;
  width: 100vw;
  z-index: 0;
  opacity: 0.15;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0% 66%);
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0% 66%);
}

.bgvid.btm {
  inset: auto 0 0 0;
  -webkit-clip-path: polygon(0 80%, 100% 47%, 100% 100%, 0% 100%);
  clip-path: polygon(0 80%, 100% 47%, 100% 100%, 0% 100%);
}

.resume {
  position: relative;
  z-index: 1;
}

.marquee {
  position: relative;
  overflow: hidden;
}

.marquee img {
  animation: marquee 20s cubic-bezier(0.333, 0, 0.666, 1) forwards infinite;
  height: 800px;
  width: unset;
  max-width: none;
}

@keyframes marquee {

  0%,
  100% {
    translate: 0% 0;
  }

  90% {
    translate: -85% 0;
    animation-timing-function: cubic-bezier(0.8, 0, 0, 1);
  }
}

.marquee:hover::after {
  content: "hover pause";
  position: absolute;
  inset: 12px auto auto 12px;
  font-size: 12px;
  color: var(--dark);
  background-color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
}

.marquee:hover img {
  animation-play-state: paused;
}

.microsoftlogo {
  width: 200px;
  margin-bottom: 2.5rem;
}

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

body.portal {
  background: linear-gradient(60deg, rgb(2, 0, 5) 0%, rgb(11, 0, 34) 100%);
  margin: 0;
  padding: 0;

  a {
    display: block;
    color: white;
    transition: all 1.2s var(--ease);

    &:hover {
      transform: scale(1.3);
      transition-duration: 0.3s;
      transition-timing-function: cubic-bezier(0, 0.75, 0.25, 1);
    }
  }
}

.logo {
  position: absolute;
  width: 130px;
  fill: white;
  top: 24px;
  left: 50%;
  translate: -50% 0;

  @media (width < 1200px) {
    left: 3rem;
    translate: 0;
  }
}

@keyframes breathe {
  0% {
    width: 700px;
  }

  33% {
    width: 900px;
  }

  100% {
    width: 700px;
  }
}

.blur {
  /* width: 100vw;
  height: 100dvh; */
  inset: 0;
  filter: blur(250px);
  overflow: hidden;
  position: fixed;
  z-index: -1;

  @media (width < 1920px) {
    filter: blur(200px);
  }

  @media (width < 920px) {
    filter: blur(150px);
  }

  svg#pink {
    fill: #E204E7;
    margin-left: 50%;
    translate: -50% 50%;
    bottom: 20dvh;
    position: absolute;
    animation: breathe 10s ease-in-out infinite forwards;

    @media (width < 920px) {
      bottom: 10dvh;
    }
  }

  svg#green {
    fill: #04E762;
    margin-left: 70%;
    translate: -50% 50%;
    bottom: 48dvh;
    position: absolute;
    animation: breathe 18s ease-in-out infinite forwards;
  }
}

.menu-item {
  position: absolute;
  top: 40dvh;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
  /* text-align: center; */
  cursor: pointer;
  translate: -50% 0;

  &.one {
    left: 20vw;
  }

  &.two {
    left: 40vw;
  }

  &.three {
    left: 60vw;
  }

  &.four {
    left: 80vw;
  }

  @media (width < 999px) {

    &.one,
    &.two,
    &.three,
    &.four {
      left: 50vw;
    }

    &.one {
      top: 30dvh;
    }

    &.three {
      top: 50dvh;
    }

    &.four {
      top: 60dvh;
    }
  }
}

canvas {
  position: fixed;
  width: 100vw;
  height: 100dvh;
  inset: 0;
}

form.contact {
  display: grid;
  padding: 2rem;
  border-radius: 1rem;
  gap: 2rem;
  position: absolute;
  background: linear-gradient(0deg, #0b002201 0%, #0b002299 100%);
  top: 25dvh;
  margin-left: 50%;
  translate: -50% 0;
  backdrop-filter: blur(200px);
  min-width: 450px;

  input,
  textarea {
    padding: 1rem;
    width: 100%;
    background-color: #00000080;
    border: none;
    color: #ffffff;
  }

  textarea {
    height: 120px;
  }
}

.filler {
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
}



@container (900px < width < 1199px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@container (600px < width < 899px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@container (width < 599px) {
  .grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

.title {
  background: linear-gradient(90deg, #ffffff99 33%, #ffffff01 66%);

  /* background-size: contain; */
  &.dark {
    background: var(--gray-1);
  }
}

.slide {
  &.one {
    background: linear-gradient(90deg, #ffffff 20%, #ffffff01 80%), url(/images/ShopIn3D_Menus2.gif) no-repeat right;
    background-size: contain;
  }
}

.script {
  position: absolute;
  width: 80ch;
  bottom: 3dvh;
  right: 0;
  display: none;
  background-color: #ffffff80;
  backdrop-filter: blur(10px);
  padding: 4rem;
  border-radius: 4rem 0 0 4rem;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  box-shadow: 0 10px 20px 0 #00000020, inset 5px 10px 10px 5px #ffffff99;

  &.active {
    display: block;
  }
}

.bgvideo {
  position: absolute;
  inset: 0;
  z-index: 0;
  mask-image: linear-gradient(to right, transparent 0%, white 40%);

  &.offset-15 {
    inset: 0 -15% 0 auto;

    @media (width < 1600px) {
      height: 100dvh;
      width: auto;
      inset: auto !important;
    }
  }

  &.offset-35 {
    inset: 0 -35% 0 auto;

    @media (width < 1600px) {
      height: 100dvh;
      width: auto;
      inset: auto !important;
    }
  }

  &.more-mask {
    mask-image: linear-gradient(to right, transparent 0%, white 99%);
  }

  &.right-65 {
    width: 65vw;
    inset: auto 5vw auto auto;

    @media (width < 1600px) {
      height: 100dvh;
      width: auto;
      inset: auto !important;
    }
  }

  &.height {
    height: 100dvh;
    width: auto;
  }

  @media (width < 1600px) {
    height: 100dvh;
    width: auto;
    inset: auto !important;
    mask-image: linear-gradient(to top, transparent 25%, white 80%);
  }

}



.anim-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  left: -5vw;
  z-index: 0;
  gap: 3rem;
  width: 75vw;
  /* width: 60vw; */
  transform: skew(20deg, 5deg) rotate(-15deg) scaleY(.9);

  .grid-columns {
    display: grid;
    align-content: start;
    gap: 2rem
  }

  &.four {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  &.straight {
    transform: none;
    width: 50vw;
    left: auto;
  }

  .spantwo {
    grid-column: span 2;
  }

  img,
  video {
    animation: glide 100s linear 0s infinite forwards;
    background-color: white;
    border-left: 5px solid var(--gray-c);
    border-bottom: 5px solid var(--gray-e);
    border-radius: 3rem;
    transform-origin: top right;

    &.shadow {
      box-shadow: -50px 50px 25px -20px #00000033;
    }

    &.sharp {
      animation: glidetwo 100s linear 0s infinite forwards;
      border: none;
      background-color: transparent;
      border-radius: 1.5rem;
    }

    &:active {
      position: absolute;
      height: 80dvh;
      width: auto;
      animation: none;
      transform: skew(-20deg, -5deg) rotate(15deg) scaleY(1);
      top: 60dvh;
      right: 10vw;
      bottom: auto;
      left: auto;
      z-index: 3;
    }

    &.sharp:active {
      transform: none;
      top: 40dvh;
      animation: none;
    }
  }

}

@keyframes glide {
  0% {
    translate: 0 50dvh;
  }

  100% {
    translate: 0 -50dvh;
  }
}

@keyframes glidetwo {
  0% {
    translate: 0 40dvh;
  }

  100% {
    translate: 0 -30dvh;
  }
}

@keyframes glidethree {
  0% {
    translate: 0 20dvh;
  }

  100% {
    translate: 0 -20dvh;
  }
}

.anim-mosaic.shorter .sharp {
  animation: glidethree 100s linear 0s infinite forwards;

  &:active {
    transform: none;
    top: 15dvh;
    animation: none;
  }
}

.subitem {
  position: relative;
  margin-left: 2.7rem;
  /* top: -1rem; */
}

model-viewer {
  height: 100dvh;
  width: 60vw;
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
}

ul.white {
  li {
    color: var(--white) !important;
  }
}

.tonyside {
  position: fixed;
  top: 0;
  right: 0;
  height: 100lvh;
  width: auto;
  mix-blend-mode: overlay;
  z-index: -1;
  aspect-ratio: 1;
  max-width: none;

  @media (width < 921px) {
    transform: rotate(-90deg) translateY(50lvw);
    right: calc(35lvw * 0.25);
    /* left: 0; */
  }
}

.aboutsection {
  container: greg / inline-size;
}



.aboutgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* grid-auto-rows: min-content; */
  /* place-items: center; */
  /* border: 1px solid var(--white); */
  box-shadow: inset 0 0 0 1px var(--white);

  &>* {
    position: relative;
    padding: 4rem;
    text-align: justify;
    /* box-shadow: inset 0 0 200px 1px #ffffff25; */
    /* border: 1px solid var(--white); */
    /* inset: -5px; */

    &::before {
      content: "";
      background-color: var(--white);
      height: 1px;
      width: 100%;
      position: absolute;
      bottom: 0;
      left: 0;
    }

    &::after {
      content: "";
      background-color: var(--white);
      width: 1px;
      height: 100%;
      position: absolute;
      top: 0;
      right: 0;
    }
  }

  h3 {
    position: relative;
    text-transform: lowercase;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    left: -3.5rem;
    top: -3.5rem;
  }

  a {
    font-size: 20px;
    color: var(--white);

    span {
      display: inline-block;
      position: relative;
      transition: transform .5s var(--ease-no-bounce);
    }

    &:hover {
      span {
        transform: translateX(2em);
      }

    }
  }

  .span2h {
    grid-column: span 2;
  }

  .span3h {
    grid-column: span 3;
  }

  .span2v {
    grid-row: span 2;
  }

  .span3v {
    grid-row: span 3;
  }

  .vert {
    writing-mode: vertical-lr;
  }



  .hover {
    overflow: hidden;

    h2 {
      position: absolute;
      top: 3rem;
      left: 3rem;
      margin: 0;
      padding: 0;
      transform-origin: top left;
      transition: all 0.5s var(--ease-no-bounce);
    }

    .hover_inner {
      transform-origin: 3rem 3rem;
      transition: all 0.5s var(--ease-no-bounce);
      margin: -4.5rem;
    }

    &:hover {
      .hover_inner {
        transform: scale(1.5) rotate(-12deg);

        h2 {
          transform: rotate(25deg);
        }
      }
    }
  }
}

@container greg (width < 1440px) {
  .aboutgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));

    &>* {
      padding: 3rem;
    }

    h3 {
      left: -2.5rem;
      top: -2.5rem;
    }
  }

  .span2h {
    grid-column: span 3 !important;
  }

  .span2v {
    grid-row: span 3 !important;
  }

  .vert {
    writing-mode: horizontal-tb !important;
  }

  .hover {
    .hover_inner {
      transform-origin: 3rem 3rem;
      margin: -4rem !important;
    }
  }
}

@container greg (width < 920px) {
  .aboutgrid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .span2h,
  .span3h {
    grid-column: span 1 !important;
  }

  .span2v,
  .span3v {
    grid-row: span 1 !important;
  }

}

.portfolio-section-title {
  border-left: 2px solid var(--pink);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.flipper {
  position: relative;
  cursor: pointer;
  transition: transform 1s var(--ease-deep);
  transform-style: preserve-3d;

  &::before {
    content: "click to flip";
    display: grid;
    place-items: center;
    position: absolute;
    inset: 1rem 0 auto auto;
    padding: 1rem 1.5rem;
    z-index: 3;
    border-radius: 2rem 0 0 2rem;
    background-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 6px 0 rgba(0,0,0,0.25);
    color: var(--black);
    backface-visibility: hidden;
    transform: translateY(-33%);
    opacity: 0;
    transition: all 0.25s var(--ease-no-bounce);
  }

  .front {
    position: relative;
    z-index: 1;
    backface-visibility: hidden;
  }
  .back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
  }

  &.active {
    transform: perspective(1000px) rotateY(180deg);
  }

  &:hover {
    &::before {
      transform: translateY(0);
    opacity: 1;
    }
  }
}