@charset "UTF-8";
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}
@keyframes navEnter {
  0% {
    opacity: 0;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -o-transform: translateX(100%);
    -moz-transform: translateX(100%);
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(0);
    -webkit-transform: translateX(0);
    -o-transform: translateX(0);
    -moz-transform: translateX(0);
  }
}
@keyframes navMobile {
  0% {
    height: 0;
    opacity: 0;
  }
  100% {
    opacity: 1;
    height: 8rem;
    color: rgb(31, 31, 31);
  }
}
@keyframes logo-bg {
  0% {
    fill: rgb(28, 218, 186);
    background-position: 0%;
  }
  100% {
    fill: rgb(31, 31, 31);
    background-position: 100%;
  }
}
@keyframes headerText {
  0% {
    opacity: 0%;
    transform: translateY(-300%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@keyframes bgColorStart {
  0% {
    background-color: rgb(31, 31, 31);
  }
  100% {
    background-color: transparent;
  }
}
@keyframes logo-svg {
  0% {
    background-position: 0%;
    fill: rgb(28, 218, 186);
  }
  100% {
    fill: rgb(31, 31, 31);
    background-position: 100%;
  }
}
@keyframes logo-text-appear {
  0% {
    transform: translateY(-300%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}
@keyframes flash-message {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  20% {
    opacity: 1;
    transform: translateY(0%);
  }
  80% {
    opacity: 1;
    transform: translateY(0%);
  }
  100% {
    opacity: 0;
    transform: translateY(-500%);
  }
}
@keyframes menu-appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
}
@media only screen and (max-width: 93.75em) {
  html {
    font-size: 52.5%;
  }
}
@media only screen and (max-width: 37.5em) {
  html {
    font-size: 50%;
  }
}

body {
  box-sizing: border-box;
}

body {
  font-size: 1.8rem;
}

svg {
  padding: 1.5rem;
  width: 50rem;
  fill: rgb(28, 218, 186);
  background-image: linear-gradient(120deg, transparent 0%, transparent 50%, rgb(28, 218, 186) 50%);
  background-size: 250%;
  transition: all 0.7s;
  animation-name: logo-svg;
  animation-delay: 3.25s;
  animation-duration: 1s;
  animation-fill-mode: both;
}
@media only screen and (max-width: 63.99em) {
  svg {
    fill: rgb(31, 31, 31);
    background-position: 100%;
    animation-name: logo-bg;
    animation-delay: 3s;
    animation-fill-mode: backwards;
    animation-duration: 1s;
  }
}
@media only screen and (max-width: 37.5em) {
  svg {
    width: 80vw;
  }
}

.waving-hand {
  animation-name: wave;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
  display: inline-block;
}

.skill-icon {
  font-size: 10rem;
}

.social-icon {
  font-size: 6rem;
  color: rgb(28, 218, 186);
  text-align: center;
}

.heading-2 {
  font-size: 5rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: rgb(28, 218, 186);
  text-transform: uppercase;
}

.heading-3 {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  color: rgb(28, 218, 186);
  font-size: 3.5rem;
  margin-bottom: 4rem;
}

.no-display {
  display: none;
}

.grid-center {
  display: grid;
  place-items: center;
}

.projects__card--btn,
#submit {
  margin-bottom: 1.5rem;
  padding: 1.5rem 3.5rem;
  font-family: "Montserrat", sans-serif;
  border: 0.2rem solid rgb(28, 218, 186);
  background-color: transparent;
  color: rgb(28, 218, 186);
  border-radius: 0.2rem;
  font-weight: 700;
  font-size: 1.8rem;
  transition: background-image 0.3s, transform 0.3s, box-shadow 0.1s;
}
@media only screen and (max-width: 75em) {
  .projects__card--btn,
  #submit {
    padding: 1.5rem 5rem;
  }
}
.projects__card--btn:hover, .projects__card--btn:active,
#submit:hover,
#submit:active {
  padding: 1.7rem 3.7rem;
  background-image: linear-gradient(to bottom right, #8dece0, rgb(26, 170, 146));
  border: none;
  color: rgb(31, 31, 31);
  transform: translateY(-0.2rem);
  box-shadow: 0 0 1rem rgba(141, 236, 224, 0.3);
}
@media only screen and (max-width: 75em) {
  .projects__card--btn:hover, .projects__card--btn:active,
  #submit:hover,
  #submit:active {
    padding: 1.7rem 5.2rem;
  }
}
.projects__card--btn:focus,
#submit:focus {
  outline: none;
  border: 0.2rem solid #8dece0;
  box-shadow: 0 0 1rem rgba(141, 236, 224, 0.3);
}
.projects__card--btn:active,
#submit:active {
  transform: translateY(0.05rem);
}

