/* ==============================
Index Styles
============================== */

#header-container {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 20px;
}

#desc-pic-container {
  text-align: center;
  margin-bottom: 30px;
}

#desc-pic {
  height: auto;
  width: 60vw;
  max-width: 280px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  object-fit: cover;
}

#desc-text {
  padding: 0 10px;
  text-align: center;
}

#desc-text h1 {
  margin: 0 0 12px;
  font-size: 3rem;
}

#desc-text h2 {
  margin: 0 0 30px;
  font-size: 1.4rem;
  opacity: 0.9;
}

#desc-icons {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 20px;
}

.link-icon {
  height: 48px;
  width: 48px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: light-dark(
    none,
    invert(100%)
  );
}

@media (prefers-color-scheme: light) {
  .link-icon {
    filter: invert(0%);
  }
}

@media (prefers-color-scheme: dark) {
  .link-icon {
    filter: invert(100%);
  }
}

.link-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* ==============================
Responsiveness
============================== */

@media (max-width: 600px) {
  #header-container {
    margin-top: 40px;
    padding: 0 10px;
  }

  #desc-pic {
    width: 65vw;
    max-width: 240px;
  }

  #desc-text h1 {
    font-size: 2.5rem;
  }

  #desc-text h2 {
    font-size: 1.2rem;
  }

  .link-icon {
    height: 44px;
    width: 44px;
  }
}
