/**
* Theme/Project Name
* ==================
* Design: Dylan Luc's portfolio 
* Author: Dylan Luc
* Version 1.0
*/
:root {
  font-size: 62.5%;
  --color-grey: #767676;
  --color-black: #000;
  --border: 1px solid #D9D9D9;
}

@media all and (max-width: 1280px) {
  :root {
    font-size: 50%;
  }
}
/* 
==========
Custom Font Families 
==========

Follow these steps to generate @font-face fonts (if they were not provided for you)
1. Go to assets/fonts and delete everything in there.
2. Go to https://transfonter.org/ and upload the fonts that were provided to you
3. Download the kit
4. Extract the zip and copy the files in assets/fonts
5. Now simply change the urls and font names (font-family) in this file to match your new fonts. Remove unnecessary ones
6. Update typography.scss with the new fonts
*/
@font-face {
  font-family: "FiraCode";
  src: local("FiraCode"), url("../../fonts/FiraCode.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "OpenSans";
  src: local("OpenSans"), url("../../fonts/OpenSans.ttf") format("truetype");
  font-display: swap;
}
.typography {
  --base: 6vw;
  --text-20: clamp(1rem, var(--base), 2rem);
  --text-24: clamp(1.4rem, var(--base), 2.4rem);
  --text-28: clamp(1.8rem, var(--base), 2.8rem);
  --text-32: clamp(2.2rem, var(--base), 3.2rem);
  --text-42: clamp(3.2rem, var(--base), 4.2rem);
  --text-48: clamp(2.8rem, var(--base), 4.8rem);
  --text-64: clamp(2.8rem, var(--base), 6.4rem);
  --font-Inter: "Inter", system-ui, sans-serif;
  --color-body-text: var(--color-grey);
  --shadow-inner: inset 0 0 3px 0 rgba(#000000, .05), inset 0 0 24px 4px rgba(#000000, .0392), inset 0 4px 2px 0 rgba(#000000, .06), inset 0 0 0 2px rgba(#fff, .25), inset 0 -3px 0 0 rgba(#000000, .05);
  font-family: var(--font-Inter);
  font-optical-sizing: auto;
  font-size: var(--text-20);
  font-weight: regular;
  color: var(--color-body-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-FiraCode);
  overflow-wrap: break-word;
  display: block;
  font-weight: 700;
  font-family: var(--font-FiraCode);
  margin: 0;
}

h1 {
  font-size: var(--text-100);
  font-weight: 400;
}

h4 {
  font-size: var(--text-30);
}

p {
  line-height: 1.6;
  font-size: var(--text-20);
  font-weight: 400;
}

.heading {
  font-size: var(--text-64);
  font-weight: 500;
  color: black;
  margin: 0;
  margin-bottom: 4rem;
}

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

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: clip;
  min-width: 300px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width: 1024px) {
  html,
  body {
    font-size: 87.5%;
  }
}

a {
  text-decoration: none;
}

button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background-color: transparent;
}
button:hover, button:active, button:focus {
  cursor: pointer;
}

input,
button,
textarea,
select {
  font: inherit;
}

img,
picture,
video,
canvas,
iframe,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  font-style: italic;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

#root, #__next {
  isolation: isolate;
}

.container {
  max-width: 1100px;
}

.container-center {
  margin: 0 auto;
}

header, main {
  max-width: 1500px;
  margin: 0 auto;
  padding-inline: 3rem;
}

section {
  max-width: 1500px;
  margin: 0 auto;
  margin-bottom: 12rem;
}
@media screen and (max-width: 768px) {
  section {
    margin-bottom: 4rem;
  }
}

