body {
  background-color: #f5f5f5;
  padding-top: 120px;
  font-family: 'Trispace', monospace;
  scroll-behavior: smooth;
}

html{
  scroll-behavior: smooth;
}

.container {
    max-width: 100%;
}

.row-full {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

.hero {
  margin-top: 40vw;
}

/* background */

.black {
   background-color: #111111;
}

.white {
   background-color: #f5f5f5;
}

/* highlight */

::-moz-selection {
    color: #111111;
    background: #D7EB5E;
}

::selection {
    color: #111111;
    background: #D7EB5E;
}

::-moz-selection {
    color: #111111;
    background: #D7EB5E;
}

/* text */

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #111111;
    font-weight: 800;
    line-height: 1.64;
}

p {
  color: #111111;
  font-weight: 300;
  font-size: 13px;
  line-height: 21px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  p {
      font-size: 12px;
      line-height: 18px;
  }
}

h2 {
  color: #111111;
  font-weight: 700;
  font-size: 100px;
  line-height: 100px;
  padding-right: 2vw;
  padding-left: 2vw;
  padding-bottom: 3vw;
}

h3 {
  color: #111111;
  font-weight: 700;
  font-size: 70px;
  line-height: 80px;
}

.project-page-h3 {
  padding-right: 2vw;
  padding-left: 2vw;
}

@media (max-width: 768px) {
  h2 {
    color: #111111;
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    padding-bottom: 5vw;
  }

  h3 {
    color: #111111;
    font-weight: 700;
    font-size: 35px;
    line-height: 35px;
    padding-bottom: 5vw;
  }
}

h5 {
  color: #111111;
  font-weight: 300;
  font-size: 24px;
}

.tools {
  color: #111111;
  font-weight: 300;
  font-size: 22px;
  line-height: 36px;
  padding-left: 1.8vw;
  max-width: 200px;
}

.tools li {
  padding: 10px 0 10px;
  border-bottom: 2px solid #111111;
}

/* links */

a {
    text-decoration: none;
    color: #111111;
    cursor: pointer;
    font-size: 13px;
    font-weight: 300;
}

@media (max-width: 768px) {
  a {
      font-size: 12px;
      line-height: 18px;
  }
}

a:hover {
    text-decoration: underline;
    color: #111111;
}

a.link {
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a.link::before {
    content: '';
    width: 100%;
    height: 2px;
    background: #111111;
    position: absolute;
    bottom: -4px;
    left: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}

a.link:hover {
    color: #111111;
}

a.link:hover::before {
    background: #111111;
    color: #111111;
}

.underline {
  text-decoration: underline !important;
}

.uppercase {
  text-transform: uppercase;
}

/* navbar */

.navbar-light .navbar-nav .nav-link {
    color: #111111;
    font-weight: 300;
    letter-spacing: 0px;
    font-size: 24px;
    word-spacing: 30px;
}

@media (max-width: 992px) {
  .navbar-light {
      background-color: #f5f5f590;
      backdrop-filter: blur(20px);
  }
}

.navbar-brand {
    display: inline-block;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

@media (max-width: 992px) {
  .navbar-brand {
      margin-left: 2vw;
  }
}

.nav-text {
  font-size: 13px;
  line-height: 30px;
  padding-left: 3vw;
  font-family: "Trispace", monospace;
  font-weight: 300;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .nav-text {
      font-size: 12px;
      line-height: 24px;
  }
}

button.navbar-toggler {
    border: none;
}

.navbar-light span.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(17, 17, 17)' stroke-width='1' stroke-linecap='square' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/* headline */

.headline {
    position: relative;
    margin-top: 1vw;
}

.headline-homepage {
    display: block;
    position: relative;
    margin-top: 2vw;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
  .headline {
      position: relative;
  }
  .headline-homepage {
      position: relative;
      padding-bottom: 20%;
      text-align: center;
  }
}

@media (max-width: 576px) {
  .headline-homepage {
      position: relative;
      margin-top: 15vw;
      text-align: center;
      padding-bottom: 20%;
  }
}

.headline-content {
    display: block;
    position: relative;
}

.headline-content .headline-title {
    font-family: 'PP Editorial New', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 150px;
    line-height: 180px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
  .headline-content .headline-title {
    font-size: 50px;
    line-height: 60px;
  }
}

.headline-title-menu {
    font-family: 'PP Editorial New', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 150px;
    line-height: 180px;
}

@media (max-width: 768px) {
  .headline-title-menu {
    font-family: 'PP Editorial New', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 80px;
    line-height: 100px;
  }
}

.headline-subtitle {
    font-size: 24px
}

.headline-project {
  font-size: 100px;
  font-weight: 300;
  margin-bottom: 6vw;
}

@media (max-width: 768px) {
  .headline-project {
    font-size: 50px;
  }
}

/* work headline */

.work {
    position: fixed;
    z-index: -1;
    margin-top: 19.5vw;
}

.work-content {
    display: block;
    position: relative;
}

.work-content .work-title {
    font-family: 'PP Editorial New', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20vw;
    line-height: 14.5vw;
    padding-left: 3.3vw;
    padding-right: 2vw;
}

/* footer */

.footer {
    margin: 2vw 0vw 4vw 0vw;
}

@media (max-width: 768px) {
  .footer {
    margin: 2vw 0vw 10vw 0vw;
  }
}

@media (max-width: 768px) {
  .footer-mobile {
    margin: 2vw 0vw 0vw 0vw;
  }
}

hr {
   height: 1px;
   background-color: #aaaaaa;
   border: none;
   }

/* contact section */

.contact-details {
   font-size: 80px;
   font-weight: 500;
   color: #111111;
   line-height: 70px;
   margin-right: 1.5vw;
   word-wrap: break-word;
   padding-bottom: 100px;
   }

   @media (max-width: 768px) {
     .contact-details {
        font-size: 50px;
        line-height: 45px;
        font-weight: 500;
        margin-left: 1.5vw;
        margin-right: 1.5vw;
        padding-bottom: 100px;
        }
     }

/* text roller */
/* source: https://www.cssscript.com/scroll-text-infinitely/ (added hidden overflow) */

#text-roller {
  position: fixed;
  bottom: 0px;
  color: #111111;
  background-color: #f5f5f5;
  font-size: 13px;
  font-family: "Trispace", monospace;
  font-weight: 300;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: block;
  max-width: 100vw;
  padding: 10px 0px 10px 0px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  #text-roller {
    font-size: 12px;
  }
}

