/*
  developer: Rodion Malkov
  mail: rodionmalkov@gmail.com
  site: rdygo.ru
*/

:root {
  --theme-main-color: #D12929;
  --theme-black: #333333;
  --theme-white: #ffffff;
  --theme-dark-blue: #19273D;
  --theme-dark-blue-rgba: rgba(255, 255, 255, 0.4);
}

.page {
  max-width: 100vw !important;
}

.main-logo-met {
  fill: var(--theme-dark-blue);
}

#block-views-block-news-block-front {
  display: none;
}

.welcome {
  position: relative;
  margin-top: -2px;
  padding-top: 80px;
  padding-bottom: 80px;
  margin-bottom: 80px;
  height: calc(100vh - 100px);
}

.welcome .main-logo {
  margin: 0;
}

.welcome .main-logo:hover {
  filter: none;
}

.welcome__wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.welcome__info {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  max-width: 786px;
  line-height: 1.1;
}

.welcome__title,
.welcome__subtitle {
  color: var(--theme-dark-blue);
}

.welcome__title {
  font-size: 60px;
  text-transform: uppercase;
  font-weight: 700;
}

.welcome__subtitle {
  font-size: 26px;
  letter-spacing: 0.03em;
}

.welcome__btn-more {
  width: max-content;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--theme-main-color);
  font-weight: 700;
  border-bottom: 1px solid var(--theme-main-color);
  padding-bottom: 14px;
  white-space: nowrap;
  text-decoration: none;
}

.welcome__btn-more span {
  padding-right: 15px;
}

.welcome__banner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  transition: 200ms ease-in-out;
}

.welcome__banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--theme-dark-blue-rgba);
}

video.welcome__banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 900px) {

  .welcome {
    height: 500px;
  }

  .welcome__title {
    font-size: 36px;
    max-width: 486px;
  }

  .welcome__subtitle {
    max-width: unset;
    margin-bottom: 64px;
  }
}


@media screen and (max-width: 600px) {
  .welcome {
    height: calc(100vh - 120px);
  }
  .welcome__title {
    font-size: 24px;
  }

  .welcome__subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .welcome__info {
    align-items: center;
  }
}

@media (max-width: 360px) {
  .welcome__title {
    font-size: 21px;
  }
}