@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/dm-sans-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/dm-sans-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/dm-sans-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/dm-sans-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/dm-sans-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/dm-sans-v11-latin-regular.svg#DMSans') format('svg'); /* Legacy iOS */
  font-display: swap;
}

:root {
    --bg-opacity: 1;
    --text-opacity: 1;
  }
  
  html *,
  :after,
  :before {
    border: 0 solid #edf2f7;
    box-sizing: border-box;
  }
  
  html {
    -webkit-text-size-adjust: 100%;
    --bg-opacity: 1;
    background-color: rgba(36 51 99 / var(--bg-opacity));
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow- : hidden !important;
  }  
  
  body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    overflow-x: hidden !important;
    display: block;
    background-color: rgba(36 51 99 / var(--bg-opacity));
  }

  ol, ul { list-style: none; }

  hr { height: 2rem;}
  b { font-weight: bold}

  .bg-visual { position: relative; }
  
  .bg-visual svg {
    position: fixed;
    left: calc(0vw - 36rem);
    bottom: -50%;
    opacity: .06;
    transform: scale(2);
    filter: brightness(0.5);
    height: 100vh;
    pointer-events: none;
  } 
  img, video { width: 100%; max-width: 936px; height:auto;}
  img[data-sizes="auto"] { display: block; width: 100%; max-width: 936px; }

  a { text-decoration: none; }

  #home {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: fixed;
  }  

  .app-root {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 244px repeat(2, 1fr);
  }
  .sidebar {
    width: 244px;
    left: 0;
    top: 0;
    position: sticky;
  }
  
  nav {
    height: 100%;
    width: 244px;
    padding: 4rem 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: 1.5rem;
    overflow: hidden;
    position: fixed;
    z-index: 25;
  }
  .items {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .items-title {
    display: flex;
    padding: 0 .75rem .75rem .75rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 1.125rem;
    color: rgb(61 222 150/var(--text-opacity));
  }
  .items-title a {
    text-underline-offset: 2px;
    cursor: pointer;
    flex-shrink: 1;
    font-size: 1.125rem;
    text-align: left;
    color: rgb(255 255 255/var(--text-opacity));
    width: 100%;
  }
  .items-title a:hover {
    text-underline-offset: 2px;
    text-decoration-line: underline;
  }
  .items-top {
    color: rgb(61 222 150/var(--text-opacity));
    font-size: 1.125rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    width: 100%;
  }
  .items-top a {
    font-size: 1rem;
    text-align: left;
    color: rgb(61 222 150/var(--text-opacity));
    padding: 0.75rem;
    border-color: transparent;
    background-color: transparent;
    border-width: 1px;
    border-radius: 0.5rem;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    width: 100%;
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;
    transition-duration: .15s;
  }
  
  .items-top a.tide {
    font-size: 1rem;
    text-align: left;
    color: rgb(61 222 150/var(--text-opacity));
    padding: .5rem .75rem;
    border-color: transparent;
    background-color: transparent;
    border-width: 1px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;
    transition-duration: .15s;
  }
  .items-top a:hover,
  .items-bottom a:hover {
    background-color: rgba(23,43,81,.5);
    transition-timing-function: cubic-bezier(0,0,.2,1);
  }
  .items-top a svg { 
    flex-grow: 0;
    flex-shrink: 0;
    display: block;
    color: rgb(255 255 255 /var(--text-opacity));
    font-size: 1rem;
    width: 20px;
    margin-right: 1rem;
  }
  .items-top a svg#download { 
    opacity: 0;
    transition-property: opacity;
    transition-duration: .15s;
    margin-left: 1rem;
  }
  .items-top a:hover svg#download { 
    opacity: 1;
    transition-timing-function: cubic-bezier(0,0,.2,1);
  }
  .items-top a p {
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
.active {
    --bg-opacity: 1!important;
    background-color: rgba(23 43 81/var(--bg-opacity))!important;
    border-color: hsla(0,0%,100%,.05);
    border-width: 1px;
    color:rgb(255 255 255 /var(--text-opacity))!important;
  }

  .hr-items {
    border-color: rgba(255,255,255,.1);
    border-bottom-width: 1px;
    border-top-width: 1px;
    width: 100%;
    height: 0;
  }
  
  .text-xs {
    color: rgb(255 255 255 / var(--text-opacity));
    letter-spacing: .05em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .75rem;
    text-align: left;
    padding-left: 1rem;
    align-self: flex-start;
    line-height: 1rem;
    margin-bottom: .5rem;
  }
  
  .items-bottom {
    color: rgb(61 222 150/var(--text-opacity));
    font-size: 1.125rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
    align-items: center;
    width: 100%;
  }

  .items-bottom a {
    color: rgb(61 222 150/var(--text-opacity));
  }
  
  .text-xs.grey {
    color: rgb(255 255 255 / var(--text-opacity));
  }
  .outer-container {
    padding: 2rem;
    grid-column: span 2;
  }
  .inner-container {
    font-size: 1.25rem;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width: 80rem;
    width: 100%;
  }
  .main-content {
    flex: 1 1 80%;
    min-height: calc(100vh - 6rem);
    position: relative;
  }
  .portfolio {
    display: grid;
    height: calc(100vh - 4rem);
    grid-template-rows: repeat(6, 1fr);
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 1rem;
    max-width: 80rem;
  }
  .portfolio-item {
    color: white;
    font-weight: bold;
    border-radius: 1rem;
  }
  .portfolio-item:hover {
    cursor: zoom-in;
  }
  .portfolio-item.medium {
    grid-row: span 2;
    grid-column: span 2;
  }
  .portfolio-item.large {
    grid-row: span 3;
    grid-column: span 3;
  }
  .portfolio-item.small {
    grid-row: span 1;
    grid-column: span 1;
  }
  .portfolio-item.tall {
    grid-row: span 3;
    grid-column: span 2;
  }
  .portfolio-item.wide {
    grid-row: span 2;
    grid-column: span 3; 
  }
  .one { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/flyers/flyer-01_m7LQ_nLS7n.jpg); }
  .two { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/jt-flyers/jt-flyers-02_zMmNI6OIP.jpg); }
  .three { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/jt-ads/jt-ad-001_5TOKgKB03.jpg); }
  .four { background-image: none; }
  .five { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/hpvc/007_T4T5M23ir.jpg); }
  .six { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/jt-social/jt-social-08_tm6_5gWZA.jpg); }
  @media (max-width: 600px) {
    .one { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/flyers/flyer-01_m7LQ_nLS7n.jpg?tr=w-600); }
    .two { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/jt-flyers/jt-flyers-02_zMmNI6OIP.jpg?tr=w-600); }
    .three { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/jt-ads/jt-ad-001_5TOKgKB03.jpg?tr=w-600); }
    .four { background-image: none; }
    .five { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/hpvc/007_T4T5M23ir.jpg?tr=w-600); }
    .six { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/jt-social/jt-social-08_tm6_5gWZA.jpg?tr=w-600); }
  }
  .one, .two, .three, .four, .five, .six {
    background-size: cover;
  }
  .one, .two, .three, .four, .five, .six, .seven, .eight, .nine, .ten, .eleven, .twelve {
    background-position: top left;
    position: relative;
    transition: all ease-in-out 300ms;
  }
  .portfolio-item.small.four {
    opacity: 0;
    pointer-events: none;
  }

  #graphic-design .one, 
  #graphic-design .two, 
  #graphic-design .three, 
  #graphic-design .four, 
  #graphic-design .five,
  #graphic-design .six {
    background-position: top center;
  }

  /* 3D Webdesign Page */
  .web-portfolio {
    display: grid;
    height: 100vh;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    max-width: 80rem;
  }

  .web-portfolio .one { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/jt-web/001_DsZUeItqd.jpg); }
  .web-portfolio .two { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/buenokoffie/001_XUokenYY7b.jpg); }
  .web-portfolio .three { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/ttvv/001_C2psiAM8F.jpg); }
  .web-portfolio .four { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/insiders/004_fSlPSoVaP.jpg); }
  .web-portfolio .five { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/insiders/001_ZFUL102YF.jpg); }
  .web-portfolio .six { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/insiders/002_PE0-I7vjX.jpg); }
  @media (max-width: 600px) {
    .web-portfolio .one { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/jt-web/001_DsZUeItqd.jpg?tr=w-600); }
    .web-portfolio .two { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/buenokoffie/001_XUokenYY7b.jpg?tr=w-600); }
    .web-portfolio .three { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/ttvv/001_C2psiAM8F.jpg?tr=w-600); }
    .web-portfolio .four { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/insiders/004_fSlPSoVaP.jpg?tr=w-600); }
    .web-portfolio .five { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/insiders/001_ZFUL102YF.jpg?tr=w-600); }
    .web-portfolio .six { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/insiders/002_PE0-I7vjX.jpg?tr=w-600); }
  }

  /* 3D Design Page */
