body {
  margin: 0;
  padding: 0;
  background-color: black;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
}

.heroimg {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: block;
  margin-top: 200px;
}

.worktite {
  color: white;
  font-family: Archivo;
  font-size: 80px;
  font-weight: 500;
  padding-top: 80px;
  text-align: center;
}

*, ::before, ::after {
  margin: 0;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: true;
}
/* general styling */
html {
  color-scheme: dark light;
}

/* Hide radio buttons */
input[type=radio] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

body {
  margin: 0;
  font-family: Archivo;
}

.cards {
  --img-w: 300px;
  --duration: 300ms;
  --img-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
  width: min(100% - 4rem, 800px);
  margin-inline: auto;
  display: grid;
  padding-top: 50px;
  counter-reset: my-counter;
}

.card {
  --cards-grid-cols: auto;
  --cards-grid-rows: var(--img-w) auto;
  --cards-grid-gap: 2rem;
  --cards-footer-justify: center;
  grid-area: 1/1;
  display: grid;
  place-items: center;
  grid-template-columns: var(--cards-grid-cols);
  grid-template-rows: var(--cards-grid-rows);
  gap: var(--cards-grid-gap);
}

@media (600px < width) {
  .card {
    --cards-grid-cols: var(--img-w) auto;
    --cards-grid-rows: auto;
    --cards-grid-gap: 4rem;
    --cards-footer-justify: start;
  }
}
.card-img {
  width: 300px;
  height: 300px;
  aspect-ratio: 1/1;
  rotate: var(--angle, 0deg);
  border-radius: 10px;
  border: 3px solid #FFF;
  overflow: hidden;
  transform-origin: center;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.05);
}

input:nth-of-type(1):checked + .card ~ .card > .card-img {
  animation: straighten-img-1 calc(var(--duration) * 2) forwards;
  animation-timing-function: var(--img-easing);
}

.card:has(~ input:nth-of-type(2):checked) > .card-img,
input:nth-of-type(2):checked + .card ~ .card > .card-img {
  animation: straighten-img-2 calc(var(--duration) * 2) forwards;
  animation-timing-function: var(--img-easing);
}

.card:has(~ input:nth-of-type(3):checked) > .card-img,
input:nth-of-type(3):checked + .card ~ .card > .card-img {
  animation: straighten-img-3 calc(var(--duration) * 2) forwards;
  animation-timing-function: var(--img-easing);
}

.card:has(~ input:nth-of-type(4):checked) > .card-img,
input:nth-of-type(4):checked + .card ~ .card > .card-img {
  animation: straighten-img-4 calc(var(--duration) * 2) forwards;
  animation-timing-function: var(--img-easing);
}

.card:has(~ input:nth-of-type(5):checked) > .card-img,
input:nth-of-type(5):checked + .card ~ .card > .card-img {
  animation: straighten-img-5 calc(var(--duration) * 2) forwards;
  animation-timing-function: var(--img-easing);
}

.card:has(~ input:nth-of-type(6):checked) > .card-img,
input:nth-of-type(6):checked + .card ~ .card > .card-img {
  animation: straighten-img-6 calc(var(--duration) * 2) forwards;
  animation-timing-function: var(--img-easing);
}

.card:has(~ input:nth-of-type(7):checked) > .card-img,
input:nth-of-type(7):checked + .card ~ .card > .card-img {
  animation: straighten-img-7 calc(var(--duration) * 2) forwards;
  animation-timing-function: var(--img-easing);
}

/* as CSS can't remove animations, we change the animation according to which checkbox is checked  - all animations are the same (would be simpler with SCSS) */
@keyframes straighten-img-1 {
  50% {
    --angle: 0deg;
  }
}
@keyframes straighten-img-2 {
  50% {
    --angle: 0deg;
  }
}
@keyframes straighten-img-3 {
  50% {
    --angle: 0deg;
  }
}
@keyframes straighten-img-4 {
  50% {
    --angle: 0deg;
  }
}
@keyframes straighten-img-5 {
  50% {
    --angle: 0deg;
  }
}
@keyframes straighten-img-6 {
  50% {
    --angle: 0deg;
  }
}
@keyframes straighten-img-7 {
  50% {
    --angle: 0deg;
  }
}
/* stacking order - these are updated according to which card is selected */
.card {
  z-index: -1;
}

