body {
  margin: 0;
  padding: 0;
  background-color: #ffefd3;

  /* background-attachment: fixed; /* Keeps the background image fixed in the viewport */

  font-family: Verdana, Tahoma, sans-serif;
  text-align: left;
  font-size: 15px;

  font-weight: 400;
  color: #282828;
}

.wrapper {
  margin: 0 auto;
  max-width: 1000px;
}

.hidden {
  display: none;
}

a {
  color: #282828;
}

button {
  padding: 0;
  font-family: 'caveat', Verdana, Tahoma, sans-serif;
  font-size: 22px;
  border: none;
  background: none;
}

button a {
  display: block;
  color: #ffefd3;
  text-decoration: none;
  padding: 9px 16px 11px 16px;
  background: #764426;
  border: none;
  border-radius: 10px;
  transition: all 150ms;
}

button a:hover {
  background: #592f16;

  border: none;
  transition: all 150ms;
}

p {
  line-height: 24px;
  margin: 24px 0;
}

h1,
h2,
h3 {
  font-family: 'caveat', Verdana, Tahoma, sans-serif;
  font-weight: 400;
}

h1 {
  padding-top: 0;
  font-size: 40px;
  margin: 0 0 25px 0;
}

h2 {
  text-align: center;
  font-size: 36px;
  margin: 0 0 10px 0;
}

h3 {
  font-size: 29px;
  margin: 0;
}

nav {
  height: 65px;
  display: flex;
  align-items: center;

  font-family: 'Caveat', Verdana, Tahoma, sans-serif;
  font-size: 28px;
}

section {
  margin: 20px 0 30px 0;
  display: flex;
  gap: 40px;
}

.grab-me {
  cursor: grab;
  padding-top: 3px;
  transition: all 150ms;
}

.grab-me:hover {
  padding-top: 0;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.2));
}

.put-back:hover {
  opacity: 0.85;
  transition: all 150ms;
}

.website-title {
  flex-grow: 1;
}

.menu {
  display: flex;
  gap: 40px;
  justify-content: right;
  flex-grow: 2;
}

.menu a {
  position: relative;
  text-decoration: none;
  padding-right: 5px;
}

.menu a:hover {
  color: #6b5122;
}

.active::before {
  content: url(../images/bg-menu-link.webp);
  position: absolute;
  z-index: -1;
  left: -23px;
}

.width-200 {
  min-width: 200px;
  max-width: 200px;
}

.width-240 {
  min-width: 240px;
  max-width: 240px;
}

.width-260 {
  min-width: 260px;
  max-width: 260px;
}

.width-300 {
  min-width: 300px;
  max-width: 300px;
}

.full-width {
  width: 100%;
}

.align-center {
  align-items: center;
}

img {
  width: 100%;
  height: auto;
}

/* About */

.about {
  display: flex;
  gap: 30px;
}

/* Activities in About*/

.activities {
  padding: 15px 0;
  margin-bottom: 10px;
  background-image: url(../images/bg-square.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.activity {
  padding: 0 20px;
  display: flex;
  gap: 10px;
}

.activity img {
  width: 30px;
  height: 30px;
}

.game-title {
  font-family: 'Cinzel', 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
}

/* Pastry */

.pastry {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pastry p {
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

@keyframes wiggle {
  0% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(-5deg);
  }
}

.pastry-title::after {
  content: '';
  position: absolute;
  background-image: url(../pastry/belgian-waffle-s.webp);
  background-size: 100% 100%;
  height: 36px;
  width: 56px;
  animation: wiggle ease-in 1s infinite;
}

.pastry-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0 9px;
}

/* Featured art */

.featured {
  flex-grow: 1;
  text-align: center;
  height: 460px;
}

.featured-header {
  display: flex;
}

.featured-header h2 {
  text-align: left;
  flex-grow: 1;
}

.featured-art {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
}

.featured-navigation {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.featured-navigation img {
  width: 26px;
  height: 26px;
}

.next-image,
.prev-image {
  display: block;
  height: 26px;
  width: 26px;
  padding: 0;
  margin: 0;
  border: 0;
  background: 0;
}

.next-image:hover,
.prev-image:hover {
  opacity: 0.8;
}

.slide-number {
  font-family: 'caveat', Verdana, Tahoma, sans-serif;
  font-size: 22px;
  color: #764426;
}

/* TBR pile */

.tbr-pile {
  position: relative;
  padding: 20px 20px 25px 20px;
  background-image: url(../images/bg-square.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  max-height: 460px;
}

.tbr-pile h2 {
  margin-bottom: 10px;
}

.book-list {
  padding: 15px 5px 10px 5px;
  overflow-y: scroll;
  max-height: 370px;
}

.book-list::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 6px;
  top: 74px;
  left: 20px;

  background-image: url(../icons/line-2.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.book-list::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 6px;
  bottom: 23px;
  left: 20px;

  background-image: url(../icons/line-2.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.book {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}

.book-image {
  height: 70px;
  width: 50px;
  text-align: center;
}

.book-image img {
  height: 100%;
  width: auto;
}

.book-title {
  font-family: 'caveat', Verdana, Tahoma, sans-serif;
  font-size: 24px;
}

.book-author {
  margin-bottom: 15px;
}

/* Don't touch books */

.dont-touch-books {
  position: fixed;
  bottom: -300px;
  right: 30px;
  width: 228px;
  height: auto;
}

.books-hidden {
  display: none;
  min-height: 370px;

  align-items: bottom;
  text-align: center;
}

/* News */

.news {
  padding: 15px 0 15px 15px;
  background: #fae2b8;
  max-height: 310px;
  overflow-y: scroll;
}

.news-container {
  padding: 2px;
  background-image: url(../icons/line-long.svg), url(../icons/line-vertical.svg),
    url(../icons/line-long.svg), url(../icons/line-vertical.svg);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 100% 4px, 4px 100%, 100% 4px, 4px 100%;
  background-position: top left, top right, bottom left, top left;
}

.news h2 {
  margin-bottom: 25px;
  text-align: left;
}

.news-list {
  padding-bottom: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.single-news {
  padding-right: 20px;
  display: flex;
  gap: 20px;
}

.single-news p {
  margin: 0;
}

.date {
  padding: 0;
  margin: 0;
  min-width: 68px;
  height: 71px;
  font-size: 14px;
  text-align: center;
  background-image: url(../images/bg-square-date.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.date-number {
  font-family: 'caveat', Verdana, Tahoma, sans-serif;
  font-size: 44px;
  line-height: 44px;
}

/* Comic in progress */

.comic-progress {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-height: 340px;
}

.comic-progress h2 {
  width: 100%;
}

.comic-progress p {
  display: block;
  width: 100%;
  text-align: center;
  color: #cc7d58;
}

/* Footer */

footer {
  width: 640px;
  margin: 0 auto;
  font-family: 'caveat', Verdana, Tahoma, sans-serif;
  font-size: 26px;
  margin-bottom: 40px;
  text-align: center;
}

.footer-title {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-size: 32px;
}

.footer-title img {
  width: 30px;
  height: 30px;
  transform: scaleX(-1);
}
