@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@400;500;700&family=NTR&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --dark-navy: #020c1b;
  --navy: #0a192f;
  --light-navy: #112240;
  --lightest-navy: #233554;
  --navy-shadow: rgba(2,12,27,0.7);
  --dark-slate: #495670;
  --slate: #8892b0;
  --light-slate: #a8b2d1;
  --lightest-slate: #ccd6f6;
  --white: #e6f1ff;
  --green: #64ffda;
  --green-tint: rgba(100,255,218,0.1);
  --pink: #f57dff;
  --blue: #57cbff;
  --font-sans: "Calibre", "Inter", "NTR", "San Francisco", "SF Pro Text", -apple-system, system-ui, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  --fz-xxs: 12px;
  --fz-xs: 13px;
  --fz-sm: 14px;
  --fz-md: 16px;
  --fz-lg: 18px;
  --fz-xl: 20px;
  --fz-xxl: 22px;
  --fz-heading: 32px;
  --border-radius: 4px;
  --nav-height: 100px;
  --nav-scroll-height: 70px;
  --tab-height: 42px;
  --tab-width: 120px;
  --easing: cubic-bezier(0.645,0.045,0.355,1);
  --transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
  --hamburger-width: 30px;
  --ham-before: top 0.1s ease-in 0.25s,opacity 0.1s ease-in;
  --ham-before-active: top 0.1s ease-out,opacity 0.1s ease-out 0.12s;
  --ham-after: bottom 0.1s ease-in 0.25s,transform 0.22s cubic-bezier(0.55,0.055,0.675,0.19);
  --ham-after-active: bottom 0.1s ease-out,transform 0.22s cubic-bezier(0.215,0.61,0.355,1) 0.12s;
}

::-webkit-scrollbar {
  width: 12px;
  height: 100px;
  padding: 4px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background-color: var(--slate);
  border: 3px solid var(--navy);
}

::selection {
  color: var(--lightest-slate);
  background-color: var(--lightest-navy);
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0px;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-color: var(--navy);
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: var(--fz-xl);
  line-height: 1.3;
}

body.active {
  height: 100%;
  overflow-y: hidden;
}

main {
  margin: 0px auto;
  width: 100%;
  max-width: 1600px;
  min-height: 100vh;
  padding: 0 150px;
}

section {
  margin: 0px auto;
  padding: 100px 0px;
  max-width: 1000px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0px 0px 10px;
  font-weight: 600;
  color: var(--lightest-slate);
  line-height: 1.1;
}

p {
  margin: 0px 0px 15px;
}

a {
  display: inline-block;
  text-decoration: none;
  text-decoration-skip-ink: auto;
  cursor: pointer;
  color: inherit;
  position: relative;
  transition: var(--transition);
}

a.bottom-effect::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background-color: var(--green);
  transition: var(--transition);
  opacity: 0.5;
}

a.bottom-effect:hover::after {
  width: 100%;
}

button {
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

i {
  cursor: pointer;
}

ul {
  display: flex;
  list-style: none;
}

/* nav */

header {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--nav-height);
  width: 100%;
  padding: 0 40px;
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(10, 25, 47, 0.85);
  transition: var(--transition);
  z-index: 16;
}

