html{
    scroll-behavior: smooth;
}

a{
  cursor: pointer;
}

body{
  font-family: "Poppins", sans-serif;
  background-color: #000000;
  margin: 0;
  padding: 0;
}

.navbar{
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  padding: 20px 20px 7px 20px;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-between;
  /* margin-top: 0; */
  margin-bottom: -120px;
}

.logo{
  padding-left: 10px;
  margin-top: -17px;
  font-size: 2.2rem;
  letter-spacing: 3px;
  color: cyan;
}

.navbar a{
  text-decoration: none;
  padding: 20px;
  color: cyan;
  transition: 0.3s ease;
}

.navbar a:hover{
  text-shadow: 0 0 2px cyan;
}

#hero{
  /* height: 100vh; */
  margin: 150px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
}

.hero-img{
  max-height: 300px;
  max-width: 300px;
  zoom: 1.3;
  border-radius: 50%;
}

#hero .content{
  margin-top: -35px;
  max-width: 600px;
}

#hero h1{
  font-size: 2.9rem;  
  margin-bottom: -15px;
  color: cyan;
  text-shadow: 0 0 2px cyan;
  font-weight: 500;
  letter-spacing: 5px;
}
  
#hero h2{
  font-size: 1.2rem;
  font-weight: 350;
  letter-spacing: 1px;
  margin-bottom: 23px;
}

#hero p{
  font-weight: 200;
  font-size: 0.9rem;
  text-align: justify;
  letter-spacing: 1px;
  padding: 0;
  margin-bottom: 40px;
}

.content a{
  font-size: 1rem;
  color: cyan;
  letter-spacing: 1px;
  display: inline-block;
  background-color: black;
  border-radius: 5px;
  text-decoration: none;
  border: 1px solid rgb(0, 255, 255);
  padding: 10px 30px;
  transition: transform 0.3s ease, box-shadow 0.2s ease;
  font-weight: 500;
}

.content a:hover{
  background-color: cyan;
  box-shadow: 0 0 5px cyan;
  color: black;
}

@media (max-width: 768px) {
  body{
    overflow: visible;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 0;
  }

  .logo {
    padding: 0px 0;
    font-size: 1.8rem;
    text-align: center;
  }

  .navbar a {
    padding: 5px;
    font-size: 1rem;
  }

  #hero {
    margin-top: 0;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    height: auto;
  }

  .hero-img {
    max-width: 200px;
    max-height: 200px;
    zoom: 1.1;
    margin-bottom: -20px;
  }

  #hero .content {
    margin-top: 0;
    max-width: 100%;
  }

  #hero h1 {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }

  #hero h2 {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  #hero p {
    text-align: justify;
    font-size: 1rem;
    padding: 0;
    margin-bottom: 25px;
  }

  .content a {
    font-size: 1rem;
    padding: 8px 20px;
  }
}

@media (max-width: 398px){
  .navbar a {
    padding: 5px;
    font-size: 0.9rem;
  }
}

@media (max-width: 368px){
  .navbar a {
    padding: 3px;
    font-size: 0.8rem;
  }
}

#about{
  margin-top: 70px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
  padding-bottom: 20px;
  margin-bottom: 10px;
}

.about-me{
  margin-top: -170px;
  align-items: center;
  /* margin-right: 40px; */
  padding: 0 20px;
  color: cyan;
}

.about-me h1{
  letter-spacing: 2px;
  font-size: 1.8rem;
  font-weight: 600;
}

.about-content{
  margin-top: -35px;
  max-width: 600px;
}

.about-img{
  max-height: 300px;
  max-width: 300px;
  zoom: 1.3;
  border-radius: 50%;
}

.about-text{
  padding-left: 20px;
  padding-top: 0;
  border-left: 1px solid cyan;
  max-width: 600px;
}

.about-text h1{
  font-size: 2rem;  
  margin-bottom: -5px;
  color: cyan;
  text-shadow: 0 0 2px cyan;
  font-weight: 500;
  letter-spacing: 5px;
}

.about-text p{
  font-weight: 200;
  font-size: 0.9rem;
  text-align: justify;
  letter-spacing: 1px;
  padding: 0;
  margin-bottom: 40px;
}

