/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and Typography */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f2f4f8;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

h2 {
  font-size: 1.4rem;
  margin: 8px 0;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout Blocks */
#main {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#footer {
  text-align: center;
  margin-top: 30px;
  color: #777;
  font-size: 0.9rem;
}

/* Forms */
form {
  margin-top: 20px;
}

form p {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="url"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  height: 80px;
  resize: vertical;
}

button {
  padding: 10px 16px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background-color: #28a745;
  color: #fff;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background-color: #218838;
}

/* Lists */
ul {
  list-style: none;
  margin-top: 20px;
}

li {
  background-color: #fdfdfd;
  border: 1px solid #e1e1e1;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Buttons & Links */
button a {
  color: white;
  text-decoration: none;
  display: inline-block;
}

a.btn {
  display: inline-block;
  background-color: #007bff;
  padding: 8px 12px;
  color: #fff;
  border-radius: 5px;
  margin-bottom: 10px;
}

a.btn:hover {
  background-color: #0056b3;
}

/* Delete Button */
form button[type="submit"] {
  background-color: #dc3545;
}

form button[type="submit"]:hover {
  background-color: #c82333;
}

/* Back & Navigation Links */
a[href^="/skill"],
a[href^="/project"] {
  display: inline-block;
  margin-bottom: 10px;
  font-weight: bold;
}
