/*
Theme Name: Caladrius
Author: BFG
Description: A blank WordPress theme
Version: 1.0
*/

@font-face {
  font-family: "Bevas";
  src: url("fonts/bevas.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/Blauer-Nue-Extralight.otf") format("OpenType");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/Blauer-Nue-Light.otf") format("OpenType");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/Blauer-Nue-Regular.otf") format("OpenType");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/Blauer-Nue-Thin.otf") format("OpenType");
  font-weight: 100;
  font-style: normal;
}

/* standartization */

:root {
  --font-family: "Jost", sans-serif;
  --second-family: "Blauer Nue", sans-serif;
  --third-family: "Bevas", sans-serif;
}

.wpcf7-not-valid-tip {
  font-family: var(--font-family);
}

/* primary */

body {
  background-color: #f5f2ed;
  position: relative;
}

/* white button */

.white-button {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1000px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  text-transform: uppercase;
  position: relative;
  padding: 40px;
  color: #1b1b1b;
}

.white-button svg {
  position: absolute;
}

@media screen and (min-width: 1201px) {
  .white-button {
    max-width: 60px;
    min-height: 60px;
  }
}

@media screen and (min-width: 1201px) {
  .white-button svg {
    top: 38px;
    right: 38px;
  }
}

/* container */

.container {
  max-width: 1440px;
  margin: 0 auto;
}

@media screen and (min-width: 2001px) {
  .container {
    max-width: 1920px;
  }
}

@media screen and (min-width: 1601px) {
  .container {
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media screen and (min-width: 1601px) and (max-width: 2000px) {
  .container {
    max-width: 100%;
  }
}

@media screen and (min-width: 1401px) and (max-width: 1600px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1400px) {
  .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media screen and (max-width: 800px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* header */

.header-link-button.white-button {
  display: none;
  position: absolute;
  top: 92px;
  right: 195px;
  transition: top 0.3s ease, right 0.3s ease;
}

.mobile-menu-open .header-link-button.white-button {
  display: flex;
}

.before-hover__svg {
  position: absolute;
  top: 0;
  width: 78px;
  height: 79px;
  z-index: 0;
}

@media screen and (max-width: 800px) {
  .before-hover__svg {
    left: 98px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1400px) {
  .before-hover__svg {
    left: 50px;
  }
}

@media screen and (min-width: 1401px) and (max-width: 1600px) {
  .before-hover__svg {
    left: 158px;
  }
}

@media screen and (min-width: 1601px) {
  .before-hover__svg {
    left: 100px;
  }
}

@media screen and (min-width: 2001px) {
  .before-hover__svg {
    left: calc(((100vw - 1920px) / 2) + 78px);
  }
}

.header-section_mobile-menu a:hover {
  color: #000;
}

.header-section_mobile-menu a {
  position: relative;
  z-index: 1;
}

.before-hover__svg {
  transition: opacity 0.3s ease;
  opacity: 0;
}

.header-section.dark .dark__logo,
.header-section.white .light__logo,
.header-section.dark .dark_svg,
.header-section.white .white_svg {
  display: none;
}

.header-section.dark .light__logo,
.header-section.white .dark__logo {
  display: block;
}

.header-section.white {
  background: rgba(255, 255, 255, 0.2);
}

.header-section.white .header-section_burder-menu {
  color: #504d4d;
}

.header-section.white .header-section__button {
  color: #504d4d;
}

.header-section {
  position: fixed;
  top: 0;
  transition: all 0.3s;
  left: 0;
  width: 100%;
  z-index: 999999;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.06);
}

.header-section__container {
  padding-top: 20px;
  padding-bottom: 20px;
}

.header-section__container-line {
  position: fixed;
  content: "";
  height: 2px;
  top: 81px;
  background: #fff;
  transition: all 0.3s;
  z-index: 2;
}

.header-section__container-line {
  background: #e1dbd2 !important;
}

.header-section.mobile-menu-open .header-section__container-line {
  background: #e1dbd2;
}

.header-section__wrapper {
  display: flex;
  align-items: center;
}

.primary-header-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  list-style-type: none;
  text-align: center;
  width: 100%;
}

.primary-header-menu li a {
  font-family: var(--second-family);
  font-weight: 100;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #8d8578;
}

.header-section_mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  position: absolute;
  background: #f5f2ed;
  transform: translateY(-100%);
  transition: all 0.5s;
}

.header-section.mobile-menu-open .header-section_mobile-menu {
  transform: none;
}

.header-section_burder-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-section_burder-menu svg * {
  transition: all 0.3s;
  transform-origin: center center;
}

.header-section.mobile-menu-open .header-section_burder-menu #line1 {
  transform: rotate(45deg) translateY(5px);
  width: 17px;
}

.header-section.mobile-menu-open .header-section_burder-menu #line2 {
  transform: scaleX(0);
  opacity: 0;
}

