.animation_text {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding: 1rem;
  margin-bottom: 5px;
  border-radius: 5px;
  background: linear-gradient(180deg, #071227, #071a2b);
}

/* ------------- TITLE ------------- */
.container-title-port {
  width: min(900px, 100%);
  margin: auto;
  padding: 2rem;
  text-align: center;
  color: white;
}

.container-title-port h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.container-title-port h1 span {
  color: #ff8a00;
}

.container-title-port p {
  margin: 0 auto;
  max-width: 750px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

/* ------------- ANIMATED TEXT ------------- */
.box_text {
  padding: 2rem 1rem;
  overflow: hidden;
}

.texto_container {
  width: min(700px, 100%);
  min-height: 90px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text {
  width: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  color: white;
  font-size: clamp(1.1rem, 3vw, 2rem);
  letter-spacing: 4px;
  border-right: 3px solid #ff8a00;
  animation: typing 4s steps(42, end) forwards, cursor 0.8s infinite;
}

.text::selection {
  background-color: transparent;
}

/* ------------- ANIMATIONS ------------- */
@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes cursor {
  0%, 100% {
    border-color: transparent;
  }

  50% {
    border-color: #ff8a00;
  }
}

/* ------------- RESPONSIVE ------------- */
@media (max-width: 768px) {
  .animation_text {
    padding: 3rem 1rem;
  }

  .container-title-port {
    padding: 1rem;
  }

  .text {
    max-width: 100%;
    font-size: 1rem;
    letter-spacing: 2px;
  }
}
