/* RESETS */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*:not(dialog) {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

@font-face {
  font-family: 'TRTTerminalMono';
  src: url('../fonts/trt-terminal-mono-variable.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
}

body {
  font-family: 'Inter', sans-serif;
  font-optical-sizing: auto;
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: rgb(19, 19, 20);
  color: rgb(227, 227, 227);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  line-height: 1;
}

/* #root,
#__next {
  isolation: isolate;
} */

/* STYLING STARTS HERE */

.col-2 {
  display: flex;
  justify-content: space-between;
}

.profile {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tagline {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  background-color: rgb(19, 19, 20);
  top: 0;
  z-index: 1;
}

.tagline > p {
  width: 120rem;
  font-size: 5.6rem;
  font-weight: 200;
  text-align: center;
}

.add-title-break {
  display: none;
}

/* PROFILE */
h1 {
  text-transform: uppercase;
  text-align: center;
  font-size: 15rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}

.sub-header {
  font-weight: 200;
  font-size: 4.6rem;
  letter-spacing: 1px;
}

/* SKILLS */
.skills {
  background-color: rgba(19, 19, 20, 1);
  padding: 7.5rem;
}

.skills > h2 {
  margin: 0 0 2rem 0;
  font-weight: 200;
  text-transform: uppercase;
  font-size: 4.2rem;
}

.skills > ul {
  border-top: solid 4px rgb(227, 227, 227);
  list-style: none;
  font-size: 2.4rem;
  padding-top: 5rem;
}

.skills > ul li {
  display: inline-block;
  border: 1px solid rgba(227, 227, 227, 1);
  padding: 10px 20px;
  margin: 5px;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
  -webkit-transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
  -moz-transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
  -ms-transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
  -o-transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
}

.skills > ul:has(li:hover) li:not(:hover) {
  border: 1px solid rgba(227, 227, 227, 0.35);
  color: rgba(227, 227, 227, 0.35);
}

/* EXPERIENCE */

.experience {
  min-height: 100vh;
  background-color: rgba(19, 19, 20);
  position: relative;
  z-index: 1;
  padding: 7.5rem;
}

.experience > h2 {
  margin: 0 0 2rem 0;
  font-weight: 200;
  text-transform: uppercase;
  font-size: 4.2rem;
}

.experience > ul {
  list-style: none;
  border-top: solid 4px rgb(227, 227, 227);
  display: flex;
  flex-wrap: wrap;
  column-gap: 5rem;
}

.experience > ul li {
  padding: 5rem 0;
  color: rgba(227, 227, 227, 1);
  border-bottom: solid thin rgb(227, 227, 227);
  flex: 0 0 calc(50% - 2.5rem);
}

.experience > ul li:last-child,
.experience > ul li:nth-last-of-type(2) {
  border-bottom: none;
}

.experience-job-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 2.4rem;
  position: relative;
  top: -0.5rem;
}

.experience-job-company {
  font-weight: 300;
  font-size: 2.4rem;
}

.experience-job-dates {
  font-weight: 400;
  text-align: right;
  font-size: 2.4rem;
}

.experience-job-description {
  margin: 2rem 0 0 0;
  font-weight: 200;
  font-size: 2.1rem;
}

.add-break {
  display: none;
}

.hyphen {
  display: inline;
}

/* EDUCATION */
.education {
  background-color: rgba(19, 19, 20);
  position: relative;
  z-index: 1;
  padding: 7.5rem;
}

.education > h2 {
  margin: 0 0 2rem 0;
  font-weight: 200;
  text-transform: uppercase;
  font-size: 4.2rem;
}

.education > ul {
  list-style: none;
  border-top: solid 4px rgb(227, 227, 227);
  /* border-bottom: solid 1px rgb(227, 227, 227); */
  display: flex;
  flex-wrap: wrap;
  column-gap: 5rem;
}

.education > ul li {
  padding: 5rem 0;
  color: rgba(227, 227, 227, 1);
  border-bottom: solid thin rgb(227, 227, 227);
  flex: 0 0 calc(50% - 2.5rem);
}

.education > ul li:last-child,
.education > ul li:nth-last-of-type(2) {
  border-bottom: none;
}

.education-degree {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 2.4rem;
  position: relative;
  top: -0.5rem;
}

.education-school {
  font-weight: 300;
  font-size: 2.4rem;
}

/* PORTFOLIO */
.portfolio {
  position: relative;
  /* background-color: rgb(19, 19, 20); */
}

.portfolio::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #131314;
  background: -webkit-linear-gradient(180deg, rgba(19, 19, 20, 0) 0%, rgba(19, 19, 20, 1) 10%);
  background: -moz-linear-gradient(180deg, rgba(19, 19, 20, 0) 0%, rgba(19, 19, 20, 1) 10%);
  background: linear-gradient(180deg, rgba(19, 19, 20, 0) 0%, rgba(19, 19, 20, 1) 10%);
  filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#131314",
  endColorstr="#131314",
  GradientType=0
);
}

