/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  color: white;
  height: 100vh;
  width: 100vw;
}

/* Canvas covers full screen */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
/* ===================== */
/* RESPONSIVE FIXES      */
/* ===================== */

@media (max-width: 768px) {
  .container {
    flex-direction: column;     /* stack items vertically */
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 100px 20px 40px;
    gap: 20px;
  }

  .text {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
  }

  .photo {
    margin: 20px 0;
  }

  .photo img {
    width: 180px;   /* smaller for mobile */
    margin: 0 auto;
    display: block;
  }

  .text h1 {
    margin-bottom: 18px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .photo img {
    width: 150px;   /* even smaller on tiny screens */
  }

  .text h1 {
    font-size: 1.6rem;
  }

  .text p {
    font-size: 0.95rem;
    line-height: 1.4rem;
  }
}


/* Content Styling */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 2rem;
}

.photo img {
  width: 280px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
  margin-right: 50px;
}

.text {
  max-width: 600px;
}

.text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00eaff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

.text p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: #e0e0e0;
}
.home-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 28px;
  text-decoration: none;
  color: #0ff;
  filter: drop-shadow(0 0 10px #0ff);
  transition: transform 0.3s;
}

.home-icon:hover {
  transform: scale(1.2);
}
/* Responsive Layout Fix */
@media (max-width: 768px) {
  .container {
    flex-direction: column;      /* stack vertically */
    justify-content: flex-start;
    align-items: center;
    padding: 100px 20px 40px;    /* extra top padding for spacing */
    text-align: center;
  }

  .photo img {
    margin-right: 0;             /* remove side gap */
    margin-bottom: 20px;         /* spacing below photo */
    width: 200px;                /* shrink image a bit on mobile */
  }

  .text {
    max-width: 100%;
  }

  .text h1 {
    font-size: 2.2rem;
  }

  .text p {
    font-size: 1rem;
    line-height: 1.6rem;
  }
}

@media (max-width: 480px) {
  .photo img {
    width: 160px; /* smaller phones */
  }

  .text h1 {
    font-size: 1.8rem;
  }

  .text p {
    font-size: 0.95rem;
    line-height: 1.5rem;
  }
}
/* Fix hidden content on smaller screens */
@media (max-width: 768px) {
  .container {
    height: auto;          /* let container expand with content */
    min-height: 100vh;     /* still cover screen */
    overflow-y: auto;      /* allow scrolling if needed */
    padding-top: 100px;    /* space for header/home button */
  }
}




