body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Figtree", "Poppins", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
p,a{

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

#title {
  margin: 0;
  /* Remove default margin */
}

#bruh {
  margin: 0;
  /* Remove default margin */
}

#intro {
  font-size: 5rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background-color: #202424;
  overflow: hidden;
}

/* Hide body content while loading */
body.loading {
  overflow: hidden;
}

#loader-text {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 20px;
  color: white;
}

#progress-bar {
  width: 80%;
  height: 20px;
  background-color: #202424;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

#progress-bar-fill {
  height: 100%;
  width: 0;
  background-color: #ffffff;
  transition: width 0.3s;
}

#quotes {

  font-size: 1.2rem;
}

/* #quotes{

font-size: 3rem;

} */
.containter {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  min-height: 100vh;
}

#hi {
  text-align: left;
  margin-left: 20px;
  order: 1;
}

#pfp {
  align-self: flex-start;
  border-radius: 40px;
  width: 180px;
  height: 180px;
}

.round {
  position: relative;
  width: 100%;
  min-height: 140px; /* minimum height */
  border-radius: 20px;
  margin: 20px auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 2px solid white;
  z-index: 10;
}


.gradient-background {
  background: linear-gradient(69deg, #fe9494, #ffc783, #fff683, #69cb86, #83a8ff, #c56ad4);
  background-size: 69420% 69420%;
  animation: gradient-animation 36s ease infinite;
}

.bruh {

  width: 17rem;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.second {
  background: linear-gradient(310deg, #5bcefa, #f5a9b8, #5bcefa);
  background-size: 180% 180%;
  animation: gradient-animation 18s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.left-content {
  text-align: center;
  width: 30%;
  /*  background-color: #f4f4f4; /* Light grey background */
  padding: 25px;
  box-sizing: border-box;
  /* border-right: 5px solid #ffffff; */
}

.mobile-divider {
  display: none;
  /* Hidden by default */
}

p,
h1,
h2 {

  color: white;
}

.right-content {
  width: 70%;
  padding: 25px;
  box-sizing: border-box;
  /*  background-color:#b37682; */
}

/* Optional styling for better appearance */
h1,
h2 {
  margin-top: 0;
}

p {
  line-height: 1.6;
}

.divider {
  width: 5px;
  min-height: 100vh;
  height: 180%;
  background-color: #ffffff;
  /* Vertical divider color */
}


/* thanks github copilot :3 */
@media only screen and (max-width: 550px) {
  .container {
    display: flex;
    gap: 20px;
    flex-direction: column;
    width: 100%;
  }

  .left-content,
  .right-content {
    width: 100%;
    /* Take full width */
    text-align: center;
  }

  .divider {
    display: none;
  }

  #intro {

    font-size: 4rem;
  }

  p,h1,h2 {
    font-size: 1.4rem;
  }

  .mobile-divider {
    display: flex;
    /* Ensure it behaves as a flex container */
    height: 0.5rem;
    /* Adjust height to make it thinner */
    min-height: 0.5rem;
    /* Ensure it doesn't collapse to zero height */
    width: 100%;
    /* Span across the full width */
    background-color: #ffffff;
    position: relative;
    align-items: center;
    /* Center any child content vertically */
    justify-content: center;
    /* Center any child content horizontally */
  }
}



.text-containter {
  display: flex;
  flex-direction: column;
  /* Stack header and paragraph vertically */
  align-items: flex-start;
}

.hi-section {
  display: flex;
  margin-top: 2rem;
  gap: 1rem;
  align-items: center;
  gap: 1rem;
}

#badges {
  margin-top: 2px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Text spacing */
#title {
  margin: 0 0 0.5rem 0;
  /* Add space below heading */
}

.background {
  position: fixed;
  inset: 0;
  background: url("/img/old-site.jpg") no-repeat center center;
  background-size: cover;
  z-index: -2;
  filter: blur(3px);
  pointer-events: none;

}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(32, 36, 36, 0.4); /* soft gray overlay */
  z-index: -1;
}

.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/img/old-site.jpg") no-repeat center center;
  background-size: cover;
  filter: blur(2px); /* background blur */
  z-index: -2;
}

.background.gif-mode {
  background: url("/img/snowysteam.gif") no-repeat center center;
  background-size: cover;
}

.background.gif-mode::before {
  background: url("/img/snowysteam.gif") no-repeat center center;
  background-size: cover;
}

/* Main content layout - inspired by LemonOrange */
.content-layout {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  align-items: center;
  min-height: 70vh;
}

.left-showcase {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 60px; /* Add more space for captions */
}

