

/* Exercise Wrapper */
.exercise-wrapper {
  width: 68rem;
  margin: 0 auto;
  position: relative;
  padding-top: 2rem;
}

/* Main Container */
.exercise-container {
  width: 68rem;
  display: flex;
  flex-direction: column;
  position: relative;
  height: auto;
  min-height: auto;
  padding: 1rem;
  overflow-y: visible;
}

/* Global Hint Container */
.global-hint-container {
  position: absolute;
  top: 0rem;
  left: 0rem;
  z-index: 100;
  display: flex;
  align-items: center;
}

.hint-button {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hint-icon {
  width: 2.5rem;
  height: 2.5rem;
  transition: transform 0.2s ease;
}

.hint-button:hover .hint-icon {
  transform: scale(1.1);
}

.hint-text {
  display: none;
  position: absolute;
  left: 0;
  top: 2.75rem;
  background-color: #fff;
  border: 0.0625rem solid #ddd;
  border-radius: 0.5rem;
  padding: 1rem;
  z-index: 10;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  color: #333;
  min-width: 20rem;
  line-height: 1.5;
}

.hint-text p {
  margin: 0.5rem 0;
}

.global-hint-container.active .hint-text {
  display: block;
}

/* Images Grid */
.images-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  width: 100%;
  margin-top: 2rem;
  
}

/* Image Item */
.image-item {
  aspect-ratio: 1/1;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.image-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.2);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide elements */
.hidden {
  display: none;
}

footer {
  display: none;
}

/* Use scalable units instead of responsive breakpoints */
/*
.images-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
  */