.row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
}

.column {
  flex: calc(33% - 1rem);
  max-width: 33%;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.column img {
  border-radius: 1rem;
  width: 100%;
  height: auto;
}

.column img::before {
  content: '';
  background-color: rgb(149 180 240/var(--text-opacity));
  display: block;
  opacity: 0.8;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  mix-blend-mode: multiply;
  transition: opacity ease-in-out 300ms;
  z-index: 1;
}

.one::before,
.two::before,
.three::before,
.four::before,
.five::before,
.six::before,
.seven::before,
.eight::before, 
.nine::before,
.ten::before, 
.eleven::before, 
.twelve::before,
.thirthteen::before, 
.fourteen::before, 
.fiveteen::before {
  content: '';
  background-color: rgba(65,63,156,.5);
  display: block;
  opacity: 0.8;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  mix-blend-mode: multiply;
  transition: opacity ease-in-out 300ms;
  z-index: 1;
  border-radius: 1rem;
}

.one:hover::before,
.two:hover::before,
.three:hover::before,
.four:hover::before,
.five:hover::before,
.six:hover::before,
.seven:hover::before,
.eight:hover::before, 
.nine:hover::before,
.ten:hover::before, 
.eleven:hover::before, 
.twelve:hover::before,
.thirthteen:hover::before, 
.fourteen:hover::before, 
.fiveteen:hover::before {
  opacity: 0;
  z-index: -1;
}

.masonry { margin-bottom: 4rem; }
.masonry .portfolio-item { 
  background-position: center; 
  background-size: cover;
}

.masonry .one { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/woning-1_TjVvp0zjW.jpg?tr=w-934); flex: 1 1 400px; }
.masonry .two { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/paardenbloem_C_Xwf3YJ9.jpg?tr=w-934); flex: 1 1 200px; }
.masonry .three { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/axe-1_7UwjxofSLy.png?tr=w-934); flex: 1 1 400px; }
.masonry .four { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/canyon-1__n6shp8lJ.jpg?tr=w-934); flex: 1 1 200px; } 
.masonry .five { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/stoel-1_MZ2Rr9nSI.jpg?tr=w-934); flex: 1 1 200px;}
.masonry .six { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/mushroom-2_klAvqi5S7.jpg?tr=w-934); flex: 1 1 200px; }
.masonry .seven { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/trapgevel-2_ScDrnx8K2.jpg?tr=w-934); flex: 1 1 400px; }
.masonry .eight { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/curacao-3_wO3nagkDW.jpg?tr=w-934); flex: 1 1 400px; }
.masonry .nine { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/mario-6_yMoJPFskB.jpg?tr=w-934); flex: 1 1 200px; }
.masonry .ten { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/varia-03_zBrKwVWQu.jpg?tr=w-934); flex: 1 1 400px; }
.masonry .eleven { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/huis-1_rVBjHzet9.jpg?tr=w-934); flex: 1 1 400px; }
.masonry .twelve { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/schommel-2_4gng8wEUT.jpg?tr=w-934); flex: 1 1 600px; }
@media (max-width: 600px) {
  .masonry .one { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/woning-1_TjVvp0zjW.jpg?tr=w-600); flex: 1 1 400px; }
  .masonry .two { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/paardenbloem_C_Xwf3YJ9.jpg?tr=w-600); flex: 1 1 200px; }
  .masonry .three { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/axe-1_7UwjxofSLy.png?tr=w-600); flex: 1 1 400px; }
  .masonry .four { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/canyon-1__n6shp8lJ.jpg?tr=w-600); flex: 1 1 200px; } 
  .masonry .five { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/stoel-1_MZ2Rr9nSI.jpg?tr=w-600); flex: 1 1 200px;}
  .masonry .six { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/mushroom-2_klAvqi5S7.jpg?tr=w-600); flex: 1 1 200px; }
  .masonry .seven { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/trapgevel-2_ScDrnx8K2.jpg?tr=w-600); flex: 1 1 400px; }
  .masonry .eight { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/curacao-3_wO3nagkDW.jpg?tr=w-600); flex: 1 1 400px; }
  .masonry .nine { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/mario-6_yMoJPFskB.jpg?tr=w-600); flex: 1 1 200px; }
  .masonry .ten { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/varia-03_zBrKwVWQu.jpg?tr=h-800); flex: 1 1 400px; }
  .masonry .eleven { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/huis-1_rVBjHzet9.jpg?tr=w-600); flex: 1 1 400px; }
  .masonry .twelve { background-image: url(https://ik.imagekit.io/a36lnh0eoz1/portfolio/3d/schommel-2_4gng8wEUT.jpg?tr=h-800); flex: 1 1 600px; }
} 
.masonry .portfolio-item::after,
.portfolio .portfolio-item::after,
.web-portfolio .portfolio-item::after {
  content: '';
  background: linear-gradient(
    to bottom,
    rgba(23, 43, 81, 0) 0%,
    rgba(23, 43, 81, 0.013) 8.1%,
    rgba(23, 43, 81, 0.049) 15.5%,
    rgba(23, 43, 81, 0.104) 22.5%,
    rgba(23, 43, 81, 0.175) 29%,
    rgba(23, 43, 81, 0.259) 35.3%,
    rgba(23, 43, 81, 0.352) 41.2%,
    rgba(23, 43, 81, 0.45) 47.1%,
    rgba(23, 43, 81, 0.55) 52.9%,
    rgba(23, 43, 81, 0.648) 58.8%,
    rgba(23, 43, 81, 0.741) 64.7%,
    rgba(23, 43, 81, 0.825) 71%,
    rgba(23, 43, 81, 0.896) 77.5%,
    rgba(23, 43, 81, 0.92) 84.5%,
    rgba(23, 43, 81, 0.95) 91.9%,
    rgba(23, 43, 81, 1) 100%
  );
  display: block;
  position: absolute;
  top: 67%;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  opacity: .8;
  transition: opacity ease-in-out 300ms;
  border-radius: 1rem;
}
.masonry .portfolio-item:hover::after,
.portfolio .portfolio-item:hover::after,
.web-portfolio .portfolio-item:hover::after {
  opacity: 0;
}

.gradient {
  position: fixed;
  bottom: 0;
  right: 0;
  height: 5rem;
  pointer-events: none;
  width: calc(100vw - 19rem);
  background: linear-gradient(
    to bottom,
    rgba(23, 43, 81, 0) 0%,
    rgba(23, 43, 81, 0.013) 8.1%,
    rgba(23, 43, 81, 0.049) 15.5%,
    rgba(23, 43, 81, 0.104) 22.5%,
    rgba(23, 43, 81, 0.175) 29%,
    rgba(23, 43, 81, 0.259) 35.3%,
    rgba(23, 43, 81, 0.352) 41.2%,
    rgba(23, 43, 81, 0.45) 47.1%,
    rgba(23, 43, 81, 0.55) 52.9%,
    rgba(23, 43, 81, 0.648) 58.8%,
    rgba(23, 43, 81, 0.741) 64.7%,
    rgba(23, 43, 81, 0.825) 71%,
    rgba(23, 43, 81, 0.896) 77.5%,
    rgba(23, 43, 81, 0.951) 84.5%,
    rgba(23, 43, 81, 0.987) 91.9%,
    rgba(23, 43, 81, 1) 100%
  );
};
.masonry .portfolio-item,
.portfolio .portfolio-item,
.web-portfolio .portfolio-item  {
  flex: 1;
  flex-basis: inherit;
  align-items: flex-end;
  position: relative;
}
.masonry .portfolio-item .portfolio-overlay-content,
.portfolio .portfolio-item .portfolio-overlay-content,
.web-portfolio .portfolio-item .portfolio-overlay-content {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  right: 0;
  margin: 1rem;
  z-index: 3;
  opacity: 1;
  transition: opacity ease-in-out 300ms;
}
.masonry .portfolio-item:hover .portfolio-overlay-content,
.portfolio .portfolio-item:hover .portfolio-overlay-content,
.web-portfolio .portfolio-item:hover .portfolio-overlay-content {
  opacity: 0;
}
.portfolio-title {
  color: #ffffff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06rem;
  text-align: left;
  padding: 0.3rem 0.5rem;
  border-radius: 0.5rem;
  text-shadow: 2px 2px 3px rgb(36 51 99 / 70%);
}
.portfolio-tags {
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
  color: rgb(36,51,99);
  font-size: .8rem;
  background-color: rgb(255,255,255);
  padding: .35rem 0.7rem;
  border-radius: 0.25rem;
  font-weight: lighter;
  text-align: right;
}
.portfolio-title,
.portfolio-tags {
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portfolio-tags-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.overlay {
  opacity: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  height: 200%;
  content: '';
  background-color: rgba(8,11,22, 0.7);
  transition: opacity .3s cubic-bezier(0,0,.3,1);
  backdrop-filter: blur(4px);
}
.show {
  z-index: 10;
  opacity: 1;
  cursor: zoom-out;
  pointer-events: all;
}

article {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100vw;
  height: 100%;
  z-index: 15;
  overflow-y: scroll;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none; 
}

.project-container {
  display: flex;
  border-radius: 1.5rem;
  overflow-y: scroll;
  flex-direction: column;
  max-width: 64rem;
  width: calc(100% - 6rem);
  height: auto;
  z-index: 0;
  background-color: rgba(36 51 99/var(--bg-opacity));
  border-color: transparent;
  border-width: 0;
  /* border-color: rgba(26,30,45,.5);
  border-width: 2px; */
  opacity: 0;
  transition: opacity .3s cubic-bezier(0,0,.3,1);
  /* will-change: opacity; */
  pointer-events: none;
  margin: 3rem 0;
  padding-bottom: 3rem;
}

.project-visible {
  z-index: 20;
  opacity: 1;
  pointer-events: all;
}

button.close-project {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  outline-offset: 2px;
  outline-width: 2px;
  --text-opacity: 1;
  color: rgb(214 221 240/var(--text-opacity));
  z-index: 50;
  position: fixed;
  right: 2.5rem;
  top: 2.5rem;
  cursor: pointer;
  background-color: transparent;
  background-image: none;
  transition: background-color .3s cubic-bezier(0,0,.3,1);
}
button.close-project:hover {
  background-color: rgba(26,30,45,.8);
}
button.close-project:active {
  background-color: rgba(26,30,45,.8);
  outline-color: #7898d7;
  outline-style: solid;
  background-color: rgba(52,57,106,.6);
}
 svg.justify-self-center {
  justify-self: center;
}
svg.self-center {
  align-self: center;
}

.article-header {
  width: 100%;
  height: auto;
  position: relative;
}
.image-header-container {
  border-width: 2rem;
  border-color: rgba(36 51 99/var(--bg-opacity));
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  display: block;
  width: 100%;
  height: auto;
  position: relative;
}
.image-header-container iframe {
  margin: 0 auto !important;
}

#container1 {
  height: 100%;
  width: 100%;
  overflow: hidden;
  -ms-overflow-style: none;  
  scrollbar-width: none; 
}
#container2 {
  display: flex;
  width: 100%;
  height: 100vh;
  height: calc(100vh - 4rem);
  overflow: auto;
  padding-right: 0px; 
  margin: 2rem; 
  scroll-behavior: smooth;
  overflow-y: scroll;
  /* scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  */
}
/*
#container2 .article-text, #container2 img { 
  scroll-snap-align: start;
  scroll-margin: 2rem 0;
}
#container2 img:last-of-type { 
  scroll-snap-align: end;
}
*/
::-webkit-scrollbar {
  width: 20px;
}
::-webkit-scrollbar-track-piece {
  background: rgba(23,43,81,.5);
}
#container2::-webkit-scrollbar {
  color: rgba(36 51 99 / var(--bg-opacity));
  width: 1.5rem;
}
::-webkit-scrollbar-track,
#container2::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background: rgb(36 51 99 / var(--bg-opacity));
}
::-webkit-scrollbar-thumb,
#container2::-webkit-scrollbar-thumb {
  background: rgb(149 180 240 / var(--text-opacity));
  border-radius: 16px;
  box-shadow: inset 2px 2px 2px hsl(0deg 0% 100% / 25%), inset -2px -2px 2px rgb(0 0 0 / 25%);
}
#container2::-webkit-scrollbar-corner {
  border-radius: 10px;
}
#container1::-webkit-scrollbar { 
  display: none; 
}