.portfolio-title {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
}

.portfolio-title h2 {
  font-size: clamp(2.5rem, 6vw, 15rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 60px rgba(0, 0, 0, 0.6);
}

.portfolio-pieces {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 48px;
  align-items: start;
  position: relative;
  padding: 80px;
  z-index: 3;
}

.portfolio-pieces::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.portfolio-piece {
  box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.6);
  background-color: #fff;
}

.portfolio-col > ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.portfolio-col > ul li {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.portfolio-col > ul li img,
.portfolio-col > ul li video {
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer;
}

/* CONTACT */
.contact {
  min-height: 50vh;
  padding: 7.5rem;
  background-color: rgba(19, 19, 20, 1);
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact h2 {
  font-size: 10rem;
  font-weight: 200;
  text-transform: uppercase;
}

.email:link,
.email:visited,
.email:hover,
.email:active {
  text-decoration: none;
  color: rgba(227, 227, 227, 1);
  display: inline-block;
  background-color: rgba(227, 227, 227, 0);
  border: 1px solid rgba(227, 227, 227, 1);
  padding: 10px 40px;
  margin: 2.5rem 0 0 0;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
  -webkit-transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
  -moz-transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
  -ms-transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
  -o-transition:
    border 300ms ease-in-out,
    color 300ms ease-in-out;
}

.email:hover,
.email:active {
  background-color: rgba(227, 227, 227, 1);
  color: rgba(19, 19, 20, 1);
}

/* WINDOW SIZE ADUSTMENTS */
/* LAPTOP */
@media (max-width: 1400px) {
  /* PROFILE/HEADER */
  .profile {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
  }

  h1 {
    text-transform: uppercase;
    text-align: center;
    font-size: 10rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
  }

  .sub-header {
    font-weight: 200;
    font-size: 3.2rem;
    letter-spacing: 1px;
    line-height: 0 !important;
  }

  .add-title-break {
    display: none;
  }

  .hyphen {
    display: none;
  }

  .add-break {
    display: inline;
  }
}

/* TABLET */
@media (max-width: 980px) {
  .profile {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
  }

  h1 {
    text-transform: uppercase;
    text-align: center;
    font-size: 7.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
  }

  .sub-header {
    font-weight: 200;
    font-size: 2.8rem;
    letter-spacing: 1px;
    line-height: 0 !important;
  }

  .add-title-break {
    display: none;
  }

  /* TAGLINE */
  .tagline {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    background-color: rgb(19, 19, 20);
    top: 0;
    z-index: 1;
    padding: 11rem;
  }

  .tagline > p {
    max-width: 120rem;
    font-size: 5.2rem;
    font-weight: 200;
    text-align: center;
  }

  .experience {
    min-height: 100vh;
    /* background-color: rgba(19, 19, 20); */
    position: relative;
    z-index: 1;
    padding: 50px;
  }

  .experience > h2 {
    margin: 0 0 2rem 0;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 3.8rem;
  }

  .experience > ul {
    list-style: none;
    border-top: solid 4px rgb(227, 227, 227);
    display: block;
  }

  .experience > ul li {
    padding: 5rem 0;
    color: rgba(227, 227, 227, 1);
    border-bottom: solid thin rgb(227, 227, 227);
  }

  .experience > ul li:last-child,
  .experience > ul li:nth-last-of-type(2) {
    border-bottom: solid thin rgb(227, 227, 227);
  }

  .experience > ul li:last-of-type {
    border-bottom: none;
  }

  .experience-job-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 2.1rem;
    position: relative;
    top: -0.5rem;
  }

  .experience-job-company {
    font-weight: 300;
    font-size: 2.1rem;
  }

  .experience-job-dates {
    font-weight: 400;
    text-align: right;
    font-size: 1.8rem;
  }

  .experience-job-description {
    margin: 2rem 0 0 0;
    font-weight: 300;
    font-size: 1.8rem;
  }

  .contact {
    height: 75vh;
  }

  /* PORTFOLIO */
  .portfolio-pieces li {
    margin: 0 auto;
    width: 95% !important;
    margin-bottom: 10rem !important;
  }

  .portfolio-pieces {
    grid-template-columns: repeat(1, 1fr);
    padding: 0 32px;
  }

  .hyphen {
    display: none;
  }

  .add-break {
    display: inline;
  }

  .education {
    padding: 5rem;
  }
}

/* MOBILE */
@media (max-width: 700px) {
  .portfolio-pieces {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  /* PROFILE/HEADER */
  .profile {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
  }

  h1 {
    text-transform: uppercase;
    text-align: center;
    font-size: 6.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
  }

  h1.sub-header {
    font-weight: 200;
    font-size: 1.6rem !important;
    letter-spacing: 1px;
    line-height: 0 !important;
  }

  .add-title-break {
    display: inline;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
  }

  /* SKILLS */
  .skills {
    background-color: rgba(19, 19, 20, 1);
    padding: 5rem;
  }

  .skills > h2 {
    margin: 0 0 2rem 0;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 3.8rem;
  }

  .skills > ul {
    border-top: solid 4px rgb(227, 227, 227);
    list-style: none;
    font-size: 1.8rem;
    padding-top: 5rem;
  }

  .skills > ul li {
    display: inline-block;
    border: 1px solid rgba(227, 227, 227, 1);
    padding: 10px 20px;
    margin: 5px;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
    transition:
      border 300ms ease-in-out,
      color 300ms ease-in-out;
    -webkit-transition:
      border 300ms ease-in-out,
      color 300ms ease-in-out;
    -moz-transition:
      border 300ms ease-in-out,
      color 300ms ease-in-out;
    -ms-transition:
      border 300ms ease-in-out,
      color 300ms ease-in-out;
    -o-transition:
      border 300ms ease-in-out,
      color 300ms ease-in-out;
  }

  .skills > ul:has(li:hover) li:not(:hover) {
    border: 1px solid rgba(227, 227, 227, 0.35);
    color: rgba(227, 227, 227, 0.35);
  }

  .experience {
    min-height: 100vh;
    background-color: rgba(19, 19, 20);
    position: relative;
    z-index: 1;
    padding: 5rem 5rem 0 5rem;
  }

  .experience > h2 {
    margin: 0 0 2rem 0;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 3.8rem;
  }

  .experience > ul {
    list-style: none;
    border-top: solid 4px rgb(227, 227, 227);
    display: block;
  }

  .experience > ul li {
    padding: 5rem 0;
    color: rgba(227, 227, 227, 1);
    border-bottom: solid thin rgb(227, 227, 227);
  }

  .experience > ul li:last-child {
    border-bottom: none !important;
  }

  .experience-job-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 18px;
    position: relative;
    top: -0.5rem;
  }

  .experience-job-company {
    font-weight: 300;
    font-size: 2.1rem;
  }

  .experience-job-dates {
    font-weight: 400;
    text-align: left;
    font-size: 1.8rem;
  }

  .experience-job-description {
    margin: 2rem 0 0 0;
    font-weight: 300;
    font-size: 1.8rem;
  }

  .col-2 {
    display: block;
  }

  .hyphen {
    display: inline;
  }

  .add-break {
    display: none;
  }

  /* EDUCATION */
  .education {
    background-color: rgba(19, 19, 20);
    position: relative;
    z-index: 1;
    padding: 5rem;
  }

  .education > h2 {
    margin: 0 0 2rem 0;
    font-weight: 200;
    text-transform: uppercase;
    font-size: 3.8rem;
  }

  .education > ul {
    list-style: none;
    border-top: solid 4px rgb(227, 227, 227);
    display: block;
  }

  .education > ul li {
    padding: 5rem 0;
    color: rgba(227, 227, 227, 1);
    border-bottom: solid thin rgb(227, 227, 227) !important;
  }

  .education > ul li:last-child {
    border-bottom: none !important;
  }

  .education-degree {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.8rem;
    position: relative;
    top: -0.5rem;
  }

  .education-school {
    font-weight: 300;
    font-size: 1.8rem;
  }

  .tagline {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    background-color: rgb(19, 19, 20);
    top: 0;
    z-index: 1;
  }

  .tagline > p {
    max-width: 120rem;
    font-size: 34px;
    font-weight: 200;
    text-align: center;
    line-height: 1 !important;
  }

  /* PORTFOLIO */
  .portfolio-pieces li {
    margin: 0 auto;
    width: 95% !important;
    margin-bottom: 10rem !important;
  }

  .portfolio::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #131314;
    background: -webkit-linear-gradient(180deg, rgba(19, 19, 20, 0) 0%, rgba(19, 19, 20, 1) 5%);
    background: -moz-linear-gradient(180deg, rgba(19, 19, 20, 0) 0%, rgba(19, 19, 20, 1) 5%);
    background: linear-gradient(180deg, rgba(19, 19, 20, 0) 0%, rgba(19, 19, 20, 1) 5%);
    filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#131314",
  endColorstr="#131314",
  GradientType=0
);
  }

  .portfolio-col {
    margin-top: 0 !important;
    padding: 0;
  }

  /* CONTACT */
  .contact {
    min-height: 50vh;
    padding: 5rem;
    background-color: rgba(19, 19, 20, 1);
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .contact h2 {
    font-size: 5.6rem;
    font-weight: 200;
    text-transform: uppercase;
  }
}