#submit {
  margin: 1.5rem auto;
  width: 60%;
}
@media only screen and (max-width: 37.5em) {
  #submit {
    margin-top: 2.5rem;
  }
}

.grecaptcha-badge {
  opacity: 0.7;
  filter: invert(1) hue-rotate(125deg) brightness(1.5);
}

.projects__card {
  width: 100%;
  max-width: 50rem;
  height: 55rem;
  background-color: rgb(31, 31, 31);
  border-radius: 0.3rem;
  transition: all 0.3s;
  display: grid;
  grid-template-rows: 50% min-content 1fr min-content;
  grid-template-columns: repeat(2, 1fr);
}
@media only screen and (max-width: 75em) {
  .projects__card {
    width: 50rem;
    height: 40rem;
  }
}
@media only screen and (max-width: 63.99em) {
  .projects__card {
    width: 90%;
    height: 55rem;
  }
}
@media only screen and (max-width: 37.5em) {
  .projects__card {
    width: 90%;
    max-width: 55rem;
  }
}
.projects__card--image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
  grid-row: 1/2;
  grid-column: 1/3;
  padding: 1rem;
  filter: brightness(0.8);
  transition: all 0.2s;
}
.projects__card--image--link {
  grid-column: 1/-1;
  display: inline-block;
}
.projects__card--image--link:focus, .projects__card--image--link:hover {
  outline: none;
}
.projects__card--image--link:focus > *, .projects__card--image--link:hover > * {
  filter: brightness(1);
  padding: 0;
}
.projects__card--heading {
  font-family: "Montserrat", sans-serif;
  color: rgb(28, 218, 186);
  grid-row: 2/3;
  grid-column: 1/3;
  margin: 1rem 0;
  text-align: center;
  line-height: 3rem;
}
.projects__card--description {
  color: #f0f0f0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 500;
  grid-row: 3/4;
  grid-column: 1/3;
  font-size: 1.9rem;
  padding: 0 1rem;
  line-height: 3.25rem;
  text-align: center;
  align-self: center;
}
@media only screen and (max-width: 37.5em) {
  .projects__card--description {
    align-self: center;
    margin: 0 1rem;
  }
}
.projects__card--link {
  grid-row: 4/5;
  justify-self: center;
  align-self: center;
}
.projects__card--link:focus {
  outline: none;
}

.flash {
  position: fixed;
  bottom: 10rem;
  left: 5rem;
  height: 10rem;
  width: 60rem;
  background-color: rgb(31, 31, 31);
  border: 0.2rem solid rgb(28, 218, 186);
  display: grid;
  place-items: center;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgb(28, 218, 186);
  letter-spacing: 0.1rem;
  vertical-align: middle;
  animation: flash-message 4s ease-in-out both;
}
@media only screen and (max-width: 63.99em) {
  .flash {
    bottom: 25rem;
    left: 15%;
    width: 70%;
    font-size: 2.5rem;
  }
}
@media only screen and (max-width: 37.5em) {
  .flash {
    font-size: 2rem;
    width: 80%;
    left: 10%;
  }
}

