/* ~~~~~ Home ~~~~~ */
.index-main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;

  flex: 1;
  height: auto;
  overflow: auto;

  background-image: url(background-images/grid-1.webp);
  background-size: cover;
  background-position: center;

  background-color: #000;
}

.nick-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.a-star {
  display: inline-block;
  font-size: 96px;
  line-height: 1;
  margin: 0;

  animation: starColorShift 12s ease-in-out infinite;
}

@keyframes starColorShift {
  0%,
  100% {
    color: #47624f;
  }
  25% {
    color: #2176ff;
  }
  50% {
    color: #fb6107;
  }
  75% {
    color: #d0cfec;
  }
}

.nick-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #ede3e4;
  border: 4px outset #d5cccd;
  padding: 24px;
  max-width: 800px;
}

.nick-p {
  width: 96%;
  font-variation-settings: "slnt" -10;
}

.cta-btn {
  font-size: 1.2rem;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  background-color: #2176ff;
  border: 4px outset #1e6ae6;
  padding: 12px 24px;
  align-self: flex-start;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ~~~~~ Projects ~~~~~ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  list-style-type: none;
}

.projects-grid li {
  display: flex;
  justify-content: center;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-top {
  display: flex;
  gap: 8px;
}

.project-favicon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4eeef;
  border-radius: 8px;
  overflow: hidden;
  align-self: flex-start;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.project-favicon {
  display: block;
  width: 32px;
  height: 32px;
}

.solid-favicon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.favicon-info {
  font-size: 0.8rem;
}

.project-thumb {
  display: block;
  width: 100%;
  height: auto;
}

.project-card {
  border: 4px solid #d5cccd;
  background-color: #f8f4f4;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 480px;
}

.emoji-number {
  padding-bottom: 8px;
  border-bottom: 2px solid #ede3e4;
}

.project-stack-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style-type: none;
}

.project-stack {
  display: block;
  width: 24px;
  height: 24px;
}

.project-stack.fe {
  width: 22px;
  height: 22px;
}

.project-stack.bootstrap {
  width: 26px;
  height: 26px;
}

.project-link {
  text-decoration: none;
  color: #000;
}

.project-link:link,
.project-link:visited {
  color: #000;
}

.project-desc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

.emoji-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-number {
  font-size: 0.8rem;
  color: #8e8889;
}

.project-title {
  font-variation-settings: "wght" 600;
}

/* ~~~~~ Artwork ~~~~~ */
.artwork-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: 48px;
  list-style-type: none;
}

.artwork-link {
  display: block;
}

.artwork-img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* ~~~~~ About ~~~~~ */
.work-nick,
.my-skills {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s ease;
}

.about-social-link {
  transition: all 0.2s ease;
}

.about-social-img {
  display: block;
  width: 24px;
  height: 24px;
}

.about-nick {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-nick-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nick-img {
  display: block;
  width: 160px;
  height: auto;
  border: 4px solid #47624f;
  margin-bottom: 8px;
}

.development-section,
.pc-specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pc-specs-grid {
  display: grid;
  grid-template-columns: minmax(128px, max-content) minmax(0, 1fr);
  border: 4px solid #d5cccd;
  align-self: flex-start;
}

.pc-ul {
  list-style-type: none;
}

.pc-ol {
  list-style-position: inside;
}

.monitors,
.peripherals {
  display: flex;
  gap: 24px;
}

.pc-specs-grid dt:nth-of-type(odd),
.pc-specs-grid dt:nth-of-type(odd) + dd {
  background-color: #ede3e4;
}

.pc-specs-grid dt:nth-of-type(even),
.pc-specs-grid dt:nth-of-type(even) + dd {
  background-color: #e1d8d9;
}

.pc-specs-grid dt,
.pc-specs-grid dd {
  padding: 4px 8px;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  background-color: #f8f4f4;
  border: 4px solid #d5cccd;
  padding: 24px;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skills-list {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  list-style-type: none;
}

.skills {
  display: block;
  width: 32px;
  height: 32px;
}

.skills.php,
.skills.mysql {
  width: 50px;
  height: 50px;
}

.skills.bootstrap,
.skills.react {
  width: 38px;
  height: 38px;
}

.skills.tailwind {
  width: 40px;
  height: 40px;
}

.skills.wp,
.skills.shopify {
  width: 38px;
  height: 38px;
}

.skills.gimp,
.skills.blender {
  width: 36px;
  height: 36px;
}

.skills.canva,
.skills.affinity {
  width: 36px;
  height: 36px;
}

.about-btn-wrapper {
  display: flex;
  gap: 24px;
}

.about-btn {
  font-size: 1.2rem;
  color: #000;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 2px solid transparent;
}

.about-btn:link,
.about-btn:visited {
  color: #000;
}

.about-btn-icon {
  width: 1em;
  height: 1em;
}

.colophon {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.colophon-info dd:not(:last-of-type) {
  margin-bottom: 16px;
}

.colophon-emblem {
  display: block;
  width: 128px;
  height: auto;
  align-self: center;
}

.subway {
  font-family: "subway-berlin-std", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.colours-wrapper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.colour {
  padding: 2px 4px;
  border: 2px solid #000;
}

.colour1 {
  color: #fff;
  background-color: #47624f;
}

.colour2 {
  color: #000;
  background-color: #f4fec1;
}

.colour3 {
  color: #fff;
  background-color: #2176ff;
}

.colour4 {
  color: #fff;
  background-color: #fb6107;
}

.colour5 {
  background-color: #c4b1ae;
}

.colour6 {
  color: #000;
  background-color: #ede3e4;
}

.colour7 {
  color: #000;
  background-color: #d0cfec;
}

.nav-link[aria-current="page"] {
  border-bottom: 2px solid currentColor;
}
