*,
*:after,
*:before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
}

body {
  font-family: Arial, sans-serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f4f4f4;
  background-color: hsl(211, 100%, 99%);
  text-rendering: optimizeSpeed;
}

img,
picture {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1,
h2, h3 {
  color: #007bff;
}

.header {
  text-align: center;
}

.header h1 {
  margin: 10px 0;
}

.contact {
  margin: 10px 0;
  font-size: 14px;
}

// .contact a {
//   color: #007bff;
//   text-decoration: none;
// }

.section {
  margin: 20px 0;
}

.section h2 {
  margin-bottom: 10px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
}

.item {
  margin-bottom: 15px;
}

.item h3 {
  margin: 0;
  font-size: 18px;
  color: #555;
}

.item p {
  margin: 5px 0;
  font-size: 14px;
}

.skills ul {
  list-style: none;
  padding: 0;
}

.skills ul li {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 5px 10px;
  margin: 5px 5px 5px 0;
  border-radius: 4px;
}

/* Projects page */
.grid-container {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  justify-items: center;
  margin-top: 2rem;
  // align-items: center;
}

.project {
  padding: 1rem;
  border: 1px solid hsl(211, 100%, 80%);
  background-color: hsl(211, 100%, 98%);
  border-radius: 6px;
}

.project-title {
  margin-bottom: 0;
}

.contact-link, .project-link {
  color: hsl(211, 100%, 50%);
  text-decoration: none;
  transition: color 250ms ease;
}
.contact-link:hover, .project-link:hover {
  color: hsl(211, 100%, 30%);
  text-decoration: underline;
}

.project-desc {
  margin-bottom: 0;
}