.form {
  display: grid;
  grid-template-rows: repeat(3, min-content) 1fr;
}
.form__section {
  display: grid;
  grid-template-rows: repeat(3, min-content);
  gap: 0.5rem;
}
.form__section > * {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: 0.15rem;
}
.form__section--label {
  font-size: 1.7rem;
  color: rgb(28, 218, 186);
  grid-row: 1/2;
  transition: all 0.3s;
}
.form__section--input {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.8rem;
  color: #f0f0f0;
  outline: none;
  background-color: rgba(141, 236, 224, 0.1);
  border: none;
  border-bottom: solid 0.2rem rgb(26, 170, 146);
  padding: 1rem;
  resize: none;
  transition: all 0.1s;
}
.form__section--input:focus {
  border-bottom: solid 0.2rem #8dece0;
}
.form__section--input::placeholder {
  color: rgb(190, 190, 190);
}
.form__section--input:placeholder-shown ~ label {
  opacity: 0;
  transform: translate(2%, 200%);
}
.form__section--error {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.7rem;
  color: rgb(255, 68, 0);
  opacity: 0;
  text-align: right;
  transition: all 0.2s;
}

.header__video {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: -1;
  overflow: hidden;
}
.header__video--content {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about {
  min-height: 100vh;
  background-image: linear-gradient(to bottom, rgba(31, 31, 31, 0.6), #1f1f1f 50%, #1f1f1f);
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
}
@media only screen and (max-width: 63.99em) {
  .about {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}
@media only screen and (max-width: 37.5em) {
  .about {
    padding-top: 7rem;
    margin-top: -7rem;
  }
}

.profile {
  border: solid 0.3rem rgb(28, 218, 186);
  background-color: rgb(31, 31, 31);
  width: 75%;
  border-radius: 0.3rem;
  display: grid;
  grid-template-rows: repeat(2, min-content) 1fr;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media only screen and (max-width: 37.5em) {
  .profile {
    width: 100%;
    border: none;
    border-top: solid 0.3rem rgb(28, 218, 186);
    border-bottom: solid 0.3rem rgb(28, 218, 186);
    align-self: start;
    margin-bottom: -7rem;
  }
}
.profile__heading {
  grid-row: 1/3;
  grid-column: 1/8;
  align-self: end;
  justify-self: center;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  padding: 5rem 0;
}
.profile__heading--main {
  color: rgb(28, 218, 186);
  font-size: 5rem;
  margin-bottom: 2rem;
}
.profile__heading--sub {
  color: rgb(26, 170, 146);
  font-size: 3.25rem;
}
@media only screen and (max-width: 37.5em) {
  .profile__heading {
    margin-top: 2rem;
  }
}
.profile__aboutme {
  background-color: #8dece0;
  display: inline;
  grid-column: 3/6;
  grid-row: 2/3;
  text-align: center;
  padding: 1.5rem;
  transform: translateY(60%);
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.profile__bio {
  grid-column: 1/-1;
  grid-row: 3/-1;
  display: grid;
  gap: 1.5rem;
  background-image: linear-gradient(to bottom, rgb(28, 218, 186), rgb(26, 170, 146));
  padding: 4rem;
  font-weight: 500;
}
.profile__bio--para {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  line-height: 2;
  font-size: 2rem;
  text-align: justify;
  color: rgb(31, 31, 31);
}

.contact {
  min-height: 100vh;
  background-color: rgb(31, 31, 31);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: min-content 1fr min-content;
  row-gap: 5rem;
  place-items: center;
}
@media only screen and (max-width: 63.99em) {
  .contact {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, min-content) 1fr;
  }
}
@media only screen and (max-width: 37.5em) {
  .contact {
    gap: 1.5rem;
    padding-top: 1.5rem;
    margin-top: -7rem;
  }
}
.contact__heading {
  grid-column: 1/3;
  padding-top: 7.5rem;
}
@media only screen and (max-width: 63.99em) {
  .contact__heading {
    grid-column: 1/2;
  }
}
.contact__form, .contact__social {
  border: 0.1px solid #8dece0;
  width: 60rem;
  height: 100%;
  max-height: 62.5rem;
  padding: 2.5rem;
}
@media only screen and (max-width: 63.99em) {
  .contact__form, .contact__social {
    height: 70rem;
    width: 100%;
    max-width: 70rem;
  }
}
@media only screen and (max-width: 37.5em) {
  .contact__form, .contact__social {
    border: none;
  }
}
.contact__form--heading, .contact__social--heading {
  padding-bottom: 2rem;
  border-bottom: 0.2rem solid #8dece0;
}
.contact__form {
  display: grid;
  grid-template-rows: min-content 1fr;
  align-items: center;
}
.contact__social {
  display: grid;
  grid-template-rows: min-content repeat(5, 1fr);
}
.contact__link {
  display: grid;
  grid-template-columns: 20% 1fr;
  align-items: center;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: 0.3rem;
}
.contact__link:link, .contact__link:visited {
  text-decoration: none;
}
.contact__link:focus {
  font-style: italic;
  outline: none;
}
.contact__link:focus > i {
  animation-name: wave;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
  color: #8dece0;
}
.contact__link:hover > i,
.contact__link:hover h4 {
  color: #8dece0;
}
.contact__link--text {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: 0.3rem;
  font-size: 2rem;
  color: rgb(28, 218, 186);
  text-align: left;
}

.header {
  position: relative;
  height: 100vh;
  background-image: linear-gradient(to bottom, rgba(31, 31, 31, 0), rgba(31, 31, 31, 0.6));
  animation-name: bgColorStart;
  animation-duration: 3s;
  animation-delay: 2s;
  animation-timing-function: linear;
  animation-fill-mode: backwards;
}
.header__logo, .header__text {
  padding-top: 3rem;
  padding-left: 3rem;
}
@media only screen and (max-width: 63.99em) {
  .header__logo, .header__text {
    text-align: center;
    padding: 3rem 0 0 0;
  }
}
.header__logo {
  display: inline-block;
}
@media only screen and (max-width: 63.99em) {
  .header__logo {
    display: block;
    padding: 50% 0 0 0;
  }
}
.header__text {
  color: rgb(28, 218, 186);
}
.header__text > * {
  margin-bottom: 3rem;
  pointer-events: none;
  transition: all 0.3s;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
@media only screen and (max-width: 63.99em) {
  .header__text > * {
    animation-name: headerText;
    animation-fill-mode: backwards;
    animation-delay: 4s;
    animation-duration: 1.2s;
  }
}
@media only screen and (min-width: 64rem) {
  .header__text > * {
    opacity: 0;
  }
}
.header__text--name {
  text-transform: uppercase;
  font-size: 4rem;
  animation-name: logo-text-appear;
  animation-delay: 3.75s;
  animation-duration: 1s;
  animation-fill-mode: both;
}
@media only screen and (max-width: 37.5em) {
  .header__text--name {
    font-size: 3rem;
  }
}
.header__text--about {
  font-size-adjust: 3rem;
  animation-name: logo-text-appear;
  animation-delay: 4.25s;
  animation-duration: 1s;
  animation-fill-mode: both;
}
@media only screen and (max-width: 37.5em) {
  .header__text--about {
    font-size: 2.5rem;
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  z-index: 999;
}
@media only screen and (max-width: 63.99em) {
  .nav {
    height: 8rem;
    width: 100%;
    background-color: rgb(28, 218, 186);
    animation-name: navMobile;
    animation-delay: 3s;
    animation-fill-mode: backwards;
    animation-duration: 1s;
  }
}
.nav__list {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}
.nav__item {
  font-size: 3rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 4px;
  list-style: none;
  text-transform: uppercase;
}
@media only screen and (max-width: 37.5em) {
  .nav__item {
    font-size: 2rem;
    font-weight: 700;
  }
}
.nav__link {
  transition: padding 0.3s;
}
.nav__link:link, .nav__link:visited {
  text-decoration: none;
  color: rgb(31, 31, 31);
}
.nav__link:hover, .nav__link:active {
  color: #f0f0f0;
  text-shadow: 0 0 3rem rgba(31, 31, 31, 0.5);
  font-style: italic;
}
@media only screen and (min-width: 64rem) {
  .nav__link:hover, .nav__link:active {
    padding: 0 7rem 0 2.5rem;
  }
}
@media only screen and (max-width: 63.99em) {
  .nav__link:focus {
    color: #f0f0f0;
    text-shadow: 0 0 3rem rgba(31, 31, 31, 0.5);
    font-style: italic;
  }
}
@media only screen and (min-width: 64rem) {
  .nav {
    position: absolute;
    top: 15rem;
    right: 0;
  }
  .nav__list {
    height: calc(100vh - 30rem);
    flex-direction: column;
    justify-content: space-between;
  }
  .nav__list > * {
    animation-name: navEnter;
    animation-duration: 1.5s;
    animation-fill-mode: backwards;
    animation-timing-function: ease-out;
  }
  .nav__item {
    font-size: 6rem;
    text-align: right;
    margin-left: auto;
    font-weight: 500;
    padding: 1rem;
    border-radius: 0.1rem;
    background-image: linear-gradient(to right, rgb(28, 218, 186), rgb(26, 170, 146));
  }
  .nav__link {
    transition: padding 0.3s;
  }
  .nav__link:link, .nav__link:visited {
    padding-left: 1.5rem;
  }
  .nav__link:hover, .nav__link:active {
    padding: 0 7rem 0 2.5rem;
  }
  .nav__link:focus {
    outline: 0.3rem dashed rgb(26, 170, 146);
  }
}

@media only screen and (min-width: 64rem) {
  #nav__about {
    padding-right: 30vw;
    animation-delay: 1.5s;
  }
  #nav__projects {
    padding-right: 12.5vw;
    animation-delay: 2s;
  }
  #nav__contact {
    padding-right: 20vw;
    animation-delay: 2.5s;
  }
}

.projects {
  min-height: 100vh;
  background-image: linear-gradient(to bottom, rgb(26, 170, 146), #8dece0, rgb(26, 170, 146));
  display: grid;
  grid-template-rows: min-content 1fr;
  align-items: center;
}
@media only screen and (max-width: 37.5em) {
  .projects {
    padding-top: 7rem;
    margin-top: -7rem;
    margin-bottom: 7rem;
  }
}
.projects__heading {
  padding-top: 8rem;
  color: rgb(31, 31, 31);
}
@media only screen and (max-width: 37.5em) {
  .projects__heading {
    padding-top: 0;
  }
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 5rem;
  gap: 5vw;
  place-items: center;
}
@media only screen and (max-width: 93.75em) {
  .projects__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin: 5rem 0;
    gap: 5rem;
  }
}
@media only screen and (max-width: 63.99em) {
  .projects__grid {
    margin: 5rem 0;
    row-gap: 5rem;
    column-gap: 2rem;
  }
}
@media only screen and (max-width: 37.5em) {
  .projects__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    column-gap: 0;
  }
}

.skills {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: min-content min-content;
  align-content: center;
}
@media only screen and (max-width: 37.5em) {
  .skills {
    margin-bottom: 7.5rem;
  }
}
.skills__heading {
  text-align: center;
  margin-bottom: 6rem;
  font-size: 4.5rem;
  font-family: "Montserrat", sans-serif;
  color: rgb(28, 218, 186);
  text-transform: uppercase;
}
.skills__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
  margin: auto;
}
@media only screen and (max-width: 63.99em) {
  .skills__grid {
    width: 80vw;
  }
}
@media only screen and (max-width: 37.5em) {
  .skills__grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 5rem;
    width: 80vw;
  }
}
.skills__block {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.skills__block--icon {
  max-width: 10rem;
  max-height: 10rem;
}
.skills__block--title {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(31, 31, 31);
  z-index: 9999;
  color: rgb(28, 218, 186);
}
.loading-overlay-appear {
  animation: menu-appear 0.9s ease-in-out both;
}

.header {
  animation-delay: 0s;
  animation-duration: 1s;
}
.header__video {
  opacity: 0.6;
}
.header__logo svg {
  animation-delay: 0.19s;
  animation-duration: 1.1s;
}
.header__text--name, .header__text--about {
  animation-duration: 1.1s;
  animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1);
}
.header__text--name {
  animation-delay: 0.94s;
}
.header__text--about:nth-of-type(1) {
  animation-delay: 1.19s;
}
.header__text--about:nth-of-type(2) {
  animation-delay: 1.44s;
}

