:root {
  --bg-clr: #3e4251;
  --bg-slc-clr: #717cb4;
  --txt-clr: #999;
  --txt-slc-clr: #ccc;
  --outline-clr: #ddbdf2;
  --usr-clr: #ffcb6b;
  --host-clr: #c792ea;
  --err-clr: #f07178;
  --url-clr: #82aaff;
}

@font-face {
  font-family: "terminal";
  src: url("../../assets/fonts/VT323/VT323-Regular.ttf");
}
@font-face {
  font-family: "Fira Code";
  src: url("../../assets/fonts/Fira Code/FiraCode-VariableFont_wght.ttf");
}

* {
  box-sizing: border-box;
  margin: 0;
}
*::selection {
  background-color: var(--bg-slc-clr);
  color: var(--txt-slc-clr);
}
body {
  background-color: var(--bg-clr);
  font-size: 18px;
  color: var(--txt-slc-clr);
  font-family: "Fira Code";
}
main {
  position: absolute;
  inset: 1rem;
  border: 3px solid var(--outline-clr);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  overflow-y: auto;
  scrollbar-color: gray var(--outline-clr);
}
.terminal-input {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  &:not(:first-child) {
    margin-top: 0.1rem;
  }
}

.terminal-prompt {
  color: var(--txt-slc-clr);
  font-weight: bold;

  .usr-name {
    color: var(--usr-clr);
  }
  .host-name {
    color: var(--host-clr);
  }
  .usr-name::selection {
    color: #ffdfa6;
  }
  .host-name::selection {
    color: #ddbdf2;
  }
}
#cmd {
  background: transparent;
  border: none;
  font: inherit;
  color: inherit;
  width: max-content;
  padding: 0;
  flex-grow: 1;
}
#cmd:focus {
  border: none;
  outline: none;
  caret-color: #ffdfa6;
}

.output {
  font-weight: bold;
  .error {
    color: var(--err-clr);
  }
  a {
    color: var(--url-clr);
    text-decoration: none;
  }
  margin-top: 0.6rem;
}
.skills {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.skills > * {
  display: grid;
  grid-template-columns: 100px 1fr; /* Adjust 100px if needed */
  align-items: start;
  column-gap: 2rem;
  /* background-color: red; */
  margin: 0.1rem 0;
}

.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.skills {
  li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.3rem;
  }
  li:not(:last-child):after {
    content: ",";
    transform: translateX(-0.2rem);
  }
}

.about {
  & p {
    font-size: 1.2rem;
    font-weight: normal;
  }
  li::marker {
    content: "> ";
    color: #82aaff;
    font-weight: bold;
  }
}

.experience {
  >:not(:last-child){
    margin-bottom: 1rem;
  }
  h4 {
    font-weight: 500;
  }
  h3{
    display: inline-block;

    border-bottom: 3px whitesmoke groove;
  }
  p {
    font-weight: normal;
  }
  .work:not(:last-child),
  .project:not(:last-child){
    margin-bottom: 5px;
  }

  ul>li::marker {
    content: "> ";
    color: #82aaff;
    font-weight: bold;
  }
  .time,
  .location,
  .tech-stack {
    position: absolute;
    right: 10px;
    &::after {
      content: ")";
    }
    &::before {
      content: "(";
    }
  }
}

address{
  font-style: oblique;
  font-weight: normal;
}