@import url("https://fonts.googleapis.com/css2?family=Bitcount+Prop+Single:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: linear-gradient(
    to right top,
    #1e1e2f,
    #2c2d3c,
    #3a3d49,
    #494d57,
    #585d64
  );
  min-height: 100vh;
  font-family: "Source Code Pro", monospace;
  color: white;
  overflow: hidden;
  scroll-behavior: smooth;
}

body.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem;
  background-color: #2c2623;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  height: 5vh;
}

.left_items {
  display: flex;
  align-items: center;
}

.center_items {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

nav a {
  color: #fefcfb;
  text-decoration: none;
  font-family: "Source Code Pro", monospace;
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0.9375rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
nav a:hover {
  color: #00ffff;
  transform: scale(1.15);
}

nav a.active {
  color: #00ffff;
}
nav a > svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  padding-bottom: 0%;
}

main {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem;
  flex-grow: 1;
  min-height: 95vh;
  height: calc(100vh - 5vh);
}

.filter_container {
  display: flex;
  flex-direction: column;
  /* flex-wrap: wrap; */
  background-color: #2c2623;
  border-radius: 0.625rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  padding: 1.25rem;
  width: 20vw;
  height: fit-content;
  overflow: hidden;
}

.filter_container svg {
  margin-left: 2.5rem;
  border-bottom: #00bfbf 0.125rem solid;
  width: 24px;
  height: 24px;
  fill: #00ffff;
  margin-right: 0.625rem;
}

.filter_button {
  background-color: #111212;
  color: #00ffff;
  border: none;
  font-family: "Source Code Pro", monospace;
  border-radius: 0.3125rem;
  padding: auto 0.625rem;
  margin: 0.3125rem;
  font-weight: 300;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-transform: lowercase;
  width: fit-content;
}
.filter_button:hover {
  background-color: #00bfbf;
  transform: scale(1.05);
}
.filter_button.active {
  background-color: #00ffff;
  color: #2c2623;
  font-weight: 600;
}

.projects_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.25rem;
  overflow-y: auto;
}

.project_link {
  text-decoration: none;
  border: solid 0.125rem #00ffff;
  border-radius: 0.625rem;
  overflow: scroll;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project_link:hover {
  transform: translateY(-0.625rem);
  box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.2);
}
.project_card {
  background-color: #2c2623;
  border-radius: 0.625rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 60vh;
  height: 40vh;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project_title {
  font-family: "Bitcount Prop Single", sans-serif;
  color: #00ffff;
  font-weight: 400;
  font-size: 1.5rem;
  margin-left: 0.625rem;
  text-transform: capitalize;
}

.project_description {
  font-size: 1rem;
  margin: 0.625rem;
  color: #d3d3d3;
  overflow-y: auto;
  max-height: 8rem;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #00ffff #2c2623;
}

.project_points {
  list-style-type: disc;
  font-size: 1rem;
  margin: 1rem;
  color: #d3d3d3;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem;
  margin: 0.625rem;
}

.tag {
  background-color: #111212;
  color: #00ffff;
  padding: 0.3125rem 0.625rem;
  border-radius: 0.3125rem;
  font-weight: 400;
  font-size: 0.875rem;
  text-transform: lowercase;
}

.project_status {
  background-color: #00ffff;
  color: #2c2623;
  padding: 0.3125rem 0.625rem;
  border-radius: 0.3125rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  margin: 0.625rem;
  width: fit-content;
}

.project_status svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  padding-bottom: 0%;
  margin-left: 0.3125rem;
}
