:root {
  --link-color-white-bg: #1a73e8; 
}


#game-projects {
  background-color: black;
}

#cv a{
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.game-projects-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-left: 10%;
  margin-right: 10%;
}
.game-project-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 2rem;
}
.game-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 620px;
  max-width: 660px;
}
.game-gallery img {
  width: 100%;
  max-width: 660px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.2s;
}
.game-gallery img:hover {
  transform: scale(1.08);
}
.game-info {
  flex: 1;
  padding-left: 1rem;
}
.game-info h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.game-info p {
  margin-bottom: 0.7rem;
  color: #333;
}
.game-info a {
  color: var(--link-color-white-bg);
  font-weight: bolder;
  text-decoration: underline;
}

.game-project-header {
  justify-content: center;
  width: 100%;
  text-align: center;
}

@media (max-width: 900px) {
  .game-project-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  .game-gallery {
    flex-direction: row;
    max-width: 100%;
    min-width: 0;
    justify-content: flex-start;
    gap: 1rem;
  }
  .game-gallery img {
    max-width: 120px;
  }
  .game-info {
    padding-left: 0;
    margin-top: 1rem;
  }
}

* {
  /*background-color: #171329; /*/
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

body, html {
  margin: 0;
  padding: 0;
  }

.special {
  color: #FFC857;
  font-weight: bold;
}

.special-dark {
  color: #3e5bff;
  font-weight: bold;
}

section {
  padding: 4em 2em;
  background: white;
  color: rgb(17, 16, 16);
}

nav {
  position: fixed;
  overflow: hidden;
  display: flex;
  background: rgba(255,255,255,0.95); 
  width: 100%;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #141025;
  justify-content:center;
  align-items: center;
  gap: 2rem;
  padding:1rem;
  flex-wrap: wrap;
}

nav ul:first-of-type {
  flex: 1;
  justify-content: center;
}

nav .social-icons {
  justify-content: flex-end;
  flex: 1;
  display: flex;
  margin-right: 25px;
}
.social-icons a:last-child {
  margin-right: 0.5rem; /* Or however much breathing room you want */
}

nav a {
  text-decoration: none;
  color: #2f86c5;
  font-weight: bold;
}
nav a:hover {
  color: #FFC857;
}
a {
  color: #FFC857;
}



#portfolio {
  margin-top: 0;         /* optional: reset in case */
  padding-top:20em;      /* or however much spacing you want */
}

#hero {
  position: relative; /* or absolute only if necessary */
  height: 100vh;
  overflow: hidden;
  padding-top: 60px; /* adjust if needed for nav height */
}

#hero-social-icons i{
  padding-top: 5px;
  padding-left: 15px;
  font-size: 2.0rem;
  vertical-align: middle;
}

#hero-social-icons a {
  text-decoration: none;
}

#hero-social-icons a:hover i {
  color: #fff;
}

.social-links a:hover {
  transform: scale(1.1);
  color: #ffffff;
}


#vanta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#intro {
  position: relative;
  z-index: 1; /* on top of 3D canvas */
  color: white;
  text-align: center;
  padding-top: 8vh; /* just to vertically nudge it */
}

#profile-summary {
  margin-top: 0px;
  padding: 0px;
  margin: 0.0em 0;      /* smaller top/bottom spacing */
  line-height: 0.5;  
}
#profile-summary a:hover{
  color: white; 
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-top:  15px;
  /* border-radius: 5px; */
  border: 2px solid black;
  box-shadow: 2px 5px 3px rgba(0, 0, 0, 0.5)
}

.social-icons a {
  font-size: 1.2rem;
}

.project-card a {
  color: var(--link-color-white-bg);
  font-weight: bolder;
}
.project-card p {
  margin-top: 0px;
  margin-bottom: 0.5rem;
}

#about-me {
  display: flex;
  margin-top: 0px;
  min-height: 420px;
  background-image: url("images/Screenshot\ 2025-07-31\ 133655.png");
  
}

#about-me-part1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

#about-me-text, #empty {
  flex: 1;
  min-width: 0;
}

#about-me-text {
  background-color: rgba(0, 0, 0, 0.7); 
  box-shadow: 0 4px 15px rgba(107, 51, 212, 0.8); 
  border-radius:  8px;
  min-height: 250px;
  color: #2f86c5;
  margin-top: 0rem;
  padding-right: 1rem;
  padding-left: 4rem;
  margin-left: 3rem;;
  padding-bottom: 25px;
}

#about-me-text {
  max-width: 45%;
  text-align: left;
}

@media (max-width: 900px) {
  #about-me-text {
    width: 80%;
    min-width: 250px;
    margin: 0 auto;
    flex-direction: column;
  }
  #empty {
    display: none;
  }
}