.interests{
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: -7px;
}

.interests-items{
  display: flex;
  padding-left: 0;
  color: cyan;
  text-shadow: 0 0 1px cyan;
  gap: 20px;
  list-style: none;
  font-size: 0.9rem;
  font-weight: light;
}

@media screen and (max-width: 768px) {
  #about{
    margin-top: 70px;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    height: auto;
    margin-bottom: -10px;
  }

  .about-me{
    margin: -40px 0 -20px 0;
  }
  
  .about-img{
    max-width: 200px;
    max-height: 200px;
    zoom: 1.1;
    margin-bottom: -20px;
  }

  .about-content {
    margin-top: 0;
    max-width: 100%;
  }

  .about-text{
    border-left: none;
    border-top: 1px solid cyan;
    padding-left: 0;
  }

  .interests-items{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    gap:15px
  }
}

#skills{
  background-color: black;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.my-skills{
  font-size: 1.8rem;
  color: cyan;
  padding-bottom: 5px;
  letter-spacing: 2px;
  font-weight: 600;
}

.skill-grid{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.skill-card{
  background-color: #111;
  color: cyan;
  border: 1px solid cyan;
  padding: 5px 15px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.2s ease;
}

.skill-card:hover{
  background-color: cyan;
  color: black;
  cursor: default;
  transform: scale(1.05);
  box-shadow: 0 0 3px cyan;
}

@media screen and (max-width: 768px) {
  #skills{
    margin-top: -20px;
  }

  .my-skills{
    font-size: 1.5rem;
  }

  .skill-card {
    font-size: 0.9rem;
    padding: 4px 14px;
  }
}

#projects{
  padding: 20px 20px;
  background-color: black;
  color: white;
  text-align: center;
  margin: auto;
  width: 800px;
}

.cards{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

#projects h2{
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 0;
  color: cyan;
  letter-spacing: 2px;
  font-weight: 600;
}

.project-card{
  padding: 0 20px 20px 20px;
  background-color: rgb(10, 10, 10);
  border: 1px solid rgb(24, 24, 24);
  border-radius: 15px;
  margin: 20px;
  width: 300px;
  transition: transform 0.3s ease;
}

.project-card:hover{
  transform: scale(1.05);
}

.project-card h3{
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: -5px;
  color: cyan;
  text-shadow: 0 0 1px cyan;
}

.project-card p{
  font-weight: 200;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.project-card strong{
  font-weight: 400;
  font-size: 0.9rem;
}

.project-card a{
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: cyan;
  border: 1px solid rgb(24, 24, 24);
  padding: 5px 15px;
  border-radius: 7.5px;
  transition: transform 0.3s ease;
}

.project-card a:hover{
  z-index: 2;
  border: none;
  color: rgb(10, 10, 10);
  background-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 0 3px rgba(0, 255, 255, 0.4)
}

@media screen and (max-width: 850px) {
  #projects {
    width: 90%;
    padding: 20px 10px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 450px){
  .project-card{
    max-width: 250px;
  }
}

@media (max-width: 380px){
  .project-card{
    max-width: 200px;
  }
}

#contact{
  padding: 40px 20px;
  background-color: black;
  color: white;
  text-align: center;
  margin: auto;
  width: 800px;
}

#contact h2{
  font-size: 1.8rem;
  color: cyan;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 20px;
}

#contact form{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

#contact input,
#contact textarea{
  width: 100%;
  max-width: 500px;
  padding: 12px 15px;
  border: 1px solid rgb(24, 24, 24);
  border-radius: 8px;
  background-color: rgb(10, 10, 10);
  color: white;
  font-size: 0.9rem;
  outline: none;
  transition: border 0.3s ease;
}

#contact input:focus,
#contact textarea:focus {
  border-color: rgba(0, 255, 255, 0.5);
}

#contact button{
  background-color: cyan;
  border: none;
  color: black;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#contact button:hover{
  background-color: rgba(0, 255, 255, 0.5);
  transform: scale(1.05);
}

@media (max-width: 850px) {
  #contact {
    width: 90%;
    padding: 30px 15px;
  }

  #contact input,
  #contact textarea {
    width: 90%;
  }
}