.phrases-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 45px;
}

.main-line {
  display: flex;
  align-items: center;
  font-size: 40px;
  font-weight: 600;
  color: #222;
  position: relative;
  flex-direction: column;
  width: 40vw;
  max-width: 400px;
  align-items: flex-end;
}

.main-line::before {
  content: "";
  display: inline-block;
  background-image: url("/assets/img/phrases-arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 120px;
  height: 60px;
  position: relative;
  top: 0px;
  right: -40px;
}

#dynamic-list {
  width: 60vw;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
}

.phrases-highlight {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: fade-textInUp 0.5s ease;
  background-image: linear-gradient(90deg, #2fc3c6, #ab23f5);
}

@keyframes fade-textInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#dynamic-list > div {
  transition: all 0.4s ease;
}

.fade-text {
  color: #b1b1b1;
  opacity: 0.4;
}

.dim-text {
  color: #c0c0c0;
  opacity: 0.2;
}

@media (max-width: 1100px) {
  .phrases-container {
    gap: 5vw;
  }

  .main-line,
  #dynamic-list {
    font-size: 4.3vw;
  }

  .main-line {
    max-width: 35vw;
  }

  #dynamic-list {
    max-width: 55vw;
  }

  .main-line::before {
    width: 80px;
    height: 40px;
  }
}

@media (max-width: 900px) {
  .main-line::before {
    width: 70px;
    height: 35px;
  }
}

@media (max-width: 768px) {
  .main-line::before {
    width: 60px;
    height: 30px;
    right: -30px;
  }
}

@media (max-width: 600px) {
  .main-line::before {
    width: 50px;
    height: 25px;
  }
}

@media (max-width: 500px) {
  .main-line::before {
    width: 45px;
    height: 22.5px;
    right: -20px;
  }
}

@media (max-width: 400px) {
  .main-line::before {
    width: 40px;
    height: 20px;
    right: -10px;
  }
}

@media (max-width: 300px) {
  .main-line::before {
    width: 30px;
    height: 15px;
    right: -10px;
  }
}