.header-section.mobile-menu-open .header-section_burder-menu #line3 {
  transform: rotate(-45deg) translate(-3.5px, -4px);
  width: 16px;
}

.header-section.mobile-menu-open .header-section_burder-menu {
  color: #504d4d;
}

.header-section.mobile-menu-open .header-section_burder-menu svg rect {
  fill: #504d4d;
}

.header-section.mobile-menu-open {
  background: rgba(255, 255, 255, 0.2);
}

.menu-primary-menu-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-section_burder-menu {
  font-family: var(--second-family);
  font-weight: 300;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  position: relative;
}

.header-section__button {
  font-family: var(--second-family);
  font-weight: 300;
  text-transform: uppercase;
  text-align: right;
  color: #fff;
  position: relative;
}

.header-section__button::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: 0;
  left: 0;
  background: transparent;
  transition: all 0.2s;
}

.header-section.mobile-menu-open .header-section__button {
  color: #504d4d;
}

.header-section__left-content {
  display: flex;
  flex: 1;
  align-items: center;
}

.header-section__right-content {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  position: relative;
}

.header-section__center-content {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.header-section.mobile-menu-open .header-section__center-content a img {
  filter: brightness(0) saturate(100%) invert(23%) sepia(0%) saturate(0%)
    hue-rotate(312deg) brightness(92%) contrast(84%);
}

.header-section__container-line {
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 1201px) {
  .header-section__button:hover:after {
    width: 100%;
    background: #fff;
  }

  .header-section.mobile-menu-open .header-section__button:hover:after,
  .header-section.white .header-section__button:hover:after {
    background: #504d4d;
  }
}

@media screen and (min-width: 1401px) {
  .header-section__center-content img {
    max-width: 160px;
  }

  .header-section_burder-menu {
    font-size: 16px;
  }

  .header-section__button {
    font-size: 16px;
  }

  .primary-header-menu li a {
    font-size: 48px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1400px) {
  .header-section_burder-menu {
    font-size: 15px;
  }

  .header-section__button {
    font-size: 15px;
  }

  .primary-header-menu li a {
    font-size: 36px;
  }
}

@media screen and (min-width: 801px) {
  .mobile__logo,
  .header-section__button--mobile {
    display: none;
  }
}

@media screen and (max-width: 800px) {
  .desktop__logo,
  .header-section__button--desktop {
    display: none;
  }

  .header-section_burder-menu {
    font-size: 14px;
  }

  .header-section__button {
    font-size: 14px;
  }

  .primary-header-menu li a {
    font-size: 24px;
  }
}

@media screen and (max-width: 1200px) {
  .header-section_mobile-menu .before-hover__svg,
  .header-link-button.white-button {
    display: none !important;
  }
}

/* My Story */

.story-screen__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.story-screen__image {
  position: relative;
  overflow: hidden;
  width: 445px;
  min-height: 290px;
}

.story-screen__quote {
  position: relative;
  z-index: 10;
}

.story-screen__block {
  padding-top: 182px;
}

.story-screen__content,
.story-screen__quote {
  display: flex;
  flex-direction: column;
  max-width: 446px;
  margin: 0 auto;
}

.story-screen__head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 80px;
}

.story-screen__title {
  display: flex;
  flex-direction: column;
  font-family: "Blauer Nue", sans-serif;
  font-weight: 100;
  font-size: 64px;
  line-height: 110%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #000;
}

.story-screen__title .second-line {
  margin-left: auto;
}

.story-screen__desc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1dbd2;
  margin-bottom: 20px;
}

.story-screen__desc p {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  color: #504d4d;
}

.story-screen__author p {
  font-family: "Bevas", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000;
}

