:root {
  --fluid-spacer: 0.052vw;
  --base-size: calc(16 * var(--fluid-spacer));
}

@media screen and (max-width: 767px) {
  :root {
    --fluid-spacer: 0.2564vw;
  }
}
html {
  font-size: var(--base-size);
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  background: url("../../images/page-bg.webp") center center/cover no-repeat;
  background-color: #0D125B;
}
@media screen and (max-width: 767px) {
  body {
    background: url("../../images/page-bg-m.webp") center center/cover no-repeat;
  }
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app {
  flex-grow: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.app.result .app-content, .app.empty .app-content {
  gap: 2.5rem;
}
.app__wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: 3.75rem 1.5rem 1.5rem 1.5rem;
  gap: 2.5rem;
}
@media screen and (max-width: 767px) {
  .app__wrapper {
    padding: 2.5rem 1.5rem;
  }
}
.app-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21.25rem;
  height: 3rem;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .app-logo {
    width: 17.5rem;
    height: 2.5rem;
  }
}
.app-logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .app-footer {
    max-width: 17.2rem;
    width: 100%;
    margin: 0 auto;
  }
}
.app-footer__text {
  font-size: 0.75rem;
  color: #B7B7B7;
  text-align: center;
}
.app-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  max-width: 57.5rem;
  width: 100%;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .app-result {
    gap: 1rem;
  }
}
.app-result__title {
  font-size: 1.875rem;
}
@media screen and (max-width: 767px) {
  .app-result__title {
    font-size: 1.25rem;
  }
}
.app-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2.5rem;
}
@media screen and (max-width: 767px) {
  .app-empty {
    gap: 1.25rem;
  }
}
.app-empty__img {
  height: 28rem;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .app-empty__img {
    height: 12.5rem;
  }
}
.app-empty__header {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
@media screen and (max-width: 767px) {
  .app-empty__header {
    gap: 0.625rem;
  }
}
.app-empty__title {
  font-size: 1.875rem;
}
@media screen and (max-width: 767px) {
  .app-empty__title {
    font-size: 1.25rem;
    max-width: 14rem;
    width: 100%;
    margin: 0 auto;
  }
}
.app-empty__text {
  font-size: 1.25rem;
}
@media screen and (max-width: 767px) {
  .app-empty__text {
    font-size: 0.5rem;
  }
}
.app-content {
  display: flex;
  flex-direction: column;
  gap: 8.75rem;
  transition: 0.3s gap;
}
@media screen and (max-width: 767px) {
  .app-content {
    gap: 2.5rem;
  }
}
.app-content__title {
  font-size: 6.25rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .app-content__title {
    font-size: 3.125rem;
    font-weight: 800;
  }
}

.video-search {
  max-width: 53.5rem;
  width: 100%;
  margin: 0 auto;
}
.video-search__wrapper {
  width: 100%;
  display: flex;
  align-items: stretch;
  padding: 0.375rem 0 0.375rem 0.375rem;
  background: rgba(52, 145, 225, 0.2);
  border-radius: 4.75rem;
  border: 1px solid #fff;
  height: 3.375rem;
}
@media screen and (max-width: 767px) {
  .video-search__wrapper {
    padding: 0.125rem 0.125rem 0.125rem;
    height: 1.625rem;
  }
}
.video-search__button {
  flex-shrink: 0;
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  height: 100%;
}
.video-search__button:hover {
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .video-search__button {
    font-size: 0.625rem;
    padding: 0 1rem;
  }
}
.video-search__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 4.75rem;
  background: #dedede;
  padding: 0.625rem;
  flex-grow: 1;
}
@media screen and (max-width: 767px) {
  .video-search__label {
    padding: 0.375rem;
    gap: 0.375rem;
  }
}
.video-search__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #929292;
}
@media screen and (max-width: 767px) {
  .video-search__icon {
    width: 0.5rem;
    height: 0.5rem;
  }
}
.video-search__input {
  flex-grow: 1;
  height: 100%;
  font-size: 1.25rem;
  color: #000;
}
@media screen and (max-width: 767px) {
  .video-search__input {
    font-size: 0.625rem;
  }
}
.video-search__input::placeholder {
  color: #929292;
}

.video {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 4.625rem;
  overflow: hidden;
  padding-bottom: 56.25%;
}
@media screen and (max-width: 767px) {
  .video {
    border-radius: 1.25rem;
  }
}
.video:hover {
  cursor: pointer;
}
.video.video.paused::before {
  opacity: 1;
}
.video::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../images/video.webp") center center/cover no-repeat;
  opacity: 0;
  z-index: 2;
  transition: 0.3s opacity;
}
.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.app-result, .app-empty {
  display: none;
}

.app.result .app-result {
  display: flex;
}

.app.result .video-search {
  display: none;
}

.app.empty .app-empty {
  display: flex;
}

/*# sourceMappingURL=index.css.map */
