@import '../../../../globals/variables';
@import '../../../../globals/mixins';

.molecule-footer {
  background-color: $ads-tertiary-main;
  display: grid;
  grid-template-areas: 'logo-section variables-section';

  @include respond-to('small-mobile') {
    display: grid;
    grid-template-areas:
      'logo-section'
      'variables-section';
    height: 14rem;
    justify-content: center;
    width: 100%;
  }

  @include respond-to('small-mobile-large') {
    display: grid;
    grid-template-areas: 'logo-section variables-section';
    grid-template-columns: 30% 70%;
    height: 5rem;
    padding: 1rem;
    width: 100%;
  }

  @include respond-to('medium') {
    display: grid;
    grid-template-areas: 'logo-section variables-section';
    grid-template-columns: 30% 70%;
    height: 7rem;
    padding: 1rem;
    width: 100%;
  }

  @include respond-to('large') {
    display: grid;
    grid-template-areas: 'logo-section variables-section';
    grid-template-columns: 30% 70%;
    height: 9rem;
    padding: 1rem;
    width: 100%;
  }

  @include respond-to('extra-large') {
    display: grid;
    grid-template-areas: 'logo-section variables-section';
    grid-template-columns: 30% 70%;
    height: 11rem;
    padding: 1rem;
    width: 100%;
  }
}

.logo-section {
  align-items: center;
  display: flex;
  justify-content: center;

  @include respond-to('small-mobile') {
    div {
      height: 4.875rem;
      margin-bottom: -3rem;
      width: 11.875rem;
    }
  }

  @include respond-to('small-mobile-large') {
    div {
      display: contents;
    }
  }
}

.variables-section {
  align-items: center;
  display: flex;

  @include respond-to('small-mobile') {
    justify-content: center;
  }

  @include respond-to('small-mobile-large') {
    justify-content: left;
    margin-bottom: 0;
    margin-left: -2rem;
    margin-right: 2rem;
  }

  @include respond-to('medium') {
    justify-content: left;
    margin-left: -3.5rem;
    margin-right: 7rem;
  }

  @include respond-to('large') {
    justify-content: left;
  }

  @include respond-to('extra-large') {
    justify-content: left;
    margin-left: -3rem;
    margin-right: 12rem;
  }
}

.section {
  padding: 0.938rem;

  @include respond-to('small-mobile') {
    margin-left: 1rem;
    margin-right: 1rem;
    padding-left: 1rem;
    width: 6rem;

    span {
      font-size: 0.938rem;
    }
  }

  @include respond-to('small-mobile-large') {
    margin-left: -2.5rem;
    margin-top: 0;
    width: 11rem;

    span {
      font-size: 0.8rem;
    }
  }

  @include respond-to('medium') {
    margin-right: 1rem;
    padding-left: 1.2rem;
    width: 20rem;

    span {
      font-size: 1.2rem;
    }
  }

  @include respond-to('large') {
    margin-top: 0;
    padding-left: 1.2rem;
    width: 24rem;

    span {
      font-size: 1.4rem;
    }
  }

  @include respond-to('extra-large') {
    padding-left: 1.5rem;
    padding-right: 25rem;
    width: 30rem;

    span {
      font-size: 1.5rem;
    }
  }
}

.section1 {
  display: flex;
  justify-content: left;

  @include respond-to('small-mobile') {
    display: contents;
    justify-content: left;

    span {
      font-size: 0.875rem;
    }

    .articulos {
      margin-left: 0.4rem;
      padding-bottom: 0.9rem;
    }

    .volumenes {
      margin-left: 0.4rem;
    }
  }

  @include respond-to('small-mobile-large') {
    display: flex;
    justify-content: left;
    margin-left: 0;
    margin-top: -0.4rem;

    .articulos {
      span {
        font-size: 0.8rem;
        margin-right: 1rem;
      }
    }

    .volumenes {
      span {
        font-size: 0.8rem;
      }
    }
  }

  @include respond-to('medium') {
    display: flex;
    justify-content: left;
    margin-left: 0;
    margin-top: 0.9rem;

    .articulos {
      span {
        font-size: 1.1rem;
        margin-right: 3rem;
      }
    }

    .volumenes {
      span {
        font-size: 1.1rem;
      }
    }
  }

  @include respond-to('large') {
    display: flex;
    justify-content: left;
    margin-left: 0;
    margin-top: 0.9rem;

    .articulos {
      span {
        font-size: 1.35rem;
        margin-right: 5.5rem;
      }
    }

    .volumenes {
      span {
        font-size: 1.35rem;
      }
    }
  }

  @include respond-to('extra-large') {
    display: flex;
    justify-content: left;
    margin-left: 0;
    margin-top: 0.9rem;

    .articulos {
      span {
        font-size: 1.5rem;
      }
    }

    .volumenes {
      span {
        font-size: 1.5rem;
        padding-left: 15rem;
      }
    }
  }
}

.section2 {
  padding: 0.938rem;
  width: 6rem;

  @include respond-to('small-mobile') {
    padding-left: 0.7rem;
    padding-top: 0;
    width: 8rem;

    span {
      font-size: 0.938rem;
    }

    .texto {
      span {
        font-size: 0.875rem;
      }

      padding-bottom: 1rem;
    }
  }

  @include respond-to('small-mobile-large') {
    span {
      font-size: 0.8rem;
    }

    padding-top: 1rem;
    width: 5rem;

    .texto {
      margin-top: -0.4rem;

      span {
        font-size: 0.8rem;
      }
    }
  }

  @include respond-to('medium') {
    span {
      font-size: 1.2rem;
    }

    padding-left: 1rem;
    padding-top: 1rem;
    width: 5rem;

    .texto {
      margin-top: 1rem;

      span {
        font-size: 1.1rem;
      }
    }
  }

  @include respond-to('large') {
    span {
      font-size: 1.4rem;
    }

    padding-top: 1rem;
    width: 8rem;

    .texto {
      margin-top: 1rem;

      span {
        font-size: 1.35rem;
      }
    }
  }

  @include respond-to('extra-large') {
    span {
      font-size: 1.5rem;
    }

    padding-top: 1rem;
    width: 10rem;

    .texto {
      margin-top: 1rem;

      span {
        font-size: 1.5rem;
      }
    }
  }
}

.divider div {
  background-color: $ads-text-main;

  @include respond-to('small-mobile') {
    width: 0;
  }

  @include respond-to('small-mobile-large') {
    height: 4rem;
    width: 0.188rem;
  }

  @include respond-to('medium') {
    height: 5.5rem;
    width: 0.25rem;
  }

  @include respond-to('large') {
    height: 7rem;
    width: 0.25rem;
  }

  @include respond-to('extra-large') {
    height: 8rem;
    width: 0.25rem;
  }
}

.section2__divider div {
  background-color: $ads-text-main;

  @include respond-to('small-mobile') {
    height: 5.75rem;
    width: 0.188rem;
  }

  @include respond-to('small-mobile-large') {
    height: 4rem;
    width: 0.188rem;
  }

  @include respond-to('medium') {
    height: 5.5rem;
    width: 0.25rem;
  }

  @include respond-to('large') {
    height: 7rem;
    width: 0.25rem;
  }

  @include respond-to('extra-large') {
    height: 8rem;
    width: 0.25rem;
  }
}