@media only screen and (min-width: 64rem) {
  #nav__about {
    padding-right: 30vw;
    animation-delay: 0.75s;
  }
  #nav__skills {
    padding-right: 12.5vw;
    animation-delay: 1.03s;
  }
  #nav__contact {
    padding-right: 20vw;
    animation-delay: 1.31s;
  }
}

@media only screen and (min-width: 64rem) {
  .nav {
    top: 22vh;
  }
  .nav__list {
    height: 56vh;
  }
  .nav__list > * {
    animation-duration: 1.7s;
  }
  .nav__item {
    padding: 0.4rem 0;
    font-size: clamp(2.8rem, 4vw, 5.6rem);
    line-height: 1.65;
  }
}

@media only screen and (max-width: 63.99em) {
  .nav {
    position: absolute;
    top: calc(100vh - 22rem);
    left: auto;
    right: 0;
    width: auto;
    height: auto;
    background: none;
    animation: none;
  }
  .nav__list {
    flex-direction: column;
    align-items: flex-end;
    gap: 1.8rem;
  }
  .nav__list > * {
    animation: navEnter 1.7s ease-out backwards;
  }
  .nav__item {
    font-size: 2.8rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    background-image: linear-gradient(to right, rgb(28, 218, 186), rgb(26, 170, 146));
  }
}

