/* GENERAL */

html {
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  scroll-behavior: smooth;
}

:root {
  --bg: #1a1b26;
  --fg: #c0caf5;
  --black: #15161e;
  --red: #f7768e;
  --green: #9ece6a;
  --yellow: #e0af68;
  --blue: #7aa2f7;
  --purple: #bb9af7;
  --cyan: #7dcfff;
  --light-gray: #a9b1d6;
  --gray: #414868;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: #333333;
  color: #FFFFFF;
}

p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  letter-spacing: 0.2px;
}

strong {
  font-weight: bold;
  color: #9A0000;
}

h2 {
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 4rem;
}

hr {
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 4rem;
  border: 1px dashed rgba(52, 58, 64, 0.2);
}

.container {
  padding: 3.2rem;
  margin: 6.4rem auto;
  max-width: 96rem;
}

.text-center {
  text-align: center;
}

.green {
  color: var(--green);
}

.cyan {
  color: var(--cyan);
}

.purple {
  color: var(--purple);
}

.red {
  color: var(--red);
}

.yellow {
  color: var(--yellow);
}

.blue {
  color: var(--blue);
}

.light-gray {
  color: var(--light-gray);
}

.gray {
  color: var(--gray);
}

.black {
  color: var(--black);
}

/* LIGHTBOX */
#lightbox {
  display: none;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  z-index: 99;
}

#lightbox > img {
  width: 100%;
  height: auto;
  object-fit: scale-down;
  margin: 3.2rem;
}

.lightbox-active {
  display: flex !important;
}

.lightbox-icon {
  position: absolute;
  font-size: 1.8rem;
  right: 0;
  top: 0;
  margin: 2rem;
  color: #f8f8f8;
}

/* LINKS & BUTTONS */

a:link,
a:visited {
  color: rgba(248, 248, 248, 0.8);
}

.btn:link,
.btn:visited {
  display: flex;
  font-size: 1.2rem;
  border: 1px solid rgba(248, 248, 248, 0.8);
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  gap: 1rem;
  align-items: center;
}

.btn--scroll:link,
.btn--scroll:visited {
  border: none;
  display: flex;
  flex-direction: column;
}

/* HERO */

.section-hero {
  padding: 4rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: linear-gradient(rgba(255, 63, 63, 0.3), rgba(84, 54, 255, 0.3)),
    url("/images/splash.jpg");
  background-position-y: bottom;
  object-fit: cover;
  background-size: cover;

  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px;
}

.header-content {
  display: flex;
  flex-direction: column;
  max-width: 64rem;
  color: #f8f8f8;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4rem 6rem;
  border-radius: 10px;
}

.section-hero h1 {
  font-size: 6.4rem;
  margin-bottom: 2rem;
  font-weight: bolder;
}

.section-hero h2 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.section-hero p {
  font-size: 1.6rem;
  margin-bottom: 4.8rem;
  letter-spacing: 0.6px;
}

.header-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f8f8f8;
}

.social-links {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  gap: 1rem;
}

.social-links i {
  font-size: 2.4rem;
}

.social-links a:link,
.social-links a:visited {
  display: inline-block;
  position: relative;
  top: 0;
  transition: all 0.3s;
}

.social-links a:hover,
.social-links a:active {
  top: -0.4rem;
}

.resume-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.resume-container i {
  font-size: 1.8rem;
  opacity: 0.8;
}

.scroll-prompt {
  position: absolute;
  bottom: 4rem;
  margin: 0 auto;
}

/* ABOUT ME */

.intro-image {
  display: flex;
  justify-content: center;
  margin: 12rem 0 8rem 0;
}

.intro-image img {
  width: 16rem;
  height: 16rem;
  padding: 0.4rem;
  border: 1px dashed #1864ab;
  border-radius: 50%;
}

.intro-content h2 {
  margin-bottom: 4rem;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.intro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 3rem;

  border-radius: 10px;
  border: 1px solid #9A0000;
  box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
}

.intro-card p {
  margin-bottom: 0;
}

.intro-card i {
  position: relative;
  font-size: 4rem;
  color: #9A0000;
  margin-bottom: 1.6rem;
}

  /* Grow to fill the parent */
  flex: 1;
}

.project-text h3 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.8rem;
}

/* FOOTER */

footer {
  background-color: #343a40;
}

.section-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(248, 248, 248, 0.6);
  font-size: 1.6rem;
  padding: 6rem;
}

.section-footer .social-links {
  margin-bottom: 0.8rem;
}

.section-footer p {
  margin: 0;
  letter-spacing: 0.8px;
}

.section-footer h1 {
  margin: 0;
  letter-spacing: 0.8px;
 font-size: 1.6rem;
}

@font-face {
  font-family: "Hack";
  src: local("Hack Regular"), url("ttf/Hack-Regular.ttf");
}

.status-bar {
  font-size: x-small;
  height: 3vh;
  padding: 0;
  margin-bottom: 1vh;
}

.shortcuts-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto 1fr;
  grid-gap: 2vh;
}

.shortcuts {
  width: fit-content;
  margin: 0 0;
  padding: 0;
}

.shortcuts:first-child {
  font-weight: 900;
}
.shortcut {
  text-decoration: none;
  color: var(--fg);
}

.shortcut:hover {
  font-weight: bolder;
  text-decoration: underline;
}

.pad-terminal {
  padding-top: 2vh;
  padding-left: 2vh;
  padding-right: 2vh;
  height: 96vh;
}

.scrollable {
  height: 96vh;
  overflow: auto;
  box-sizing: border-box;
}

#terminal {
  min-height: 100%;
  /* line-height: 0.5rem; */
  box-sizing: border-box;
  padding: 1rem;
  background-color: rgba(21, 22, 30, 0.9);
  border: 1px hidden var(--fg);
  border-radius: 15px;
  text-align: left;
}

#terminal p {
  margin: 2px;
}

.prompt {
  display: flex;
}

#input {
  width: 100%;
  outline: none;
  background-color: transparent;
  font: inherit;
  border: none;
  color: inherit;
}