* { box-sizing: border-box; }



/* custom cursor */
/* source: https://stackoverflow.com/questions/42443026/custom-cursor-move-with-window-scroll */

#customcursor {
  position: fixed;
  background-color: #D7EB5E;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  top: var(--y, -80px);
  left: var(--x, -80px);
  animation: .5s pulse ease-out infinite;
  mix-blend-mode: normal;
  z-index: 1000;
  pointer-events: none;
  @keyframes pulse {
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
}

@media (max-width: 992px) {
 #customursor {
   display: none;
 }
}

/* work and project content */

.content {
	position: relative;
	display: block;
}

.content__section {
	position: relative;
	text-align: right;
}

.content_section_work {
	position: relative;
	text-align: right;
}

.content__link {
	display: block;
	position: relative;
	max-width: 100%;
	margin: 10vh 0 30vh auto;
}

.content__link--nobottom {
	margin-bottom: 20vh;
}

.content__img {
	position: relative;
	display: block;
	max-width: 100%;
	margin: 0 0 0;
}

.content__text {
	position: absolute;
	bottom: 4vw;
	left: 0;
	padding: 0vw 5vw;
	z-index: 1;
	line-height: 0.8;
  line-height: 1;
  font-size: 8vw;
  text-transform: none;
  font-weight: 700;
}

.js .ioapi .content__text {
	position: fixed;
	opacity: 0;
	white-space: pre;
}

.content__text span {
	display: inline-block;
}

@media screen and (max-width: 50em) {
	.codrops-header {
		display: block;
		text-align: center;
		padding: 2.5rem 1rem 0;
	}
	.codrops-header__title {
		margin: 1rem 0;
	}
	.demos {
		margin: 0;
	}
	.info {
		padding: 0;
		position: relative;
		-webkit-writing-mode: initial;
		writing-mode: initial;
		text-align: center;
		bottom: auto;
		right: auto;
		margin: 0;
	}
	.content__text,
	.js.ioapi .content__text {
		bottom: 7rem;
	}
}

.video {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.work-page-title {
  font-size: 80px;
  font-weight: 300;
  margin-top: 20px;
  line-height: 80px;
}

@media (max-width: 768px) {
  .work-page-title {
    font-size: 50px;
    font-weight: 300;
    line-height: 50px;
  }
}

.project-img {
  max-width: 100%;
  padding-bottom: 20px;
}

@media (min-width: 992px) {
  .project-description {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    height: fit-content;
    overflow-y: auto;
    padding: 0vw 3vw 0vw 3vw;
  }
}

@media (max-width: 991px) {
  .project-description {
    padding: 0vw 0vw 5vw 0vw !important;
  }
}

/* page loader */
/* source: https://codepen.io/artezi0/pen/xxXgLeM */

.loader-overlay {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000;
  height: 100vh;
  display: flex;
  position: fixed;
}

.layer {
  background-color: #111111;
}

.layer-1 {flex: 1;}
.layer-2 {flex: 1;}
.layer-3 {flex: 1;}
.layer-4 {flex: 1;}
.layer-5 {flex: 1;}

.count {
  right: 2%;
  bottom: 0;
  z-index: 1001;
  width: 100px;
  color: #f5f5f5;
  font-family: 'PP Editorial New', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 7.4vw;
  position: fixed;
  text-align: right;
}

#preloader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    background: #f5f5f5;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

#preloader.hide {
    visibility: hidden;
    opacity: 0
}

