@charset "UTF-8";
/* Prevent fullscreen video on iPhone */
video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
}

/* Hide native video controls */
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-volume-slider-container,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-seek-back-button,
video::-webkit-media-controls-seek-forward-button,
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-rewind-button,
video::-webkit-media-controls-return-to-realtime-button,
video::-webkit-media-controls-toggle-closed-captions-button {
  display: none !important;
  -webkit-appearance: none;
}

/* Prevent fullscreen on iOS */
.video-container video {
  -webkit-playsinline: true;
  playsinline: true;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #fcf7ed;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
  transition: opacity 0.5s ease;
  max-width: 100vw;
}

body.loaded {
  opacity: 1;
}

a {
  color: #1b0d48;
}

h1, h2, h3 {
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.2rem;
}

h3 a:before, h4 a:before, h5 a:before {
  content: "";
  position: relative;
  width: 1em;
  height: 1em;
  display: inline-block;
  margin-right: 10px;
  border-radius: 100px;
  background-color: #1b0d48;
  box-shadow: 2px 0px 0px 0 rgba(255, 0, 0, 0.9), -2px 0px 0px 0 rgb(0, 71, 255);
  color: #fff;
  background-image: url(../images/icons/svg/link-icon.svg);
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: middle;
}

p {
  line-height: 1.5;
  margin-bottom: 1rem;
}

blockquote {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  padding-left: 1rem;
  font-family: monospace;
  margin-top: 2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
  position: relative;
}

blockquote:before,
blockquote:after {
  display: block;
  position: absolute;
  font-size: 4rem;
  font-weight: bold;
  color: #1b0d48;
  margin: auto;
  opacity: 1;
  text-shadow: 2px 0px 0px rgba(255, 0, 0, 0.9), -2px 0px 0px rgb(0, 71, 255);
  transform: rotate(10deg);
}

blockquote:before {
  content: "“";
  top: -0.5em;
  left: -0.5em;
}

blockquote:after {
  content: "”";
  bottom: -0.5em;
  right: -0.5em;
  display: none;
}

.quote-image {
  height: 3rem;
  width: 3rem;
  border-radius: 10rem;
  margin: auto;
  display: block;
  /* margin: 1rem; */
  float: left;
  margin-top: -0.3rem;
  shape-outside: ellipse();
  margin-right: 1rem;
  filter: grayscale(1);
  vertical-align: middle;
}

.quote-vertical-line {
  width: 1px;
  height: 4rem;
  background-color: #1b0d48;
  margin: auto;
}

/* Fixed elements */
.fixed-elements {
  position: relative;
  width: 100%;
  pointer-events: none; /* Allow clicking through to content beneath */
}

.fixed-info {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 14px;
  pointer-events: auto; /* Make this element clickable */
}

.fixed-info:has(.contact-info) {
  top: 0;
  left: 0;
}

.resume-button {
  position: sticky;
  top: 30px;
  pointer-events: auto;
  margin-bottom: 3em;
  z-index: 999;
  max-width: 300px;
  right: 2rem;
  margin-left: auto;
}

.three-d::before,
.three-d::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inherit;
  z-index: -1;
  mix-blend-mode: multiply;
  transform: rotate(var(--rotate-deg)) translate(var(--translate-x), var(--translate-y));
  transition: transform 0.2s ease;
  border-radius: inherit;
}

.three-d::before {
  background-color: #ff0033; /* Magenta */
  --translate-x: -2px;
  --translate-y: -2px;
  --rotate-deg: 0deg;
  opacity: 1;
}

.three-d::after {
  background-color: #0047ff; /* Cyan */
  --translate-x: 2px;
  --translate-y: 2px;
  --rotate-deg: 0deg;
  opacity: 1;
}

@media screen and (hover: hover) {
  .btn.three-d:hover::before {
    --translate-x: 0px;
    --translate-y: 0px;
  }
  .btn.three-d:hover::after {
    --translate-x: 0px;
    --translate-y: 0px;
  }
}
.btn {
  display: flex;
  align-items: center;
  padding: 0.7em 1em;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  font-size: 1rem;
  font-weight: bold;
  min-width: 180px;
  overflow: visible;
  border-radius: 40px;
  gap: 10px;
  justify-content: center;
}

.btn.three-d {
  background-color: transparent;
}

