
* 


{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}
html {
  font-size: 60%;
  overflow-x: hidden;
}
:root {
  --bg-color: #080808;
  --second-bg-color: #001005;
  --text-color: white;
  --main-color: #00ff51;
  --third-color: #021c01;
}
button,
a,
input[type="submit"],
input[type="button"] {
  cursor: url("hand.png"), auto;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body{
  cursor: url('sword4.png') 0 0, auto;
  
  background: var(--bg-color);
  color: var(--text-color);

}
.header{
  /*position: fixed;*/
  width: 100%;
  top: 0;
  left: 0;
  padding: 4rem 12%;
  background : rgba(0, 0, 0, 0.3);
  backdrop-filter : blur(5px); 
  display: flex;
  justify-content: space-between;
  align-items : center;
  z-index: 100;
}
#menu-icon{
  font-size: 3.6rem;
  color: var(--main-color);
  display:none;

}

.logo{
  font-size: 3rem;
  color: var(--text-color);
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
}
.logo:hover{
  transform: scale(1.1);
}
span{
  color: var(--main-color);

}

.navbar a{
  font-size: 1.8rem;
  color: var(--text-color);
  margin-left:4rem;
  font-weight: 500;
  border-bottom: 3px- solid transparent;
  transition: 0.3s ease;

}
.navbar a:hover{
  border-bottom: 3px solid var(--main-color);
  color: var(--main-color);
}
section{
  min-height: 100vh;
  padding: 10rem 12%;

}

.home{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12rem;
}
.home-content{
  display: flex;
  margin-left: -15rem;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;

}
.home-content h1{
  font-size: 8rem;
  font-weight: 700;
  margin-top: 2rem;
  
  line-height: 1;
}
.home-content h3{
  font-size: 4rem;
  margin: 1rem 0;
}
.home-content p{
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.8;
}
.home-img img{
  width: 30vw;
  margin-top: -10rem;
  margin-left: 10rem;
  left: -20px;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.4 ease-in-out;

}
.home-img {
  position: relative;
  width: 200px; /* Set the desired width */
  height: 200px;
  left: -20px; /* Set the desired height */
}

.home-img img {
  position: absolute;;

  transition: opacity 0.3s ease;
}

.home-img img.profileImage:last-child {
  opacity: 0;
}

.home-img:hover img.profileImage:last-child {
  opacity: 1;
}

.home-img:hover img.profileImage:first-child {
  opacity: 0;
}

.home-img img:hover{
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color);        
}
.social-icons a{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  padding: 1rem;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 0.5rem;
  transform: 0.3s ease;
}
.social-icons a:hover{
  color: var(--text-color);
  background-color: var(--main-color);
  background-color: var(--main-color);
  transform: scale(1.2)translateY(-5px);
  box-shadow : 0 0 25px var(--main-color);
}

.btn-group{
  display: flex;
  gap: 1.5rem;
}
.btn{
  display: inline-block;
  padding: 1rem 4rem;
  margin:5px;;
  background: var(--main-color);
  box-shadow : 0 0 25px var(--main-color);
  border-radius: 3rem;
  font-size: 1.8 rem;
  color: black;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}
.btn:hover{
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color),
              0 0 40px var(--main-color),
              0 0 70px var(--main-color);
}

.btn-group a:nth-of-type(2){
  background-color: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
  color:black;


}
.about {
  display: flex;
  justify-content: center; /* Centers the content in the available space */
  align-items: center;
  gap: 10rem; /* Adds space between image and text */
  background-color: var(--second-bg-color);
  padding: 2rem; /* Add padding if needed */
}

.about-img img{
  width: 30vw;
  aspect-ratio: 4227 / 4032;
  margin-top: -15rem;
  margin-left: 10rem;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  
  
}
.about-img {
  position: relative;
  width: 200px; /* Set the desired width */
  height: 200px; /* Set the desired height */
}

