@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');


.dynamic-island {
  margin: 25px auto;
  font-family: "Inter", sans-serif;
  font-size: 18px;
}

.dynamic-island .pill {
  margin: 25px auto;
  overflow: hidden;
  background: #0f1214;
  width: 80px;
  height: 20px;
  border-radius: 60px;
  border: 2px solid #FF1818;
  transition: all 1.5s cubic-bezier(0.32, 0.7, 0.22, 1.2); 

}

.dynamic-island.active .pill {
  border: 3px solid #FF1818;
  width: 400px;
  min-height: 60px;
  height: fit-content;
  transition: all 1.5s cubic-bezier(0.32, 0.7, 0.22, 1.2); 

}

.dynamic-island .container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  color: #fff;
  opacity: 0;
  filter: blur(10px);
  width: 390px;
  pointer-events: none;
  transform: translate(-50%, 0%) scale(0.2);
  transition: all 700ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}

.dynamic-island .container.active {
  opacity: 1;
  filter: blur(0);
  transform: translate(0%, 0%) scale(1);
}

.dynamic-island .pill-content {
  display: flex;
  align-items: center;
  padding: 10px;
  width: 100%;
  overflow: hidden;
}

.dynamic-island .pin-container {
  display: flex;
  height: 100%;

}

.dynamic-island .pin-container {
  height: 1.5em;
  margin: auto;
  margin-left: 0;
  filter: invert(27%) sepia(72%) saturate(6803%) hue-rotate(351deg) brightness(102%) contrast(107%);
}

.dynamic-island .username {
  font-size: 1em;
  font-weight: 700;
}

.dynamic-island .username::after {
  content: "";
}

.message-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 290px;
  margin-left: 15px;
}

#pinner {
  display: flex;
  flex-direction: row;
}

#pinner-badges {
  display: flex;
  flex-direction: row;
  gap: 3px;
  margin: auto 0;
}

.message {
  word-wrap: break-word;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.25em;
}

.message img {
  max-height: 1.5em;
  min-width: 1em;
  margin: 0 .1em -.40em .1em;
}

.spacer {
margin-left: auto;
}

.spacer {
  height: 1em;
  margin: auto 0;
  margin-left: 15px;
  filter: invert(27%) sepia(72%) saturate(6803%) hue-rotate(351deg) brightness(102%) contrast(107%);
}

.dynamic-island .badges {
  height: 1.1em;
}

.dynamic-island .badges:last-of-type {
  margin-right: 5px;
}

.dynamic-island .icons {
  display: flex;
  gap: 10px;
  transform: rotateY(-90deg);
  filter: blur(10px);
  transition: all 1000ms cubic-bezier(0.32, 0.7, 0.22, 1.2);
}

.dynamic-island.active .icons {
  transform: rotateY(0deg);
  filter: blur(0);
}

.wiggle {
  animation-name: wiggle;
  animation-duration: 1000ms;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

@keyframes wiggle {
  0% { transform: rotate(10deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(20deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.pin-icon {
  width: 1.5em;
  height: 1.5em;
  background-image: url('../assets/pin.png');
  background-size: cover;
  background-position: left center;
}

.spacer {
  width: 1em;
  height: 1em;
  background-image: url('../assets/kickLogoOutline.png');
  background-size: cover;
  background-position: right center;
}