html {
  cursor: url("assets/achand.png"), auto;
  font-size: 16px; /* Base font size for rem calculations */
}

/* Prevent excessive scaling on very large screens */
@media screen and (min-width: 1920px) {
  html {
    font-size: 18px; /* Slightly larger on very large screens but not excessive */
  }
}

@media screen and (min-width: 2560px) {
  html {
    font-size: 20px; /* Cap the scaling for ultra-wide screens */
  }
}
*:hover {
  cursor: url("assets/achand.png"), auto;
}
*:active {
  cursor: url("assets/acactive.png"), auto;
}
@font-face {
  font-family: "acf";
  src: url("acf.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

body {
  margin: 0;
  padding: 0;
  font-family: "acf";
  font-size: 1rem; /* Use rem for responsive scaling */
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
header {
  background-color: transparent;
  color: #fff;
  text-align: center;
}

nav {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 45px;
  font-size: 1.25rem; /* 20px equivalent but responsive */
  transition: all 0.3s ease;
  padding: 10px 15px;
  border-radius: 5px;
  display: inline-block;
}

nav a:hover {
  background-color: rgba(146, 0, 0, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -500;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  position: relative;
  z-index: 1;
  height: 100vh;
  padding-top: 80px;
}

.logo {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  height: 450px;
  width: 450px;
  opacity: 0.9;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(146, 0, 0, 0.6));
  transition: all 0.3s ease;
}

.logo:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
  filter: drop-shadow(0 0 30px rgba(146, 0, 0, 0.8));
}

.text {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  height: 500px;
  width: 500px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.9));
  transition: all 0.3s ease;
}

.text:hover {
  transform: translate(-50%, -50%) scale(1.02);
}
.welcome {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 25px 45px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(146, 0, 0, 0.4);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.hh {
  font-size: 2.5rem; /* 40px equivalent but more reasonable */
  margin: 0 0 15px 0;
  white-space: nowrap;
  transition: all 0.3s ease;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hh:hover {
  color: rgb(220, 50, 50);
  transform: scale(1.05);
}

.ph {
  font-size: 1.125rem; /* 18px equivalent but responsive */
  margin: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
  color: rgb(200, 200, 200);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.ph:hover {
  color: rgb(255, 255, 255);
  transform: scale(1.02);
}
h1 {
  font-size: 2.5rem; /* More reasonable size */
  margin-bottom: 20px;
}

p {
  font-size: 1.25rem; /* More reasonable size */
  margin-bottom: 40px;
}
.audio {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.audio audio {
  width: 250px;
  height: 40px;
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px; /* Smaller base font on mobile */
  }
  
  nav a {
    margin: 0 15px;
    font-size: 1rem;
    padding: 8px 12px;
  }

  .content {
    padding-top: 70px;
  }

  .logo {
    height: 280px;
    width: 280px;
    top: 30%;
  }

  .text {
    height: 320px;
    width: 320px;
    top: 30%;
  }

  .hh {
    font-size: 2rem; /* Smaller on tablets */
  }

  .ph {
    font-size: 1rem; /* Smaller on tablets */
  }

  .welcome {
    bottom: 80px;
    padding: 20px 30px;
  }

  .audio {
    bottom: 15px;
    right: 15px;
  }

  .audio audio {
    width: 200px;
    height: 35px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 12px; /* Even smaller base font on mobile */
  }
  
  nav {
    padding: 10px 0;
  }

  nav a {
    margin: 0 8px;
    font-size: 0.875rem;
    padding: 6px 10px;
  }

  .content {
    padding-top: 60px;
  }

  .logo {
    height: 200px;
    width: 200px;
    top: 28%;
  }

  .text {
    height: 230px;
    width: 230px;
    top: 28%;
  }

  .hh {
    font-size: 1.5rem; /* Smaller on mobile */
  }

  .ph {
    font-size: 0.875rem; /* Smaller on mobile */
  }

  .welcome {
    bottom: 60px;
    padding: 15px 25px;
    left: 15px;
    right: 15px;
    transform: none;
  }

  .audio {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }

  .audio audio {
    width: 100%;
    height: 30px;
  }
}
