@font-face {
  font-family: "poppins";
  src: url("../fonts/poppins.regular.ttf");
  font-weight: normal;
  font-style: normal;
}
:root {
  --primary-bg: hsl(197, 56%, 21%);
  --secondary-bg: hsl(226, 47%, 19%);
  --text-color: hsl(143, 69%, 80%);
  --accent-color: hsl(197, 77%, 52%);
  --gray-text: hsl(189, 6%, 50%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--primary-bg);
  background-size: cover;
  color: var(--text-color);
  min-height: 100vh;
  position: relative;
}

body::after {
  content: "";
  background: linear-gradient(to bottom right, #0c0d29, #111531);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0.9;
  z-index: -1;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999;
  overflow: hidden;
}

.bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.profile-img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 4px solid var(--accent-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

h1 {
  font-size: 2.5rem;
}

.tagline {
  color: var(--gray-text);
  font-size: 1.25rem;
}

.hr {
  max-width: 150px;
  margin: 1rem auto 0.5rem;
  opacity: 0.2;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--text-color);
}

section {
  background: var(--secondary-bg);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 250ms ease;
  line-height: 1.6;
}

section.about,
section.bio {
  margin-bottom: 2rem;
}

section.bio {
  margin-top: -2rem;
}

section.portfolio h2 {
  border-bottom: var(--accent-color) 1px solid;
}
section.portfolio .card {
  margin: 1rem auto;
  width: 100%;
  overflow: hidden;
  place-items: center;
  padding: 1rem 0;
}
section.portfolio .card .headings {
  position: relative;
  justify-content: space-between;
}
section.portfolio .card .headings h3 {
  text-transform: uppercase;
}
section.portfolio .card .headings .links {
  position: absolute;
  right: 0;
  top: 0;
}
section.portfolio .card .headings .links .links-wrapper {
  display: flex;
  align-items: center;
  gap: 3px;
  position: relative;
  transition: color 250ms ease-in;
  color: var(--accent-color);
}
section.portfolio .card .headings .links .links-wrapper a {
  text-transform: capitalize;
  color: var(--accent-color);
  transition: color 250ms ease-in;
}
@media (max-width: 866px) {
  section.portfolio .card .headings .links {
    position: unset;
    display: block;
    margin-top: 1rem;
  }
}
section.portfolio .card .headings .description {
  margin-top: 1rem;
}
section.portfolio .card img {
  margin: 1rem auto;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  border-radius: 10px;
  transition: transform 250ms ease-in;
  transform-origin: top;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
section.portfolio .card img:hover, section.portfolio .card img:active {
  transform: scale(1.01);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transform-origin: top;
}

section:hover {
  transform: translateY(-2px);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* todo remove unecessary grid below */
.grid.about {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  section.bio {
    margin-top: unset;
    /* width: 30%; */
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid.about {
    grid-template-columns: auto 20rem;
  }
  .grid section.portfolio {
    grid-column: 1/-1;
  }
}
ul {
  list-style: none;
}

li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--gray-text);
  transition: color 0.3s ease;
}

section.bio li {
  margin: 0.5rem;
}

li:hover {
  color: var(--text-color);
}

footer {
  text-align: center;
  color: var(--gray-text);
  margin-top: 3rem;
}

/* Icon styles */
[data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
}

.social-links [data-lucide] {
  width: 1.5rem;
  height: 1.5rem;
}/*# sourceMappingURL=styles.css.map */