/* intro description links */

.intro-link {
  text-decoration: underline;
  color: #111111;
}

/* content change on menu button click */

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: left;
  font-weight: 300;
}

.menu button {
  margin: 10px;
  cursor: pointer;
  border: 2px solid #111111;
  border-radius: 50px;
  padding: 10px 30px;
  font-size: 26px;
  font-weight: 300;
  font-family: "Trispace", monospace;
  color: #111111;
}

@media (max-width: 768px) {
  .menu button {
    margin: 6px;
    border: 2px solid #111111;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 26px;
    font-family: "Trispace", monospace;
    font-weight: 300;
    color: #111111;
  }
}

.button_active {
  color: #f5f5f5 !important;
  background-color: #111111 !important;
}

.content_inside_active {
  display: block;
}

.content_inside {
  display: none;
  border: none;
  padding: 0px;
  position: relative;
  font-family: "Trispace", monospace;
  text-transform: uppercase;
  color: #111111;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.content_inside:not(:first-of-type) {
  display: none;
}

.content_inside .list-unstyled .img-01,
.content_inside .list-unstyled .img-02,
.content_inside .list-unstyled .img-03,
.content_inside .list-unstyled .img-04,
.content_inside .list-unstyled .img-05,
.content_inside .list-unstyled .img-06,
.content_inside .list-unstyled .img-07,
.content_inside .list-unstyled .img-08,
.content_inside .list-unstyled .img-09,
.content_inside .list-unstyled .img-10,
.content_inside .list-unstyled .img-11,
.content_inside .list-unstyled .img-12,
.content_inside .list-unstyled .img-13,
.content_inside .list-unstyled .img-14,
.content_inside .list-unstyled .img-15,
.content_inside .list-unstyled .img-16,
.content_inside .list-unstyled .img-17,
.content_inside .list-unstyled .img-18,
.content_inside .list-unstyled .img-19,
.content_inside .list-unstyled .img-20,
.content_inside .list-unstyled .img-21,
.content_inside .list-unstyled .img-22,
.content_inside .list-unstyled .img-23,
.content_inside .list-unstyled .img-24,
.content_inside .list-unstyled .img-25,
.content_inside .list-unstyled .img-26,
.content_inside .list-unstyled .img-27 {
  height: 197px;
  position: relative;
}

@media (max-width: 576px) {
  .content_inside .list-unstyled .img-01,
  .content_inside .list-unstyled .img-02,
  .content_inside .list-unstyled .img-03,
  .content_inside .list-unstyled .img-04,
  .content_inside .list-unstyled .img-05,
  .content_inside .list-unstyled .img-06,
  .content_inside .list-unstyled .img-07,
  .content_inside .list-unstyled .img-08,
  .content_inside .list-unstyled .img-09,
  .content_inside .list-unstyled .img-10,
  .content_inside .list-unstyled .img-11,
  .content_inside .list-unstyled .img-12,
  .content_inside .list-unstyled .img-13,
  .content_inside .list-unstyled .img-14,
  .content_inside .list-unstyled .img-15,
  .content_inside .list-unstyled .img-16,
  .content_inside .list-unstyled .img-17,
  .content_inside .list-unstyled .img-18,
  .content_inside .list-unstyled .img-19,
  .content_inside .list-unstyled .img-20,
  .content_inside .list-unstyled .img-21,
  .content_inside .list-unstyled .img-22,
  .content_inside .list-unstyled .img-23,
  .content_inside .list-unstyled .img-24,
  .content_inside .list-unstyled .img-25,
  .content_inside .list-unstyled .img-26,
  .content_inside .list-unstyled .img-27 {
    height: 277px;
  }
}