.btn.three-d::before,
.btn.three-d::after {
  border-radius: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.download-icon-container {
  background-color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
  /* Update mask with the provided SVG */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='37' viewBox='0 0 37 37'%3E%3Cpath id='Exclusion_5' data-name='Exclusion 5' d='M-1619.7-983.191a18.382,18.382,0,0,1-7.2-1.454,18.437,18.437,0,0,1-5.88-3.965,18.44,18.44,0,0,1-3.965-5.881,18.387,18.387,0,0,1-1.454-7.2,18.385,18.385,0,0,1,1.454-7.2,18.44,18.44,0,0,1,3.965-5.88,18.439,18.439,0,0,1,5.88-3.965,18.383,18.383,0,0,1,7.2-1.454,18.385,18.385,0,0,1,7.2,1.454,18.436,18.436,0,0,1,5.881,3.965,18.439,18.439,0,0,1,3.965,5.88,18.385,18.385,0,0,1,1.454,7.2,18.387,18.387,0,0,1-1.454,7.2,18.441,18.441,0,0,1-3.965,5.881,18.435,18.435,0,0,1-5.881,3.965A18.384,18.384,0,0,1-1619.7-983.191Zm-9.5-19a1,1,0,0,0-1,1v9a1,1,0,0,0,1,1h19a1,1,0,0,0,1-1v-9a1,1,0,0,0-1-1h-.471a1,1,0,0,0-1,1v7.555h-16.059v-7.555a1,1,0,0,0-1-1Zm5.406-3.667a1.965,1.965,0,0,0-1.782,1.093,1.967,1.967,0,0,0,.168,2.086l4.093,5.607a1.977,1.977,0,0,0,1.615.821,1.982,1.982,0,0,0,1.616-.821l4.093-5.607a1.966,1.966,0,0,0,.168-2.086,1.966,1.966,0,0,0-1.783-1.094h-2.241v-5.48a1.855,1.855,0,0,0-1.852-1.853,1.855,1.855,0,0,0-1.853,1.853v5.48Z' transform='translate(1638.202 1020.191)' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37' height='37' viewBox='0 0 37 37'%3E%3Cpath id='Exclusion_5' data-name='Exclusion 5' d='M-1619.7-983.191a18.382,18.382,0,0,1-7.2-1.454,18.437,18.437,0,0,1-5.88-3.965,18.44,18.44,0,0,1-3.965-5.881,18.387,18.387,0,0,1-1.454-7.2,18.385,18.385,0,0,1,1.454-7.2,18.44,18.44,0,0,1,3.965-5.88,18.439,18.439,0,0,1,5.88-3.965,18.383,18.383,0,0,1,7.2-1.454,18.385,18.385,0,0,1,7.2,1.454,18.436,18.436,0,0,1,5.881,3.965,18.439,18.439,0,0,1,3.965,5.88,18.385,18.385,0,0,1,1.454,7.2,18.387,18.387,0,0,1-1.454,7.2,18.441,18.441,0,0,1-3.965,5.881,18.435,18.435,0,0,1-5.881,3.965A18.384,18.384,0,0,1-1619.7-983.191Zm-9.5-19a1,1,0,0,0-1,1v9a1,1,0,0,0,1,1h19a1,1,0,0,0,1-1v-9a1,1,0,0,0-1-1h-.471a1,1,0,0,0-1,1v7.555h-16.059v-7.555a1,1,0,0,0-1-1Zm5.406-3.667a1.965,1.965,0,0,0-1.782,1.093,1.967,1.967,0,0,0,.168,2.086l4.093,5.607a1.977,1.977,0,0,0,1.615.821,1.982,1.982,0,0,0,1.616-.821l4.093-5.607a1.966,1.966,0,0,0,.168-2.086,1.966,1.966,0,0,0-1.783-1.094h-2.241v-5.48a1.855,1.855,0,0,0-1.852-1.853,1.855,1.855,0,0,0-1.853,1.853v5.48Z' transform='translate(1638.202 1020.191)' fill='%23fff'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}

/* Remove the .download-icon-cutout as we don't need it anymore */
.download-icon-cutout {
  display: none;
}

.button-text {
  font-family: Arial, sans-serif;
  letter-spacing: 1px;
}

.contact-info {
  position: relative;
  /* background-color: #78aeff; */ /* Primary blue color */
  color: white;
  padding: 2rem;
  font-family: "Courier New", monospace;
  clip-path: polygon(0% 0%, 0 100%, 100% 0%);
  /* width: 350px; */
  transform: rotate(0deg);
  z-index: 1;
  line-height: 1.5;
  padding-right: 30px;
  padding-bottom: clamp(160px, 10vw, 280px);
  font-size: clamp(14px, 0.8vw, 18px);
  width: 100vw;
  max-width: 56rem;
  overflow: visible;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1em;
}
.contact-info.three-d:before, .contact-info.three-d:after {
  clip-path: polygon(0 0, 0 100%, 100% 0);
}

.contact-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.contact-image {
  border: white 5px solid;
  width: 110px;
  height: 110px;
  border-radius: 20rem;
  overflow: hidden;
}

.contact-info p {
  font-size: 1.1em;
}

.contact-info h1 {
  font-size: 2.5em;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0;
}

.contact-info p:nth-child(2) {
  font-size: 1.2em;
  font-weight: 800;
  margin-bottom: 0.6em;
}

.contact-info a {
  color: inherit;
}

.contact-info-text p {
  margin-bottom: 0;
}

/* Scrollable content */
.scrollable-content {
  display: flex;
  flex-direction: row;
  --aside-width: 38ch;
  --gap: 20px;
  gap: var(--gap);
  /* max-width: 1500px; */
  z-index: 3;
  position: relative;
  margin-left: 30px;
  margin-right: 30px;
  overflow: hidden;
}

aside {
  width: var(--aside-width);
  padding: 10px;
  box-sizing: border-box;
  overflow: visible;
  position: static;
}

main {
  width: calc(100% - var(--aside-width) - var(--gap));
  margin-top: 110px;
  position: relative;
}

.resume-heading {
  grid-column: 1/-1;
  text-align: center;
}

.application-icons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  --gap: 0.5em;
  gap: var(--gap);
}

.application-icons .icon {
  width: calc(33% - 1 * var(--gap));
}

.application-icons .icon p {
  font-size: 0.75em;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

.application-icons:not(.web) .icon img {
  width: 100%;
}

.application-icons.web img {
  height: 30px;
  width: auto;
  display: block;
}

.application-icons.web .icon img {
  height: 50px;
  max-width: 50px;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.application-icons.web {
  --gap: 6px;
  row-gap: 19px;
}

.application-icons .icon b {
  display: block;
  font-size: 0.9rem;
  line-height: 1;
}

/* Sections styling */
section {
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  min-height: 250px;
}

.hero-intro {
  padding: 0 clamp(20px, 2vw, 50px);
  max-width: 90ch;
}

.hero-image {
  flex: 1;
}

.hero-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  position: sticky;
  top: 25px;
  z-index: 10;
  background: transparent;
  padding: 20px;
  border-radius: 50rem;
  width: auto;
}
.hero-nav a {
  font-size: clamp(1.1rem, 1.3vw, 1.5rem);
  background: #1b0d3e;
  padding: 0.125em 0.75em;
  border-radius: 20px;
  color: white;
  position: relative;
  text-decoration: none;
}
.hero-nav a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 900px) {
  .hero-nav {
    position: relative;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero-nav a {
    font-size: 1.5rem;
  }
}

/* Terminal ASCII Art Styling */
.terminal-art {
  background-color: #fff;
  border-radius: 40px;
  padding: 20px;
  position: relative;
  width: auto;
  min-width: 63ch;
  transform: perspective(1000px) rotateX(2deg);
  transform-origin: center top;
  display: flex;
  align-items: start;
  justify-content: center;
  box-sizing: content-box;
  padding-right: 3rem;
}

.color-offset {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  mix-blend-mode: multiply; /* Add blend mode for better color mixing */
  opacity: 1; /* Reduce opacity for better blending */
  border-radius: inherit; /* Match parent border radius */
  pointer-events: none; /* Allow clicking through */
}

.color-offset-1 {
  background-color: rgb(255, 0, 149);
  transform: translate(7px, 0px);
  z-index: 2; /* Bring forward instead of behind */
}

.color-offset-2 {
  background-color: rgb(0, 255, 0);
  transform: translate(-7px, 0px);
  z-index: 2; /* Bring forward instead of behind */
}

.color-offset-3 {
  background-color: rgb(255, 255, 0);
  transform: translate(0px, 7px);
  z-index: 3; /* Stack on top */
}

.color-offset-4 {
  background-color: rgb(0, 69, 255);
  transform: translate(0px, -7px);
  z-index: 3; /* Stack on top */
}

.terminal-art:after {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(120, 120, 255, 0.05) 0%, rgba(120, 255, 120, 0.02) 50%, rgba(255, 120, 120, 0.05) 100%);
  z-index: 2;
  /* CRT screen effect */
  background-image: linear-gradient(rgba(178, 178, 178, 0.7) 50%, rgba(0, 0, 0, 0.75) 50%), linear-gradient(90deg, rgba(250, 0, 0, 0.75), rgba(0, 255, 0, 0.66), rgba(0, 0, 255, 0.51));
  background-size: 100% 2px, 3px 100%;
  border-radius: inherit;
}

.ascii-art {
  font-family: "Courier New", monospace;
  color: #00ff00; /* Terminal green */
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: pre;
  overflow-x: visible;
  margin: 0;
  width: calc(100% - 40px);
  position: relative;
  z-index: 5; /* Ensure text stays on top and readable */
  text-align: left;
  text-shadow: 1px 0 2px rgb(0, 255, 255), -1px 0 2px rgb(255, 0, 0);
  mix-blend-mode: hard-light;
  background-color: transparent; /* Ensure background is transparent */
}

/* Terminal cursor styling */
.cursor {
  display: inline-block;
  color: #00ff00;
  font-weight: bold;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    visibility: hidden;
  }
}
/* Portfolio gallery */
.gallery-grid {
  display: grid;
  --columns: 6;
  /*grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
  grid-template-columns: repeat(var(--columns), 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* Client logos */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

/* Featured projects */
.project-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.project-item h3 {
  margin-top: 15px;
}

/* Skills and services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

/* Contact section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 4px solid #1b0d3e;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1.25rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  padding: 12px;
  color: #fff;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #555;
}

/* Image placeholders */
.placeholder-image {
  background-color: #eee;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.6;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.placeholder-image:after {
  content: attr(data-label);
  position: absolute;
}

/* Animation for placeholders */
.placeholder-image.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Loading animation */
.social-icon {
  width: 24px;
  height: 24px;
  fill: currentColor; /* This will make it inherit the text color */
  vertical-align: middle;
}

/* Glitch effect for terminal */
@keyframes glitch {
  0% {
    transform: perspective(1000px) rotateX(2deg) translate(0);
    text-shadow: -2px 0 1px rgba(255, 0, 0, 0.7), 2px 0 1px rgba(0, 255, 255, 0.7);
  }
  20% {
    transform: perspective(1000px) rotateX(2deg) translate(-3px, 1px);
    text-shadow: -3px 0 1px rgba(255, 0, 0, 0.9), 3px 0 1px rgba(0, 255, 255, 0.9);
  }
  40% {
    transform: perspective(1000px) rotateX(2deg) translate(3px, -1px);
    text-shadow: -1px 0 1px rgba(255, 0, 0, 0.7), 1px 0 1px rgba(0, 255, 255, 0.7);
  }
  60% {
    transform: perspective(1000px) rotateX(2deg) translate(-2px, 1px);
    text-shadow: -4px 0 1px rgba(255, 0, 0, 0.8), 4px 0 1px rgba(0, 255, 255, 0.8);
  }
  80% {
    transform: perspective(1000px) rotateX(2deg) translate(2px, -1px);
    text-shadow: -2px 0 1px rgba(255, 0, 0, 0.7), 2px 0 1px rgba(0, 255, 255, 0.7);
  }
  100% {
    transform: perspective(1000px) rotateX(2deg) translate(0);
    text-shadow: -2px 0 1px rgba(255, 0, 0, 0.7), 2px 0 1px rgba(0, 255, 255, 0.7);
  }
}
.terminal-art.glitch .ascii-art {
  animation: glitch 0.2s linear;
}

.terminal-art.glitch {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), -5px 0 0px 0px rgba(255, 0, 0, 0.7), 5px 0 0px 0px rgba(0, 255, 255, 0.7);
}

