.jobs {
  height: 100%;
  background-color: var(--secondary-background-color);
  align-items: flex-start;
  padding: 8rem 2rem;
  overflow: hidden;

  .base-limitator {
    .title {
      font-size: 2.2rem;
      font-weight: 600;
      line-height: 6rem;
      color: var(--dark-color);
      opacity: 0;
      transform: translateY(-50px);
      transition: opacity 1s ease, transform 1s ease;

      &.animate {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .jobs-container {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
      align-items: stretch;

      .job-card {
        background-color: var(--card-background);
        padding: 3rem;
        width: 100%;
        border-radius: 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(229, 231, 235, 0.8);
        opacity: 0;
        transform: translateY(50px);
        transition: all 1s ease;

        &:hover {
          transform: translateY(-5px);
          box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.06);
          border-color: var(--primary-color);
        }

        &.animate {
          opacity: 1;
          transform: translateY(0);
        }

        &:nth-child(2) {
          animation-delay: 0.7s;
        }

        &:nth-child(3) {
          animation-delay: 0.9s;
        }

        .job-title {
          color: var(--dark-color);
          font-size: 2.6rem;
          font-weight: 700;
          margin-bottom: 2rem;
        }

        .job-info {
          margin-bottom: 1.5rem;
          .text {
            color: var(--text-secondary);
            font-size: 1.8rem;
            font-weight: 500;

            &.link {
              color: var(--primary-color);
              text-decoration: none;
              font-weight: 600;

              &:hover {
                text-decoration: underline;
              }
            }
          }
        }

        .job-description {
          color: var(--text-secondary);
          font-size: 1.6rem;
          text-align: justify;
          line-height: 1.7;
        }
      }
    }
  }
}

@media (max-width: 1074px) {
  .jobs {
    padding: 2rem 1rem;

    .base-limitator {
      .title {
        font-size: 2rem;
        line-height: 4rem;
      }

      .jobs-container {
        .job-card {
          padding: 2rem;

          .job-title {
            font-size: 2.2rem;
            margin-bottom: 2rem;
          }

          .job-info {
            .text {
              font-size: 1.6rem;
            }
          }

          .job-description {
            font-size: 1.4rem;
          }
        }
      }
    }
  }
}
