/*!
Theme Name: Pearl Frame
Author: Wonders Ahead
Author URI: https://wondersahead.pl
Version: 1.0.0
Text Domain : pearlframe
*/

html {
  font-family: sans-serif;
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #efefef !important;
}

::-moz-selection {
  background: #c1a36d;
  color: #fff !important;
}

::selection {
  background: #c1a36d;
  color: #fff !important;
}

a,
a:hover,
a:active,
a:visited {
  text-decoration: none;
  color: #c1a36d !important;
}

body {
  font: normal normal normal 1rem/1.5rem;
  font-family: "massilia", sans-serif !important;
  letter-spacing: 0;
  color: #00445c;
}

#page {
  height: 100vh;
  min-height: 900px;
  position: relative;
}

.site-content {
  height: 100vh;
  min-height: 900px;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@media screen and (min-width: 992px) {
  .site-hamburger {
    display: none;
  }
}

.site-hamburger #nav-icon3 {
  width: 30px;
  height: 23px;
  position: absolute;
  right: 20px;
  top: 20px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.site-hamburger #nav-icon3 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.site-hamburger #nav-icon3 span:nth-child(1) {
  top: 0px;
}

.site-hamburger #nav-icon3 span:nth-child(2),
.site-hamburger #nav-icon3 span:nth-child(3) {
  top: 9px;
}

.site-hamburger #nav-icon3 span:nth-child(4) {
  top: 18px;
}

.site-hamburger #nav-icon3.open span:nth-child(1) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.site-hamburger #nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.site-hamburger #nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.site-hamburger #nav-icon3.open span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.site-header {
  position: absolute;
  width: 100%;
  padding: 50px 0 !important;
  z-index: 1000;
}

.site-header .wrapper {
  max-width: 100%;
  width: 80%;
  position: relative;
}

.site-branding {
  height: 50px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  align-content: stretch;
  -webkit-align-items: center;
  align-items: center;
}

.site-header .wrapper .site-branding a img {
  width: auto;
  height: 34px;
  transform: scale(0);
  transform-origin: 50% 50%;
  animation: pop_up 1s cubic-bezier(0.07, 0.34, 0, 0.93) forwards;
}

@keyframes pop_up {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.page-template-homepage .site-header .wrapper .site-branding a img {
  filter: invert(1);
}

@media screen and (min-width: 1199px) {
  .site-header .wrapper .site-branding a img {
    width: auto;
    height: 34px;
  }
}

.site-header .wrapper .main-navigation ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

@media screen and (min-width: 992px) {
  .site-header .wrapper .main-navigation ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

.site-header .wrapper .main-navigation ul li {
  list-style-type: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
}

@media screen and (min-width: 992px) {
  .site-header .wrapper .main-navigation ul li {
    margin-left: 35px;
  }
}

.site-header .wrapper .main-navigation ul li a {
  font: normal normal normal 1rem/1.1875rem massilia;
  color: var(--unnamed-color-00445c);
}

/* Menu */

#primary-menu {
  padding: 0;
  list-style: none;
  margin: 0;
}

#primary-menu li {
  color: #707070;
  margin: 0 0 20px;
  transform: translateX(-20%);
  opacity: 0;
  animation: from_left_intro 1s cubic-bezier(0.07, 0.34, 0, 0.93) forwards;
}

#primary-menu li a {
  color: #707070 !important;
  text-decoration: none;
  font-size: 18px;
  line-height: 20px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  font-weight: 200;
  font-style: italic;
}

#primary-menu li::before {
  content: "";
  display: inline-block;
  border-bottom: 1px solid #c1a36d;
  width: 0;
  margin-right: 0px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

#primary-menu li:hover::before {
  width: 15px;
  margin-right: 3px;
}

#primary-menu li a:hover {
  color: #c1a36d !important;
}

