body {
    font-family: sans-serif;
    background-color: #375b5c;
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #e7e7e7;
    padding: 10px;
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid-nogap {
    gap: 0;
}

a:hover {
    text-decoration: none;
}

footer a[href*=javascript] {
    float: right;
    margin-right: 10px;
}

@keyframes pushin-pushout{
    entry 0%  {
      opacity: 0;
      translate: 100% 0;
    }
    entry 100%  {
      opacity: 1;
      translate: 0 0;
    }
    exit 0% {
      opacity: 1;
      translate: 0 0;
    }
    exit 100% {
      opacity: 0;
      translate: 100% 0;
    }
  }

.example-list {
    list-style: none;
    height: 100px;
    color: white;
    font-size: 2em;
    overflow-y: scroll;
    overflow-x: hidden;
}

.item {
    background: #135e17;
    padding: 0.5em;
    margin-bottom: 3px;
    animation: linear pushin-pushout;
    animation-timeline: view();
}

.view-demo {
    background: #ff8484;
    width: fit-content;
    padding: 10px;
    color: black;
    border-radius: 10px;
}