@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&family=Manrope:wght@400;600&family=Red+Hat+Mono:wght@400;600&display=swap");

@import url("https://use.typekit.net/ajg0udx.css");

body {
  background: #e9e2e2;
}

.section-1-bss {
  background-image: none;
  background-size: cover;
  background-position: 50% 31%;
  width: 100vw;
  padding-top: 30px;
  display: flex;
  flex: 1 1 auto;
}

.section-1-bss-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 250px;
}

.section-1-bss-content > .intro-text {
  display: none;
}

.book-description-container {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: flex-start;
  width: 100%;
  padding: 2rem;
}

.intro-text {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #6c764c;
  z-index: 1;
  margin: 0;
  color: #251b12;
  margin-bottom: 2rem;
}

.sub-text,
.sub-text p {
  font-family: "Red Hat Mono", monospace;
  font-size: 1rem;
	line-height: 1.35;
  color: #6c764c;
  margin-top: 5px;
  margin: 0;
  color: #251b12;
}

.masonry-container {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  padding: 4rem;
  pointer-events: none;
  user-select: none;
}

.masonry-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 400px;
}

.masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  border-radius: 10px;

  animation: moveUp 24s linear infinite;
}

.masonry-column-2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  border-radius: 10px;

  animation: moveDown 30s linear infinite;
  margin-left: 10px;
}

.masonry-column img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.masonry-column-2 img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.masonry-wrapperr {
  position: relative;
  overflow: hidden;
}

@keyframes moveUp {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes moveDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0%);
  }
}
.masonry-column::before,
.masonry-column-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  animation: inherit;
}

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

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

@keyframes Unhide {
  100% {
    visibility: visible;
    display: block;
  }
}

.bssfooter {
  visibility: visible;
  animation: none;
}
.bssbook {
  opacity: 1;
  height: 20px;
}
.bss-logo-1 {
  visibility: visible;
  animation: none;
}
@media (max-width: 700px) {
  .masonry-wrapperr {
    width: 100%;
    flex: 0 0 250px;
  }

  .masonry-wrapper {
    width: 100%;
  }

  .section-1-bss-content {
    flex-direction: column;
  }

  .section-1-bss-content > .intro-text {
    display: block;
  }

  .section-1-bss-content .book-description-container > .intro-text {
    display: none;
  }
}

@media (max-width: 700px) {
  .book-description-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    order: 3;
	  padding: 0 15px;
  }

  .intro-text {
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 400;
    color: #6c764c;
    z-index: 1;
    text-align: center;
    color: #251b12;
    position: relative;
  }

  .sub-text {
    font-family: "Red Hat Mono", monospace;
    font-size: 10px;
    color: #6c764c;
    width: fit-content;
    text-align: center;
    color: #251b12;
  }

  .section-1-bss {
    background-image: none;
    background-size: cover;
    background-position: 50% 31%;
    width: 100vw;
    padding-top: 30px;
    display: flex;
  }

  .masonry-container {
    flex-direction: column;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    padding-inline: 20px;
    left: 0;
    gap: 15px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .masonry-column,
  .masonry-column-2 {
    flex-direction: row;
    height: 100%;
    width: auto;
    animation: none;
  }

  .masonry-column {
    animation: moveLeft 6s linear infinite;
  }

  .masonry-column-2 {
    animation: moveRight 6s linear infinite;
  }

  .masonry-column img {
    height: 100px;
    width: 100px;
    margin-right: 10px;
    display: inline-flex;
    rotate: 360deg;
  }
  .masonry-column-2 img {
    height: 100px;
    width: 120px;
    margin-right: 10px;
    display: inline-flex;
    rotate: 360deg;
  }
}

@media (min-width: 701px) and (max-width: 1203px) {
  .book-description-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: flex-start;
  }

  .intro-text {
    font-family: "Manrope", sans-serif;
    font-size: 35px;
    font-weight: 400;
    color: #6c764c;
    z-index: 1;
    text-align: left;
    color: #251b12;
    position: relative;
  }

  .sub-text {
    font-family: "Red Hat Mono", monospace;
    font-size: 12px;
    color: #6c764c;
    width: fit-content;
    text-align: left;
    color: #251b12;
  }

  @keyframes slideBook2Right {
    from {
      transform: translate(0, 0); /* No movement initially */
    }
    to {
      transform: translate(90px, 0); /* Slide slightly to the right */
    }
  }
}

.bss-nav-menu {
  visibility: visible;
}

@media only screen and (min-width: 405px) and (max-width: 703px) {
  @keyframes showBackground {
    100% {
      background-image: url("/images/imagewix.jpg");
    }
  }
}
