:root {
  --light-grey: #EEECE9;
  --dark-grey: #555;
  --almost-black: #000105;
}

:root {
  --light-grey: #EEECE9;
  --dark-grey: #555;
  --almost-black: #000105;
}

:root {
  --light-grey: #EEECE9;
  --dark-grey: #555;
  --almost-black: #000105;
}

body {
  overflow-x: hidden;
}

section .item:not(:first-child) {
  margin-top: 1px;
}

.list-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
}

.pieces-list,
.eggs-list,
.products-list {
  align-items: flex-start;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: calc(100% - 60px);
  min-height: 100vh;
  padding-bottom: 80px;
  padding-top: 80px;
  width: auto;
}

.item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: url(../../../../assets/images/cursor-plus.png) 16 16, auto;
  height: calc(66vw - 60px);
  margin-bottom: 30px;
  position: relative;
  width: calc(100% - 60px);
}
@media screen and (min-width: 640px) {
  .item {
    width: calc(100% - 160px);
    height: calc(66vw - 160px);
  }
}

.item-name {
  list-style: none;
  font-family: "Playfair", Arial, Helvetica, sans-serif;
  font-size: 2.5em;
  font-weight: bold;
  letter-spacing: 0.5;
  transition: color 0.3s ease;
  text-align: center;
}
.item-name:hover {
  color: #C7A36E;
}
@media screen and (min-width: 800px) {
  .item-name {
    font-size: 3em;
  }
}

.gallery-title {
  align-items: center;
  bottom: 0;
  color: inherit;
  display: flex;
  font-weight: 600;
  height: 50px;
  justify-content: center;
  letter-spacing: 0.02em;
  position: fixed;
  width: 50%;
  z-index: 1000;
  cursor: pointer;
  background: white;
}
@media screen and (min-width: 640px) {
  .gallery-title {
    height: 100vh;
    width: 50px;
  }
}
.gallery-title:hover {
  cursor: pointer;
}
.gallery-title a,
.gallery-title span {
  text-decoration: none;
}
@media screen and (min-width: 640px) {
  .gallery-title a,
.gallery-title span {
    white-space: nowrap;
    -webkit-transform: translatex(0) translatey(0) rotate(-90deg);
            transform: translatex(0) translatey(0) rotate(-90deg);
    position: absolute;
  }
}
@media screen and (min-width: 640px) {
  .gallery-title {
    background: transparent;
  }
}
.gallery-title span {
  color: #C7A36E;
}
.gallery-title.is-open {
  background: #C7A36E;
  color: white;
}
.gallery-title.is-open span {
  color: white;
}
.gallery-title.is-open::after {
  border-radius: 50%;
  content: " ";
  height: 8px;
  left: 15px;
  position: absolute;
  width: 8px;
  background: white;
}
@media screen and (min-width: 640px) {
  .gallery-title.is-open::after {
    bottom: 1.5em;
    left: unset;
  }
}

/* 
.is-open-white:after {
  @include gallery-title-point;
  background-color: #fff;
  background-color: #111 !important; // DC
}

.is-open-black:after {
  @include gallery-title-point;
  background-color: #111;
}
 */
.egg-section-name,
.piece-section-name,
.products-section-name {
  border-top: 1px solid #C7A36E;
}
@media screen and (min-width: 640px) {
  .egg-section-name,
.piece-section-name,
.products-section-name {
    border-top: none;
  }
}

.egg-section-name,
.products-section-name {
  left: 0;
}
@media screen and (min-width: 640px) {
  .egg-section-name,
.products-section-name {
    border-right: 1px solid #C7A36E;
    border-top: none;
  }
}

.piece-section-name {
  border-top: 1px solid #C7A36E;
  border-left: 1px solid #C7A36E;
  right: 0;
}
@media screen and (min-width: 640px) {
  .piece-section-name {
    border-left: 1px solid #C7A36E;
    border-top: none;
    right: 0;
  }
}

.counter {
  display: none;
}
@media screen and (min-width: 640px) {
  .counter {
    position: absolute;
    top: 1.5em;
    mix-blend-mode: exclusion;
  }
}
@media screen and (min-width: 750px) {
  .counter {
    top: 24px;
  }
}

.is-active {
  display: none;
}
@media screen and (min-width: 640px) {
  .is-active {
    display: block;
  }
}

main {
  position: relative;
  height: 100vh;
}

section {
  position: absolute;
  width: 100%;
}

@-webkit-keyframes hideMeAfter {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0.33;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 0.33;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes hideMeAfter {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0.33;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 0.33;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.scroll-down-hint {
  -webkit-animation: hideMeAfter 6s forwards;
          animation: hideMeAfter 6s forwards;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  justify-content: center;
  left: 0;
  position: fixed;
  text-align: center;
  width: 100%;
}
@media screen and (min-width: 640px) {
  .scroll-down-hint {
    font-size: 16px;
    bottom: 25px;
  }
}
.scroll-down-hint span {
  display: block;
  text-align: center;
}
.scroll-down-hint .scroll-down-icon {
  border-bottom: 1px solid #111;
  border-left: 1px solid #111;
  height: 14px;
  margin: 0 auto;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  width: 14px;
}
.scroll-down-hint .scroll-down-text {
  color: #111;
}

.is-dark .scroll-down-icon {
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.overlay {
  background: #111;
  bottom: 0;
  height: 100vh;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 1s ease;
  width: 100%;
}

.pieces-list .overlay {
  opacity: 0;
}

.products-intro {
  color: #C7A36E;
  font-size: 1em;
  margin-bottom: 2em;
  margin-top: 1em;
  text-align: center;
}
.products-intro p {
  margin: 0;
}
.products-intro br {
  display: none;
}
@media screen and (min-width: 640px) {
  .products-intro {
    font-size: 1.2em;
    max-width: calc(100% - 100px);
    text-align: center;
    width: 100%;
  }
}
@media screen and (min-width: 860px) {
  .products-intro br {
    display: block;
  }
}