/* zalando-sans-semiexpanded-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Zalando Sans SemiExpanded';
  font-style: normal;
  font-weight: 400;
  src: url('zalando.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* syne-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Syne Mono';
  font-style: normal;
  font-weight: 400;
  src: url('syne-mono-v16-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ballet-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ballet';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/ballet-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body{
 background-color: #C7C6C1;
}

body::before {
    content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("imgsrc/background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  mix-blend-mode: exclusion;
  opacity: 0.8;
  z-index: -1;
}

.menu_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ECEBE7;
    border: solid #030702;
    border-radius: 9px;
    position: relative;
    overflow: visible;
    height: 52px;
    min-height: 52px;
    line-height: normal;
    box-sizing: border-box;
}

.logo img{
    height: 69px;
    padding-top: 12px;
    margin-left: 5px;
}

.menu_links {
    position: relative;
}

.menu_links ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    list-style: none;
}

.menu_links li {
    font-family: 'Zalando Sans SemiExpanded';
    font-weight: 600;
    font-size: larger;
    display: flex;
    align-items: center;
}

 /* menu link a's */
.portfolio_nav {
    display: block;
    color: #030702;
    text-align: center;
    padding: 14px 24px;
    text-decoration: none;
}

.portfolio_nav:hover {
    background-color: #030702 !important;
    color: #C7C6C1 !important;
    transition-duration: 0.5s;
}

.me_nav {
    display: block;
    color: #030702;
    text-align: center;
    padding: 14px 24px;
    text-decoration: none;
}

.me_nav:hover {
    background-color: #030702 !important;
    color: #C7C6C1 !important;
    transition-duration: 0.5s;
}


.home_nav {
  background-color: #030702 !important;
  color: #C7C6C1 !important;
  display: block;
  text-align: center;
  padding: 14px 24px;
  text-decoration: none;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #030702;
  padding: 14px 12px;
  margin: 0;
  cursor: pointer;
  align-self: center;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
  }

  .menu_bar {
      position: relative;
      z-index: 100;
  }

  .menu_links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ECEBE7;
    border-left: 1px solid #030702;
    border-right: 1px solid #030702;
    border-bottom: 1px solid #030702;
    border-top: none;
    border-radius: 0 0 9px 9px;
    height: 0;
    max-height: none;
    overflow: hidden;
    transition: height 0.3s ease;
    width: 100%;
    box-sizing: content-box;
  }

    .menu_links ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .menu_links li {
    margin: 0;
    width: 100%;
  }

  .menu_links a {
    display: block;
    padding: 14px 24px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  /*hamburger menu js */
  .menu_links.active {
    height: 162px;
  }
}

.instructions {
  font-family: 'Syne Mono';
  font-style: normal;
  font-weight: 600;
  padding-left: 24px;
  margin-top: 45px;
}

.instructions ul {
  list-style: none;

}
.instructions ul li a{
    background-color: #ECEBE7;
    text-decoration: none;
    color: #030702;
    border-style: solid;
    border-radius: 4px;
    border-width: 1px;
    padding: 6px
}

@media (max-width: 768px) {
  .instructions {
    display: none;
}
}

/* draggable divs */
.page-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 2;
  padding-bottom: 75px;
}


.note {
  cursor: grab;
  user-select: none;
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.note-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 479px) {
  .note-bg {
    pointer-events: auto !important /*enable click on mobile*/
  }

  .note-content {
    display: none !important; /* hide 'more' link*/
  }
}

.note-content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  margin: 0;
  color: #030702;
  mix-blend-mode: color-burn;
  font-family: 'Syne Mono';
  font-weight: 700;
  font-size: small;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
}

.note-content img{
  display: block;
  justify-content: center;
  width: 70%;
  object-fit: contain;
}



.note-content a:link, a:visited {
  color: #030702;
}

.note.dragging {
  cursor: grabbing;
  opacity: 0.9;
}

/*adjust 'more' label*/
.note:nth-child(2) .note-content { padding-bottom: 18%; padding-left: 70%;}  /* letter02closed.png */
.note:nth-child(3) .note-content { padding-bottom: 18%; padding-right: 0; padding-left: 70%} /*main_win*/
.note:nth-child(4) .note-content { padding-bottom: 30%; padding-right: 0; padding-left: 65%} /*cyanotype*/
.note:nth-child(5) .note-content { padding-bottom: 27%; padding-right: 0; padding-left: 5%} /*infrared*/

/*draggable icons*/
.icon {
  cursor: grab;
  user-select: none;
  z-index: 10;
  width: 14%;
  will-change: transform;
  position: relative;
  object-position: center;
  object-fit: contain;
}

.icon-bg {
  width: 100%;
  height: 100%;
}

.icon.dragging {
  cursor: grabbing;
  opacity: 0.9;
}

/*moving banner drag me */
.dragme_anim {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 27px;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Zalando Sans SemiExpanded';
    font-style: normal;
    font-weight: 600;
  font-size: larger;
    background: #ECEBE7;
    z-index: 100;
    line-height: 24px;
    display: flex;
    user-select: none;
    margin-bottom: 69px;
    transform: translateY(0);  /* default = visible */
    transition: transform 0.4s ease-out;  /* slide up */
}

.dragme_anim.revealed {
  transform: translateY(-122px); /*slide up*/
}

.dragme_anim_content {
    flex-shrink: 0;
    display: flex;
    min-width: 100%;
    animation: scroll 30s linear infinite;
}

.dragme_anim_content p {
    margin: 0;
    white-space: nowrap;
}

@keyframes scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes scroll-left {
  0% {
    transform: translateX(50%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.dragme_anim2 p {
  margin: 0;
  padding: 0 20px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .dragme_anim {
    display: none;
  }
}

footer {
  font-family: 'Zalando Sans SemiExpanded';
  font-style: normal;
  font-weight: 600;
  padding: 24px 22px 72px 22px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #C7C6C1;
  box-sizing: border-box;
  min-height: 120px;
}
