* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  background: #000;
  color: #fff;
  font-family: monospace;

  display: flex;
  justify-content: center;

  /* GRID BACKGROUND */
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size: 40px 40px;
}

/* MAIN */
main {
  width: 100%;
  max-width: 1100px;
  padding: 6rem 2rem;
}

/* HERO */
.hero {
  position: relative;
  margin-bottom: 6rem;
}

.hero-text {
  text-align: left;
}

h1 {
  font-size: 4rem;
  letter-spacing: -1px;
}

.subtitle {
  color: #888;
  margin-top: 0.5rem;
}

/* IMAGE */
.avatar {
  position: absolute;
  right: 10rem;
  top: 0;

  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

/* ABOUT */
.about p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #ccc;
  max-width: 800px;
}

/* SECTIONS */
section {
  margin-bottom: 6rem;
}

h2 {
  margin-bottom: 0.5rem;
}

/* SKILLS */
.skills {
  gap: 0.6rem;
  justify-content: center;
  display: flex;
}

.skills-title {
  text-align: center;
  font-size: 2rem;
}

.skill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-align: center;
  margin-top: 4rem;
  width: 8rem;
  height: 4rem;
  justify-content: center;

}

.lua {
  width: 22px;
  height: 22px;
}

.skill img {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.skill:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
}

.skill:hover img {
  transform: scale(1.2);
}

.Projects {
  text-align: center;
}

.Projects h2 {
  margin-bottom: 5rem;
  text-align: center;
  font-size: 2rem;
}

.Project1 {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;

  max-width: 500px;
  padding: 1.3rem;
  margin-top: 1rem;

  margin-left: auto;
  margin-right: auto;

  transition: all 0.3s ease;
}

.Onion {
  position: absolute;
  left: 1.3rem;

  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.text {
  text-align: center;
  max-width: 500px;

  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.text h3,
.text p {
  margin: 0;
}

.Project1:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
}

/* CONTACT */
.contact {
  text-align: left;
}

.contact-links {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
}

/* CONTACT BUTTON (same as skill) */
.contact {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.4rem 0.4rem;
  width: 80px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.discord {
  color: white;
  text-decoration: none;
  margin-left: 7px;
}

.contact:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 10px rgba(255,255,255,0.5),
              0 0 20px rgba(255,255,255,0.3);
}

.skillstab a{
  color: inherit;
  text-decoration: none;
  margin-left: 6px;
  transition: all 0.3s ease;
}

.skillstab {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.4rem 0.4rem;
  width: 70px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.skillstab:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 10px rgba(255,255,255,0.5),
              0 0 20px rgba(255,255,255,0.3);
}


.projectstab a{
  color: white;
  text-decoration: none;
  margin-left: 5px;

}

.projectstab{
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.4rem 0.4rem;
  width: 80px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.row {
  display: flex;        
  gap: 1rem;            
  align-items: flex-start; 
  justify-content: flex-end;
  margin-right: -300px;
  margin-top: -50px;
}

.projectstab:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 10px rgba(255,255,255,0.5),
              0 0 20px rgba(255,255,255,0.3);
}

.hometab{
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.4rem 0.4rem;
  width: 60px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.hometab:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 10px rgba(255,255,255,0.5),
              0 0 20px rgba(255,255,255,0.3);
}

.hometab a{
  color: white;
  text-decoration: none;
  margin-left: 8px;
}