.about-img img {
  position: absolute;;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Hover Effects */
.about img.profileImage:last-child {
  opacity: 0;
}

.about-img:hover img.profileImage:last-child {
  opacity: 1;
}

.about-img:hover img.profileImage:first-child {
  opacity: 0;
}

.about-img img:hover {
  transform: scale(1.1);
  transform-origin: center; /* Ensures it scales from the center */
  box-shadow: 0 0 40px var(--main-color);
}

/* 📝 About Content Styling (Text on Right Side) */
.about-content {
  flex: 10; /* Allows text to take up remaining space */
  text-align: left; /* Keeps text left-aligned */
  margin-left: 45rem;
}

.about-content h2 {
  font-size: 7rem;
}

.about-content p {
  font-size: 1.8rem;
}

.about-content .btn {
  margin: 6rem 0;
}


::-webkit-scrollbar{
  width: 20px;
}
::-webkit-scrollbar-thumb{
  background-color: var(--main-color);

}
::-webkit-scrollbar-track{
  background-color: var(--bg-color);
}

.heading{
  text-align:center;
  font-size: 7rem;
  margin: 5rem 0;
}
.projects{
  background-color: var(--bg--color);
  color: black;
}

.projects h2{
  color: var(--text-color);
}

.projects-container{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  align-items: center;
  gap: 2.5rem;
}
.projects-box{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--main-color);
  height: 600px;
  border-radius : 3rem;
  cursor: pointer;
  border:5px solid transparent;
  transition: 0.4s ease-in-out;

}
.project-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 0;
  border-radius: 3rem; /* Match .projects-box */
  overflow: hidden;
  pointer-events: none; /* Prevents interactions */
}

.projects-box:hover{
  cursor: url('hand.png') 0 0, auto;
  background-color: var(--second-bg-color);
  color: var(--second-bg-color);
  border: 5px solid var(--main-color);
  transform: scale(1.03);
}

.projects-info{
  display:flex;
  flex-direction: column;
  text-align: center;
  justify-content: center; 
  align-items:center; 
  padding:5rem;
  font-size: 2rem;
  font-family: 'Press Start 2P', cursive;
  

}


.projects-box:hover .project-video {
  opacity: 1;
}

.projects-box:hover .projects-info {
  opacity: 0;
}

.project-icon {
  width: 300px; /* Adjust size as needed */
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 20px;
}
.contact{
  background-color: var(--second-bg-color);
}

.contact h2{
  margin-bottom: 3rem;
  color: var(--text-color)

}

.contact form{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 5rem 0;
  text-align: center;
}
.contact form .input-box input,
.contact form textarea{
  width: 100%;
  padding: 2.5rem;
  font-size: 1.8rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  border-radius: 2rem;
  border: 2px solid var(--main-color);
  margin: 1.5rem 0;
  resize: none;
}

.footer{
  background-color: var(--bg--color);
  padding: 50px 0;
}
.footer .social-icons{
  text-align: center;
  font-size: 1.8rem; 
}
.footer{
  text-align: center;
  font-size: 1.8rem;
}

.footer ul li{
  display: inline-block;
  margin-left: 20px; 
}
.footer ul li a{
  color: white;
  border-bottom: 3px solid transparent;
  transition: 0.3s ease-in-out;
}

.footer ul li a:hover{
  border-bottom: 3px solid var(--main-color);
}

@media (max-width: 1024px) {
  #menu-icon {
    display: block;
  }
  .header {
    position: relative;
    z-index: 10000;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 50%;
    padding: 1rem 3rem;
    background-color: rgba(0, 0, 0, 0.8);
    border-left: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    border-bottom-left-radius: 2rem;
    display: none;
    z-index: 9999;
    
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
    color: var(--text-color);
    
    
  }

.navbar.active {
  display: block;
  
  
}

.home {
  flex-direction: column-reverse;
  margin: 5rem 0;
  gap: 5rem;
  margin-top: 6rem;
}

.home-content {
  margin-left: 0;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.home-img img {
  width: 60vw;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  z-index: 1;
  margin-top: -10rem;
}

.about {
 
  flex-direction: column-reverse;
  text-align: center;
}

.about-content{
  margin-left: 0;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.about h2 {
  text-align: center;
  margin: 2rem 0;
}

.about img{
  width: 60vw;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  z-index: 1;
  margin-top: -10rem;
  margin-left: -5rem;
}
.contact form{
  flex-direction: column;
}
 
}










