/*
 * 3D Source Configurator
 * http://3dsource.com/
 *
 * 3D Source is the only company that exists exclusively to help product manufacturers
 * evolve their sales and marketing assets from photography to photorealistic
 * 3D and CGI.
 * 3D Source provides access to a scalable network of content developers and
 * groundbreaking software that supports trillions of possible design options in catalog quality.
 *
 * Last modified 17.06.2021, 18:32
 * Copyright 2021 3D Source
 */

@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700&display=swap&text=RoofVisualizer");

.loader {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;

  width: 100%;
  height: 100%;

  background: #e5e5e5;
}

.loader__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50%;

  text-align: center;
}

.loader__loader {
  height: 50%;

  background: #004f96;
}

.loader__logo {
  width: 173px;
  margin-bottom: 56px;
}

.loader__logo img {
  width: 100%;
}

@media (min-width: 1900px) {
  .loader__logo {
    width: 259px;
    margin-bottom: 84px;
  }
}

.loader__heading {
  font-weight: bold;
  font-size: 64px;
  line-height: 84px;
  font-family: "Roboto Slab", sans-serif;
  color: #f5b335;
}

@media (min-width: 1900px) {
  .loader__heading {
    font-size: 96px;
    line-height: 127px;
  }
}

.loader__loader {
  padding-top: 74px;
}

@media (min-width: 1900px) {
  .loader__loader {
    padding-top: 113px;
  }
}

.progress {
  position: relative;

  width: 100%;
  max-width: 666px;
  margin: auto;
}

@media (min-width: 1900px) {
  .progress {
    max-width: 999px;
  }
}

.progress__label {
  margin-bottom: 18px;

  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  color: #ffffff;
}

@media (min-width: 1900px) {
  .progress__label {
    margin-bottom: 29px;

    font-size: 24px;
  }
}

.progress__box {
  position: relative;

  width: 100%;
  height: 8px;

  background: #ffffff;
  border-radius: 100px;
}

@media (min-width: 1900px) {
  .progress__box {
    height: 12px;
  }
}

.progress__width {
  position: absolute;
  left: 0;

  height: 100%;

  background: #f5b335;
  border-radius: 100px;
}

.progress__width span {
  position: absolute;
  top: calc(100% + 13px);
  right: -18px;

  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #ffffff;
}

@media (min-width: 1900px) {
  .progress__width span {
    top: calc(100% + 20px);

    font-size: 24px;
  }
}

.loader__button {
  margin: auto;
  margin-top: 66px;
  padding: 12px 16px;

  font-size: 14px;
  line-height: 24px;
  color: #09101d;

  background-color: #f5b335;
}

@media (min-width: 1900px) {
  .loader__button {
    width: 191px;
    height: 56px;
    margin-top: 117px;
    padding: 14px 18px;

    font-size: 16px;
    line-height: 28px;
  }
}

.loader__button:hover {
  color: #09101d;

  background: #ffb21e;
}

.loader__button:active {
  color: #09101d;

  background: #ffa700;
}