input:checked + .card {
  z-index: 10 !important;
}

/* next card checked - place behind */
.card:has(+ input:checked) {
  z-index: 9;
}

/* next card +1 checked - place behind */
.card:has(+ input + .card + input:checked) {
  z-index: 8;
}

/* next card +2 checked - place behind */
.card:has(+ input + .card + input + .card + input:checked) {
  z-index: 7;
}

/* next card +3 checked - place behind */
.card:has(+ input + .card + input + .card + input + .card + input:checked) {
  z-index: 6;
}

/* next card +4 checked - place behind */
.card:has(+ input + .card + input + .card + input + .card + input + .card + input:checked) {
  z-index: 5;
}

/* next card +5 checked - place behind */
.card:has(+ input + .card + input + .card + input + input + .card + input + .card + input + .card + input:checked) {
  z-index: 4;
}

/* next card +6 checked - place behind */
.card:has(+ input + .card + input + .card + input + .card + input + input + .card + input + .card + input + .card + input:checked) {
  z-index: 3;
}

.card-data {
  display: grid;
  gap: 1rem;
}

.card-data > .card-num {
  opacity: var(--data-opacity, 0);
  font-size: 0.8rem;
  color: #666;
}

.card-data > p {
  font-size: 0.9rem;
}

.card-data > h2,
.card-data > p {
  transition: var(--duration) ease-in-out;
  transition-delay: var(--data-delay, 0ms);
  opacity: var(--data-opacity, 0);
  translate: 0 var(--data-y, 20px);
}

.card-data > footer {
  display: flex;
  justify-content: var(--cards-footer-justify);
  gap: 2rem;
}