.article-text {
  --text-opacity: 1;
  color: rgb(255 255 255/var(--text-opacity));
  padding: 1.25rem 2rem;
  max-width: 64rem;
  position: relative;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: flex-start
}
.article-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  align-items: center;
  display: flex;
  width: 100%;
  flex: 1;
}
.article-text p {
  font-size: 1.25rem;
  align-items: center;
  display: inline;
  color: rgb(203 213 225/var(--text-opacity));
  line-height: 1.5;
}
.article-h2 {
  align-items: center;
  flex-wrap: wrap;
  display: flex;
  flex-direction: row;
  width: 100%;
}
.article-link {
  align-items: center;
  display: flex;
}
.article-link a {
  --text-opacity: 1;
  color: rgb(61 222 150);
  padding: .5rem 1rem;
  border-radius: 9999px;
  justify-content: center;
  align-items: center;
  display: flex;
  cursor: pointer;
  width: 100%;
  background-color: rgba(76,82,134,.8);
  background-image: none;
  transition: background-color .3s cubic-bezier(0,0,.3,1);
}
.article-link a svg {
  transform: rotate(-45deg);
  margin-left: 0.5rem;
}
.article-link a:hover {
  background-color: rgba(76,82,134,.5);
}
.preloader-container {
  display: flex;
	right: 0;
	top: 0;
	width: calc(100% - 244px);
	height: 100%;
	overflow-x: auto;
	overflow-y: scroll;
	position: fixed;
	z-index: 20;
  background-color: rgba(36 51 99 / var(--bg-opacity));
	justify-content: center;
	align-items: center;
	overflow: hidden;
	-webkit-transition: all 1s linear;
	-o-transition: all 1s linear;
	transition: all 1s linear;
}