.story-screen__quote {
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.story-screen__quote-text p {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  color: #fff;
}

.story-screen__quote-text p img {
  max-width: 20px;
  height: auto;
  margin-bottom: 5px;
}

.story-screen__quote-icon {
  display: flex;
  justify-content: center;
}

.story-screen__quote-icon img {
  display: flex;
  max-width: 48px;
  height: auto;
}

.story-screen__image {
  width: 100%;
}

.story-screen__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-screen__image {
  position: relative;
  overflow: hidden;
  width: 445px;
}

@media screen and (max-width: 500px) {
  body .story-screen__image {
    width: 237px;
  }
}

.story-screen__quote {
  position: relative;
  z-index: 10;
}

@media screen and (max-width: 768px) {
  .story-screen__block {
    padding-top: 132px;
  }

  .story-screen__quote {
    gap: 30px;
    bottom: 50px !important;
  }
}

.story-screen__image {
  position: relative;
}

.story-screen__image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

@media screen and (max-width: 991px) {
  .story-screen__button {
    right: -20px;
    top: -110px;
    width: 50px;
    height: 50px;
    padding: 30px;
    position: absolute;
    font-size: 14px;
  }

  .story-screen__button svg {
    position: absolute;
    top: 22px;
    right: 22px;
  }

  .story-screen__quote {
    min-width: 290px;
  }

  .story-screen__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .story-screen__title {
    font-size: 40px;
  }

  .story-screen__button.desktop {
    display: none;
  }
}

@media screen and (min-width: 992px) {
  .story-screen__button.mobile {
    display: none;
  }

  .story-screen__button {
    position: fixed;
    bottom: 313px;
    right: 153px;
    width: 140px;
    z-index: 20;
  }
}

.story-screen__track-pad {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 15;
}

.story-screen__moveable-button {
  opacity: 0;
  position: absolute;
  pointer-events: auto;
  z-index: 25;
}

.story-screen__moveable-button .story-screen__button {
  position: relative;
  bottom: auto;
  right: auto;
  width: 140px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.story-screen__moveable-button .story-screen__button:hover {
  transform: scale(1.05);
}

.story-screen__moveable-button .story-screen__button svg {
  position: absolute;
  top: 38px;
  right: 38px;
}

/* Hide track pad on mobile */
@media screen and (max-width: 1200px) {
  .story-screen__track-pad {
    display: none;
  }
}

/* Art Objects */

.art-objects-screen-button {
  right: 419px;
  bottom: 296px;
  position: absolute;
  transition: opacity 0.3s ease;
}

.art-objects-screen__svg {
  position: absolute;
  top: -254px;
  left: 0;
  z-index: 1;
}

.art-objects-screen__card-hidden-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  opacity: 0;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(50px);
  max-width: 420px;
  transition: all 0.3s;
  z-index: 2;
}

.art-objects-screen__overlay.active .art-objects-screen__card-hidden-content {
  opacity: 1;
  pointer-events: unset;
  transform: translate(-50%, -50%) translateY(0);
  transition: opacity 0.8s ease-out 1s, transform 0.8s ease-out 1s;
}

.art-objects-screen__card-hidden-content-text p {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  line-height: 140%;
  color: #fff;
}

.art-objects-screen__popup-text {
  display: none;
}

.art-objects-screen__card-hidden-content > img {
  height: auto;
}

.art-objects-screen__card-hidden-content-text p img {
  max-width: 20px;
  height: auto;
  margin-bottom: 4px;
}

.art-objects-screen__card-btn-close {
  position: absolute;
  top: -9px;
  right: 0;
  width: 20px;
  height: auto;
  cursor: pointer;
}

.art-objects-screen__block {
  position: relative;
  overflow: hidden;
}

.art-objects-screen__container {
  position: relative;
  z-index: 2;
}

.art-objects-screen__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  cursor: pointer;
  transition: all 0.6s, opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.art-objects-screen__overlay.active {
  opacity: 1;
  pointer-events: unset;
}

.art-objects-screen__head {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
}

.art-objects-screen__title {
  display: flex;
  flex-direction: column;
  font-family: "Blauer Nue", sans-serif;
  font-weight: 100;
  line-height: 110%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #000;
}

.art-objects-screen__icon img {
  display: flex;
}

.art-objects-screen__title .third-line {
  margin-left: auto;
}

.art-objects-screen__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 110px;
}

.art-objects-screen__card {
  position: relative;

  cursor: pointer;
  height: 600px;
  width: 600px;
  transform: translateY(0);
}

.art-objects-screen__card.active {
  z-index: 2;
}

.art-objects-screen__card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  width: 100%;
  background: #fff;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
}

.art-objects-screen__card-title {
  font-family: "Blauer Nue", sans-serif;
  font-weight: 100;
  line-height: 110%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #000;
}

.art-objects-screen__city {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  line-height: 140%;
  color: #000;
}

