/* MAIN CONTENT */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(90vh - 6rem);
}

.content {
  margin-left: 5%;
  z-index: 999;
  max-width: 32rem;
}

.tag-box {
  position: relative;
  width: 18rem;
  height: 2.5rem;
  border-radius: 50px;
  background: linear-gradient(
    to right,
    #656565,
    #7f42a7,
    #6600c5,
    #5300a0,
    #757575,
    #656565
  );
  background-size: 200%;
  animation: animationGradient 2.5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient {
  to {
    background-position: 200%;
  }
}

.tag-box .tag {
  position: absolute;
  inset: 3px 3px 3px 3px;
  background-color: black;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease;
}

.tag-box .tag:hover {
  color: #5300a0;
}

.content h1 {
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  margin: 2rem 0;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.description {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  max-width: 40rem;
  color: gray;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.box-icons {
  display: flex;
  gap: 1rem;
}

.box-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  width: 3rem;
  height: 3rem;
  border: 2px solid #2a2a2a;
  border-radius: 50%;
  text-decoration: none;
  color: lightgray;
}

.box-icons a:hover {
  background-color: #1a1a1a;
}

.btn-projects {
  text-decoration: none;
  background-color: lightgray;
  color: black;
  padding: 0.6rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-projects:hover {
  background-color: gray;
}

.robot-3d {
  position: absolute;
  top: 0;
  right: -20%;
}


/* TABLET RESPONSE */
@media (max-width: 1300px) {
  .content {
    margin-top: 50%;
    max-width: 40rem;
  }

  .robot-3d {
    scale: 0.8;
    top: -20%;
    right: 2%;
    z-index: -1;
  }
}

@media (max-width: 1300px) and (max-height: 699px) {
  .robot-3d {
    top: -5%;
    right: 0;
  }

  .content {
    margin-top: 25rem;
  }
}

/* MOBILE RESPONSE */
@media (max-width: 768px) {
  .robot-3d {
    scale: 0.5;
    top: -25%;
    right: 0;
  }

  .content {
    max-width: 30rem;
    margin-left: 10%;
    margin-top: 25rem;
  }

  .tag-box {
    width: 12rem;
  }

  .content h1 {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1rem;
  }

  .btn-contact {
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
  }

  .btn-projects {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}
