.container-query {
  container-type: inline-size;
  container-name: container-query;
}


.body-container .dnd-section:nth-of-type(2) .container-query--animate {
  animation-name: w100;
  animation-duration: 10s;
  animation-iteration-count: 5;
}

@keyframes w100 {
  0% {
    width: 0;
  }

  /* Finish changes by here */
  70% {
    width: 100%;
  }

  /* Between 20% and 100%, nothing changes */
  100% {
    width: 100%;
  }
}
.container-query .container-query__content {
  background-color:#e4e4e7;
  text-align:center;
  padding:1rem;
  white-space: normal;
  word-break: normal;
}


@container container-query (min-width: 300px) {
  .container-query .container-query__content {
    background-color:#f3e8ff;
  }
}
@container container-query (min-width: 300px) {
  .container-query .container-query__content {
    background-color:#dbeafe;
  }
}
@container container-query (min-width: 600px) {
  .container-query .container-query__content {
    background-color:#dcfce7;
  }
}
@container container-query (min-width: 900px) {
  .container-query .container-query__content {
    background-color:#fef9c3;
  }
}
@container container-query (min-width: 1000px) {
  .container-query .container-query__content {
    background-color:#fee2e2;
  }
}


/* worst case scenario display tooltip guidance */
@container container-query (max-width: 80px) {
  .container-query .container-query__content .tooltip {
   display:block;
  }
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: none;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 1rem 2rem;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 900;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover {
cursor:pointer;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}