@media screen and (min-width: 1201px) {
  .art-objects-screen__card-title {
    font-size: 24px;
  }

  .art-objects-screen__city {
    font-size: 16px;
  }

  .art-objects-screen__card-content {
    padding: 30px 30px 32px 30px;
  }

  .art-objects-screen__title {
    font-size: 96px;
  }

  .art-objects-screen__head {
    max-width: 600px;
    gap: 70px;
    margin-bottom: 170px;
  }

  .art-objects-screen__icon img {
    max-height: 76px;
  }

  .art-objects-screen__block {
    padding-top: 192px;
    padding-bottom: 120px;
  }

  .art-objects-screen__card-hidden-content-text p {
    font-size: 16px;
    margin-bottom: 90px;
  }

  .art-objects-screen__card-hidden-content > img {
    max-width: 49px;
  }
}

@media screen and (max-width: 1200px) {
  .art-objects-screen__card {
    min-height: 600px;
  }

  .art-objects-screen__card-title {
    font-size: 20px;
  }

  .art-objects-screen__city {
    font-size: 14px;
  }

  .art-objects-screen__card-content {
    padding: 20px;
  }

  .art-objects-screen__title {
    font-size: 48px;
  }

  .art-objects-screen__head {
    max-width: 335px;
    gap: 20px;
    margin-bottom: 90px;
  }

  .art-objects-screen__icon img {
    max-height: 49px;
  }

  .art-objects-screen__block {
    padding-top: 160px;
    padding-bottom: 60px;
  }

  .art-objects-screen__card-hidden-content-text p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .art-objects-screen__card-hidden-content > img {
    max-width: 49px;
  }
}

@media screen and (max-width: 800px) {
  .art-objects-screen__card-btn-close {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .art-objects-screen__content {
    gap: 20px;
  }

  .art-objects-screen__card {
    width: 100%;
    min-height: 260px;
  }

  .art-objects-screen-button.white-button {
    top: 40px;
    right: 16px;
  }

  .art-objects-screen__svg {
    max-width: 610px;
    max-height: 664px;
    top: -49px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 1200px) {
  .art-objects-screen-button.white-button {
    padding: 38px 31px;
    width: 48px;
    height: 34px;
  }

  .art-objects-screen-button.white-button svg {
    top: 22px;
    right: 22px;
  }
}

@media screen and (min-width: 1601px) {
  .art-objects-screen__svg {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* First Screen */

.first_screen_block {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.first_screen_block__content-image,
.first_screen_block__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.first_screen_block__title {
  color: #fff;
  text-align: center;
  font-family: "Blauer Nue";
  font-size: 128.591px;
  font-style: normal;
  font-weight: 100;
  line-height: 90%;
  letter-spacing: -3.858px;
  text-transform: uppercase;
}

.first_screen_block__content-image img {
  transform: scale(1.2);
  transition: none;
}

.first_screen_block__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.first_screen_block__content-image img {
  object-fit: cover;
  height: 100%;
}

.first_screen_block__content .first_screen_block__content-item:first-child {
  display: flex;
}

.first_screen_block__description {
  margin-bottom: 15px;
  color: #fff;
  font-family: Jost;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.48px;
}

.first_screen_block__content .first_screen_block__content-item:nth-child(3) {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.first_screen_block__content {
  min-width: 464px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  position: relative;
  z-index: 2;
}

.first_screen_block__overlay {
  background: rgba(0, 0, 0, 1);
  z-index: 1;
}

@media screen and (min-width: 769px) {
  .first_screen_block__content {
    padding-bottom: 28px;
  }

  .first_screen_block__content-item--first {
    transform: translateX(-186px);
    transition: none;
  }

  .first_screen_block__content-item--third .first_screen_block__title {
    transform: translateX(144px);
  }
}

@media screen and (max-width: 768px) {
  .first_screen_block__content-item--first {
    transform: translateX(-51px);
    transition: none;
  }

  .special_animation {
    transform: translateX(51px);
    transition: none;
  }

  .first_screen_block__content-item--second {
    display: flex;
  }

  .first_screen_block__title {
    font-size: 64px;
    letter-spacing: -1.92px;
  }

  .first_screen_block__description {
    margin-bottom: 0;
    font-size: 14px;
  }

  .first_screen_block__content {
    min-width: 231px;
  }

  .first_screen_block__content .first_screen_block__content-item:nth-child(3) {
    max-width: 139px;
    margin-left: auto;
  }

  body .first_screen_block__content-item--third {
    flex-direction: column-reverse;
    gap: 10px;
    align-items: unset !important;
  }
}