@media only screen and (max-width: 63.99em) {
  #nav__about {
    padding-right: 38vw;
    animation-delay: 0.75s;
  }
  #nav__skills {
    padding-right: 14vw;
    animation-delay: 1.03s;
  }
  #nav__contact {
    padding-right: 26vw;
    animation-delay: 1.31s;
  }
}

body {
  overflow-x: clip;
}

.dock,
.menu-tab,
.menu {
  display: none;
}

.dock {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 998;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
  transform: translate(100%, -50%);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.dock:focus-within {
  transform: translate(0, -50%);
}
.dock__link {
  padding: 0.6rem 1.6rem 0.6rem 1.2rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(31, 31, 31);
  background-image: linear-gradient(to right, rgb(28, 218, 186), rgb(26, 170, 146));
  opacity: 0.55;
  transition: padding 0.35s cubic-bezier(0.2, 1.3, 0.4, 1), opacity 0.3s;
}
.dock__link:hover, .dock__link:focus-visible {
  padding-right: 5rem;
  opacity: 1;
}
.dock__link--active, .dock__link--active:hover {
  padding-right: 7rem;
  opacity: 1;
}

.menu-tab {
  position: fixed;
  right: 0;
  bottom: 24px;
  z-index: 1001;
  width: 56px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  font: 800 22px "Montserrat", sans-serif;
  color: rgb(31, 31, 31);
  background-image: linear-gradient(to right, rgb(28, 218, 186), rgb(26, 170, 146));
  cursor: pointer;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.menu-tab:focus-visible {
  transform: none;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  background-color: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.menu__link {
  padding: 0.35em 1em;
  font: 500 26px "Montserrat", sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(31, 31, 31);
  background-image: linear-gradient(to right, rgb(28, 218, 186), rgb(26, 170, 146));
  transform: translateX(110%);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.menu__link--active {
  font-style: italic;
  color: #f0f0f0;
}
.menu__link:nth-child(1) {
  padding-right: 46vw;
  transition-delay: 0ms;
}
.menu__link:nth-child(2) {
  padding-right: 20vw;
  transition-delay: 55ms;
}
.menu__link:nth-child(3) {
  padding-right: 36vw;
  transition-delay: 110ms;
}
.menu__link:nth-child(4) {
  padding-right: 6vw;
  transition-delay: 165ms;
}
.menu__link:nth-child(5) {
  padding-right: 14vw;
  transition-delay: 220ms;
}
.menu__link:nth-child(6) {
  padding-right: 30vw;
  transition-delay: 275ms;
}

@media only screen and (min-width: 64rem) {
  body.js .dock {
    display: flex;
  }
}
@media only screen and (max-width: 63.99em) {
  body.js .menu-tab,
  body.js .menu {
    display: flex;
  }
}

body.nav-docked .dock {
  transform: translate(0, -50%);
}
body.nav-docked .menu-tab {
  transform: none;
}

body.menu-open .menu-tab {
  transform: none;
}
body.menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s;
}
body.menu-open .menu__link {
  transform: none;
}

body {
  background-color: rgb(31, 31, 31);
}

main {
  padding: 8rem 0 6rem;
  background-color: rgb(31, 31, 31);
}

.grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(100rem, 92vw);
  margin: 0 auto 5rem;
  scroll-margin-top: 2rem;
}
.grid__heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgb(28, 218, 186);
}
.grid__lead {
  margin-top: 0.6rem;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.5rem;
  color: #999;
}

.panel {
  position: relative;
  margin: -1px 0 0 -1px;
  padding: 2.8rem;
  background-color: #232323;
  border: 1px solid #3a3a3a;
  color: rgb(190, 190, 190);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.panel--w2 {
  grid-column: span 2;
}
.panel--w3 {
  grid-column: span 3;
}
.panel--w4 {
  grid-column: span 4;
}
.panel--w6 {
  grid-column: span 6;
}
.panel--tall {
  grid-row: span 2;
}
@media only screen and (max-width: 63.99em) {
  .panel {
    grid-column: span 6;
    grid-row: auto;
    padding: 2.2rem;
  }
}

.about__hi {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  color: #f0f0f0;
}
.about__sounds {
  margin: 0.4rem 0 1.8rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 400;
  font-size: 1.5rem;
  color: rgb(28, 218, 186);
}
.about__bio {
  display: grid;
  gap: 1.4rem;
  max-width: 75ch;
}
.about__para {
  font-size: 1.8rem;
  line-height: 1.65;
}

.era__period {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: rgb(28, 218, 186);
}
.era__period::before {
  content: "[ ";
}
.era__period::after {
  content: " ]";
}
.era__title {
  margin-top: 0.4rem;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #f0f0f0;
}
.era__role {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #999;
}
.era__text {
  font-size: 1.6rem;
  line-height: 1.6;
  max-width: 75ch;
}
.era__text--after {
  margin-top: 1.2rem;
}
.era__text a {
  color: rgb(28, 218, 186);
  text-decoration: none;
}
.era__text a:hover {
  color: #8dece0;
}
.era__points {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  max-width: 85ch;
}
.era__point {
  position: relative;
  padding-left: 2rem;
  font-size: 1.6rem;
  line-height: 1.6;
}
.era__point::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: rgb(28, 218, 186);
}

.origin {
  display: grid;
  place-items: center;
}
.origin__map {
  width: 100%;
  max-width: 18rem;
  padding: 0;
  background: none;
  fill: none;
  animation: none;
  overflow: visible;
}
.origin__coast {
  stroke: rgb(28, 218, 186);
  stroke-width: 1.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.origin__home {
  fill: rgb(28, 218, 186);
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 6px rgb(28, 218, 186));
}

.skill-group__label {
  margin-bottom: 1rem;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
}
.skill-group__list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
}
.skill-group__list--cols {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
}
@media only screen and (max-width: 37.5em) {
  .skill-group__list--cols {
    grid-template-columns: 1fr;
  }
}
.skill-group__item {
  font-size: 1.6rem;
  color: #f0f0f0;
}
.skill-group__note {
  color: #999;
}

