@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

body {
  font-family: 'Ubuntu', sans-serif;
  background-color: #f5f6f8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.header-title {
  background-image: linear-gradient(to right, #5964e0, #6670e3);
  text-align: right;
  padding: 2em 2em;
  border-bottom-left-radius: 5em;
  color: aliceblue;
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: space-between;
}

.fa-github {
  color: white;
}

.item-level {
  width: 1em;
  height: 1em;
  border-radius: 2em;
}

.item-level.selection {
  margin: auto;
}

.item-level.newbie {
  background-color: hsl(182, 82%, 43%);
}

.item-level.junior {
  background-color: hsl(78, 65%, 55%);
}

.item-level.intermediate {
  background-color: hsl(45, 97%, 48%);
}

.item-level.advanced {
  background-color: hsl(27, 97%, 48%);
}

.portfolio-container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1em 2em 2em 2em;
}

.item-filters {
  padding: 2em 1em 1em 1em;
  text-align: center;
  display: flex;
  gap: 1em;
  justify-content: center;
  align-content: center;
  font-size: 1rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.filter-item {
  padding: 0.5em 1em 0.5em 0.7em;
  border: 1px solid gray;
  border-radius: 5em;
  color: gray;
  display: flex;
  gap: 0.6em;
  justify-content: center;
  align-content: center;
  cursor: pointer;
}

.portfolio-item > a {
  display: inline-block;
  text-decoration: none;
}

.portfolio-item {
  width: 25%;
  max-width: 300px;
  min-width: 300px;
  flex: 1 1;
  border-radius: 5px;
  padding: 1.2em;
  margin: 1em;
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(160, 159, 159, 0.5);
  position: relative;
}

.portfolio-item > .title {
  font-weight: 600;
  font-size: 1.2rem;
  color: #35353f;
}

.view-sol-button {
  display: inline-block;
  color: #fff;
  padding: 0.5em;
  background-color: #5964e0;
  border-radius: 5px;
  cursor: pointer;
}

.view-challenge-button > a {
  color: #5964e0;
  text-decoration: none;
}

.challenge-flex {
  display: flex;
  margin: 1em 0;
  gap: 1em;
}

.view-code {
  position: absolute;
  bottom: 1em;
  right: 1em;
}

.view-code > a > i {
  color: #5964e0;
}

.filter-selected {
  color: #fff;
  background-color: #5964e0ba;
  border: 0;
}

.github-me {
  text-align: center;
  padding-bottom: 2em;
}

.github-me > a {
  text-decoration: none;
  color: #5964e0;
}

.github-me > a > i {
  color: black;
}