@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

* {
  padding: 0;
  margin: 0;
  font-family: "JetBrains Mono", monospace;
}

body {
  width: 100%;
  height: fit-content;
  background: #FAF9F6;
  display: flex;
  align-items: center;
  flex-direction: column;

  @media (prefers-color-scheme: dark) {
    color: #FAF9F6;
    background: #171717;
  }
}

nav {
  width: 100%;
  height: 50px;
  gap: 20px;
  width: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

a {
  color: #d84a31;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;

  @media (prefers-color-scheme: dark) {
    color: #ff7961;
  }
}

a:hover {
  color: #FAF9F6;
  text-decoration: underline 0.5px;
}

section.about {
  gap: 50px;
  width: 840px;
  height: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 50px;
  padding: 40px;
}

section.about > div {
  display: flex;
  align-items: left;
  gap: 10px;
  flex-direction: column;
}

section.about > img {
  width: 100px;
  height: 100px;
  border: 2px solid #d84a31;
  border-radius: 50%;

  @media (prefers-color-scheme: dark) {
    border: 2px solid #ff7961;
  }
}

section.projects {
  gap: 20px;
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px;
  margin-bottom: 50px;
  padding: 20px;
  border-radius: 20px;
  background-color: #252525;
}

section.projects > p {
  font-weight: bold;
  letter-spacing: 1px;
}

section.technologies {
  gap: 50px;
  width: 940px;
  height: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 50px;
  padding: 40px;
}

section.technologies > main {
  gap: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.technologies main > p {
  font-weight: bold;
  letter-spacing: 1px;
}

section.technologies main > div {
  width: 220px;
  gap: 20px;
  height: fit-content;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

section.technologies main div > i {
  font-size: 40px;
}

section.contact {
  gap: 20px;
  width: 180px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  margin: 50px;
  padding: 20px;
  border-radius: 20px;
  background-color: #252525;
}

section.contact > p {
  font-weight: bold;
  letter-spacing: 1px;
}

section.contact div > a {
  font-size: 40px;
  text-decoration: none;
}

section.contact div > a:hover {
  text-decoration: none;
}