.quote__text {
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #f0f0f0;
}
.quote__text::before {
  content: "“";
}
.quote__text::after {
  content: "”";
}
.quote__by {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  color: #999;
}

.rest__para {
  font-size: 1.6rem;
  line-height: 1.65;
}
.rest__para em {
  color: #8dece0;
}

.contact__lead {
  margin-top: 1.2rem;
  font-size: 1.6rem;
}
.contact__social {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
}
.contact__social--heading {
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
}
.contact__link {
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 0.6rem 0;
}
.contact__link .social-icon {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  fill: rgb(28, 218, 186);
  background: none;
  animation: none;
}
.contact__link--text {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0;
}

body.js [data-reveal] {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
body.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
body.js .panel {
  border-color: transparent;
  background-image: linear-gradient(rgb(28, 218, 186), rgb(28, 218, 186)), linear-gradient(rgb(28, 218, 186), rgb(28, 218, 186)), linear-gradient(#3a3a3a, #3a3a3a), linear-gradient(#3a3a3a, #3a3a3a);
  background-repeat: no-repeat;
  background-origin: border-box;
  background-position: 0 0, 0 0, 100% 100%, 100% 100%;
  background-size: 0 1px, 1px 0, 0 1px, 1px 0;
  transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.3s, background-size 0.9s cubic-bezier(0.6, 0, 0.2, 1) 0.15s;
}
body.js .panel.is-visible {
  background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
}
body.js .timeline__fill {
  display: block;
}
body.js .origin__coast {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.6, 0, 0.3, 1) 0.3s;
}
body.js .origin__home {
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.2, 1.8, 0.4, 1) 2.4s;
}
body.js .origin.is-visible .origin__coast {
  stroke-dashoffset: 0;
}
body.js .origin.is-visible .origin__home {
  transform: none;
}

