body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header,
main,
footer {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#header-a {
  font-size: 1.5rem;
  background-color: lightcyan;
  color: cornflowerblue;
  text-decoration: none;
  border-bottom: 1px solid red;
  padding: 0.25rem 0.25rem;
  border-radius: 8px;
}

#header-a:hover {
  border-color: cyan;
  background-color: cornflowerblue;
  color: lightcyan;
  transition: 0.5s;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav i {
  font-size: 1.5rem;
}

main,
section {
  display: flex;
  flex-direction: column;
}

main {
  gap: 4rem;
}

section {
  gap: 1rem;
}

#skills-title {
  color: firebrick;
  text-align: center;
}

.intro-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.intro-left {
  flex: 1.5;
}

.intro-right {
  flex: 1;
  padding: 1rem;
  border-left: 3px solid #ccc;
}

.intro-header p {
  padding-top: 0.25rem;
}

.intro-description {
  max-width: 500px;
}

.links-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
}

.links-container .links:hover {
  color: red;
  transition: 0.5s;
}

.link-arrow {
  color: var(--color-link);
  transform: rotate(-45deg);
}

.color-div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.color-div h4 {
  font-size: 22px;
}

#color-picker {
  width: 100px;
  height: 50px;
  border: none;
  padding: 0;
}

.table-class {
  background-color: beige;
}

.table-head-class {
  text-align: center;
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}

.project-links a {
  text-decoration: none;
  color: cadetblue;
  position: relative;
}

.project-links a:hover {
  color: red;
}

.project-links a:not(:last-child)::after {
  content: "||";
  color: green;
  margin-left: 11px;
}

.tech-list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}

.tech-list div {
  padding: 0.3rem 0.5rem;
  border-radius: var(--border-radius-small);
}

.tech-list p {
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .project-card {
    flex-direction: row;
  }

  .project-card .img-div {
    width: 60%;
  }
}

footer p {
  font-size: 20px;
}

#footer-a {
  background-color: lightcyan;
  text-decoration: none;
  border-radius: 8px;
}

#footer-a:hover {
  color: lightcyan;
  background-color: var(--color-link);
  transition: 0.5s;
}