.content_inside .list-unstyled .img-01 a,
.content_inside .list-unstyled .img-02 a,
.content_inside .list-unstyled .img-03 a,
.content_inside .list-unstyled .img-04 a,
.content_inside .list-unstyled .img-05 a,
.content_inside .list-unstyled .img-06 a,
.content_inside .list-unstyled .img-07 a,
.content_inside .list-unstyled .img-08 a,
.content_inside .list-unstyled .img-09 a,
.content_inside .list-unstyled .img-10 a,
.content_inside .list-unstyled .img-11 a,
.content_inside .list-unstyled .img-12 a,
.content_inside .list-unstyled .img-13 a,
.content_inside .list-unstyled .img-14 a,
.content_inside .list-unstyled .img-15 a,
.content_inside .list-unstyled .img-16 a,
.content_inside .list-unstyled .img-17 a,
.content_inside .list-unstyled .img-18 a,
.content_inside .list-unstyled .img-19 a,
.content_inside .list-unstyled .img-20 a,
.content_inside .list-unstyled .img-21 a,
.content_inside .list-unstyled .img-22 a,
.content_inside .list-unstyled .img-23 a,
.content_inside .list-unstyled .img-24 a,
.content_inside .list-unstyled .img-25 a,
.content_inside .list-unstyled .img-26 a,
.content_inside .list-unstyled .img-27 a {
  display: block;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.content_inside .list-unstyled .img-01 img,
.content_inside .list-unstyled .img-02 img,
.content_inside .list-unstyled .img-03 img,
.content_inside .list-unstyled .img-04 img,
.content_inside .list-unstyled .img-05 img,
.content_inside .list-unstyled .img-06 img,
.content_inside .list-unstyled .img-07 img,
.content_inside .list-unstyled .img-08 img,
.content_inside .list-unstyled .img-09 img,
.content_inside .list-unstyled .img-10 img,
.content_inside .list-unstyled .img-11 img,
.content_inside .list-unstyled .img-12 img,
.content_inside .list-unstyled .img-13 img,
.content_inside .list-unstyled .img-14 img,
.content_inside .list-unstyled .img-15 img,
.content_inside .list-unstyled .img-16 img,
.content_inside .list-unstyled .img-17 img,
.content_inside .list-unstyled .img-18 img,
.content_inside .list-unstyled .img-19 img,
.content_inside .list-unstyled .img-20 img,
.content_inside .list-unstyled .img-21 img,
.content_inside .list-unstyled .img-22 img,
.content_inside .list-unstyled .img-23 img,
.content_inside .list-unstyled .img-24 img,
.content_inside .list-unstyled .img-25 img,
.content_inside .list-unstyled .img-26 img,
.content_inside .list-unstyled .img-27 img {
  max-width: 100%;
  height: auto;
}

.menu li {
  cursor: pointer;
  font-family: "Trispace", monospace;
  text-transform: uppercase;
  font-size: 13px;
  color: #111111;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-right: 30px;
}

@media (max-width: 768px) {
  .menu li {
      font-size: 12px;
      line-height: 24px;
  }
}

.menu li.active {
  text-decoration: underline;
}

.menu li:hover {
  text-decoration: underline;
}

/* project index */

.project-index {
  display: flex;
  flex-wrap: wrap;
}

.project-index > div {
  position: relative;
  text-decoration: none;
  width: 100%;
  border-bottom: 1px solid #aaaaaa;
  padding: 10px 0px 10px 0px;
}

.project-index > div:first-child {
  border-top: 1px solid #aaaaaa;
}

.project-index > div img {
  position: absolute;
  left: 50%;
  top: 0;
  display: none;
  max-height: 185px;
  transform: translateX(-50%);
  padding: 10px 0 0 0;
  z-index: -1;
}

@media (max-width: 1024px) {
  .project-index > div img {
    left: 50%;
    display: block;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .project-index > div img {
    position: relative;
    left: 50%;
    display: block;
    max-width: 100vw;
    transform: translateX(-50%);
  }
}

.project-index > div:hover {
  text-decoration: underline;
}

.project-index > div:hover img {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

/*homepage menu image*/

.menu-img-01, .menu-img-02 {
  position: relative;
  text-decoration: none;
}

.menu-img-01 img, .menu-img-02 img {
  position: fixed;
  left: 2vw;
  top: 15%;
  display: none;
  max-width: 55vw;
  z-index: -1;
}

.menu-img-01:hover > img, .menu-img-02:hover > img {
  display: block;
  animation: fadeIn 0.5s;
}

@media (max-width: 992px) {
    .menu-img-01:hover > img, .menu-img-02:hover > img {
      display: none;
  }
}

/* custom font */

@font-face {
    font-family: 'PP Editorial New';
    src: url('PPEditorialNew-Ultralight.woff2') format('woff2'),
        url('PPEditorialNew-Ultralight.woff') format('woff'),
        url('PPEditorialNew-Ultralight.svg#PPEditorialNew-Ultralight') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