@media (hover: hover) {
  .panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(28, 218, 186, 0.1), transparent 60%);
  }
  body .panel:hover {
    border-color: rgba(28, 218, 186, 0.45);
  }
  body .panel:hover::before {
    opacity: 1;
  }
}
.timeline__fill {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  z-index: 2;
  width: 2px;
  background-color: #3a3a3a;
}
.timeline__fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--progress, 0) * 100%);
  background-color: rgb(28, 218, 186);
  box-shadow: 0 0 12px rgb(28, 218, 186);
}

.ticker {
  padding: 1.2rem 0;
  overflow: hidden;
  background-color: #1a1a1a;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__set {
  display: flex;
  white-space: nowrap;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.4rem;
  color: #999;
}
.ticker__set span {
  margin-right: 4rem;
}
.ticker__set span::before {
  content: "▸ ";
  color: rgb(28, 218, 186);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.js [data-reveal],
  body.js .panel {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .header,
  .header__logo svg,
  .header__text > *,
  .nav__list > *,
  .waving-hand {
    animation: none;
  }
  .header__text > * {
    opacity: 1;
  }
  .header__logo svg {
    fill: rgb(31, 31, 31);
    background-position: 100%;
  }
  .dock,
  .menu,
  .menu__link,
  .menu-tab,
  .origin__coast,
  .origin__home {
    transition: none;
  }
  .ticker {
    padding: 1.2rem 2.8rem;
  }
  .ticker__track {
    width: auto;
    animation: none;
  }
  .ticker__set {
    flex-wrap: wrap;
    row-gap: 0.6rem;
    white-space: normal;
  }
  .ticker__set + .ticker__set {
    display: none;
  }
}