.resume-heading {
  grid-column: 1/-1;
  text-align: center;
}

.skills-section h3 {
  /* writing-mode: sideways-lr; */
  /* text-orientation: mixed; */
  /* transform: rotate(-180deg); */
  margin-right: 30px;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #333;
  position: relative;
  text-align: left;
  text-shadow: 0px -2px 0px rgba(255, 0, 0, 0.5), 0px 2px 0px rgba(0, 255, 255, 0.5);
  vertical-align: middle;
}

.skills-section h3 + * {
  margin-left: 1em;
}

/* You might need to adjust the layout of skills-section as well */
.skills-section {
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  flex-direction: column;
}

.skills-container h4 {
  line-height: 1.2;
  margin-bottom: 0.5em;
  font-size: 1.5rem;
}

.education-container, .experience-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.application-icons, .skill-list, .experience-item, .education-item {
  margin-left: 0px; /* Adjust based on your vertical heading width */
  flex: 1;
}

.skills-section h3 img.section-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  display: inline-block;
  /* transform: rotate(180deg); */
  vertical-align: middle;
}

/* Timeline styling */
.timeline {
  position: relative;
  padding-left: 20px; /* Space for the timeline */
}

.timeline-line {
  position: absolute;
  left: -6px;
  top: 10px;
  bottom: 0;
  width: 2px;
  background-color: #333;
  z-index: 1;
  display: none;
}

