@import url("./vendor/normalize.css");
@import url("./vendor/fonts/fonts.css");

.main {
  font-family: "Roboto";
  width: 100%;
  height: 100%;
  position: fixed;
  display: flex;
  flex-direction: column;
}

.main__image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block {
  padding: 2.5rem 2rem;
  margin-top: 6rem;
  margin-left: 10rem;
  max-width: min-content;
  background-color: white;
  border-radius: 2rem;
  box-shadow: 2px 4px 10px 0px rgba(0, 0, 0, .25);
}

.block__header {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
}

.text {
  line-height: 150%;
  font-size: 1.1rem;
}

.text_lg {
  font-family: 'roboto';
  font-size: 1.5rem;
  white-space: nowrap;
}

.text_md {
  font-size: 1.25rem;
}

.text_success {
  color: #109625;
}

.text_medium {
  font-weight: 500;
}

.block__link {
  color: #727578;
  text-decoration: underline;
  transition: color .3s ease;
  cursor: pointer;
}

.block__link:hover {
  color: #00D2C8;
}

.block__phone {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.block__icon {
  width: 1.5rem;
  height: 1.5rem;
}

.logo {
  max-width: 150px;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .main {
    background-color: #F44710;
    justify-content: center;
    align-items: center;
  }

  .block {
    margin: 0;
    padding: 2rem 1.5rem;
  }

  .main__image {
    visibility: hidden;
  }
}

@media screen and (max-width: 639px) {
  .text {
    font-size: .9rem;
  }

  .text_lg {
    font-size: 1.25rem;
  }

  .text_md {
    font-size: 1rem;
  }

  .block {
    max-width: 75%;
  }

  .logo {
    max-width: 250px;
    margin: auto;
  }

  .text_lg {
    white-space: normal;
  }

  .block {
    text-align: center;
  }

  .block__phone {
    justify-content: center;
  }

  .block__header {
    flex-direction: column;
    justify-content: center;
  }
}