.section {
  transition: transform 1s, opacity 1s;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

.flexible-layout {
  display: grid;
  gap: 4rem;
}
.flexible-layout--1 {
  grid-template-columns: repeat(1, 1fr);
}
.flexible-layout--2 {
  grid-template-columns: repeat(2, 1fr);
}
.flexible-layout--3 {
  grid-template-columns: repeat(3, 1fr);
}
.flexible-layout--span-right {
  grid-template-columns: repeat(3, 1fr);
}
.flexible-layout--span-right .flexbile-layout__column:nth-child(2) {
  grid-column: 2/span 2;
}
.flexible-layout--span-left {
  grid-template-columns: repeat(3, 1fr);
}
.flexible-layout--span-left .flexbile-layout__column:nth-child(1) {
  grid-column: 1/span 2;
}
@media screen and (max-width: 768px) {
  .flexible-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
}
.flexible-layout__container {
  padding: 8rem 18rem;
}
@media screen and (max-width: 1536px) {
  .flexible-layout__container {
    padding: 8rem 14rem;
  }
}
@media screen and (max-width: 1280px) {
  .flexible-layout__container {
    padding: 8rem 10rem;
  }
}
@media screen and (max-width: 1024px) {
  .flexible-layout__container {
    padding: 4rem 8rem;
  }
}
@media screen and (max-width: 768px) {
  .flexible-layout__container {
    padding: 4rem 4rem;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 3rem;
  margin-top: 3rem;
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.05), inset 0 0 24px 4px rgba(0, 0, 0, 0.0392), inset 0 4px 2px 0 rgba(0, 0, 0, 0.06), inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  border-radius: 32px 32px 0 0;
}
.header__logo {
  width: 8rem;
}

.navigation {
  display: flex;
  padding: 2.4rem 2.8rem;
  justify-content: space-between;
  align-items: center;
  gap: 5.4rem;
  list-style: none;
  border: var(--border);
  border-radius: 36px;
  box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.05);
  background-color: white;
  z-index: 1000;
}
.navigation a {
  color: var(--color-grey);
}
@media screen and (max-width: 768px) {
  .navigation .nav-desktop {
    display: none;
  }
}

.is-header-scrolled .navigation {
  position: fixed;
  top: 3rem;
  right: 6rem;
}

.btn {
  padding: 1rem 2rem 1rem 2rem;
  font-weight: 500;
  border-radius: 12px;
}
.btn--cta {
  color: var(--color-grey);
  padding: 1rem 5rem 1rem 2rem;
  border-radius: 32px;
  display: flex;
  align-items: center;
  position: relative;
  display: inline-block;
  border: 1px solid var(--color-grey);
}
.btn--cta::after {
  content: "";
  background-image: url(../../images/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  height: 2.3rem;
  width: 1.3rem;
  margin-left: 1rem;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease-in-out;
}
.btn--cta:hover::after {
  right: 1.5rem;
  filter: opacity(0.2);
}
.btn--cta:hover {
  color: #23AB81;
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.05), inset 0 0 24px 4px rgba(0, 0, 0, 0.0392), inset 0 4px 2px 0 rgba(0, 0, 0, 0.06), inset 0 0 0 2px rgba(255, 255, 255, 0.25), inset 0 -3px 0 0 rgba(0, 0, 0, 0.05);
  background-color: #E5FF4F;
  border: 1px solid #E5FF4F;
}
.btn--blue {
  color: #4996F2;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #E1F3FF, #CFEBFE);
}
.btn--green {
  color: #23AB81;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #DEFFE4, #C2FAC3);
}
.btn--purple {
  color: #AD56E1;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #F1BBFF, #E2C9FF);
}
.btn--orange {
  color: #EF801C;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #FFEDB2, #FFDD84);
}
.btn--neon {
  color: #23AB81;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #F5FFBF, #E5FF4F);
}

.hero {
  padding: 3rem;
  min-height: 50rem;
  border-radius: 0 0 32px 32px;
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.05), inset 0 0 24px 4px rgba(0, 0, 0, 0.0392), inset 0 4px 2px 0 rgba(0, 0, 0, 0.06), inset 0 0 0 2px rgba(255, 255, 255, 0.25), inset 0 -3px 0 0 rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 2rem;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__subheading {
  font-size: var(--text-28);
}
.hero__heading {
  font-size: var(--text-64);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-black);
  margin: 0;
  width: 70%;
}

.story {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}
@media screen and (max-width: 768px) {
  .story {
    grid-template-columns: repeat(1, 1fr);
    gap: 8rem;
  }
}
.story__profilepic {
  width: 60rem;
  display: inline-block;
  margin: 0 auto;
}
.story__clients {
  text-align: center;
}
.story__client-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding-left: 0;
}
.story__client {
  width: 15rem;
  filter: grayscale(1);
}
@media screen and (max-width: 768px) {
  .story__client {
    width: 8rem;
  }
}
@media screen and (max-width: 640px) {
  .story__client {
    width: 6rem;
  }
}
.story__links {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.connect {
  min-height: 50rem;
  border-radius: 32px;
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.05), inset 0 0 24px 4px rgba(0, 0, 0, 0.0392), inset 0 4px 2px 0 rgba(0, 0, 0, 0.06), inset 0 0 0 2px rgba(255, 255, 255, 0.25), inset 0 -3px 0 0 rgba(0, 0, 0, 0.05);
}
.connect .macicons {
  border-bottom: 1px solid #E8E8E8;
  padding: 3.5rem 3rem 3rem 3rem;
}
.connect__heading {
  font-size: var(--text-64);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-black);
  margin: 0;
  width: 70%;
  margin-bottom: 8rem;
}
.connect__content {
  padding: 3rem;
}
.connect__links {
  border-top: 1px solid #E8E8E8;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media screen and (max-width: 640px) {
  .connect__links {
    grid-template-columns: 1fr;
  }
}

