uix-welcome {
  display: block;
  height: auto;
  padding-top: var(--top-padding);
  margin-top: 4vw;
}

uix-welcome main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

uix-welcome h1 {
  font-size: 6em;
  margin: 0;
  color: var(--accent-2);
  font-weight: 900;
}

uix-welcome h3 {
  margin: 0;
  text-align: center;
}

uix-welcome .logo-light, uix-welcome .logo-dark {
  max-width: 450px;
  user-select: none;
}

uix-welcome .logo-light {
  width: calc(100% * var(--img-size));
  margin: 0 calc(20px * var(--img-size));
}

uix-welcome .logo-dark {
  width: calc(100% * calc(1 - var(--img-size)));
  margin: 0 calc(20px * calc(1 - var(--img-size)));
}

uix-welcome .pill-container {
  display: flex;
  flex-direction: row;
  margin: 35px;
  gap: 16px;
}

uix-welcome .pill {
  --text-color: black;
  border-radius: 50px;
  color: black;
  padding: 6px 15px;
  font-size: 1.4em;
  font-weight: 500;
  text-align: center;
}

uix-welcome .pill.blue {
  --text-color: var(--text-blue-bg);
  background-color: var(--accent-2);
  color: var(--accent-2);
  animation: blendText 0.3s forwards;
  animation-delay: 0.9s;
}

uix-welcome .pill.blue2 {
  background-color: var(--text);
  animation: widthAnimation 2s ease-in-out 1 forwards;
}

uix-welcome .pill.green {
  background-color: var(--accent-2);
  --text-color: var(--text-blue-bg);
  color: var(--text-color);
}

uix-welcome .pill.green2 {
  background-color: var(--red);
}

uix-welcome .pill.green {
  color: var(--accent-2);
  animation: blendText 0.3s forwards;
  animation-delay: 0.7s;
  view-transition-name: search;
}

uix-welcome .pill.green2 {
  animation: widthAnimation2 1s ease-in-out 1 forwards;
}

uix-welcome .bottom {
  font-size: 3.5em;
  color: var(--text-light);
  opacity: 0;
  animation: fadeIn 0.5s ease-in 1 forwards;
  animation-delay: 1.3s;
  margin-top: 20px;
}

@media screen and (max-width: 1200px) {
uix-welcome   .bottom {
    transform: translateY(20px);
  }
}
uix-welcome .bottom i {
  cursor: pointer;
}

uix-welcome .bottom i:hover {
  color: var(--text-highlight);
}

uix-welcome .subtitle-container {
  text-align: center;
  margin-top: 50px;
}
uix-welcome .subtitle-container h2 {
  font-size: 2.5em;
  margin-bottom: 0.6rem;
}
uix-welcome .subtitle-container h3 {
  font-size: 1.36em;
}

@keyframes widthAnimation {
  0%, 20%, 50%, 80%, 100% {
    width: 100px;
  }
  40% {
    width: 190px;
  }
  60% {
    width: 1var --margin;
  }
}
@keyframes widthAnimation2 {
  0% {
    width: var(--margin);
  }
  50% {
    width: 150px;
  }
  100% {
    width: 50px;
  }
}
@keyframes blendText {
  to {
    color: var(--text-color);
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@media screen and (max-width: 1200px) {
uix-welcome   h1 {
    font-size: 4em;
  }

uix-welcome   .pill.blue2 {
    display: none;
  }

uix-welcome   .pill.green2 {
    display: none;
  }

uix-welcome   .pill-container {
    flex-direction: column;
  }

uix-welcome   .subtitle-container h2 {
    font-size: 1.5em;
  }
uix-welcome   .subtitle-container h3 {
    font-size: 1.2em;
  }
}
uix-welcome .popup {
  background-color: var(--bg-content);
  right: 15px;
  bottom: 15px;
  padding: 15px;
  border-radius: 10px;
  margin-top: 50px;
  display: flex;
  gap: 15px;
  align-items: center;
}
uix-welcome .popup > div {
  max-width: 40vw;
}
uix-welcome .popup a {
  overflow-wrap: break-word;
}
uix-welcome .popup > img {
  max-width: 300px;
}

@media screen and (max-width: 1200px) {
uix-welcome   .popup {
    flex-direction: column;
    width: 100%;
  }
uix-welcome   .popup > div {
    max-width: 100%;
  }
uix-welcome   .popup > img {
    width: 60%;
  }
}