header.active {
  height: var(--nav-scroll-height);
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo a img {
  height: 40px;
}

nav h1 {
  margin: 0;
  color: var(--green);
}

.routes {
  display: flex;
  flex-direction: row;
  align-items: center;
}

ol {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

ol li {
  padding: 10px;
}

ol li a {
  font-weight: 500;
  transition: var(--transition);
  color: var(--lightest-slate);
}

ol li a:hover {
  color: var(--green);
}

ol li a span {
  margin-right: 5px;
  color: var(--green);
}

.btn-routes {
  color: var(--green);
  margin-left: 10px;
  padding: 12px;
  border: solid 1px;
  border-radius: var(--border-radius);
  font-size: inherit;
  background-color: transparent;
  transition: var(--transition);
}

.btn-routes:hover {
  background-color: var(--green-tint);
}

.hamburger-menu {
  display: none;
}

/* end nav */

/* intro */

.intro {
  transition: all ease-in-out 1s;
  position: relative;
}

.intro div.active {
  z-index: 26;
  transform: translateY(calc((50vh - 260px) / 2));
}

.intro div span {
  width: 3px;
  margin: 0 0 0 4px;
  background-color: var(--green);
  opacity: 0;
}

.intro div span.active {
  animation: blink 1s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* end intro */

/* landing */

.landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  height: max(700px, 100vh);
}

.pre-name {
  margin-bottom: 10px;
  transition: var(--transition);
  display: flex;
}

.pre-name h1 {
  font-size: var(--fz-md);
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: normal;
  margin-bottom: 0;
}

.name {
  margin-bottom: 10px;
  transition: var(--transition);
  display: flex;
}

.name h2 {
  font-size: clamp(40px, 8vw, 70px);
  margin-bottom: 0;
}

.post-name h3 {
  font-size: clamp(40px, 8vw, 70px);
  color: var(--slate);
  line-height: 0.9;
}

.description p {
  margin-top: 20px;
  max-width: 540px;
}

.btn-landing {
  display: flex;
  align-items: center;
  width: fit-content;
  color: var(--green);
  padding: 12px 20px;
  margin-top: 30px;
  border: solid 1px;
  border-radius: var(--border-radius);
  font-size: inherit;
  background-color: transparent;
  transition: var(--transition);
}

.btn-landing:hover {
  background-color: var(--green-tint);
}

.btn-landing i {
  margin-left: 6px;
}

/* end landing */

/* about */

.about {
  display: grid;
  grid-template-columns: 3fr 30px 2fr;
  grid-template-rows: 50px 30px 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  margin: auto;
}

.about-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  grid-area: 1 / 1 / 2 / 4;
  width: 100%;
  font-family: var(--font-mono);
}

.about-title::after {
  content: "";
  width: 500px;
  height: 1px;
  background-color: var(--lightest-navy);
}

.about-title h1 {
  margin: 0;
  margin-right: 10px;
}

.about-title span {
  color: var(--green);
  margin-right: 5px;
}

.about-description {
  grid-area: 3 / 1 / 4 / 2;
  line-height: 1.5;
  text-align: justify;
}

.about-description a {
  color: var(--green);
}

.about-description-skill-wrapper {
  width: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.about-description-skill-wrapper ol {
  flex-direction: column;
  align-items: flex-start;
}

.about-description-skill-wrapper ol:nth-child(2) {
  margin-left: 20px;
}

.about-description-skill-wrapper ol li {
  padding: 2.5px;
}

.about-description-skill-wrapper ol li::before {
  content: "▹    ";
  color: var(--green);
}

.about-image-wrapper {
  display: flex;
  grid-area: 3 / 3 / 4 / 4;
  margin-top: 50px;
  margin-left: 3rem;
  width: 200px;
  height: fit-content;
  position: relative;
}

.about-image-wrapper::before {
  content: "";
  background-color: var(--green);
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: var(--border-radius);
  mix-blend-mode: color;
  transition: var(--transition);
}

.about-image-wrapper img {
  width: 200px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.about-image-wrapper::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: var(--border-radius);
  top: 14px;
  left: 14px;
  z-index: -1;
  border: 2px solid var(--green);
  transition: var(--transition);
}

.about-image-wrapper:hover::before {
  background-color: transparent;
}

.about-image-wrapper:hover::after {
  top: 8px;
  left: 8px;
}

/* end about */

/* experiences */

.experiences {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.experiences-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  font-family: var(--font-mono);
}

.experiences-title::after {
  content: "";
  width: 500px;
  height: 1px;
  background-color: var(--lightest-navy);
}

.experiences-title h1 {
  margin: 0;
  margin-right: 10px;
}

.experiences-title span {
  color: var(--green);
  margin-right: 5px;
}

.experiences-description-wrapper {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  width: 100%;
  height: 300px;
}

.experiences-effect-wrapper {
  width: fit-content;
  display: flex;
  flex-direction: row;
  color: var(--slope);
  position: relative;
}

.experiences-effect-wrapper span {
  position: absolute;
  width: 2px;
  height: 52px;
  background-color: var(--green);
  transition: var(--transition);
}

.experiences-effect-wrapper::after {
  content: "";
  height: 100%;
  width: 2px;
  background-color: var(--light-navy);
}

.experiences-buttons-wrapper {
  height: fit-content;
  width: fit-content;
  display: flex;
  flex-direction: column;
  color: var(--slope);
}

.experiences-buttons-wrapper div {
  text-transform: capitalize;
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  padding: 12px 50px 12px 30px;
  line-height: 2;
  cursor: pointer;
  transition: var(--transition);
}

.experiences-buttons-wrapper div.active {
  color: var(--green);
}

.experiences-buttons-wrapper div:hover {
  color: var(--green);
  background-color: var(--light-navy);
}

.experiences-single-description {
  display: flex;
  flex-direction: column;
  padding: 5px 20px;
}

.experiences-single-description h1 {
  color: var(--green);
  margin-bottom: 16px;
}

.experiences-single-description h2 {
  text-transform: uppercase;
  color: var(--dark-slate);
  font-size: var(--fz-lg);
}

.experiences-single-description ol {
  flex-direction: column;
  font-size: var(--fz-md);
  align-items: flex-start;
  justify-content: flex-start;
}

.experiences-single-description ol li {
  padding: 10px 0;
}

.experiences-single-description ol li::before {
  content: "▹ ";
  color: var(--green);
}

.experiences-single-description ul {
  font-size: var(--fz-sm);
  color: var(--dark-slate);
}

.experiences-single-description ul li {
  padding: 10px 20px 0 0;
  font-family: var(--font-mono);
}

/* end experiences */

/* work */

.work {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0 0 0;
}

.work-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  font-family: var(--font-mono);
}

.work-title::after {
  content: "";
  width: 500px;
  height: 1px;
  background-color: var(--lightest-navy);
}

.work-title h1 {
  margin: 0;
  margin-right: 10px;
}

.work-title span {
  color: var(--green);
  margin-right: 5px;
}

.work-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 2fr 4fr 2fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  margin: 30px 0 100px 0;
}