.right-content-area {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Slideshow container - simplified without 3D effects */
.slideshow-container {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  transition: all 0.3s ease;
}

.slideshow-container:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide.active {
  display: block;
}

/* Video and image support */
.slide-video,
.slide-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-video {
  z-index: 1;
}

.slide-fallback {
  z-index: 0;
}

/* Hide fallback image when video is playing */
.slide-video:not([poster]) + .slide-fallback {
  display: none;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
  z-index: 2;
  pointer-events: none; /* Allow clicks to pass through to video */
}

/* Navigation arrows - LemonOrange style */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.slide-arrow:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.left-arrow {
  left: 15px;
}

.right-arrow {
  right: 15px;
}

/* Slide indicators - LemonOrange style */
.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.indicator.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Right content area - LemonOrange style */
.content-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.content-divider {
  width: 13rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  margin: 1.5rem 0;
}

.content-divider-small {
  width: 7rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  margin: 1.5rem 0;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 1rem 0;
  transition: all 0.3s ease;
}

.project-status {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
  opacity: 0.8;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fff;
  margin: 2rem 0 0 0;
}

/* Contact section styles */
.contact-info {
  margin-top: 3rem;
}

.contact-title {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-link {
  color: #fff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-link:hover {
  color: #ccc;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.contact-link:visited {
  color: #fff;
}

.contact-link:visited:hover {
  color: #ccc;
}

/* Mobile responsiveness */
@media only screen and (max-width: 768px) {
  .content-layout {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .slideshow-container {
    width: 280px;
    height: 280px;
  }
  
  .slideshow-container:hover {
    transform: scale(1.02);
  }
  
  .right-content-area {
    padding: 1rem;
  }
  
  .content-title {
    font-size: 2rem;
  }
  
  .content-divider {
    width: 10rem;
  }
  
  .slide-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Enhanced mobile responsiveness for all components */
@media only screen and (max-width: 550px) {
  .content-layout {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 0 1rem;
  }
  
  .left-showcase {
    padding-bottom: 80px; /* More space for captions on mobile */
  }
  
  .slideshow-container {
    width: 280px;
    height: 280px;
  }
  
  .slideshow-container:hover {
    transform: scale(1.01); /* Less aggressive scaling on mobile */
  }
  
  .right-content-area {
    padding: 1rem;
  }
  
  .content-title {
    font-size: 2rem;
  }
  
  .contact-title {
    font-size: 1.8rem;
  }
  
  .content-divider {
    width: 8rem;
  }
  
  .slide-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .slide-caption {
    font-size: 0.85rem;
    padding: 6px 10px;
    width: 95%;
  }
  
  .about-text,
  .contact-text {
    font-size: 1rem;
  }
  
  .hi-section {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    width: 100%;
  }
  
  #pfp {
    align-self: center;
    width: 120px;
    height: 120px;
  }
  
  .round {
    margin: 10px;
    padding: 15px;
    width: calc(100% - 20px); /* Ensure it fits within screen */
    min-height: auto;
    box-sizing: border-box;
  }
  
  #title {
    font-size: 1.6rem;
  }
  
  #bruh {
    font-size: 0.95rem;
  }
  
  .text-containter {
    align-items: center;
    width: 100%;
  }
  
  /* Fix music player positioning on mobile */
  #music-box {
    bottom: 10px !important;
    right: 10px !important;
    z-index: 50 !important;
  }
  
  /* Ensure badges have proper spacing on mobile */
  footer {
    margin-bottom: 80px; /* Add space to prevent overlap with music player */
    padding-bottom: 20px;
  }
  
  #badges {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .badge {
    max-width: 60px;
    height: auto;
  }
}

/* Additional mobile container fixes */
@media only screen and (max-width: 550px) {
  .containter {
    padding: 10px;
    min-height: auto;
  }
  
  body {
    padding: 0;
    margin: 0;
  }
  
  /* Ensure no horizontal overflow */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Video.js customization */
.video-js {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0;
  left: 0;
}

.video-js .vjs-poster {
  background-size: cover;
  background-position: center;
}

.video-js .vjs-control-bar {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.video-js .vjs-big-play-button {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  font-size: 2rem;
  width: 80px;
  height: 80px;
  line-height: 76px;
  margin-top: -40px;
  margin-left: -40px;
}

.video-js .vjs-big-play-button:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 1);
}

/* Ensure video players are properly sized */
.slide-video.video-js {
  z-index: 1;
}

.slide-fallback {
  z-index: 0;
}

.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
  width: 90%;
  opacity: 1;
  z-index: 10;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  backdrop-filter: blur(2px);
}


.slide:not(.active) .slide-caption {
  opacity: 0;
}

/* Footer styling */
footer {
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
}

footer h1 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

