@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: rgba(221, 160, 221, 1);
}
html,
body {
  scroll-behavior: smooth;
  background: #4b0082;
  cursor: url(cursor.png), auto;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

a:hover {
  cursor: url(pointer.png), pointer;
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(138, 43, 226, 1);
  padding: 20px 40px;
  position: relative;
}

#logo img {
  width: 100px;
  height: auto;
}

#nav-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Link row */
#links {
  display: flex;
  gap: 40px;
}

/* Remove underline on links */
#links a {
  text-decoration: none;
}

/* Button styles */
.box {
  font-size: 18px;
  padding: 12px 20px;
  background: rgb(147, 122, 219);
  border-radius: 10px;
  color: pink;
  box-shadow: 0 8px 8px -4px rgb(70, 1, 91);
  transition: 0.3s ease;
}

.box:hover {
  box-shadow: 0 16px 16px -4px rgb(70, 1, 91);
}

.artwork-button {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px; /* spacing between buttons */
  margin-top: 80px;
  padding: 0 1em;
}
.artwork-button a {
  display: inline-block;
  padding: 14px 28px;
  background-color: #8a2be2;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  align-items: center;
}

.gif-box {
  background-color: #a259ff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  margin: 180px auto 2px auto; /* top margin increased to 60px */
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.gif-box h2 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
  font-family: "Jost", sans-serif;
  font-weight: bold;
}

#gif-gallery {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 2em 0;
  min-height: 80vh; /* changed from height: 100vh */
}

#gif-gallery > div {
  width: 100%;
}

#gif-gallery > div > a {
  width: 100%;
}

#gif-gallery > div > a > img {
  width: 100%;
  border-radius: 20px;
}

.photo-box {
  background-color: #a259ff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  margin: 180px auto 2px auto; /* top margin increased to 60px */
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.photo-box h2 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
  font-family: "Jost", sans-serif;
  font-weight: bold;
}

#photo-gallery {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 2em 0;
  min-height: 80vh; /* changed from height: 100vh */
}

#photo-gallery > div {
  width: 100%;
}

#photo-gallery > div > a {
  width: 100%;
}

#photo-gallery > div > a > img {
  width: 100%;
  border-radius: 20px;
}

.book-box {
  background-color: #a259ff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  margin: 180px auto 2px auto; /* top margin increased to 60px */
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.book-box h2 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
  font-family: "Jost", sans-serif;
  font-weight: bold;
}

#book-gallery {
  display: flex;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  gap: 20px;
  justify-content: center; /* center horizontally */
  align-items: center;
  padding: 2em 0;
  min-height: 80vh;
}

#book-gallery > div {
  flex: 0 1 400px; /* ← bump this value up for bigger covers */
  display: flex;
  justify-content: center;
}

#book-gallery > div > a {
  width: 100%;
}

#book-gallery > div > a > img {
  width: 100%;
  border-radius: 20px;
  max-width: 100%;
}

.glitch-box {
  background-color: #a259ff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  margin: 180px auto 2px auto; /* top margin increased to 60px */
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.glitch-box h2 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
  font-family: "Jost", sans-serif;
  font-weight: bold;
}

#glitch-gallery {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 2em 0;
  min-height: 80vh; /* changed from height: 100vh */
}

#glitch-gallery > div {
  width: 100%;
}

#glitch-gallery > div > a {
  width: 100%;
}

#glitch-gallery > div > a > img {
  width: 100%;
  border-radius: 20px;
}

.analog-box {
  background-color: #a259ff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  margin: 180px auto 2px auto; /* top margin increased to 60px */
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

#analog-gallery {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 2em 0;
  min-height: 80vh; /* changed from height: 100vh */
}

#analog-gallery > div {
  width: 100%;
}

#analog-gallery > div > a {
  width: 100%;
}

#analog-gallery > div > a > img {
  width: 100%;
  border-radius: 20px;
}

.abstract-box {
  background-color: #a259ff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  margin: 180px auto 2px auto; /* top margin increased to 60px */
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

#abstract-gallery {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 2em 0;
  min-height: 80vh; /* changed from height: 100vh */
}

#abstract-gallery > div {
  width: 80%;
}

#abstract-gallery > div > a {
  width: 80%;
}

#abstract-gallery > div > a > img {
  width: 80%;
  border-radius: 20px;
}
@media screen and (max-width: 640px) {
  .gif-box h2 {
    font-size: 1.2rem;
  }
  .photo-box h2 {
    font-size: 1.2rem;
  }
  .book-box h2 {
    font-size: 1.2rem;
  }
  .glitch-box h2 {
    font-size: 1.2rem;
  }
  .analog-box h2 {
    font-size: 1.2rem;
  }
  .abstract-box h2 {
    font-size: 1.2rem;
  }

  #gif-gallery,
  #photo-gallery,
  #book-gallery,
  #glitch-gallery,
  #analog-gallery,
  #abstract-gallery {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 1em;
  }

  #gif-gallery > div,
  #photo-gallery > div,
  #book-gallery > div,
  #glicth-gallery > div,
  #analog-gallery > div,
  #abstract-gallery > div {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 20px auto;
  }

  #gif-gallery > div > a,
  #photo-gallery > div > a,
  #book-gallery > div > a,
  #glitch-gallery > div > a,
  #analog-gallery > div > a,
  #abstract-gallery > div > a {
    width: 100%;
    display: block;
  }

  #gif-gallery > div > a > img,
  #photo-gallery > div > a > img,
  #book-gallery > div > a > img #glitch-gallery > div > a > img,
  #analog-gallery > div > a > img,
  #abstract-gallery > div > a > img {
    width: 100%;
    height: auto;
    display: block;
  }
}

#links {
  gap: 14px;
  padding: 0 1em;
}

@media screen and (max-width: 640px) {
  #header {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  #nav-container {
    position: static;
    transform: none;
    margin-top: 10px;
  }

  #logo {
    padding: 0;
    margin-bottom: 0.5em;
  }

  #logo img {
    width: 100px; /* Resize logo for smaller screen */
  }

  #links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .box {
    width: auto;
    padding: 10px 16px;
  }
}

.artwork-button a {
  font-size: 0.95rem;
  padding: 12px 20px;
}

img,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}
