.homeNewsContainer {
  /* background-color: red; */


  display: flex;
  flex-wrap: wrap;

  gap: 2rem;
}

.welcome {
  flex-grow: 1;
  width: 80ch;
  margin: 0 auto;
  max-width: 80ch;
}

a {
  text-decoration: none;
}

.cardContainer {
  position: relative;
  flex-grow: 1;
  min-width: 10rem;
  width: fit-content;
  max-width: 20rem;
  max-height: 25rem;
  /* display: flex; */
}

.discover::after {
  position: absolute;
  top: -1rem;
  left: -1.5rem;
  font-size: 3rem;
  content: "⭐";
}

.mostview::after {
  position: absolute;
  top: -1rem;
  left: -1.5rem;
  font-size: 3rem;
  content: "💖";
}

.card {
  height: 100%;
  padding-top: 2rem;
  padding: .5rem;
  aspect-ratio: calc(1/1.414);
  max-width: 20rem;
  border-radius: 20px;
  background-color: var(--bg-color-1);
  margin: auto;
  /* max-height: 30rem; */
  /* height: 90%; */
  position: relative;

  /* background-color: rgba(243, 229, 30, 0.719); */
  & h4 {
    margin-bottom: 0;
  }

  & p {
    text-align: center;
  }

  & img {
    position: relative;
    bottom: 0;
    border-radius: 20px;
    max-width: 90%;
    max-height: 40%;
    margin: 0 auto;
    display: block;
  }


}

.timeline {

  /* border: 1px rgb(52, 151, 12) solid; */
  /* margin: 1rem; */
  width: 70%;
  flex-grow: 1;

  & h3 {
    margin-left: 2rem;
    text-align: left;
    margin-top: 0;
  }

  & ul {
    list-style-type: none;
    padding: 0 2rem;
    display: flex;
    gap: 1rem;
    margin: 0;
    margin-top: 1rem;
    overflow-x: scroll;

    & li {
      padding: 0;
    }
  }

  & .card {
    height: auto;
    width: 180px;
    margin-bottom: 2rem;
    background-color: var(--bg-color-2);
    border: solid 3px var(--bg-color-1);
    position: relative;
    max-height: 10rem;

    & p:nth-child(1) {
      margin-bottom: 0;
    }

    & p:nth-child(2) {
      margin-top: 0;
    }
  }

  & li:not(:last-child) .card::before {
    content: "";
    left: 55%;
    height: .5rem;
    width: 109%;
    background-color: var(--bg-color-1);
    position: absolute;
    bottom: -1.5rem;
    border-radius: 10vh;
  }

  .card::after {
    content: "";
    width: 1.5rem;
    background-color: var(--bg-color-0);
    position: absolute;
    bottom: -2rem;
    left: 45%;
    border-radius: 10vh;
    aspect-ratio: 1;

  }
}