header {
  background-color: white;
}
header:not(.scroll-left) {
  position: sticky;
}
header div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: Martian Mono;
}
header div div img {
  height: 100px;
}

header div div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

header div div h3 {
  margin: 5px 10px;
  color: black;
  transition: all 0.3s ease;
}

header div div a {
  text-decoration: none;
  transition: all 0.3s ease;
}
.scroll-left {
  height: 50px;
  overflow: hidden;
  position: relative;
  background: var(--mainColor);
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

h1 {
  text-align: center;
  margin-block-end: 2.5rem;
}

.stock-ticker {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  background: var(--mainColor);
  color: white;
  height: 50px;
  width: 100vw !important;
}

.stock-ticker ul {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stock-ticker li {
  display: inline-block;
  padding: 0 30px;
}

.stock-ticker span {
  padding: 0 20px;
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.stock-ticker ul {
  animation: scroll-ticker 60s linear infinite;
}
.stock-ticker .company,
.stock-ticker .price {
  font-weight: bold;
}