.card-data > footer label {
  margin-block-start: auto;
  cursor: pointer;
  pointer-events: var(--card-events, none);
  opacity: var(--data-opacity, 0);
  transition: color var(--duration) ease-in-out;
  color: var(--label-clr-txt, #000);
  background-color: var(--label-clr-bg, #EEE);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  aspect-ratio: 1/1;
  display: grid;
  place-content: center;
  transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
}

input:checked:focus-visible + .card > .card-data > footer label,
.card-data > footer label:hover {
  --label-clr-txt: #FFF;
  --label-clr-bg: steelblue;
}

input:checked + .card {
  --data-opacity: 1;
  --data-y: 0;
  --data-delay: var(--duration);
  --card-events: auto;
  transition: z-index;
  transition-delay: 300ms;
}

input:checked + .card > .card-img {
  animation: reveal-img calc(var(--duration) * 2) forwards;
}

@keyframes reveal-img {
  50% {
    translate: -150% 0;
    --angle: 0deg;
  }
}
.about-container img {
  width: 50%;
  height: auto;
  max-width: none;
}

.about-text {
  max-width: 900px;
  text-align: left;
}

@media (max-width: 800px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .about-container img {
    width: 80%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
  }
  .about-text {
    text-align: center;
    max-width: 100%;
    padding: 0 20px;
  }
  .helloname {
    font-size: 28px;
    text-align: center;
  }
}
.helloname {
  font-family: Archivo;
  color: white;
  font-size: 35px;
  font-weight: 300;
  padding-bottom: 30px;
  padding-top: 10px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.about-photo {
  max-width: 50%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.about-text {
  max-width: 900px;
  text-align: left;
}

.allnav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
}

.topnav {
  background-image: linear-gradient(to right, #8CF2E6 0%, #EFDE95 28.85%, #F7BAEA 62.02%, #9AD2E8 90.87%);
  overflow: hidden;
  width: 100%;
  height: 100px;
}

.topnav a {
  float: right;
  text-decoration: none;
  color: black;
  text-align: center;
  padding-top: 40px;
  padding-left: 20px;
  padding-right: 40px;
  font-size: 30px;
  font-family: Archivo;
  font-style: normal;
  font-weight: 500;
}

.topnav a:hover {
  color: white;
}

.logoicon {
  width: 100px;
  height: 100px;
  float: left;
  margin-top: -100px;
}

@media (max-width: 600px) {
  .topnav a {
    font-size: 25px;
    padding-left: 10px;
    padding-right: 20px;
  }
}
@media (max-width: 500px) {
  .topnav a {
    font-size: 20px;
    padding-left: 10px;
    padding-right: 20px;
  }
}
@keyframes skills-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2800px);
  }
}
.skills-slider {
  width: 100%;
  max-width: 100%;
  height: 120px;
  overflow: hidden;
  position: relative;
  background: black;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  margin: 4rem auto;
}
.skills-slider::before, .skills-slider::after {
  background: linear-gradient(to right, rgb(0, 0, 0) 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  position: absolute;
  width: 120px;
  height: 100%;
  z-index: 2;
}
.skills-slider::before {
  left: 0;
  top: 0;
}
.skills-slider::after {
  right: 0;
  top: 0;
  transform: rotate(180deg);
}
.skills-slider .slide-track {
  display: flex;
  width: 5600px;
  animation: skills-scroll 23s linear infinite;
}
.skills-slider .slide {
  width: 200px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skills-slider .slide img {
  width: 100px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(0%);
}

.skills-wrapper {
  display: flex;
  gap: 50px;
  padding-left: 50px;
  padding-right: 50px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.skillsleft {
  flex: 50%;
}

.skillsright {
  flex: 50%;
}

.skilltite {
  font-family: Archivo;
  color: white;
  font-size: 35px;
  font-weight: 300;
  padding-bottom: 10px;
  padding-top: 13px;
}

.skillex {
  font-family: Archivo;
  font-style: italic;
  color: white;
  font-size: 20px;
  font-weight: 300;
  padding-bottom: 5px;
}

.skilldesc {
  padding-bottom: 35px;
}

@media (max-width: 800px) {
  .skills-wrapper {
    flex-direction: column;
    padding-left: 30px;
    padding-right: 30px;
  }
  .skillsleft,
  .skillsright {
    flex: 100%;
  }
  .skilltite {
    font-size: 28px;
  }
  .skillex {
    font-size: 18px;
  }
  .skilldesc {
    font-size: 16px;
  }
}
.footer {
  background-color: white;
  width: 100%;
  height: 160px;
}

.footerstuff {
  display: flex;
  gap: 25px;
  padding-left: 50px;
  padding-right: 50px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}

.footercolumnright {
  flex: 50%;
}

.footercolumnright p {
  color: black;
}

.footercolumnright a {
  color: black;
  text-decoration: underline;
}

.footercolumnleft img {
  max-width: 50%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.typing-title {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-family: inherit;
  text-align: center;
  line-height: 0.8em;
}

.typing-active {
  animation: blink 0.7s step-end infinite;
}

.worktite {
  text-align: center;
  width: 100%;
}

.trail-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.trail-particle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.85;
  filter: blur(8px);
  background-color: #8CF2E6;
  animation: fadeAndColor 0.6s ease-out forwards;
}

@keyframes fadeAndColor {
  0% {
    opacity: 0.9;
    transform: scale(1);
    background-color: #8CF2E6;
  }
  50% {
    background-color: #fa92e3;
  }
  100% {
    opacity: 0;
    transform: scale(0.3);
    background-color: #F7BAEA;
  }
}
.orb {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: white;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
  filter: blur(4px);
}/*# sourceMappingURL=main.css.map */