
.main-container {
  transform: translateY(60px);
}

.input-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; 
  align-items: center;
  gap: 2rem;
  height: auto;
  padding: 20px;
  margin-bottom: 2rem;
  height: calc(25vh - 60px);
  background-color: #FFFFFF;
}

.input-section {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
}

.section-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #555;
  font-size: 14px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.section-text {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.4;
  color: #333;
}

.input-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.results-section {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 4px;
}


html {
  background-color: #EFEEE9;
}

.artworks {
  background-color: #EFEEE9;
  width: 100vw;
  height: calc(70vh - 60px);
}

/* Carousel Container */
.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center vertically in the container */
}

/* Title */
.carousel-title {
  text-align: center;
  width: 100%;
  position: absolute;
  top: 5%; /* Position relative to container height */
  left: 0;
  font-size: 14px;
}

/* Main Carousel Area */
.carousel-area {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  width: 100%;
  overflow: visible;
  margin-top: 0; /* Remove top margin */
}

/* Left Thumbnails Container */
.left-thumbnails {
  display: flex;
  align-items: center;
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 200px;
  justify-content: flex-end;
  height: 100%;
}

/* Right Thumbnails Container */
.right-thumbnails {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 200px;
  height: 100%;
}

/* Left Arrow */
.left-arrow {
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  left: calc(50% - 175px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/* Right Arrow */
.right-arrow {
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  left: calc(50% + 175px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/* Disabled Arrow */
.arrow-disabled {
  opacity: 0.3;
  cursor: default;
}

/* Center Artwork Container */
.center-artwork {
  text-align: center;
  height: 400px;
  width: 400px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 20px 20px 40px var(--theme-foreground-fainter),
  -20px -20px 40px #EFEEE9;
  cursor: pointer;
  transition: 0.3s;
}

.center-artwork:hover {
  box-shadow: 20px 20px 40px var(--theme-foreground-faint),
  -20px -20px 40px #EFEEE9;
}

/* Main Artwork Image */
.main-artwork-image {
  height: 400px;
  max-width: 100%;
  object-fit: contain;
}

/* Artwork IDs Container */
.artwork-ids {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #999;
  margin-top: 5px;
  width: 100%;
}

/* Thumbnail Containers */
.thumbnail-left {
  margin: 0 8px 0 0;
  cursor: pointer;
}

.thumbnail-right {
  margin: 0 0 0 8px;
  cursor: pointer;
}

/* Thumbnail Images */
.thumbnail-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Artwork Info Area */
.artwork-info {
  text-align: center;
  margin-top: 20px;
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  bottom: 5%; /* Position at bottom of container */
  left: 50%;
  transform: translateX(-50%);
}

/* Artwork Title */
.artwork-title {
  font-weight: bold;
  margin: 0;
  font-size: 14px;
}

/* Artwork Artist */
.artwork-artist {
  margin: 5px 0;
  font-size: 12px;
}

/* Artwork Date */
.artwork-date {
  font-style: italic;
  margin: 0;
  font-size: 12px;
}

/* Add this to your existing media query for mobile or create a new one */
@media (max-width: 768px) {

  .input-container {
    display: flex; 
    justify-content: space-around; 
    align-items: center;
    height: 240px;
    padding: 5px;
    background-color: #FFFFFF;
    gap: 20px;
    margin-bottom: 0px;
  }

  .input-controls {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .input-controls form {
    margin: 0px;
  }

  .input-section:nth-child(1) .input-controls form:nth-child(1) {
    width: 260px;
  }

  .input-section:nth-child(1) .input-controls form:nth-child(2) {
    width: 130px;
  }

  .input-section:nth-child(1) .input-controls form:nth-child(3) {
    width: 130px;
  }

  .input-section:nth-child(2) .input-controls form {
    width: 268px;
  }

  /* Center Artwork Container */
  .center-artwork {
    text-align: center;
    max-height: 220px;
    max-width: 220px;
    box-shadow:  none;
  }

  .artworks {
    background-color: #EFEEE9;
    width: 100vw;
    height: calc(100vh - 300px);
  }

  /* Main Artwork Image */
  .main-artwork-image {
    height: 200px;
    max-width: 100%;
    object-fit: contain;
  }

  .artwork-info {
    max-width: 100%;
  }
}