* {
  margin: 0;
  padding: 0;
}

body {
  padding-bottom: 30px;
  /* background-image: url(../dl-img/wood1.png); */
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #09717a;
  /* background: linear-gradient(#09717a,#ffffff,#ffffff); */
}

.dl-main {
  width: 100%;
  height: auto;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.dl-nav {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
}

.dl-nav img {
  width: 7rem;
  margin-left: 5%;
}

.dl-head-text {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #09717a;
}

.dl-shelf-main {
  width: 90%;
  /* max-width: 1200px; */
  padding: 20px 30px;
  /* background-color: #EDE8D0; */
  margin-top: 30px;
  border-radius: 15px;
  /* box-shadow: rgba(0, 0, 0, 0.352) 0px 4px 12px; */
  /* box-shadow: rgba(57, 61, 64, 0.489) 3px 3px 6px 0px inset, rgba(0, 0, 0, 0.188) -3px -3px 6px 1px inset; */
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.dl-back-btn{
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: -30px;
  margin-bottom: 20px;
}

.dl-back-btn button{
  padding: 8px 16px;
  font-size: 14px;
  background-color: #ffffff;
  color: #09717a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.352) 0px 4px 12px;
}

/* Shelf row */
.dl-shelf-row {
  display: flex;
  flex-wrap: wrap;
  /* allow wrapping on smaller screens */
  gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  padding-bottom: 25px;
}

/* Books */
.dl-shelf-row img {
  width: 120px;
  height: auto;
  object-fit: cover;
  border-radius: 0px;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); */
  box-shadow: rgba(0, 0, 0, 0.745) -7px 0px 10px 0px;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin-bottom: -16px;
}

.dl-shelf-row img:hover {
  transform: translateY(-8px) scale(1.05);
}

/* Shelf line */
.dl-shelf-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: #c1b79d;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ---------------------------------------------------------------- shelf row 2 ------------------------------------------------------------ */
.dl-shelf-row-2 {
  display: none;
  flex-wrap: wrap;
  /* allow wrapping on smaller screens */
  gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  padding-bottom: 25px;
}

/* Books */
.dl-shelf-row-2 img {
  width: 120px;
  height: auto;
  object-fit: cover;
  border-radius: 0px;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); */
  box-shadow: rgba(0, 0, 0, 0.745) -7px 0px 10px 0px;
  /* transition: transform 0.3s ease; */
  cursor: pointer;
  margin-bottom: -16px;
}

/* .dl-shelf-row-2 img:hover {
  transform: translateY(-8px) scale(1.05);
} */

/* Shelf line */
.dl-shelf-row-2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: #e2d6b7;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ---------------------------------------------------------------- shelf row 3 ------------------------------------------------------------ */
.dl-shelf-row-3 {
  display: none;
  flex-wrap: wrap;
  /* allow wrapping on smaller screens */
  gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  padding-bottom: 25px;
}

/* Books */
.dl-shelf-row-3 img {
  width: 120px;
  height: auto;
  object-fit: cover;
  border-radius: 0px;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); */
  box-shadow: rgba(0, 0, 0, 0.745) -7px 0px 10px 0px;
  /* transition: transform 0.3s ease; */
  cursor: pointer;
  margin-bottom: -16px;
}

/* .dl-shelf-row-3 img:hover {
  transform: translateY(-8px) scale(1.05);
} */

/* Shelf line */
.dl-shelf-row-3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: #e2d6b7;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ---------------------------------------------------------------- shelf row 4 ------------------------------------------------------------ */
.dl-shelf-row-4 {
  display: none;
  flex-wrap: wrap;
  /* allow wrapping on smaller screens */
  gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  padding-bottom: 25px;
}

/* Books */
.dl-shelf-row-4 img {
  width: 120px;
  height: auto;
  object-fit: cover;
  border-radius: 0px;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); */
  box-shadow: rgba(0, 0, 0, 0.745) -7px 0px 10px 0px;
  /* transition: transform 0.3s ease; */
  cursor: pointer;
  margin-bottom: -16px;
}

/* .dl-shelf-row-4 img:hover {
  transform: translateY(-8px) scale(1.05);
} */

/* Shelf line */
.dl-shelf-row-4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: #e2d6b7;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ---------- RESPONSIVE ---------- */
/* Tablets */
@media (max-width: 1133px) {
  .dl-shelf-row img {
    width: 100px;
  }
}

/* Mobiles */
@media (max-width: 978px) {
  .dl-shelf-row {
    gap: 15px;
  }
}

/* ---------------------------------------------------------------- shelf row 2 ------------------------------------------------------------ */
@media (max-width:878px) {
  .dl-shelf-row-2 {
    display: flex;
  }

  .dl-shelf-row {
    display: none;
  }
}

@media (max-width:800px) {
  .dl-shelf-row-2 img {
    width: 100px;
  }

  .dl-shelf-row-2 {
    gap: 15px;
  }
}

/* ---------------------------------------------------------------- shelf row 3 ------------------------------------------------------------ */
@media (max-width: 622px) {
  .dl-shelf-row-2 {
    display: none;
  }

  .dl-shelf-row-3 {
    display: flex;
  }

  .dl-head-text {
    font-size: 12px;
  }
}

@media (max-width: 467px) {
  .dl-shelf-row-3 img {
    width: 100px;
  }

  .dl-shelf-row-3 {
    gap: 15px;
  }
}

/* ---------------------------------------------------------------- shelf row 4 ------------------------------------------------------------ */
@media (max-width: 367px) {
  .dl-shelf-row-3 {
    display: none;
  }

  .dl-shelf-row-4 {
    display: flex;
  }
}

@media (max-width: 300px) {
  .dl-shelf-row-4 img {
    width: 100px;
  }

  .dl-shelf-row-4 {
    gap: 15px;
  }
}

/* #a75519 #09717a #c4a189 */