#projects {
  padding:1rem 4rem;
  /* padding-top: 0 m !important; */
  text-align: center;
  background-image: linear-gradient(to bottom, #23153C, #916bce);
}

#projects h2 {
  /* color: pink; */
  margin-top: 15px;
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  justify-content: center;
}

@media (max-width: 500px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}


.project-card {
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: transform 0.3s ease;
  color:#23153C;
}

.project-card:hover {
  transform: scale(1.03) rotate(5deg);
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-info {
  padding: 1rem;
}

.project-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.project-info p {
  font-size: 0.95rem;
  color: #555;
  text-align: left;
}

.preview-area img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

#experience {
  padding: 4rem 0.5rem;
  background-color: #f7f7f7;
  text-align: left;
}

#experience h2 {
  text-align: center;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.experience-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.experience-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.experience-item h3 span {
  font-weight: normal;
  color: #555;
}

.date-range {
  font-size: 0.95rem;
  color: #999;
  margin-bottom: 0.75rem;
}

#skills {
  padding: 4rem 2rem;
  background-color: #ffffff;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

#skills h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.skills-group {
  min-width: 250px;
  flex: 1;
}

.skills-group h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.skills-group ul {
  list-style-type: square;
  padding-left: 1.5rem;
  color: #555;
}

.skills-group li {
  margin-bottom: 0.4rem;
}


/* Animation Styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

#model-container {
  position: relative;
  width: 100%;
  height: 500px; /* adjust as needed */
  overflow: hidden;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.overlay-content {
  position: relative;
  z-index: 1;
  color: rgb(117, 91, 91);
  text-align: center;
  padding-top: 200px;
}

.cursor {
  padding-left: 3px;
  animation: blink 1.1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}


#email {
  cursor: pointer;
  color: #0077cc;
  text-decoration: underline;
}

#email:hover {
  color: #005499;
}


#contacts {
  padding: 4rem 0rem;
  margin: 0 auto;
  text-align: center;
  color: rgb(44, 30, 63);
  background-image: linear-gradient(to bottom, #41335c, #3a0b3a);
}

#contacts h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact-details p {
  font-size: 1.1rem;
  margin: 1rem 0;
}

.contact-details a {
  color: #0077cc;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

#cover {
  width: 280;
  height: 0;
  border-left: 165px solid transparent;
  border-right: 165px solid transparent;
  border-top: 100px solid rgb(228, 228, 228); /* triangle color */
  border-radius: 15px;
}


#letter {
  margin: auto;
  padding-top: 0px;
  min-height: 250px;
  background-color: #d8d8d8;
  color: rgb(7, 5, 112);
  width: 500px;
  box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

#letter h2 {
  margin-bottom: 0px;
  margin-top: 0px;
}

#click-to-copy {
  margin-top: 0px;
}

#email {
  margin-bottom: 64px;
}

/* TIMELINE */
.timeline {
  position: relative;
  margin: 2em auto;
  padding: 2em 0;
  width: 90%;
  max-width: 900px;
}
#timeline-header {
  width: 160px;
  display: flex;
  margin: auto;
  text-align: center;
  border: #141025;
  border-radius: 15px;
  justify-content: center;
  border-style: outset;
  border-color: #e26736;
  box-shadow: 0px 4px 3px rgba(23, 7, 68, 0.404);

}
.timeline-start {
  content: '';
  position: absolute;
  top: -15px;
  bottom: 0;
  left: 50%;
  width: 18px;
  height: 16px;
  background-color: #e26736;
  transform: translateX(-50%) translateY(-30%);
}
.timeline-end {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 18px;
  height: 16px;
  background-color: #3a1669;
  border-radius: 0 0 15px 15px;
  transform: translateX(-50%) translateY(30%);
  z-index: 2;
}


.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 18px;
  background-image: linear-gradient(to bottom, #e26736, #2c0b61);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1em 0;
  position: relative;
}

.timeline-item.left {
  flex-direction: row;
}

.timeline-item.right {
  flex-direction: row-reverse;
}

.timeline-year {
    background-color: rgb(255, 255, 255);
    min-height:  16px;
    height: 32px;
    min-width: 120px;
    display: flex;
    box-shadow: 0px 8px 5px rgba(0, 0, 0, 0.5);
    border-radius: 0px 0px 15px 0px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.timeline-year p {
  padding-top: 0px;
  font-weight: bold;
  margin: auto;
  margin-top: 8px;
  height: 100%;
  text-align: center;
  color: #23153C
}

.timeline-content {
  width: 50%;
  padding: 0.5em;
  background: #fafafc;
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}
.timeline-content h2 {
  margin-top: 0px;
  padding-bottom: 0px;
}
.timeline-bar {
  background-color: rgb(228, 129, 37);
  min-width: 32px;
  text-align: center;
  height: 100%;
}
