:root {
  --final: 0%;
  --delay: 0s;
}

html {
  margin: 0;
}

body {
  background-color: black;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.tweetBox {
  position: relative;
  border-radius: 20px;
  display: flex;
  border: white 1px solid;
  padding: 5px 25px;
  margin: 50px;
}

#tweet {
  margin-top: -25px;
  font-weight: 200;
  color: #e7e9ea;
}
#tweet img {
  border-radius: 10px;
}

#name {
  display: flex;
  align-items: center;
  gap: 5px;
}
#displayName {
  color: #e7e9ea;
  font-weight: 700;
}
#userName {
  font-weight: 400;
  color: #71767b;
}
#badge {
  height: 15px;
}
#profilePicture {
  margin-top: 15px;
  margin-left: -5px;
  padding-right: 10px;
  width: 35px;
  height: 35px;
  aspect-ratio: 1 / 1;
}
#Analysis {
  width: clamp(200px, 75%, 600px);
  text-align: center;
  margin: 0 50px;
  padding: 25px;
  flex-direction: column;
}
.rating {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}
h3 {
  font-weight: 200;
}
.blue-text,
a {
  color: #1d9bf0;
}
.bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -10px 0 10px 0;
  width: 90%;
  height: 10px;
  border-radius: 20px;
  padding: 3px;
}
#toxicity {
  background-color: #d32f2f;
}
#severeToxicity {
  background-color: #b71c1c;
}
#obscenity {
  background-color: #6a1b9a;
}
#threat {
  background-color: #ff5722;
}
#insult {
  background-color: #1976d2;
}
#identityAttack {
  background-color: #388e3c;
}

.mark {
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  mix-blend-mode: multiply;
  background-color: rgb(175, 175, 175);
}
.value {
  position: absolute;
  height: 90%;
  left: 0;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  background-color: rgb(255, 255, 255);
}

#subtitle {
  margin-top: -10px;
  font-weight: 400;
  color: #71767b;
}

.--adjust {
  animation: adjust 1s ease-in-out forwards var(--delay);
}

.hidden {
  display: none
}

@keyframes adjust {
  from {
    left: 0;
  } to {
    left: var(--final);
  }
}