/* ============================= */
/* Container for list of items   */
/* ============================= */
.container-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3px 0;
  margin: 0 auto;
  list-style: none;
  gap: 6px; /* spacing between items */
}
.modal-content {
  width: fit-content;
max-width: 75%;
margin: 5% auto;
background: #fefefe;
border-radius: 9px;
animation: slideIn 0.4s;
overflow: scroll;
}


/* ============================= */
/* Title Styling                 */
/* ============================= */
.container-title {
  color: white;
  font-weight: 600;
  letter-spacing: 2.5px;
  margin: 0 auto;
  width: fit-content;

  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);

  -webkit-text-stroke: 1px black;
  paint-order: stroke fill;
  text-align: center;
}

.container-title > div:nth-child(even) {
  text-shadow: 1.5px 0px 0px #000000;
}

.placenametitle {
  margin: 0;
  padding-left: 0.5em;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 450;
}

/* ============================= */
/* Container Items                */
/* ============================= */
.container-item {
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  flex-grow: 1;
  min-width: 8rem;
  min-height: 8rem;
  max-width: 19rem;
  padding: 15px;
  list-style: none;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;

  font-family: 'Montserrat', sans-serif !important; 

  position: relative;
  border-radius: 11px;
  /* transition: all 0.3s ease; */
  /* animation: slideIn 1.4s ease; */
}

/* Subtext / episode info */
.container-item::before {
  content: attr(data-episode);
  font-family: var(--brand-font-alt);
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  color: white;
  opacity: 0.65;

  position: absolute;
  left: 5px;
  bottom: 2px;
  z-index: 1;
}

/* Fancy hover effect */
.container-item:hover {
  background-blend-mode: normal;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px) scale(1.02);
}

/* Canvas overlay for effects */
.canvas-to-container-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  z-index: -1;
}

/* ============================= */
/* Responsive Small Screens      */
/* ============================= */
@media (max-width: 668px) { 
  .where-to-go-container {
    transform: scale(0.85);
  }

  .container-item {
    font-size: 0.8rem;
    min-width: 100px;
    min-height: 100px;
    margin: 2px;
  }

  .container-item::before {
    font-size: 10px;
    font-weight: 300;
  }
}