.experience-item, .education-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  left: -35px; /* Position relative to the item's padding-left */
  top: 8px; /* Align with the start of text */
  width: 20px;
  height: 20px;
  background-color: #333;
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  position: relative;
}

.timeline-content h4 {
  margin-bottom: 10px;
}

.timeline-dot.opened {
  background: white;
  border: 4px solid black;
}

.timeline-dot.opened.small {
  border-width: 8px;
}

.timeline :is(.experience-item, .education-item):before {
  content: "";
  width: 2px;
  background: black;
  position: absolute;
  height: calc(100% + 4em);
  left: -26px;
  top: 20px;
}

.timeline :is(.experience-item, .education-item):last-child:before {
  display: none;
}

.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  flex-direction: row;
  scroll-margin-top: 6rem;
  margin-bottom: 6rem;
}

/* Header Styling */
.gallery-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.logo-sticky {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
  position: sticky;
  top: 110px;
}

.logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-circle.three-d .color-offset {
  opacity: 0;
}

.logo-image {
  width: 30px;
  height: 30px;
  object-fit: contain;
  position: relative;
}

.vertical-text {
  -webkit-background-clip: text;
  margin-top: 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #333;
  position: relative;
  text-align: left;
  text-shadow: 0px -2px 0px rgba(255, 0, 0, 0.5), 0px 2px 0px rgba(0, 255, 255, 0.5);
  vertical-align: middle;
}

