@use '@inside-library/styles/mixins/partials/common-mixin' as *;

.custom-resume {
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 1.7rem 0;
  border-bottom: 0.2rem solid var(--color-grey-100);

  &__main-infos {
    flex: 1;
  }

  &__details {
    text-align: right;
  }

  img {
    max-width: 50px;
  }

  @include mobile {
    justify-content: space-between;
    padding: 1rem 0;
  }

  &:last-of-type {
    border: none;
  }

  &:hover {
    .custom-resume__title {
      color: var(--color-primary);
    }
  }

  i {
    margin-right: 1.5rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
    font-size: 30px;

    @include mobile {
      font-size: 25px;
    }
  }

  .bookmark-ui {
    position: absolute;
    right: 3rem;

    i {
      font-size: var(--font-size-h4);
    }
  }

  .avatar {
    width: 30px;
    height: 30px;
  }

  p {
    font-size: var(--font-size-h5);

    @include transition(color 0.4s);
  }

  &__title {
    color: var(--color-primary-600);
    font-weight: var(--font-weight-bold);
  }

  &__date,
  &__function {
    color: var(--color-text);
  }

  &__function {
    margin-left: 1.5rem;
  }

  &__content {
    width: 100px;
    padding-right: var(--spacing-m);
    color: var(--color-text);
    font-size: var(--font-size-labor);
    text-align: left;

    &::first-letter {
      text-transform: uppercase;
    }

    @include mobile {
      display: none;
    }
  }

  &--image {
    .custom-resume__title {
      margin: 0 1.5rem;
    }
  }
}
