@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;500&display=swap');

:root {
  --green-bg: #d4eac4;
}

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

html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  font-size: 47px;
  min-height: 100%;
  background: linear-gradient(
    141deg,
    #f1ffe2 0.75%,
    #bdd4ff 10%,
    #fde2e2 15%,
    #bfbbff 20%,
    #d3e9f3 25%,
    #e7f9cb 30%,
    #f1b9b9 35%,
    #88bdff 40%,
    #83cac3 45%,
    #adcab3 50%,
    #f1ffe2 55%,
    #bdd4ff 60%,
    #fde2e2 65%,
    #bfbbff 70%,
    #d3e9f3 75%,
    #e7f9cb 80%,
    #f1b9b9 85%,
    #88bdff 90%,
    #83cac3 95%,
    #adcab3 100%
  );
}

/* HEADER */
header {
  height: 80px;
  width: 100%;
  padding: 10px 30px;
  border-bottom: 1px solid #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #f4ffee;
  z-index: 1000;
}

header h1 {
  margin: 0;
  display: flex;
  align-items: center;
}

header h1 img {
  width: 200px;
  padding-left: 0;
  padding-bottom: 6px;
  display: block;
  float: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin: 0;
}

.site-nav a,
.site-nav .dropbtn {
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  color: #000;
  text-transform: lowercase;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
  padding: 0 0 3px 0;
  margin: 0;
  background: transparent;
  float: none;
  transition: border 0.3s ease-in;
}

.site-nav a:hover,
.site-nav .dropbtn:hover,
.dropdown:hover .dropbtn {
  border-bottom: 2px solid #000;
}

header nav a.selected {
  border-color: #000;
}

.nav-portfolio {
  order: 1;
}

.nav-info {
  order: 2;
}

.dropdown {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: center;
  overflow: visible;
  float: none;
}

.dropdown .dropbtn {
  display: flex;
  align-items: center;
  height: 100%;
  border: none;
  outline: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background-color: #f1ffe3;
  border: 1px solid #000;
  padding: 14px 0 18px 0;
  z-index: 1001;
}

.dropdown-content a {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  text-align: left;
  color: #000;
  padding: 8px 16px;
  margin: 0;
  border-bottom: none;
  white-space: nowrap;
}

.dropdown-content a:hover {
  border-bottom: none;
  background-color: var(--green-bg);
}

.dropdown:hover .dropdown-content {
  display: block;
}

#fixedbutton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 30px;
}

/* TYPOGRAPHY */
h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: 95px;
  text-align: left;
  padding: 60px 60px 20px 60px;
  margin-bottom: 0;
  line-height: 1;
  letter-spacing: 1px;
}

.infopage h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 105px;
  text-align: left;
  padding: 130px 150px 50px 62px;
  line-height: 1;
  letter-spacing: 1px;
}

.back {
  font-family: Freight, serif;
  font-size: 18px;
  padding-top: 100px;
  padding-left: 25px;
}

.back a {
  text-decoration: none;
  color: #000;
  letter-spacing: 0.7px;
  font-weight: 600;
}

.back a:hover {
  border-bottom: 1px solid #000;
}

.h2 p {
  font-family: 'Manrope', sans-serif;
  font-size: 30px;
  font-weight: 100;
  letter-spacing: 1.2px;
  margin-top: -30px;
  margin-left: 70px;
  margin-bottom: 0;
}

.h2 .down {
  width: 50px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.down {
  animation: blinkFade 0.75s alternate infinite;
  display: block;
}

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

.h5 {
  font-family: Freight, serif;
}

h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 40px;
  text-align: left;
  padding: 30px 90px 20px 62px;
  border-top: 1px solid #000;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1;
  letter-spacing: 1px;
}

/* PROJECT PAGE */
.projectpage p {
  font-family: 'Manrope', sans-serif;
  line-height: 1.7;
  font-size: 35px;
  letter-spacing: 1.1px;
  margin-top: 0;
  margin-left: 70px;
  margin-bottom: 0;
  width: 90%;
}

.projectpage a {
  text-decoration: underline;
  color: #000;
}