.title-area {
  grid-column: 1/-1;
  line-height: 1;
}

.gallery-item + .title-area {
  margin-top: 2rem;
}

.title-area h1 {
  font-size: 28px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.title-area h2 {
  font-size: 18px;
  font-weight: normal;
  color: #555;
}

.title-area h2.cms-header {
  font-size: 1.5em;
  font-weight: bold;
  color: black;
}

.cms-header img {
  height: 1em;
  vertical-align: middle;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  --columns: 6;
  grid-template-columns: repeat(var(--columns), 1fr);
  grid-gap: 15px;
  margin-bottom: 30px;
  margin-top: 0;
}

.gallery-grid .gallery-item {
  border-radius: 10px;
  overflow: hidden;
}

.grid-5 {
  --columns: 5;
}

.grid-4 {
  --columns: 4;
}

.grid-3 {
  --columns: 3;
}

.gallery-item {
  /* aspect-ratio: 1/1; */
  overflow: hidden;
}

.gallery-item:not(:has(.gallery-item-group)), .gallery-item-group img {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.col-span-2 {
  grid-column: auto/span 2;
}

.col-span-3 {
  grid-column: auto/span 3;
}

.col-span-4 {
  grid-column: auto/span 4;
}

.col-span-5 {
  grid-column: auto/span 5;
}

.col-span-6 {
  grid-column: auto/span 6;
}

.col-span-7 {
  grid-column: auto/span 7;
}

.col-span-8 {
  grid-column: auto/span 8;
}

.col-span-9 {
  grid-column: auto/span 9;
}

.col-span-all {
  grid-column: 1/-1;
}

.aspect-ratio-8-6 {
  aspect-ratio: 8/6.6;
}

.gallery-item-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.gallery-item-group:after {
  content: "";
  background: #f1f1f1;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item img:not(.cms-icon):not(.client-logo):not(.logo-image) {
  background: #fff;
}

.gallery-item-group img {
  height: auto;
}

.contain-img img {
  object-fit: contain;
}

img.height-auto {
  height: auto;
}

.gallery-item .website-image:not(.scrollable) img:hover {
  transform: scale(1.05);
}

/* Decorative Footer */
.decorative-footer {
  position: relative;
  height: 80px;
  margin-top: 20px;
}

.rainbow-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.7) 0%, rgba(0, 128, 0, 0.7) 25%, rgba(0, 0, 255, 0.7) 50%, rgba(75, 0, 130, 0.7) 75%, rgba(238, 130, 238, 0.7) 100%);
  clip-path: polygon(0 100%, 100% 0, 100% 30%, 0 100%);
}

.dotted-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(to right, #0066cc 50%, transparent 50%);
  background-size: 20px 1px;
  background-repeat: repeat-x;
}

#contact {
  min-height: 100vh;
}