.skills {
  text-align: center;
}
.skills__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem;
}
@media screen and (max-width: 768px) {
  .skills__wrapper {
    grid-template-columns: minmax(min-content, 50rem);
    justify-content: center;
  }
}
.skills__container {
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.05), inset 0 0 24px 4px rgba(0, 0, 0, 0.0392), inset 0 4px 2px 0 rgba(0, 0, 0, 0.06), inset 0 0 0 2px rgba(255, 255, 255, 0.25), inset 0 -3px 0 0 rgba(0, 0, 0, 0.05);
  padding-block: 3rem;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
}
.skills__list {
  list-style: none;
  padding-left: 0;
}
.skills__item {
  border-bottom: 1px solid #E8E8E8;
  padding-block: 1rem;
}
.skills__heading {
  margin-bottom: 3rem;
  font-size: var(--text-24);
  font-weight: 500;
  color: var(--color-black);
  border-bottom: 1px solid #E8E8E8;
  padding-bottom: 2rem;
}

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

.work {
  padding: 6rem 3rem;
  border-radius: 32px;
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.05), inset 0 0 24px 4px rgba(0, 0, 0, 0.0392), inset 0 4px 2px 0 rgba(0, 0, 0, 0.06), inset 0 0 0 2px rgba(255, 255, 255, 0.25), inset 0 -3px 0 0 rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr;
  background: #FFF;
  transition: background 0.8s ease-in-out;
  cursor: pointer;
}
.work:hover {
  background: rgba(245, 255, 191, 0.6745098039);
}
@media screen and (max-width: 768px) {
  .work {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}
.work__thumbnail {
  width: 100%;
  min-height: 50rem;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  grid-column: 2/4;
  border-radius: 32px;
  border: 1px solid rgba(118, 118, 118, 0.2);
}
@media screen and (max-width: 768px) {
  .work__thumbnail {
    grid-column: 1/2;
    grid-row: 1/2;
    min-height: 30rem;
  }
}
.work__heading {
  font-size: var(--text-42);
  color: var(--color-black);
  font-weight: 500;
  margin: 0;
}
.work__category {
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
  margin-block: 1rem;
}
.work:not(:last-child) {
  margin-bottom: 4rem;
}
.work__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.work__content .btn {
  margin-top: auto;
}

.icon__links {
  display: flex;
  gap: 1rem;
  padding-left: 0;
}

.display-window {
  max-width: 1400px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 95%;
  background-color: white;
  border-radius: 9px;
  padding: 4rem 4rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: all 0.5s;
  overflow: scroll;
}
.display-window .btn--close-modal {
  font-family: inherit;
  color: inherit;
  position: absolute;
  top: 0.5rem;
  right: 1.6rem;
  font-size: 3.5rem;
  cursor: pointer;
  border: none;
  background: none;
}
.display-window__wrapper {
  padding-top: 20vh;
}
.display-window__category {
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
  margin-block: 1rem;
}
.display-window__heading {
  font-size: var(--text-42);
  color: var(--color-black);
  font-weight: 700;
  margin: 0;
}
.display-window__main-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.display-window__skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}
.display-window__image-item:not(:last-child) {
  margin-bottom: 2rem;
}
.display-window__image-item {
  padding: 2rem;
  border-radius: 32px;
  border: 1px solid rgba(118, 118, 118, 0.2);
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.05), inset 0 0 24px 4px rgba(0, 0, 0, 0.0392), inset 0 4px 2px 0 rgba(0, 0, 0, 0.06), inset 0 0 0 2px rgba(255, 255, 255, 0.25), inset 0 -3px 0 0 rgba(0, 0, 0, 0.05);
}
.display-window__image-item img {
  border-radius: 32px;
}
.display-window__description {
  width: 70%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 100;
  transition: all 0.5s;
}

.hidden {
  visibility: hidden;
  opacity: 0;
}

.spinner {
  height: 100vh;
  width: 100vw;
}
.spinner img {
  position: absolute;
  width: 20rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.footer {
  text-align: center;
  color: var(--color-black);
  font-weight: 500;
  border-top: 2px solid #E8E8E8;
  padding-block: 2.4rem;
}

.hidden {
  display: none;
}

.hidden--visually {
  clip-path: inset(100%);
  clip: rect(1px 1px 1px 1px); /* IE 6/7 */
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; /* added line */
  width: 1px;
}