.preloader-container .animation {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.preloader-container .animation #skip {
	color: rgb(61 222 150/var(--text-opacity));
	cursor: pointer;
	position: absolute;
	margin: 0 auto;
	bottom: 20vh;
}

.hidden { display: none; }

.visuallyhidden { opacity: 0; }

.unscrollable { overflow-y: hidden !important; }

@media screen and (max-width: 800px) {
  img, video { width: 100%; }
  .column {
      flex: 40%;
      max-width: 50%;
  }
  .sidebar { width: 16rem; }
  nav { width: 13.5rem; }
  .article-text h2 {
    margin-bottom: 1rem;
}
  .portfolio {
    display: grid;
    height: 100%;
    grid-gap: 1rem;
    grid-template-rows: auto;
    overflow: hidden;
    grid-template-columns: repeat(1, 1fr);
  }
  .web-portfolio {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
  }
  .portfolio-item {
    grid-row: span 1 !important;
    grid-column: span 1 !important;
    height: 300px;
  }
  .portfolio-item.small.four { display: none; }
  .portfolio-tags-container { display: none; }
  .active {
    --bg-opacity: 1!important;
    background-color: rgb(61 222 150/var(--text-opacity))!important;
    color: rgba(36 51 99 / var(--bg-opacity))!important;
  }
  .items-top a.active svg {
    color: rgba(36 51 99 / var(--bg-opacity))!important;
  }
}