@media screen and (max-width: 600px) {
  .gallery-header {
    flex-direction: column;
    align-items: center;
  }
  .logo-area {
    flex-direction: row;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .vertical-text {
    writing-mode: horizontal-tb;
    margin-top: 0;
    margin-left: 10px;
    letter-spacing: normal;
  }
}
.print-only {
  display: none;
}

.hidden {
  display: none;
}

/* Website Showcase Styles */
.gallery-item.website-showcase, .gallery-item.cms-showcase {
  margin-bottom: 2rem;
  box-shadow: none;
  overflow: initial;
}
.gallery-item.cms-showcase {
  margin-left: 2rem;
}

.website-showcase h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.website-showcase h3 + p {
  margin-bottom: 1rem;
}

.website-showcase-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  margin-bottom: 1.5rem;
  grid-template-columns: repeat(var(--grid-col-count), 1fr);
  gap: var(--grid-gap-y) var(--grid-gap-x);
  --grid-col-count: 9;
  --grid-gap-y: 3.5rem;
  --grid-gap-x: 1.5rem;
}

.website-container {
  position: relative;
  margin-bottom: 1rem;
}

.content-container ul {
  margin-top: 1rem;
}

.content-container ul li::marker {
  color: transparent;
}

.cms-showcase .cms-icon,
.cms-showcase h3:has(img),
.cms-showcase .client-logo {
  width: auto;
  height: 3rem;
  object-fit: contain;
  margin-bottom: 1rem;
  max-width: 180px;
  line-height: 2;
}

.img-caption {
  margin-bottom: 0.5rem;
}

.website-image {
  height: 300px;
  overflow-y: scroll;
  scrollbar-width: thin;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.website-info {
  word-break: break-word;
}
.website-info:has(video) {
  padding-right: 1rem;
}
.website-info h1 img, .website-info h2 img, .website-info h3 img, .website-info h4 img, .website-info h5 img {
  box-shadow: none;
  transform: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  width: auto;
  height: auto;
}

.img-height-250 .website-image, .img-height-250.website-image {
  height: 250px;
}

.website-image.img-height-250 {
  height: 250px;
}

.website-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.website-image::-webkit-scrollbar {
  width: 6px;
}

.website-image::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.website-image::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.website-image::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.website-image img {
  width: 100%;
  height: auto;
  display: block;
}

.scroll-indicator {
  position: absolute;
  bottom: 0px;
  right: 50%;
  /* background-color: #fff; */
  color: #333;
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  /* opacity: 0.9; */
  transition: opacity 0.3s;
  pointer-events: none;
  transform: translate(50%, 50%);
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.15); */
}

.scrollable-text {
  margin: 5px 0;
  background: white;
  padding: 0.25em 0.5em;
  z-index: 2;
  border-radius: 30px;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.38);
}

.scroll-indicator::before,
.scroll-indicator::after {
  content: "";
  display: block;
  width: 15px;
  height: 36px;
  box-shadow: 0 0 0 11px #FFFFFF;
  border-radius: 20px;
  background-color: white;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24.955" height="22.203" viewBox="0 0 24.955 22.203"><path id="Line_13" data-name="Line 13" d="M0,20.2a2,2,0,0,1-2-2V0A2,2,0,0,1,0-2,2,2,0,0,1,2,0V18.2A2,2,0,0,1,0,20.2Z" transform="translate(12.478 2)" fill="%23303030"/><path id="Path_2436" data-name="Path 2436" d="M352.185,7810.939a1.994,1.994,0,0,1-1.414-.586l-9.063-9.063-9.063,9.063a2,2,0,0,1-2.828-2.828l10.478-10.478h2.828l10.478,10.478a2,2,0,0,1-1.414,3.414Z" transform="translate(-329.23 -7796.461)" fill="%23303030"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

.scroll-indicator::before {
  margin-bottom: -25px;
  /* transform: rotate(-135deg); */
}

.scroll-indicator::after {
  margin-top: -25px;
  transform: rotate(180deg);
}

/* CMS Header Style */
.cms-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.cms-header img {
  height: 40px;
  width: auto;
}

.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}
.video-container:before {
  content: "▶";
  display: none;
  position: absolute;
  height: 2em;
  width: 2em;
  bottom: -1px;
  left: 50%;
  color: black;
  border-radius: 4em;
  font-size: 17px;
  z-index: 1;
  pointer-events: none;
  background-color: #ffffff;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.68);
  transform: translate(-50%, calc(50% + 1em));
  white-space: pre;
  text-align: center;
  line-height: 2.1;
  text-indent: 2px;
  vertical-align: middle;
  padding-top: 2em;
}
.video-container:after {
  content: "🎥 video";
  position: absolute;
  bottom: 0;
  left: 50%;
  color: black;
  font-size: 16px;
  z-index: 1;
  transform: translate(-50%, calc(25% + 0em));
  padding: 4px 15px;
  background: white;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.68);
  border-radius: 20px;
}