@keyframes from_left_intro {
  0% {
    transform: translateX(-20%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

/* Struktura */

.section {
  overflow: hidden !important;
  position: relative;
}

.bg_logo {
  position: absolute;
  right: 0;
  top: 0;
  transform: rotate(0deg);
  animation: bg_logo_intro 1s cubic-bezier(0.07, 0.34, 0, 0.93) forwards, bg_logo_spin 180s linear infinite;
  opacity: 0;
  width: 88vh;
  height: 88vh;
}

@keyframes bg_logo_intro {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes bg_logo_intro2 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bg_logo_spin {
  100% {
    -webkit-transform: rotate(-360deg);
  }
}

section.homepage .bg_logo {
  animation: bg_logo_intro2 1s cubic-bezier(0.07, 0.34, 0, 0.93) forwards, bg_logo_spin 180s linear infinite;
}

.main_photo_cont {
  height: calc(100vh - 250px);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 650px;
}

.main_photo_gradient {
  background: #efefef;
  -webkit-mask-image: linear-gradient(to right, rgba(239, 239, 239, 1) 0%, rgba(0, 0, 0, 0) 70%);
  mask-image: linear-gradient(to right, rgba(239, 239, 239, 1) 0%, rgba(0, 0, 0, 0) 70%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.main_photo {
  height: 100%;
  width: auto;
  border-radius: 12px;
  animation: main_photo_intro 4s cubic-bezier(0.07, 0.34, 0, 0.93) forwards;
  transform: scale(1.5);
  opacity: 0;
}

@keyframes main_photo_intro {
  0% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.tehc {
  height: 50px;
  width: auto;
  transform: scale(0);
  transform-origin: 50% 50%;
  animation: pop_up 1s cubic-bezier(0.07, 0.34, 0, 0.93) forwards;
}

@keyframes from_right_intro {
  0% {
    transform: translateX(40%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

.open_form_but_cont {
  position: absolute;
  right: 15px;
  top: -50px;
  background: #c1a36d;
  padding: 20px;
  border-radius: 0 0 12px 12px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  text-align: center;
  transform-origin: center center;
  transform: translateY(-100%);
  animation: from_top_intro 1s cubic-bezier(0.07, 0.34, 0, 0.93) forwards;
}

@keyframes from_top_intro {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}

.open_form_but_cont > * {
  transform-origin: center center;
  transform: scale(1);
  animation: but_pulse 2s ease-in-out infinite;
}

@keyframes but_pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.open_form {
  cursor: pointer;
}

.open_form_but {
  height: 30px;
  margin: 0;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.open_form_but_cont:hover {
  background: #fff;
  padding: 28px 20px 20px;
}

.open_form_text {
  font-size: 14px;
}

.left_cont {
  height: 100%;
  position: relative;
  height: calc(100vh - 250px);
  padding-top: 30px;
  min-height: 650px;
}

.main_text_box {
  position: absolute;
  width: 40vw;
  z-index: 1000;
  bottom: 30px;
}

.main_text_header {
  font-family: "benton-modern-display", serif;
  font-weight: 400;
  font-style: normal;
  color: #000;
  font-size: 60px;
  line-height: 66px;
  white-space: nowrap;
  z-index: 1000;
  position: relative;
  margin: 0 0 30px;
  overflow-y: hidden;
}

.main_text {
  color: #000;
  font-size: 15px;
  line-height: 24px;
  margin: 0;
  font-weight: 200;
  overflow-y: hidden;
}

.main_text sup {
  font-size: 10px !important;
  line-height: 10px !important;
}

.main_text_inner,
.main_text_header_inner {
  position: relative;
  transform: translateY(100%);
  animation: main_text_header_inner 1s cubic-bezier(0.07, 0.34, 0, 0.93) forwards;
}

@keyframes main_text_header_inner {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0%);
  }
}

a.main_text_button {
  background: #c1a36d;
  color: #000 !important;
  padding: 9px 22px 14px;
  text-decoration: none;
  border-radius: 23px;
  font-size: 20px;
  display: inline-block;
  line-height: 20px;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  font-weight: 200;
  height: 46px;
}

.main_text_button .arrow {
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  right: 5px;
  vertical-align: text-top;
  margin: 9px 0 0 15px;
  font-weight: 200;
  height: 10px;
  line-height: 20px;
  animation: arrow_bounce 1s cubic-bezier(0.07, 0.34, 0, 0.93) infinite;
}

@keyframes arrow_bounce {
  0%,
  100% {
    margin: 9px 0 0 15px;
  }
  50% {
    margin: 9px -5px 0 20px;
  }
}

.main_text_button:hover .arrow {
  right: 0px;
  margin: 9px 0 0 25px;
}

.main_text_button:hover {
  background: #fff;
  color: #000;
}

.linkedin {
  height: 25px;
  margin-right: 20px;
}

.page_title {
  font-family: "benton-modern-display", serif;
  font-weight: 400 !important;
  font-style: normal;
  color: #000;
  font-size: 40px;
  line-height: 40px;
  white-space: nowrap;
  z-index: 1000;
  position: relative;
  margin: 0 0 30px;
}

.entry {
  font-family: "massilia", sans-serif;
  font-weight: 200 !important;
  height: calc(100vh - 250px);
  overflow-y: scroll;
  overflow-x: hidden;
}

.entry h3 {
  font-family: "benton-modern-display", serif;
  font-weight: 400 !important;
  font-style: normal;
  color: #000;
  font-size: 25px;
  line-height: 25px;
  white-space: nowrap;
  z-index: 1000;
  position: relative;
  margin: 30px 0;
}

/* Welcome */

.home .tehc {
  height: 60px;
  width: auto;
  opacity: 0;
  filter: brightness(0);
}

.home .site-branding {
  opacity: 0;
  transform: translatey(50px);
}

.home .site-branding,
.home .tehc {
  animation: pokaz 2s forwards;
  animation-delay: 3.5s;
}

.home .wrapper .site-branding img {
  filter: invert(1);
}

.section.welcome {
  height: 100vh;
  overflow: hidden;
}

.section.welcome > .wrapper {
  min-height: 100vh;
  width: 80%;
  max-width: 100%;
  padding: 150px 15px 100px;
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-content: stretch;
  align-content: stretch;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.section.welcome > .wrapper .row {
  width: 100%;
}

.welcome_1 {
  background-image: url(assets/images/welcome1.jpg);
  background-size: cover;
  background-position: center center;
  width: 105%;
  height: 105%;
  position: absolute;
  animation: shunshine 5s forwards;
  animation-delay: 1.5s;
  filter: brightness(0);
  mask-image: url(assets/images/welcome_mask.png);
  -webkit-mask-image: url(assets/images/welcome_mask.png);
  -moz-mask-image: url(assets/images/welcome_mask.png);
  mask-position: center center;
  mask-size: cover;
  mask-repeat: no-repeat;
  position: absolute;
  -webkit-mask-position: center center;
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
}

/* .welcome_1_mask {
  width: 105vw;
  height: 105vh;
  mask-image: url(assets/images/welcome_mask.png);
  -webkit-mask-image: url(assets/images/welcome_mask.png);
  -moz-mask-image: url(assets/images/welcome_mask.png);
  mask-position: center center;
  mask-size: cover;
  mask-repeat: no-repeat;
  position: absolute;
  -webkit-mask-position: center center;
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
} */

.welcome_2 {
  background-image: url(assets/images/welcome2.jpg);
  background-size: cover;
  background-position: center center;
  width: 105%;
  height: 105%;
  position: absolute;
  animation: shunshine 6s forwards;
  animation-delay: 1s;
  filter: brightness(0);
}

@keyframes shunshine {
  from {
    filter: brightness(0);
  }
  to {
    filter: brightness(1);
  }
}

@keyframes pokaz {
  from {
    opacity: 0;
    transform: translatey(50px);
  }
  to {
    opacity: 1;
    transform: translatey(0px);
  }
}

.welcome_2,
.welcome_1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section.welcome .site-branding {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-content: stretch;
  align-content: stretch;
  -webkit-align-items: flex-end;
  align-items: flex-start;
  height: 60px;
  position: absolute;
  right: 0;
}

.home_button {
  color: #fff !important;
  padding: 0;
  text-decoration: none;
  border-radius: 20px;
  font-size: 16px;
  display: inline-block;
  line-height: 15px;
  margin: 10px 0 0;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  font-weight: 200;
  text-decoration: none !important;
}

.home_button > span {
  font-family: "benton-modern-display", serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 200;
}

.home .arrow.home_arrow {
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  right: 5px;
  vertical-align: text-top;
  margin: 6px 0 0 11px;
  font-weight: 200;
  height: 10px;
  line-height: 20px;
  filter: invert(1);
  transform: translatex(0px);
}

.home .home_button:hover .arrow.home_arrow {
  transform: translatex(15px);
}

.welcome_footer {
  background: #000;
  background: linear-gradient(0deg, rgba(20, 20, 20, 1) 0%, rgba(0, 0, 0, 1) 100%);
  height: auto;
}

.section.welcome_footer > .wrapper {
  min-height: 100px;
  width: 80%;
  max-width: 100%;
  padding: 100px 15px 70px;
  position: relative;
}

.welcome_text h2 {
  font-family: "benton-modern-display", serif;
  font-weight: 400;
  font-style: normal;
  color: #c1a36d;
  font-size: 30px;
  line-height: 36px;
}

.welcome_text {
  font-family: "massilia", sans-serif;
  font-weight: 200;
  font-style: normal;
  color: #fff;
  font-size: 15px;
  line-height: 24px;
  margin: 0 0 30px;
}

/* Homepage */

.section.homepage {
  height: 100vh;
  background: #545454;
  background: linear-gradient(0deg, rgba(84, 84, 84, 1) 0%, rgba(0, 0, 0, 1) 100%);
  overflow: hidden;
}

.section > .wrapper {
  height: 100vh;
  min-height: 800px;
  width: 80%;
  max-width: 100%;
  padding: 150px 15px 100px;
  position: relative;
}

.homepage .main_text_header {
  font-family: "benton-modern-display", serif;
  font-weight: 400;
  font-style: normal;
  color: #c1a36d;
  font-size: 60px;
  line-height: 66px;
  white-space: nowrap;
  z-index: 1000;
  position: relative;
  margin: 0 0 30px;
}

.homepage .main_text {
  color: #fff;
  font-size: 18px;
  line-height: 26px;
  white-space: nowrap;
  margin: 0 0 40px;
  font-weight: 200;
}

.homepage .main_photo_cont {
  background: #000;
  position: relative;
}

.homepage .main_photo_gradient {
  background: #000;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Contact */

.section.contact {
  height: 100vh;
  background: #e6e0d3;
}

.contact .main_photo_gradient {
  background: #e6e0d3;
  -webkit-mask-image: linear-gradient(to right, rgba(230, 224, 211, 1) 0%, rgba(0, 0, 0, 0) 70%);
  mask-image: linear-gradient(to right, rgba(230, 224, 211, 1) 0%, rgba(0, 0, 0, 0) 70%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.contact_box {
  overflow-y: hidden;
}

.contact_box_inner {
  position: relative;
  transform: translateY(100%);
  animation: main_text_header_inner 1s cubic-bezier(0.07, 0.34, 0, 0.93) forwards;
}

.contact_name {
  margin: 30px 0;
  font-size: 20px;
}

.contact_details {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  align-content: stretch;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.copntact_details_right .main_text_button {
  margin-left: 40px;
}

.contdet {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
}

/* Footer */

.site-footer {
  margin: 0;
  padding: 20px 0 20px;
  background: none;
  height: 100px;
  position: absolute;
  bottom: 0;
  width: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-content: stretch;
  align-content: stretch;
  -webkit-align-items: center;
  align-items: center;
  transform: translateY(100%);
  animation: from_bot_intro 1s cubic-bezier(0.07, 0.34, 0, 0.93) forwards;
}

@keyframes from_bot_intro {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0%);
  }
}

.site-footer .wrapper {
  max-width: 100%;
  width: 80%;
}

.footer_line {
  color: #707070;
  font-size: 10px;
}

.footer_line a {
  color: #707070;
}

.copyright {
  margin: 0;
  font-size: 10px;
  font-weight: 300;
  line-height: 25px;
  color: #707070;
  text-align: right;
}

.site-hamburger #nav-icon3 {
  z-index: 99999;
}

.site-hamburger #nav-icon3 span {
  background: #000 !important;
}

.site-hamburger #nav-icon3.open span {
  background: #fff !important;
}

.page-template-homepage .site-hamburger #nav-icon3 span {
  background: #fff !important;
}

.page-template-homepage .site-hamburger #nav-icon3.open span {
  background: #fff !important;
}

.wpcf7-form-control {
  width: 100%;
}

.wpcf7-text,
.wpcf7-textarea {
  margin: 0 0 20px;
  padding: 5px 0;
  border-radius: 0;
  outline: none !important;
  font-family: massilia;
  font-weight: 300;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid #c1a36d !important;
  background: none;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
  border-bottom: 1px solid #c1a36d !important;
}

.wpcf7-textarea {
  max-height: 190px;
  font-family: massilia;
}

.wpcf7-submit {
  width: 200px;
  height: 48px;
  background: #c1a36d;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  opacity: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  border: none;
  font-family: massilia;
  font-weight: 300 !important;
  margin: 20px auto 0;
  color: #000;
  font-size: 20px;
}

.wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  background-color: #23282d;
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin: 0 !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(60px) !important;
  bottom: 27px !important;
}

.wpcf7-submit:hover {
  background: #fff;
}

.wpcf7 .ajax-loader {
  background-color: #1b1b1c !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
}

.wpcf7-not-valid-tip {
  font-size: 12px !important;
  margin: -10px 0 0 10px !important;
}

.zgoda_cont {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0px 0 10px;
}

.form_zgoda {
  max-width: calc(100% - 25px);
  line-height: 14px !important;
  display: inline-block;
  position: relative;
  left: 10px;
  font-size: 10px;
  top: 0px;
  margin: 0px 0;
  padding: 4px 0 0;
  font-weight: 200 !important;
  color: #9d9b9b;
}
.form_zgoda a {
  color: #9d9b9b;
}

.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0 1em;
  margin: 0 !important;
}

.wpcf7-form-control-wrap {
  position: relative;
  vertical-align: top;
}

.zgoda,
.zgoda2 {
  margin: 10px 0;
  width: auto !important;
  vertical-align: top;
}

#cf7Modal {
  opacity: 0;
  transform: translateY(100px);
  transition: all 1s cubic-bezier(0.07, 0.34, 0, 0.93);
}

#cf7Modal.show {
  opacity: 1;
  transform: translateY(0px);
  z-index: 99999;
}

.modal-header {
  padding: 20px 30px !important;
}

.modal-body {
  padding: 30px !important;
}

#cf7Modal .modal-dialog {
  max-width: 40vw !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 300px !important;
  border-radius: 12px !important;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
}

#cf7Modal .modal-dialog .modal-content {
  background: #fff;
  background: linear-gradient(90deg, rgba(230, 224, 211, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

@media screen and (min-width: 990px) and (max-width: 1350px) {
  .site-header .wrapper {
    width: calc(100% - 100px);
  }
  .section > .wrapper {
    width: calc(100% - 100px);
  }
  .site-footer .wrapper {
    width: calc(100% - 100px);
  }
  .main_text_box {
    width: 70vw;
  }
  .left_cont {
    padding-top: 0px;
    min-height: 550px !important;
  }
  #primary-menu li {
    margin: 0 0 5px;
  }
  #page {
    min-height: 800px;
  }
  .site-content {
    min-height: 800px;
  }
  .main_photo_cont {
    height: calc(100vh - 250px);
    min-height: 550px;
  }
}

@media screen and (min-width: 990px) {
  header .main-navigation {
    display: none !important;
  }
}

@media screen and (max-width: 990px) {
  section.section {
    padding-top: 70px;
    height: auto !important;
    min-height: auto !important;
  }

  .site-header {
    padding: 20px 15px !important;
    z-index: 99999;
  }

  .site-header .wrapper {
    width: 100%;
  }

  .site-branding {
    width: 50%;
    height: auto;
  }

  .site-header .wrapper .site-branding a img {
    width: 100%;
    height: auto;
    max-height: 30px !important;
  }

  .tehc {
    display: none !important;
  }

  .site-hamburger #nav-icon3 {
    top: 3px !important;
  }

  .site-content {
    padding-top: 0px;
    min-height: auto;
  }

  .section.sec_slider {
    padding: 20px 0;
  }

  .wrapper {
    padding: 0 15px !important;
  }

  body.menu_opened {
    overflow: hidden !important;
  }

  .site-header.py-3 {
    position: fixed;
    width: 100%;
    z-index: 9999;
    background: #fff;
    padding: 0 0 1rem !important;
  }

  .main-navigation {
    z-index: 9999;
    background: #1b1b1c;
    color: #fff;
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .main-navigation.opened {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header .wrapper .main-navigation ul li a {
    color: #fff !important;
    margin: 0 0 20px;
  }

  h1 {
    font-size: 35px !important;
    line-height: 45px !important;
    letter-spacing: 0px;
  }
  .section > .wrapper {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    padding: 100px 15px 100px;
    position: relative;
  }

  .section.homepage {
    height: auto;
    min-height: auto;
  }

  .main_photo_cont {
    height: 50vh;
  }

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

  .left_cont {
    height: auto;
    padding: 45px 15px 0;
  }

  .main_text_box {
    position: relative;
    width: 100%;
    bottom: 30px;
  }

  .homepage .main_text_header {
    margin: 0 0 20px;
    white-space: normal;
  }

  .main_text_header {
    font-size: 60px;
    line-height: 66px;
    white-space: normal;
    z-index: 1000;
    position: relative;
    margin: 0 0 20px;
    overflow-y: hidden;
  }

  .main_text_header br {
    display: none;
  }

  .homepage .main_text {
    color: #fff;
    font-size: 18px;
    line-height: 26px;
    white-space: normal;
    margin: 0 0 30px;
    font-weight: 200;
  }

  .site-footer {
    height: auto;
    position: relative;
    text-align: center;
    background: #000;
  }

  .open_form_but_cont {
    position: absolute;
    right: 80px;
    top: -20px;
    padding: 16px 14px 16px;
  }

  .open_form_but_cont:hover {
    background: #fff;
    padding: 16px 14px 16px;
  }

  .open_form_but {
    height: 20px;
  }

  .open_form_text {
    display: none;
  }

  .site-footer .wrapper {
    max-width: 100%;
    width: 100%;
  }

  .contact_details {
    display: block;
  }
  .contact_name {
    text-align: left;
  }
  .contact_details_left {
    text-align: left;
    margin: 0 0 30px;
  }
  .copntact_details_right {
    text-align: left;
  }

  .copntact_details_right .main_text_button {
    margin-left: 0px;
  }

  .linkedin {
    display: block;
    margin: 10px auto 20px;
  }

  .copyright {
    text-align: center;
    margin: 15px 0 5px;
  }

  #cf7Modal .modal-dialog {
    max-width: 50vw !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 95% !important;
  }
  .form_zgoda {
    line-height: 10px !important;
  }

  .section.welcome > .wrapper {
    min-height: 100vh;
    width: 100%;
  }

  .section.welcome > .wrapper {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    padding: 0px 15px 100px;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    justify-content: center;
  }

  .centerit {
    text-align: center;
  }
  .section.welcome .site-branding {
    display: block;
    height: 60px;
    width: 100%;
    margin: 0 0 20vh;
    position: relative;
  }
  a.home_button {
    color: #fff !important;
  }
  .section.welcome {
    height: 100vh !important;
    overflow: hidden;
  }
  section.welcome {
    padding-top: 0px;
  }
  .home .site-header {
    display: none;
  }
  .bottom_shade {
    position: absolute;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    bottom: 0;
    width: 100%;
    height: 60vh;
  }
  .entry {
    font-family: "massilia", sans-serif;
    font-weight: 200 !important;
    height: auto;
    overflow-y: visible;
    overflow-x: visible;
    padding: 0 15px 30px;
  }
}
