* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

html {
  scroll-behavior: smooth;
}

header {
  background-color: gray;
  color: white;
  padding: 1.5rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.name {
  font-size: 1.5rem;
  font-weight: bold;
}

nav a {
  text-decoration: none;
  color: rgba(26, 26, 26, 0.5);
  margin-left: 1rem;
  font-size: 20px;
}

nav a:hover {
  color: white;
}

section {
  scroll-margin-top: 20px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.jumbotron {
  background-color: #fff;
  text-align: center;
}

.jumbotron img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  max-width: 1000px;
}

.about-content p {
  flex: 1 1 300px;
  background: white;
  padding: 1rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 700px;
}

.title-project {
  margin-top: 1.3rem;
}

.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  display: block;
}

.card p {
  padding: 1rem;
}

form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  margin-top: 1rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  margin-top: 1rem;
  background-color: gray;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

footer {
  text-align: center;
  background-color: gray;
  color: white;
  padding: 1rem;
}

footer a {
  color: white;
  font-weight: bold;
}
