@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    box-sizing: border-box;
    font-family: Poppins;
    margin: 20px 0px;
    text-align: center;
}
nav{
    position: fixed;
    z-index: 999;
    width: 100%;
    background: linear-gradient(to bottom, rgb(255, 255, 255), rgb(255, 255, 255, 0));
    padding-top: 20px;
    top: 0;
}
.nav-links{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    height: 4em;
    background-color: whitesmoke ;
    margin: 0 auto;
    border-radius: 5em;
    padding: 2px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.logo{
    display: flex;
    align-items: center;
    gap: 1vh;
    font-size: large;
    font-weight: 500;
    
    img{
        height:3em;
        border-radius: 50%;
    }
}
.connect button{
    padding: .9em;
    width: 8em;
    font-size: large;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    background-color: #000000;
    color: whitesmoke;
    transition: background 0.3s ease;
}
.connect button:hover{
    background-color: white;
    color: black;
    cursor: pointer;
}

.section-links{
    display: flex;
    gap: 3em;
    a{
        color: black;
        text-decoration: none;
        font-weight: 400;
        text-transform: uppercase;
    }
}
.home {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  height: 60vh;
  justify-content: space-between;
  padding: 60px 10%;
  background-color: #ffffff;
  flex-wrap: wrap;
}

.home-content {
  max-width: 50%;
}

.home-content h1 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #333;
}

.home-content h3 {
  font-size: 24px;
  color: #222222;
  margin-bottom: 20px;
}

.home-content p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.home-image {
  position: absolute;
  right: 10%;
  top: 65%;
  transform: translateY(-50%);
  z-index: 3;
}

.home-image img {
  height: 75vh;
  width: auto;
  transition: transform 0.3s ease;
}

.home-image img:hover{
  transform: scale(1.03);
}

.box {
  content: '';
  position: absolute;
  margin-left: 0%;
  top: 72%;
  left: 0;
  right: 0;
  height: 100px;
  background: whitesmoke;
  z-index: 1;
}
@media (max-width: 1170px){
  .section-links{
    gap: 10px;
    font-size: small;
  }
  .connect button{
    width: 6em;
    font-size: small;
  }
  .home-image{
    top: 69%;
  }
  .home-image img{
    height: 500px;
  }
}

@media (max-width: 740px), (max-height: 550px){
    .section-links{
      display: none;
    }
    .connect button{
      width: 6em;
      font-size: small;
    }
  .home-content{
    h1{
      font-size: 32px;
    }
    h3{
      font-size: 19px;
    }
    p{
      font-size: 12px;
    }
  }
  .home-image{
    top: 69%;
  }
  .home-image img{
    height: 300px;
  }
}

.About {
  padding: 60px 20px;
  text-align: center;
  background-color: whitesmoke;
}

.About h3 {
  color: black;
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.About h1 {
  font-size: 25px;
  margin-bottom: 25px;
  color: #333;
}

.About p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}


.About a button {
  padding: 12px 25px;
  font-size: 16px;
  background-color: rgb(255, 255, 255);
  color: black;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.About a button:hover {
  background-color: black;
  color: #fff;
}

.skills {
  background-color: #ffffff; /* dark background */
  color: #fff;
  padding: 40px 30px;
}

.skills-section {
  max-width: 1200px;
  margin: auto;
}

.skills-section h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #000000;
}

.skills-list h2 {
  color: #171717;
  margin-top: 30px;
  /* font-size: 1.4rem; */
}

.skills-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

.skills-list li {
  background: #e9e9e9;
  padding: 12px 15px;
  border-radius: 50px;
  text-align: center;
  font-size: 1rem;
  color: #000000;
  transition: all 0.3s ease-in-out;
  cursor: default;
}

.skills-list li:hover {
  background: #181818;
  transform: scale(1.03);
  border-color: #fff;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .skills-section h1 {
    font-size: 2rem;
  }
  .skills-list ul {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

.projects-section {
  background-color: white;
  padding: 40px 20px;
  text-align: center;
}

.projects-section h1 {
  font-size: 47px;
  text-transform: uppercase;
  padding: 20px;
  margin-bottom: 20px;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  background-color: whitesmoke;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  height: 380px;
  padding: 20px;
  text-align: left;
  transition: box-shadow 0.3s ease-in;
}

.project-card:hover{
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.project-card h3 {
  color: #000000;
  margin-bottom: 10px;
}

.project-card img {
  width: 100%;
  height: 45%;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: 0px 10px 10px rgb(128, 128, 128, .3);
  transition: transform 0.3s ease-in;
}
.project-card img:hover{
  transform: scale(1.05);
}

.contact-section {
  background-color: rgb(0, 0, 0);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.contact-details li {
  margin: 10px 0;
  font-size: 16px;
}

.contact-details a {
  text-decoration: none;
  color: #dde3ff;
}

.footer {
  background-color: whitesmoke;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #666;
}