.view-demo {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}
.view-demo:after {
  content: "🕹️ click for demo";
  position: absolute;
  bottom: 0;
  left: 50%;
  color: black;
  font-size: 16px;
  z-index: 1;
  transform: translate(-50%, calc(25% + 0em));
  padding: 4px 15px;
  background: white;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.68);
  border-radius: 20px;
  text-align: center;
}

video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

video,
.website-info img,
.website-image {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.no-lightbox {
  pointer-events: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-col-count), 1fr);
  gap: var(--grid-gap-y) var(--grid-gap-x);
  --grid-col-count: 4;
  --grid-gap-y: 20px;
  --grid-gap-x: 20px;
}

.grid-1 {
  --grid-col-count: 1 !important;
}

.grid-2 {
  --grid-col-count: 2;
}

.grid-3 {
  --grid-col-count: 3;
}

.grid-4 {
  --grid-col-count: 4;
}

.grid-5 {
  --grid-col-count: 5;
}

.grid-6 {
  --grid-col-count: 6;
}

.grid-7 {
  --grid-col-count: 7;
}

.grid-8 {
  --grid-col-count: 8;
}

.grid-9 {
  --grid-col-count: 9;
}

.grid-10 {
  --grid-col-count: 10;
}

.print-view {
  /* Hide elements not needed for print */
  /* Container for the printable resume */
  /* Control column layout */
  /* Contact header */
  /* Skills sections for print */
  /* Make lists more compact */
  /* Smaller icons */
  /* Timeline adjustments */
  /* Hide large section icons */
}
.print-view .fixed-elements, .print-view .scrollable-content main, .print-view .resume-button,
.print-view #lightbox-dialog, .print-view script {
  display: none !important;
}
.print-view body, .print-view html {
  width: 8.5in;
  height: 11in;
  margin: 0;
  background: white;
  font-size: 8.75pt;
}
.print-view .print-resume-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0 0.25in;
  width: 8in;
  margin: 0;
  padding: 0in;
}
.print-view .print-col-left, .print-view .print-col-right {
  display: flex;
  flex-direction: column;
}
.print-view .print-header {
  grid-column: span 2;
  text-align: center;
  margin-bottom: 0.25in;
  /* border-bottom: 1pt solid #333; */
}
.print-view .print-header h1 {
  margin: 0;
  font-size: 18pt;
  line-height: 1;
}
.print-view .print-header p {
  margin: 0.05in 0 0;
  font-size: 10pt;
}
.print-view .skills-section {
  break-inside: avoid;
  margin-bottom: 0;
  display: block;
  border-bottom: none;
}
.print-view #print-development h4 {
  display: none;
}
.print-view .skills-section h3 {
  font-size: 12pt;
  margin: 0 0 0.1in 0;
  border-bottom: 1pt solid #000000;
  transform: none;
  writing-mode: horizontal-tb;
  text-shadow: none;
  font-weight: 800;
}
.print-view .skill-list, .print-view .application-icons, .print-view .experience-container, .print-view .education-container {
  margin: 0.05in 0;
  padding-left: 0.15in;
}
.print-view .education-container, .print-view .experience-container {
  gap: 0.125in;
}
.print-view .experience-item, .print-view .education-item {
  margin-bottom: 0;
}
.print-view .education-container {
  flex-direction: row;
  /* flex-wrap: wrap; */
  /* gap: 15px; */
}
.print-view .education-item {
  flex-basis: 30%;
}
.print-view ul.skill-list {
  /* display: flex; */
  flex-direction: row;
  flex-wrap: wrap;
  /* gap: 0.06125in; */
  column-count: 2;
}
.print-view ul.skill-list li {
  flex-basis: 50.3%;
  margin-left: 7px;
}
.print-view .application-icons {
  gap: 10px;
  row-gap: 5px;
}
.print-view .application-icons.web {
  gap: 10px;
}
.print-view .skill-list li, .print-view .experience-item li {
  margin-bottom: 0;
}
.print-view .application-icons .icon {
  max-width: 0.5in;
  display: inline-block;
  margin: 0;
}
.print-view .application-icons .icon img {
  width: 100%;
  height: auto;
}
.print-view .application-icons.web .icon img {
  width: 30px;
}
.print-view .timeline-dot {
  display: none;
}
.print-view .timeline-content h4 {
  font-size: 10pt;
  margin: 0 0 0 0;
}
.print-view .timeline-content p {
  margin: 0.025in 0;
}
.print-view #print-education {
  grid-column: span 2;
}
.print-view .section-icon {
  display: none;
}
.print-view .screen-only {
  display: none !important;
}
.print-view #print-header .print-only {
  display: inline !important;
}
.print-view .print-view .print-only.print-resume-container {
  display: grid !important;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
  /*     .resume-button{
       position: fixed;
       top: 1rem;
       right: 1rem;
       z-index: 100;
      }
   */
  .hero {
    flex-direction: column;
  }
  .contact-content {
    grid-template-columns: 1fr;
  }
  section {
    padding: 60px 2%;
  }
  .terminal-art {
    min-width: 67ch;
    box-sizing: border-box;
    transform: scale(0.9);
    transform-origin: center top;
  }
  .ascii-art {
    font-size: 1rem;
  }
  .scrollable-content {
    --aside-width: 28ch;
  }
  .gallery-grid {
    --columns: 3;
  }
  .col-span-4,
  .col-span-5,
  .col-span-6,
  .col-span-7,
  .col-span-8,
  .col-span-9,
  .col-span-10 {
    grid-column: 1/-1;
  }
  .grid-4,
  .grid-5,
  .grid-6,
  .grid-7,
  .grid-8,
  .grid-9,
  .grid-10 {
    --grid-col-count: 2;
  }
  .lg-col-span-all {
    grid-column: 1/-1;
  }
  .lg-height-auto {
    height: auto;
  }
}
@media screen and (max-width: 1000px) {
  .terminal-art {
    transform: scale(0.8);
    transform-origin: center top;
  }
}
@media screen and (min-width: 901px) {
  .resume-heading {
    display: none;
  }
  .no-desktop {
    display: none;
  }
}
@media screen and (max-width: 900px) {
  .scrollable-content {
    display: block;
  }
  .scrollable-content main, .scrollable-content aside {
    display: block;
    width: 100%;
  }
  .scrollable-content main {
    margin-top: 0;
    padding-top: 8rem;
  }
  .scrollable-content aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .website-image.img-height-250 {
    height: auto;
  }
  .website-showcase-grid {
    --grid-col-count: 2;
  }
  .md-grid-2 {
    --grid-col-count: 2;
  }
  .md-grid-3 {
    --grid-col-count: 3;
  }
  .md-order--1 {
    order: -1;
  }
  .md-order-0 {
    order: 0;
  }
  .md-order-1 {
    order: 1;
  }
  .md-order-2 {
    order: 2;
  }
}
/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .terminal-art {
    transform: scale(0.75);
    transform-origin: center top;
    margin-bottom: -3rem;
  }
  .hero {
    gap: 10px;
  }
}
@media screen and (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .hero {
    gap: 0;
  }
  .hero-content {
    min-height: 180px;
    margin-bottom: 2rem;
  }
  .ascii-art {
    font-size: 1rem;
  }
  .terminal-art {
    min-width: 75ch;
    box-sizing: border-box;
    transform: scale(0.7);
    transform-origin: center top;
  }
  .contact-info {
    clip-path: none;
    flex-direction: column;
    text-align: center;
    padding-bottom: 2rem;
  }
  .contact-image {
    height: auto;
    width: 100%;
    max-width: 200px;
    max-height: 200px;
  }
  .contact-info.three-d {
    color: #050030;
  }
  .contact-info.three-d:before,
  .contact-info.three-d:after {
    opacity: 1;
    clip-path: polygon(0 0, 0 52%, 80% 0);
  }
  .hero {
    margin-top: 6rem;
  }
  .fixed-info {
    position: relative;
  }
  .scrollable-content {
    margin-top: -7rem;
    --aside-width: 100%;
    --gap: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .scrollable-content main {
    padding-top: 0;
  }
  .resume-button {
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
    max-width: none;
    left: initial;
    right: initial;
  }
  .gallery-section {
    flex-direction: column;
  }
  .logo-sticky {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
}
/* For very small screens, ensure the ASCII art is still visible */
@media screen and (max-width: 500px) {
  .terminal-art {
    transform: scale(0.6);
    transform-origin: center top;
    zoom: 1;
  }
  .gallery-grid {
    --columns: 3;
  }
  #resume {
    grid-template-columns: 1fr;
    padding: 0 3rem;
  }
}
@media screen and (max-width: 480px) {
  .terminal-art {
    transform: scale(0.57);
    transform-origin: center top;
    min-width: 30ch;
  }
  .ascii-art {
    letter-spacing: -1px;
    line-height: 1.2;
  }
}
.fade-container {
  position: sticky;
  top: 0;
  z-index: 1;
}

.fade-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px; /* Adjust height of fade area */
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none; /* Allows clicking through the fade */
  z-index: 1;
}

/* Lazy Loading Styles */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
  opacity: 1;
}

/* Lazy Loading Placeholder */
.lazy:not([src]) {
  min-height: 100px;
  background: #f0f0f0;
}

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