body {
  margin: 0;
  background-image: url(https://furaisu.neocities.org/images/dot1.jpeg);
  font-family: courier;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  background-image: url(https://furaisu.neocities.org/images/dot3.jpeg);
  width: 900px;
  height: fit-content;
  position: relative;
  display: inline-block;
  margin: auto;
  gap: 10px;
  border: solid 10px black;
  border-radius: 15px;
}

.title-box {
  border: solid 10px black;
    background-image: url(https://furaisu.neocities.org/shrines/navy%20style/background-2.jpeg);
    position: relative;    
    background-color: rgba(255, 255, 255, 0.38);

}

.textbox {
  border: solid 10px black;
  width: 450px;
  position: relative;
    
}

p {
  position: relative;
  margin: auto;
  text-align: justify;
  background-color: white;
  max-height: 500px;
  overflow: auto;
  width: 350px;
    z-index: 1;
    padding: 8px;
}

.paint-container {
  position: absolute;
  width: 350px;
  height: 518px;
  top: 269px;
  right: 33px;
}

.paint-bg {
  width: 100%;
  height: 100%;
  border-radius: 11px;
}

.viewer-inside-paint {
  position: absolute;
  top: 179px;
  left: 82px;
  width: 260px;
  height: 235px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* permet de cliquer à travers sauf sur les flèches */
}

.viewer-inside-paint img {
  object-fit: contain;
  pointer-events: auto;
}

.viewer-inside-paint .arrow {
  width: 25px;
  cursor: pointer;
}

.arrow {
  width: 70px;
  cursor: pointer;
}

.main-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 184px;
}

#mainImage {
    height: 400px;
  object-fit: contain;
  margin-bottom: 10px;
}

.thumbnails {
    background-color: rgba(255, 255, 255, 0.83);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.thumbnail {
  width: 50px;
  height: auto;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s;
}

.thumbnail:hover {
  transform: scale(1.1);
  border-color: #ff99cc;
}

.normalimg img {
  margin-top: 58px;
    margin-left: 25px;
}