.projectpage a:hover {
  color: #8a8a8a;
}

/* VIDEO */
video {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.video [class*='video2'] {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.video [class*='video3'] {
  float: right;
  padding-top: 0;
  padding-bottom: 30px;
  width: 100%;
}

.lazy-video {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lazy-video.loaded {
  opacity: 1;
}

/* SLIDESHOW */
.mySlides {
  display: none;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.prev,
.next {
  cursor: pointer;
  background-color: #dbf5e6;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: #8fb587;
  color: white;
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.dot {
  cursor: pointer;
  height: 6px;
  width: 6px;
  margin: 0 2px;
  background-color: #8fb587;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #0a170f;
}

.fade {
  animation-name: slideshowFade;
  animation-duration: 1.5s;
}

@keyframes slideshowFade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* SMALL SLIDESHOW TEXT */
@media only screen and (max-width: 300px) {
  .prev,
  .next,
  .text {
    font-size: 11px;
  }
}

/* MISC */
.top a {
  font-family: Freight, serif;
  font-size: 25px;
  text-decoration: none;
  color: #000;
  float: right;
  padding-right: 30px;
  font-weight: 600;
  margin-bottom: 15px;
}

@keyframes scroll-down {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.scroll2 {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  margin-top: 0;
  padding-left: 72px;
  height: 30px;
  letter-spacing: 2px;
}

/* ROTATING SVG */
.wrapper {
  position: fixed;
  top: 10%;
  right: 0;
}

svg {
  animation: rotate 15s linear infinite;
  width: 220px;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.circle-text {
  font: 100px/100px times;
  font-family: Manrope, sans-serif;
  font-weight: 500;
  letter-spacing: 8px;
  width: 100%;
  fill: var(--primary);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

/* SECTIONS */
.second {
  border-top: 1px solid #000;
  margin-top: 65px;
  padding-left: 68px;
}

.second h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 35px;
  font-weight: 100;
  width: 100%;
  text-transform: lowercase;
}

.projects {
  padding: 20px 0 20px 100px;
  border-top: 1px solid #000;
}

.projects:hover {
  background: var(--green-bg);
  background-clip: padding-box;
}

.projects p {
  text-transform: lowercase;
  font-family: 'Manrope', sans-serif;
  font-size: 30px;
  margin: 0;
}

.projects a {
  text-transform: lowercase;
  text-decoration: none;
  color: #000;
  transition: border 0.3s ease-in;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
  padding-bottom: 3px;
}

.projects a:hover {
  border-bottom: 2px solid #000;
}

.info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.info-block {
  width: 100%;
  padding: 0 80px 0 70px;
}

.info-block .wireframe1,
.info-block .wireframe2,
.info-block img.sitemap,
.info-block img.user,
.info-block .dddd {
  width: 100%;
  padding-left: 0;
  padding-top: 60px;
}

.info-block h3 {
  text-transform: lowercase;
  font-family: 'Manrope', sans-serif;
  font-size: 40px;
  font-weight: 100;
  margin-top: 100px;
}

.info-block p {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  display: block;
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.info-block p a {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  color: #000;
  font-weight: 700;
  line-height: 1.5;
}

.info-block p a:hover {
  color: #688b76;
}

.info-block img {
  width: 400px;
  padding-top: 15px;
}

.info-block img.shell {
  width: 200px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.info-block img.center {
  width: 500px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.info-block img.boop {
  width: 80%;
  padding-top: 15px;
  padding-left: 30px;
}

.info-block .dd {
  height: 500px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.info-block .ddd {
  width: 400px;
  padding-left: 60px;
  padding-top: 60px;
}

.info-block .gif {
  width: 450px;
  padding-left: 80px;
  padding-top: 20px;
}

.scene img {
  margin-top: 0;
  width: 100%;
}

.scene p {
  font-size: 16px;
  padding-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.scene a {
  color: #000;
}

.scene2 img {
  margin-top: 0;
  width: 50%;
}

.center-img {
  display: block;
  margin: 0 auto;
}

.viewall {
  font-family: Arial, sans-serif;
  padding: 20px 0 20px 100px;
  border-top: 1px solid #000;
}

.viewall:hover {
  background: var(--green-bg);
  background-clip: padding-box;
}

.viewall p {
  text-transform: lowercase;
  font-weight: 500;
  font-family: Arial, sans-serif;
  font-size: 30px;
  margin: 0;
}

.viewall a {
  text-transform: lowercase;
  text-decoration: none;
  color: #000;
  transition: border 0.3s ease-in;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
  padding-bottom: 3px;
}

.viewall a:hover {
  border-bottom: 2px solid #000;
}

.scroll {
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  background-color: var(--green-bg);
  border-top: 1px solid #000;
}

.scroll div {
  position: absolute;
  overflow: hidden;
  white-space: nowrap;
  animation: scroll 250s linear infinite;
}

.scroll h4 {
  margin-bottom: 0;
  font-size: 35px;
  font-family: Arial, sans-serif;
  font-weight: 100;
}

.scroll span {
  float: left;
  width: 100%;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2000vw);
  }
}

.contact {
  background-color: var(--green-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px 30px 40px;
}

.contact-1,
.contact-2 {
  width: 50%;
}

.contact-1 {
  text-align: left;
}

.contact-2 {
  text-align: right;
}

.contact p {
  font-size: 25px;
  margin: 0;
}

.contact-2 a {
  font-size: 25px;
  text-decoration: none;
  color: #000;
  transition: border 0.3s ease-in;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
  padding-bottom: 3px;
}

.contact-2 a:hover {
  border-bottom: 2px solid #000;
}

footer {
  background-color: var(--green-bg);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 25px 20px 40px;
}

footer p {
  text-transform: lowercase;
  font-size: 20px;
}


.clickable-img {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.clickable-img:hover {
  opacity: 0.92;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  justify-content: center;
  align-items: center;
  padding: 40px;
  overflow: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
  transition: transform 0.25s ease;
  cursor: zoom-in;
  transform-origin: center center;
}

.lightbox-content.zoomed {
  transform: scale(2.5);
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 28px;
  color: white;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

/* TABLET */
@media only screen and (max-width: 1024px) {
  header h1 img {
    width: 170px;
    padding-left: 20px;
  }

  nav a,
  .dropdown .dropbtn,
  .site-nav a,
  .site-nav .dropbtn {
    font-size: 24px;
  }

  h2,
  .infopage h2 {
    font-size: 72px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .projectpage p,
  .info-block p {
    font-size: 28px;
  }

  .info {
    flex-direction: column;
  }

  .info-block {
    padding: 0 40px;
  }

  video {
    width: 80%;
  }

  .scene2 img {
    width: 80%;
  }
}



/* MOBILE */
@media only screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }
header {
    height: 72px;
    min-height: 72px;
    padding: 10px 16px;
    flex-wrap: nowrap;
    background-color: #f1ffe3;
  }

  header h1 {
    margin: 0;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }

  header h1 img {
    width: 120px;
    padding-left: 0;
    margin-top: 0;
    display: block;
    float: none;
  }

  .site-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    margin: 0;
  }

  .site-nav a,
  .site-nav .dropbtn {
    font-size: 20px;
    margin: 0;
    padding: 0 0 3px 0;
    float: none;
    white-space: nowrap;
  }

  .site-nav > .dropdown {
    position: relative;
    float: none;
    overflow: visible;
  }

  .site-nav .nav-portfolio {
    order: 1;
  }

  .site-nav .nav-info {
    order: 2;
  }

  .site-nav > .dropdown .dropdown-content {
    min-width: 190px;
    top: calc(100% + 22px);
    right: 0;
    left: auto;
  }

  .site-nav > .dropdown .dropdown-content a {
    font-size: 16px;
    padding: 8px 14px;
  }

  .wrapper {
    display: none;
  }

  #fixedbutton {
    right: 16px;
    bottom: 16px;
    width: 42px;
  }

h2 {
  max-width: 100%;
  font-size: 52px;
  line-height: 1.1;
  padding: 90px 20px 20px 20px;
  letter-spacing: 0;
}

  .infopage h2 {
    max-width: 100%;
    font-size: 52px;
    padding: 30px 20px 30px 20px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  h6 {
    font-size: 28px;
    padding: 30px 20px 20px 20px;
  }

  .h2 p {
    margin-top: 10px;
    font-size: 19px;
    margin-left: 20px;
    margin-right: 20px;
    letter-spacing: 0.5px;
  }

  .back {
    font-size: 18px;
    padding-top: 20px;
    padding-left: 16px;
    padding-bottom: 24px;
  }

  .projectpage h2 {
    font-size: 48px;
    padding: 30px 20px 20px 20px;
  }

  .projectpage p {
    font-size: 20px;
    line-height: 1.7;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 30px;
    width: auto;
  }

  video,
  .video [class*='video2'],
  .video [class*='video3'] {
    width: 100%;
    float: none;
    margin-top: 0;
    margin-bottom: 20px;
  }

.scroll2 {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 24px;
  padding-left: 20px;
  padding-right: 20px;
  height: 48px;
  line-height: 48px;
  letter-spacing: 2px;
  overflow: hidden;
  display: block;
  white-space: nowrap;
}

  .second {
    padding: 20px 0;
    margin-top: 25px;
  }

  .second h3 {
    font-size: 32px;
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .projects {
    padding: 24px 20px;
  }

  .projects p {
    font-size: 24px;
  }

  .scene p {
    font-size: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .scene img {
    border: 1px #000 solid;
  }

  .info {
    display: block;
    margin: 22px 0 25px 0;
  }

  .info h3,
  .info-block h3 {
    font-size: 30px;
    width: 100%;
    font-weight: 400;
    padding-top: 20px;
    margin-top: 20px;
  }

  .info-block {
    width: 100%;
    padding: 0 20px 20px 20px;
    border-top: none;
  }

  .info-block p {
    font-size: 20px;
    font-weight: 100;
    line-height: 1.6;
    width: 100%;
  }

  .info-block p a {
    font-size: 20px;
  }

  .info-block img,
  .info-block img.center,
  .info-block img.boop,
  .info-block .ddd,
  .info-block .gif,
  .info-block .wireframe1,
  .info-block .wireframe2,
  .info-block img.sitemap,
  .info-block img.user,
  .info-block .dddd {
    width: 100%;
    height: auto;
    padding-left: 0;
  }

  .info-block img.shell {
    width: 160px;
  }

  .info-block .dd {
    width: 100%;
    height: auto;
    padding-left: 0;
    padding-top: 15px;
  }

  .scene2 img {
    width: 100%;
  }

  .prev,
  .next {
    font-size: 28px;
    padding: 12px;
  }

  .viewall {
    padding: 24px 20px;
  }

  .viewall p {
    font-size: 24px;
  }

  .scroll {
    height: 70px;
    padding-bottom: 0;
  }

  .scroll h4 {
    font-size: 22px;
  }

  .contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 20px 20px 28px 20px;
  }

  .contact-1,
  .contact-2 {
    width: 100%;
    text-align: center;
  }

  .contact p {
    font-size: 18px;
  }

  .contact-1 p {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 2px;
  }

  .contact-2 a {
    font-size: 16px;
    opacity: 0.7;
  }

  .top a {
    display: none;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }

  footer p {
    font-size: 16px;
    margin: 0;
  }
}

@media only screen and (max-width: 768px) {

  /* disable lightbox overlay */
  .lightbox {
    display: none !important;
  }

  /* make images behave normally */
  .clickable-img {
    pointer-events: none;
    cursor: default;
  }

}

/* EXTRA SMALL */
@media only screen and (max-width: 480px) {
  h2 {
    font-size: 40px;
  }

  .infopage h2 {
    font-size: 42px;
  }

  .projectpage h2 {
    font-size: 40px;
  }

  .projects p,
  .viewall p,
  .second h3 {
    font-size: 26px;
  }

  .info-block p,
  .projectpage p {
    font-size: 18px;
  }

  nav a,
  .dropdown .dropbtn,
  .site-nav a,
  .site-nav .dropbtn {
    font-size: 16px;
  }

  .scroll h4 {
    font-size: 18px;
  }
}

