html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  margin:0;
  font-family:'Share Tech Mono', monospace;
  background:#000;
  color:#fff;
}

.top-menu {
  position: fixed;
  top: 0;
  width: 100%;
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0,0,0,0.6);
  z-index: 10;
  backdrop-filter: blur(5px);
}

.top-menu .logo {
  font-size:1.5rem;
  font-weight:bold;
}

.top-menu nav ul {
  list-style:none;
  display:flex;
  margin:0;
  padding:0;
}

.top-menu nav ul li {
  margin-left:30px;
}

.top-menu nav ul li a {
  color:#fff;
  text-decoration:none;
  transition:0.3s;
}

.top-menu nav ul li a:hover {
  color:#aaa;
}
.parallax {
  position: relative;
  height: 80vh;
  background-image: url('images/bg-parallax.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.parallax-inner h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.parallax-inner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.parallax-inner .btn {
  padding: 12px 24px;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid #fff;
  text-decoration: none;
  transition: 0.3s;
}

.parallax-inner .btn:hover {
  background: rgba(255,255,255,0.3);
}
.about {
  background: #111;
  color: #eee;
  padding: 80px 20px;
  text-align: center;
}

.about {
  background: #111;
  color: #eee;

}

.about .container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #ccc;
}

.about-image {
  flex: 1 1 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.about-image img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 30px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}
.skills {
  background: #111;
  color: #eee;
  padding: 80px 20px;
  text-align: center;
}

.skills h2 {
  font-size: .5rem;
  margin-bottom: 40px;
  color: #fff;
}

.skill {
  margin-bottom: 20px;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.skill-name {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #ccc;
}

.skill-bar {
  background: #222;
  border-radius: 30px;
  overflow: hidden;
  height: 10px;
}

.skill-progress {
  background: #fff;
  height: 100%;
  width: 0;
  border-radius: 30px;
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
  transition: width 1.2s ease-in-out, box-shadow 1.2s ease-in-out;
}
.skill-progress.animate {
  box-shadow: 0 0 15px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.5);
}


.parallax-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}

.skills-parallax h2 {
  font-size: 2.5rem;
  color: #fff;
}

.parallax-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  height: 100%;
}

.parallax-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}
.footer {
  background: #111;
  color: #ccc;
  padding: 60px 20px 20px;
  font-size: 0.95rem;
}

.footer h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #fff;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin-right: 10px;
  display: inline-block;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0.8);
  transition: 0.3s;
}

.social-icons a:hover img {
  filter: brightness(1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  color: #777;
  font-size: 0.85rem;
}
.about-contact {
  text-align: center;
  margin-top: 40px;
}

.btn-contact {
  display: inline-block;
  padding: 14px 30px;
  font-size: 1.1rem;
  color: #fff;
  background: #000;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.btn-contact:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px rgba(255,255,255,0.7);
  transform: scale(1.05);
}
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
  background: #111;
  color: #fff;
    display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 120px 20px 80px;
  color: #fff;
  text-align: center;
}

#grid3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.btn-contact {
  display: inline-block;
  padding: 14px 30px;
  margin-top: 20px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-contact:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);
  text-align: center;
  color: white;
  opacity: 0;
  transition: all 1s ease-out;
}

.hero-content.visible {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.hero-content.scroll-parallax {
  transition: transform 0.1s ease-out;
}

  .hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: #fff;
}

#grid3d{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-content {
  z-index: 2;
}
.scene-section {
  position: relative;
  width: 100%;
  height: 75vh;
  background: #111;
  overflow: hidden;
}

#spheres3d {
  width: 100%;
  height: 100%;
  display: block;
}

.scene-section .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
}

.scene-section .btn-contact {
  display: inline-block;
  padding: 14px 30px;
  margin-top: 20px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.scene-section .btn-contact:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}
.games {
  background: #111;
  color: #eee;
  padding: 80px 20px;
}

