* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #fdfdfd;
  color: #fff;
  line-height: 1.6;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
   background-color: #2c2c2c;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  padding: 1rem 2rem;
  z-index: 1000;
}

#navbar a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

#navbar a:hover {
  color: #ffd166;
  text-decoration: underline;
}

#welcome-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  color: #fff;
}

#welcome-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

#welcome-section h2 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#projects {
  padding: 5rem 2rem 2rem;
  background-color: #181818;
}

#projects h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #fff;
}

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

.inner-projects {
  background: #2c2c2c;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.inner-projects:hover {
  transform: scale(1.03);
}

.project-pictures {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

#welcome-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #222; 
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2); 
}

#welcome-section h2 {
  font-size: 1.5rem;
  color: #5f5f5f; 
  font-weight: normal;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1); 
}

.h2Flex {
  text-align: center;
  
  color: #fff;
  margin-bottom: 1rem;
}



#info {
  background-color: #2c2c2c;
  color: #f0f0f0;
  padding: 4rem 2rem;
  text-align: center;
}

#info h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

#info p {
  max-width: 700px;
  margin: 1rem auto;
  line-height: 1.8;
  font-size: 1.1rem;
}

.socials {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.socials a {
  color: #fff;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #ffd166;
}

@media (max-width: 768px) {
  #navbar {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    position: static;
  }

  #navbar a {
    font-size: 1.1rem;
  }

  #welcome-section h1 {
    font-size: 2.2rem;
  }

  #welcome-section h2 {
    font-size: 1.2rem;
  }

  #projects {
    padding: 3rem 1rem;
  }

  .project-tile {
    grid-template-columns: 1fr;
  }

  #info p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .socials {
    flex-direction: column;
    gap: 1rem;
  }

  .socials a i {
    font-size: 1.8rem;
  }
}