.work-card-title {
  grid-area: 2 / 1 / 3 / 3;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}

.work-card-title.even {
  grid-area: 2 / 2 / 3 / 4;
  justify-content: flex-end;
}

.work-card-title h1 {
  color: var(--green);
  margin-bottom: 20px;
  z-index: 2;
}

.work-card-description {
  grid-area: 3 / 1 / 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.work-card-description.even {
  grid-area: 3 / 2 / 4 / 4;
  align-items: flex-end;
}

.work-card-description.even p {
  text-align: right;
}

.work-card-description p {
  width: 80%;
  padding: 25px;
  background-color: var(--light-navy);
  color: var(--light-slate);
  font-size: var(--fz-lg);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  z-index: 2;
}

.work-card-description ol {
  justify-content: flex-start;
  font-size: var(--fz-xs);
  z-index: 2;
}

.work-card-description ol li {
  padding: 6px 16px 0 0;
  font-family: var(--font-mono);
}

.work-card-description.even ol li {
  padding: 6px 0 0 16px;
}

.work-links {
  grid-area: 4 / 1 / 5 / 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
  height: 100%;
  width: 100%;
  z-index: 2;
}

.work-links.even {
  grid-area: 4 / 3 / 5 / 4;
  justify-content: flex-end;
}

.work-links i {
  font-size: 26px;
  margin-right: 6px;
  transition: var(--transition);
}

.work-links i:hover {
  color: var(--green);
}

.work-image-wrapper {
  grid-area: 1 / 2 / 5 / 4;
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--border-radius);
  transition: var(--transition);
  z-index: 1;
}

.work-image-wrapper.even {
  grid-area: 1 / 1 / 5 / 3;
}

.work-image-wrapper:hover {
  background-color: transparent;
}

.work-image-wrapper:hover::before {
  background-color: transparent;
}

.work-image-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--green);
  border-radius: var(--border-radius);
  transition: var(--transition);
  mix-blend-mode: screen;
}

.work-image-wrapper:hover::before {
  background-color: transparent;
}

.work-image-wrapper img {
  width: 100%;
  height: 100%;
  max-width: 700px;
  object-fit: cover;
  border-radius: var(--border-radius);
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(1) brightness(90%);
  transition: var(--transition);
}

.work-image-wrapper img:hover {
  filter: none;
}

/* end work */

/* more side projects */

.more-side-projects-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--font-mono);
}

.more-side-projects-title h1 {
  font-size: var(--fz-heading);
}