.game-project {
  background: #1a1a1a;
  padding: 60px 20px;
  margin-bottom: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-project h2 {
  font-size: 3rem !important;
    margin-bottom: 0.5rem !important;
  color: #fff;
}

.game-project .year {
font-size: 1.5rem !important;
    color: #aaa !important;
    margin-bottom: 1rem !important;
}

.game-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.pdf-preview {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.pdf-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.video-preview {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.video-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .pdf-preview,
  .video-preview {
    padding-bottom: 56.25%;
  }
}

.games-images {
  background: #111;
  color: #eee;
  padding: 80px 20px;
}

.game-project {
  text-align: center;
}

.game-project h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.game-project .year {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 20px;
}

.game-images {
  display: flex;
  flex-direction: column;
}

.games-images {
  background: #111;
  color: #eee;
  padding: 80px 20px;
}

.game-project {
  text-align: center;
}

.game-project h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.game-project .year {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 20px;
}

.game-images {
  display: flex;
  flex-direction: column;
}

.game-images img {
  width: 100%;
  height: 70vh;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.fullpage-achievements {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #111;
  overflow: hidden;
}

#myAchievements3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fullpage-achievements .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: #fff;
}

.fullpage-achievements .hero-content h1 {
  font-size: 4rem;
  margin: 0;
}

.achievements-list {
  position: relative;
  z-index: 2;
  font-family: 'Share Tech Mono', monospace;
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: #fff;
}

.achievement {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.place {
  font-size: 2.5rem;
  font-weight: bold;
  white-space: nowrap;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.event {
  font-size: 1.4rem;
  color: #ccc;
}

.project {
  font-size: 1.2rem;
  color: #aaa;
}
.fullpage-achievements .achievement-inline,
.fullpage-achievements .achievement-inline .place-inline,
.fullpage-achievements .achievement-inline .event-inline,
.fullpage-achievements .achievement-inline .project-inline {
  font-family: 'Share Tech Mono', monospace;
}
.fullpage-achievements .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fullpage-achievements .hero-content h1 {
  font-family: 'Share Tech Mono', monospace;
  font-size: 5rem;
  margin-bottom: 60px;
  color: #fff;
}

.achievements-labels {
  display: inline-flex;
  flex-direction: column;
  gap: 20px;
}

.achievement-inline {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.place-inline {
  flex: 0 0 auto;
  font-family: 'Share Tech Mono', monospace;
  font-size: 2rem;
  font-weight: bold;
  color: inherit;
  text-align: left;
}

.details-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.event-inline {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.5rem;
  color: inherit;
}

.project-inline {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.2rem;
  color: inherit;
}
@media (max-width: 768px) {
  .achievement-inline {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .place-inline {
    margin-bottom: 5px;
  }

  .details-inline {
    align-items: center;
  }
}
.scene-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #111;
  overflow: hidden;
}

#visualisationportfolio3d {
  width: 100%;
  height: 100vh;
  display: block;
  position: relative;
  background: #050505;
  overflow: hidden;
}
.scene-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.scene-section .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
}

.scene-section .btn-contact {
  display: inline-block;
  padding: 14px 30px;
  margin-top: 20px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.scene-section .btn-contact:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}
.portfolio-section {
  padding: 80px 20px;
  background: #111;
  color: #fff;
  text-align: center;
}

.portfolio-section .section-title {
  font-size: 3rem;
  margin-bottom: 50px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
.portfolio-item {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item .overlay {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.5);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
  opacity:1;
}

.portfolio-item .overlay span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
}
.portfolio-item.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.portfolio-item.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items:center;
  justify-content:center;
  z-index: 100;
}

.lightbox-content {
  background:#111;
  padding:30px;
  max-width: 900px;
  width: 90%;
  border-radius:15px;
  text-align:center;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.lightbox-close {
  position:absolute;
  top:15px;
  right:20px;
  background:none;
  border:none;
  font-size:2rem;
  color:#fff;
  cursor:pointer;
}

.lightbox-title {
  font-size:2rem;
  margin-bottom:15px;
}

.lightbox-description {
  font-size:1.1rem;
  color:#ccc;
  margin-bottom:20px;
}

.lightbox-images img {
  width: 100%;
  margin-bottom: 15px;
  border-radius:0px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}


.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

#portfolio-lightbox {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#portfolio-lightbox .lightbox-content {
max-width: 1200px; 
  max-height: 95%; 
  background: #111;
  padding: 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#portfolio-lightbox.show .lightbox-content {
  opacity: 1;
  transform: translateY(0);
}

#portfolio-lightbox .lightbox-images img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 0px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#portfolio-lightbox.show .lightbox-images img {
  opacity: 1;
  transform: translateY(0);
}
.game-container {
  max-width: 1100px;
  width: 100%;
}

.game-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.game-description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

#unity-canvas {
  width: 100%;
  max-width: 1050px;
  height: 600px;
  background: #231F20;
  border: 3px solid #444;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}