nav {
  padding: 2px;
  margin: 2px;
  background-color: lightgrey;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: ink free;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 2px 2px 5px grey;
  position: sticky;
  top: 0;
  gap: 5px;
}

nav a {
  text-decoration: none;
  color: black;
  padding: 10px;
  border-radius: 5px;
}

nav a:hover {
  background-color: grey;
  color: white;
  transition: 0.3s;
}

.about {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  margin: 0 20px;
}

img {
  margin: 20px auto;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  display: flex;
  justify-content: end;
  box-shadow: 2px 2px 5px grey;
}
h1 {
  text-align: center;
  font-family: ink free;
  font-size: 40px;
  color: grey;
}

footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}
footer ul li {
  text-decoration: none;
  color: black;
  padding: 10px;
}

#projects,
#skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 40px;
  margin: 0 auto;
  max-width: 1000px;
  justify-items: center;
  background-color: #f9f9f9;
  border-radius: 10px;
}

#projects li {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#projects li:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#projects li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 18px;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
}

#projects li a:hover {
  color: #0077b6;
}

section h1 {
  text-align: center;
  font-family: "Ink Free", cursive;
  font-size: 40px;
  color: grey;
  margin-top: 30px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 50%;
  height: auto;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
}
input,
textarea {
  resize: vertical;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
}
textarea {
  min-height: 100px;
}
input {
  height: 20px;
}
button {
  width: 100px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: lightgrey;
  cursor: pointer;
}

button:hover {
  background-color: grey;
  color: white;
  transition: 0.3s;
}