.more-side-projects-title h2 {
  color: var(--green);
  font-size: var(--fz-sm);
  font-family: var(--font-mono);
  margin: 0;
  font-weight: normal;
}

.more-side-projects-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  width: 100%;
  margin-top: 30px;
}

.more-side-projects-wrapper div.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  margin: 10px;
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  border-radius: var(--border-radius);
  background-color: var(--light-navy);
  transition: var(--transition);
  position: relative;
}

.more-side-projects-wrapper div.card:hover {
  transform: translateY(-10px);
}

.more-side-projects-wrapper div.card:hover h1 { /*hover effect change title color*/
  color: var(--green);
}

.side-projects-title-social-wrapper {
  display: flex;
  padding: 30px 10px;
  justify-content: space-between;
}

.side-projects-title-social-wrapper h1 {
  margin: 0;
  transition: var(--transition);
}

.side-projects-title-social-wrapper i {
  font-size: 26px;
  transition: var(--transition);
}

.side-projects-title-social-wrapper i:hover {
  color: var(--green);
}

.more-side-projects-wrapper div.card p {
  margin: 0 10px;
  font-size: var(--fz-md);
}

.more-side-projects-wrapper div.card ol {
  margin: 30px 10px 0 10px;
  justify-content: flex-start;
  align-items: flex-end;
  -webkit-box-flex: 1;
  flex-grow: 1;
  flex-wrap: wrap;
  font-size: var(--fz-sm);
  font-family: var(--font-mono);
}

.more-side-projects-wrapper div.card ol li {
  padding: 0;
  line-height: 1.75;
}

.more-side-projects-wrapper div.card ol li:not(:last-of-type) {
  margin-right: 15px;
}

/* end more side projects */

/* contact */

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0;
}

.contact h1 {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-xl);
}

.contact h2 {
  margin-bottom: 20px;
}

.contact p {
  width: 80%;
  text-align: center;
  margin-bottom: 20px;
}

.contact a {
  color: var(--green);
  padding: 14px;
  border: solid 1px;
  border-radius: var(--border-radius);
  font-size: inherit;
  background-color: transparent;
  transition: var(--transition);
  font-family: var(--font-mono);
  font-size: var(--fz-lg);
}

.contact a:hover {
  background-color: var(--green-tint);
}

/* end contact */

/* footer */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0 30px 0;
}

.footer {
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
}

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

.footer p {
  margin: 0;
}

.footer p:not(:last-of-type) {
  margin-bottom: 5px;
}

.footer p:last-child {
  font-style: italic;
}

/* end footer */

/* social tags */

.social-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 400px;
  position: fixed;
  bottom: 0;
  left: 40px;
}

.social-tags a {
  padding: 10px;
}

.social-tags a:hover {
  color: var(--green);
  transform: translateY(-4px);
}

.social-tags i {
  font-size: 24px;
  font-weight: normal;
}

.social-tags::after {
  content: "";
  height: 500px;
  margin-top: 10px;
  width: 1px;
  background-color: var(--slate);
}

/* end social tags */

/* side email */

.side-email {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 400px;
  position: fixed;
  bottom: 0;
  right: 40px;
}

.side-email a {
  writing-mode: vertical-rl;
  font-size: var(--fz-sm);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.side-email a:hover {
  color: var(--green);
}

.side-email a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 0px;
  width: 1px;
  background-color: var(--green);
  transition: var(--transition);
  opacity: 0.5;
}

.side-email a:hover::after {
  height: 100%;
}

.side-email::after {
  content: "";
  height: 500px;
  margin-top: 20px;
  width: 1px;
  background-color: var(--slate);
}

/* end side email */

/* overlay */

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 15;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: scale(0);
}

.overlay.active {
  transform: scale(1);
}

/* end overlay */

/* responsive */

@media (max-width: 864px) {
  main {
    padding: 0 1.5em;
  }

  .work-card {
    grid-template-columns: unset;
  }

  .side-email {
    display: none;
  }

  .social-tags {
    display: none;
  }
}