@media screen and (max-width: 600px) {
  .app-root { grid-template-columns: 5rem repeat(2, 1fr); }
  .preloader-container { width: 100%; }
  #container2 { margin: 0.8rem; }
  .outer-container { padding-left: 0; }
  .column {
    flex: 100%;
    max-width: 100%;
  }
  .sidebar { width: 5rem; }
  .page-webdesign .icon-text-webdesign,
  .page-graphic-design .icon-text-graphic-design,
  .page-3d-design .icon-text-3d-design {
    display: block;
    position: fixed;
    left: 3.2rem;
    bottom: 1.5rem;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    font-size: 1.5rem;
    color: rgb(61 222 150/var(--text-opacity));
    z-index: 1000;
    transition: bottom 0.3s ease;
  }
  .items-title {
    display: none;
  }
  nav {
    width: 5rem;
    padding: 2rem 1rem;
    overflow: visible;
  }
  /* .items-top a p { display: none; }   */
  button.close-project {
    right: 0.5rem;
    top: 0.5rem;
  }
  .home { display: flex; }
  .hr-items, .text-xs  { display: none; }
  #home .items-bottom .text-xs  { display: block; }
  .one::before,
  .two::before,
  .three::before,
  .four::before,
  .five::before,
  .six::before,
  .seven::before,
  .eight::before, 
  .nine::before,
  .ten::before, 
  .eleven::before, 
  .twelve::before,
  .thirthteen::before, 
  .fourteen::before, 
  .fiveteen::before {
    opacity: 0;  
  }
  .gradient { width: 100%; }
}

@media (min-width: 601px) {
  body:has(.web-portfolio) { overflow-y: hidden; }
  #container2 {
    margin-left: 3rem;
    margin-right: 4rem;
  }
  button.close-project {
    right: 0.7rem;
    top: 0.7rem;
  }
  .column {
      flex: calc(33% - 1rem);
      max-width: 100%;
  }
  .items-top a p { display: block;
  }
  .home { display: none !important; }
  .column img::before {
    mix-blend-mode: normal;
  }
}