@import '../../styles/variables/index.scss';

.loader {
  position: fixed;
  z-index: 1110;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;

  &.hidden {
    display: none;
  }

  .progressBarContainer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    &.reverse {
      display: flex;
      flex-direction: row-reverse;
    }

    .progressBar {
      background: $medium-blue;
      height: 6px;
      width: 0;
    }
  }

  .textContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    max-width: 1198px;
    padding: 0 43px;
    width: 100%;
    font-size: 36px;
    color: $main-blue;
  }

  .phrase {
    span {
      display: inline-block;
      font-family: $font-family-newsreader;
      margin-right: 9px;
    }
    strong {
      display: inline-block;
      font-family: $font-family-atak-black;
    }
  }

  .imagesContainer {
    width: 100%;
    position: absolute;
    top: 0;
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
    gap: 24px;

    .imagesRow {
      display: flex;
      gap: 12px;
      width: 258%;
      @media (min-width: 1024px) {
        width: 150%;
        gap: 24px;
      }
    }

    > img {
      width: 25%;
      height: 100%;
    }
    > div > div {
      width: 25%;
      height: 100%;
    }
  }
}
