/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Avenir Next', 'Helvetica Neue', sans-serif;
}

body {
  background: #f4f7f8;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  padding: 20px;
}

a {
  color: #007acc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  text-align: center;
  padding: 30px 20px;
  background-color: #007acc;
  color: white;
  border-radius: 8px;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.2em;
}

header p {
  font-size: 1.1rem;
  font-weight: 300;
}

section {
  max-width: 900px;
  margin: auto;
  margin-bottom: 50px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.1);
}

h2 {
  color: #007acc;
  margin-bottom: 20px;
  border-bottom: 3px solid #007acc;
  display: inline-block;
  padding-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

p {
  margin-bottom: 15px;
}

ul {
  margin-left: 20px;
}

/* Skills list */
ul.skills-list {
  margin-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

ul.skills-list li {
  background: #007acc;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;

  &.programming-language {
    background: #007acc;
  }

  &.framework {
    background: #00cc52;
  }

  &.tool {
    background: #ccac00;
  }

  &.other {
    background: #5e5e5e;
  }
}

/* Contact form */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input, textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
}

button {
  align-self: flex-start;
  background-color: #007acc;
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.contact-link {
  color: #007acc; 
  font-weight: 600; 
  text-decoration: none; 
  display: flex; 
  align-items: center; 
  gap: 6px;

  svg {
    width: 1rem;
    height: 1rem;
    fill: #007acc;
  }

  &:hover {
    text-decoration: none;
  }
}

@media (max-width: 500px) {
  header h1 {
    font-size: 2rem;
  }
  section {
    padding: 20px;
  }
}