@media (max-width: 660px) {
  body {
    font-size: var(--fz-lg);
  }
  
  section {
    padding: 50px 0px;
  }

  header {
    padding: 0 26px;
  }

  nav {
    display: flex;
  }

  .routes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 100vh;
    width: min(400px, 70vw);
    background-color: var(--navy);
    box-shadow: -10px 0px 30px -15px var(--navy-shadow);
    top: 0;
    right: 0;
    z-index: 16;
    transform: translateX(100%);
    transition: var(--transition);
  }

  .routes.active {
    transform: translateX(0);
  }

  .routes ol {
    flex-direction: column;
    font-size: clamp(var(--fz-sm), 4vw, var(--fz-md));
  }

  .routes ol li {
    padding: 14px;
  }

  .routes ol li a {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .routes ol li a span {
    margin-right: 0;
    margin-bottom: 6px;
  }

  .btn-routes {
    margin-left: 0;
    margin-top: 10px;
    font-size: clamp(var(--fz-sm), 4vw, var(--fz-md));
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    padding: 14px 9.5px;
    height: 49px;
    width: 49px;
    z-index: 17;
  }

  .hamburger-menu::before, .hamburger-menu::after {
    content: "";
    width: 30px;
    height: 2px;
    background-color: var(--green);
    transition: var(--transition);
  }

  .hamburger-menu.active::before {
    transform: translateY(10px) rotate(45deg);
  }

  .hamburger-menu::after {
    margin-top: 9px;
  }

  .hamburger-menu.active::after {
    transform: translateY(-10px) rotate(-45deg);
  }

  .hamburger {
    margin-top: 9px;
    width: 30px;
    height: 2px;
    background-color: var(--green);
    transition: var(--transition);
  }

  .hamburger-menu.active .hamburger {
    width: 0;
  }

  .about {
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 30px;
  }

  .about-image-wrapper {
    margin-left: unset;
    margin-bottom: 34px;
  }

  .experiences {
    padding: 0;
    scroll-margin-top: 80px;
  }

  .experiences-description-wrapper {
    flex-direction: column;
    height: fit-content;
  }

  .experiences-effect-wrapper {
    width: 100%;
  }

  .experiences-buttons-wrapper {
    width: 100%;
  }

  .experiences-single-description {
    padding: 30px 0 0 0;
  }

  .work-card {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    grid-template-rows: 30px .7fr 3fr .9fr 30px;
    position: relative;
    margin: 30px 0 42px 0;
    padding-bottom: 0;
    box-shadow: 0 10px 30px -15px var(--navy-shadow);
  }

  .work-card-title, .work-card-title.even {
    grid-area: 2 / 2 / 3 / 3;
    justify-content: flex-start;
  }

  .work-card-title h1 {
    margin: 0;
  }

  .work-card-description, .work-card-description.even {
    grid-area: 3 / 2 / 4 / 3;
    align-items: flex-start;
  }

  .work-card-description p, .work-card-description.even p {
    width: 100%;
    padding: 30px 0px;
    margin-bottom: 0;
    background-color: transparent;
    text-align: left;
  }

  .work-card-description ol li, .work-card-description.even ol li {
    padding: 6px 16px 0 0;
  }

  .work-links, .work-links.even {
    grid-area: 4 / 2 / 5 / 3;
    width: auto;
    padding: 10px 0 0 0;
    justify-content: flex-start;
  }

  .work-image-wrapper, .work-image-wrapper.even {
    grid-area: 1 / 1 / 6 / 4;
    position: absolute;
    z-index: -1;
  }

  .work-image-wrapper::before {
    background-color: var(--navy);
  }

  .work-image-wrapper img {
    filter: grayscale(100%) contrast(1) brightness(70%);
  }

  .contact p {
    width: 100%;
  }
}

/* animations */

/* @supports (-webkit-overflow-scrolling: touch) {
  .scrolled {
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
  }
} */

.js-scroll {
  opacity: 0;
  transition: opacity 500ms 0s;
}

.js-scroll.scrolled {
  opacity: 1;
}

.scrolled.fade-in {
  animation: fade-in 1s ease-in;
}

.scrolled.fade-in-bottom {
  animation: fade-in-bottom 0.7s ease-in;
}

.scrolled.slide-left {
  animation: slide-in-left 0.7s ease-in;
}

.scrolled.slide-right {
  animation: slide-in-right 0.7s ease-in;
}

.scrolled.scale-down {
  animation: scale-down 0.7s ease-in;
}

.scrolled.scale-up {
  animation: scale-up 0.7s ease-in;
}

@keyframes scale-up {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-down {
  0% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* end animations */