* {
  box-sizing: border-box;
}
body {
  font-size: 14px;
  margin: 0;
  padding: 0;
}
.main-container {
  width: 100%;
  height: auto;
  background: rgba(255,255,255,1);
  opacity: 1;
  position: relative;
  overflow: hidden;
}
.book-excerpt-section {
  width: 100%;
  height: auto;
  background: rgba(250,250,250,1);
  opacity: 1;
  position: relative;
  overflow: hidden;
  padding: 60px 170px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.themes-section {
  margin: 60px 0;
  text-align: center;
}

.excerpt-label {
  display: block;
  margin-bottom: 20px;
}
.illustration-item-bottom-1 {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(244,244,244,1);
  opacity: 1;
  position: relative;
  overflow: hidden;
}
.book-illustration-1 {
  width: 100%;
  height: 100%;
  background: url("../images/book-illustration-1.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.illustration-item-bottom-2 {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(244,244,244,1);
  opacity: 1;
  position: relative;
  overflow: hidden;
}
.book-illustration-2 {
  width: 100%;
  height: 100%;
  background: url("../images/book-illustration-2.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.book-illustration-3 {
  width: 100%;
  height: 100%;
  background: url("../images/book-illustration-3.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.hero-book-cover {
  width: 100%;
  height: 834px;
  background: url("../images/hero-book-cover.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: relative;
  overflow: hidden;
}
.themes-description {
  display: block;
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Urbanist;
  font-weight: 700;
  font-size: 25px;
  opacity: 1;
  text-align: center;
  margin-top: 10px;
}
.themes-label {
  display: block;
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Poppins;
  font-weight: Regular;
  font-size: 16px;
  opacity: 1;
  text-align: center;
}
.background-label {
  width: 124px;
  color: rgba(0,0,0,1);
  position: absolute;
  top: 3034px;
  left: 119px;
  font-family: Poppins;
  font-weight: Regular;
  font-size: 16px;
  opacity: 1;
  text-align: left;
}
.excerpt-label {
  display: block;
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Poppins;
  font-weight: Regular;
  font-size: 16px;
  opacity: 1;
  text-align: left;
}

/* Project Info section */
.project-info {
  width: 100%;
  height: auto;
  opacity: 1;
  position: relative;
  padding: 8% 10%;
  display: flex;
  gap: 10%;
  align-items: flex-start;
}
.project-heading {
  flex: 1;
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Urbanist;
  font-weight: Regular;
  font-size: 35px;
  opacity: 1;
  text-align: left;
}
.project-details {
  height: auto;
  opacity: 1;
  position: relative;
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 20px 15px;
}
.project-value {
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Poppins;
  font-weight: bold;
  font-size: 14px;
  opacity: 1;
  text-align: left;
}
.project-label {
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Poppins;
  font-weight: Regular;
  font-size: 14px;
  opacity: 1;
  text-align: left;
  grid-column: 1;
}

/* Background section*/
.background-section {
  width: 100%;
  width: 100%;
  background: rgba(244,244,244,1);
  opacity: 1;
  position: relative;
  left: 0px;
  padding: 8% 10%;
  overflow:visible;
  display: flex;
  align-items: flex-start;
}
.background-label-text {
  width: 10%;
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Poppins;
  font-weight: Regular;
  font-size: 16px;
  opacity: 1;
  text-align: left;
}
.background-content {
  width: 80%;
  padding-left: 10%;
  opacity: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.background-title {
  width: 100%;
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Urbanist;
  font-weight: 700;
  font-size: 25px;
  opacity: 1;
  text-align: left;
}
.background-description {
  width: 100%;
  color: rgba(0,0,0,1);
  position: relative;
  margin-top: 3%;
  font-family: Poppins;
  font-weight: Regular;
  font-size: 16px;
  opacity: 1;
  text-align: left;
}


/* Solution section*/
.solution-container {
  width: 100%;
  background: rgba(255,255,255,1);
  opacity: 1;
  position: relative;
  left: 0px;
  padding: 8% 10%;
  overflow:visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.solution-label {
  width: 10%;
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Poppins;
  font-weight: Regular;
  font-size: 16px;
  opacity: 1;
  text-align: left;
}
.solution-content {
  width: 80%;
  padding-left: 10%;
  opacity: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.solution-title {
  width: 100%;
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Urbanist;
  font-weight: 700;
  font-size: 25px;
  opacity: 1;
  text-align: left;
}
.solution-description {
  width: 100%;
  margin-top: 3%;
  color: rgba(0,0,0,1);
  position: relative;
  font-family: Poppins;
  font-weight: Regular;
  font-size: 16px;
  opacity: 1;
  text-align: left;
}


.book-page-item-top-1 {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(244,244,244,1);
  opacity: 1;
  position: relative;
  overflow: hidden;
}
.book-page-1 {
  width: 100%;
  height: 100%;
  background: url("../images/book-page-1.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.book-page-item-top-2 {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(244,244,244,1);
  opacity: 1;
  position: relative;
  overflow: hidden;
}
.book-page-2 {
  width: 100%;
  height: 100%;
  background: url("../images/book-page-2.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.book-page-item-top-3 {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(244,244,244,1);
  opacity: 1;
  position: relative;
  overflow: hidden;
}
.book-page-3 {
  width: 100%;
  height: 100%;
  background: url("../images/book-page-3.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.illustration-item-bottom-3 {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(244,244,244,1);
  opacity: 1;
  position: relative;
  overflow: hidden;
}
.book-illustration-4 {
  width: 100%;
  height: 100%;
  background: url("../images/book-illustration-4.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
}
.final-showcase {
  width: 479px;
  height: 180px;
  opacity: 1;
  position: absolute;
  top: 5160px;
  left: 0px;
  overflow: hidden;
}


/* Responsive Design for Linnea Simmar */

@media (max-width: 1200px) {
  .project-info {
    flex-direction: column;
  }

  .project-heading {
    width: 100%;
  }

  .project-details {
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  /* Small mobile - single column gallery */
  .book-page-item-top-1, .book-page-item-top-2, .book-page-item-top-3,
  .illustration-item-bottom-1, .illustration-item-bottom-2, .illustration-item-bottom-3 {
    width: 90% !important;
    height: auto !important;
    margin: 20px auto !important;
    display: block !important;
  }

  .book-page-1, .book-page-2, .book-page-3,
  .book-illustration-1, .book-illustration-2, .book-illustration-3, .book-illustration-4 {
    height: 0 !important;
    padding-bottom: 100% !important;
  }

  /* Further reduce font sizes */
  .project-heading {
    font-size: 35px !important;
    flex: 1;  }

  .themes-description {
    font-size: 18px !important;
  }

  /* Hero image smaller on mobile */
  .hero-book-cover {
    height: 40vh !important;
  }

  /* Stack project details vertically */
  .project-details {
    position: relative !important;
    left: 0 !important;
    top: 20px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }
}
