* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
  text-decoration: none;
  scroll-behavior: smooth;
  list-style: none;
}

body {
  background-color: #0f0f0f;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.07) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
}

header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 3rem;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  text-wrap: nowrap;
  transition: 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

li a {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

li a::before {
  position: absolute;
  content: "";
  width: 0;
  left: 0;
  height: 5px;
  top: 25px;
  border-radius: 1rem;
  transition: 0.3s ease-in-out;
  background: linear-gradient(to right, #7b2ff7, #0080ff);
}

li a:hover::before {
  width: 100%;
}

.visit-button {
  padding: 0.8rem 1.5rem;
  border-radius: 3rem;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  text-wrap: nowrap;
  transition: 0.3s ease-in-out;
  background: linear-gradient(to right, #7b2ff7, #0080ff);
}

.visit-button:hover {
  transform: scale(1.03);
  background: linear-gradient(to right, #0080ff, #7b2ff7);
}

#menu-icon {
  font-size: 2rem;
  display: none;
  color: white;
}

section {
  min-height: 100vh;
  padding: 8rem 12%;
  width: 100%;
  position: relative;
}

.about {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10rem;
}

.about img {
  width: 30vw;
  border-radius: 50%;
}

.info-box {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.info-box h3 {
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0.8;
  color: white;
}

.info-box h1 {
  font-size: 4rem;
  font-weight: 600;
  color: white;
}

.info-box span {
  background: linear-gradient(to right, #7b2ff7, #0080ff);
  background-clip: text;
  color: transparent;
  font-size: 2rem;
}

.button-group {
  display: flex;
  gap: 1rem;
}

.button {
  border-radius: 3rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-weight: 500;
  text-wrap: nowrap;
  transition: 0.2s ease-in-out;
  color: white;
  background: transparent;
}

.button:hover {
  background-color: white;
  color: black;
}

.socials {
  display: flex;
  gap: 2rem;
}

.socials i {
  font-size: 2.5rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  color: white;
}

.socials i:hover {
  transform: scale(1.1);
}

.section-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: white;
}

.experience-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}

.experience img {
  width: 24vw;
  border-radius: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-card {
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 3rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: left;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  color: white;
}

.grid-card:hover {
  transform: scale(1.02);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.grid-card i {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.grid-card span {
  font-size: 1.5rem;
  font-weight: 500;
  background: linear-gradient(to right, #7b2ff7, #0080ff);
  background-clip: text;
  color: transparent;
}

.grid-card:hover span {
  font-size: 1.5rem;
  font-weight: 500;
  background: linear-gradient(to right, #9b5ff9, #33aaff);
  background-clip: text;
  color: transparent;
}

::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to top, #7b2ff7, #0080ff);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 3rem;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  color: white;
}

.project-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-10px) scale(1.02);
}

.project-card img {
  width: 20vw;
  border-radius: 1rem;
}

.project-card:hover .button {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
}

.project-card:hover .button:hover {
  border: 2px solid white;
  background-color: white;
  color: black;
}

.project-card h3 {
  font-size: 2rem;
  font-weight: 500;
}

footer {
  bottom: 0;
  left: 0;
  height: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

footer ul {
  display: flex;
  align-items: center;
  gap: 3rem;
}

footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.copyright {
  font-size: 300;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1280px) {
  header {
    padding: 1rem 2rem;
    gap: 2rem;
  }

  .about .about-container {
    gap: 3rem;
  }

  .experience-info {
    flex-direction: column;
  }

  .input-box input {
    padding: 2rem 5rem;
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  header {
    gap: 1rem;
    padding: 1rem 1rem;
  }

  header .logo {
    font-size: 1rem;
  }

  header .visit-button {
    display: none;
  }

  .about-container {
    flex-direction: column;
  }

  .grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .experience-info img {
    width: 70vw;
  }
}

@media (max-width: 600px) {
  header #menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    margin-top: 1rem;
    width: 100%;
    padding: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: rgba(15, 15, 15, 0.97);
    border-radius: 3rem;
    display: none;
  }

  .nav-links li {
    margin-top: 1rem;
    padding: 1rem;
  }

  .nav-links.active {
    display: block;
  }

  header {
    padding: 1rem 5rem;
    gap: 8rem;
  }

  header .logo {
    font-size: 1.5rem;
  }

  .about-container img {
    width: 80vw;
  }

  footer ul {
    gap: 1rem;
  }
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 600px;
}

.contact-div p {
  padding-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 3rem;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: 0.2s ease-in-out;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.contact form input::placeholder,
.contact form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact form textarea {
  border-radius: 1.5rem;
  resize: vertical;
  min-height: 150px;
  resize: none;
}

.contact form textarea::-webkit-scrollbar {
  display: none;
}

.contact form input:focus,
.contact form textarea:focus {
  border-color: #7b2ff7;
}

.contact form button {
  align-self: center;
  padding: 0.8rem 3rem;
  border-radius: 3rem;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  background: linear-gradient(to right, #7b2ff7, #0080ff);
}

.contact form button:hover {
  transform: scale(1.03);
  background: linear-gradient(to right, #0080ff, #7b2ff7);
}
