@font-face {
  font-family: "Optima";
  src: url("./fonts/OptimaLTPro-Roman.woff2") format("woff2");
  src: url("./fonts/OptimaLTPro-Roman.woff") format("woff");
}

* {
  margin: 0;
  height: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  cursor: none;
  color: #000000;
}
.kursor {
  position: fixed;
  mix-blend-mode: difference;
  left: 0;
  top: 0;
  z-index: 19;
  width: 30px;
  height: 30px;
  background: #775c50;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.zoomed {
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: 2px solid;
  mix-blend-mode: normal;
}

.header {
  width: 100%;
  min-height: 88px;
  transition: all 0.5s ease;
  position: fixed;
  /*
  background-color: rgba(255, 255, 255, 0.81);
  */
  background-color: rgba(251, 239, 223, 1);
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(15px);
  display: flex;
}
.fixed {
  border-bottom: 1px solid rgb(213, 210, 210);
}
.wrapper {
  max-width: 1270px;
  margin: 0 auto;
  padding: 0 15px;
}
.logo img {
  margin-top: -5px;
  height: max-content;
  width: 140px;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu {
  padding: 30px;
  display: flex;
  gap: 0 32px;
}
.link-menu {
  position: relative;
  padding: 15px 0;
  font-size: 1.325rem;
  font-weight: 500;
  color: rgb(21, 21, 21);
  transition: all 1s ease;
}
.link-menu::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #f96161;
  transition: all 1s ease;
}
.link-menu:hover {
  color: #f96161;
}
.link-menu:hover::before {
  width: 100%;
}
.link-button {
  font-size: 1.325rem;
  font-weight: 500;
  color: rgb(21, 21, 21);
  padding: 10px 20px;
}
.blue {
  margin-left: 32px;
  border-radius: 30px;
  background-color: #f96161;
  color: white;
  transition: all 0.5s ease-in;
}
.blue:hover {
  opacity: 0.5;
}
.buttons-container {
  margin-top: 58px;
}
.close {
  display: none;
}
.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
  align-items: center;
  display: none;
}
.line-burger-menu {
  width: 46px;
  height: 2px;
  background-color: black;
  border-radius: 2px;
}
.middle {
  width: 30px;
}
.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
  align-items: center;
  display: none;
}
.line-burger-menu {
  width: 46px;
  height: 2px;
  background-color: black;
  border-radius: 2px;
}
.middle {
  width: 30px;
}
.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
  align-items: center;
  display: none;
}
.line-burger-menu {
  width: 46px;
  height: 2px;
  background-color: black;
  border-radius: 2px;
}
.middle {
  width: 30px;
}
.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
  align-items: center;
  display: none;
}
.line-burger-menu {
  width: 46px;
  height: 2px;
  background-color: black;
  border-radius: 2px;
}
.middle {
  width: 30px;
}
.transform-tranleteY {
  display: flex;
  z-index: 4;
}
.form-container {
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  background-color: rgba(0, 0, 0, 0.549);
  display: none;
}
.display-blosk {
  display: flex;
}
.form-wrapper {
  background-color: #fbefdf;
  padding: 45px 100px;
  position: relative;
  height: 90vh;
  margin-top: -25%;
}
.form-close {
  position: absolute;
  right: 3%;
  top: 3%;
  font-size: 2rem;
  font-weight: 900;
  padding: 15px;
}
.form-title {
  font-size: 6rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
}
.form-paragraph {
  font-size: 24px;
  margin-bottom: 50px;
  text-align: center;
  margin-top: 100px;
}
.forma-and-text {
  display: flex;
  gap: 0 80px;
}
.text {
  display: flex;
  flex-direction: column;
  gap: 60px 0;
}
.paragrahp-link {
  color: #615f5f;
  font-size: 18px;
  margin-top: 45px;
}

.link-form {
  margin-top: 22px;
  display: block;
  color: black;
  transition: all 0.3s ease;
}
.link-form:hover {
  text-decoration: underline;
}
.link-paragraph {
  text-decoration: none;
  line-height: 25px;
}
.link-paragraph:hover {
  text-decoration: none;
}
.forma {
  width: 50vw;
  cursor: none;
}
.group {
  position: relative;
  margin-bottom: 40px;
  margin-bottom: 90px;
}

.input {
  width: 100%;
  font-size: 16px;
  padding: 10px 10px 25px 5px;
  display: block;
  border: none;
  border-bottom: 1px solid #615f5f;
  background: transparent;
}

.input:focus {
  outline: none;
}

label {
  color: #999;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.input:focus ~ label,
.input:valid ~ label {
  top: -10px;
  font-size: 14px;
  color: #615f5f;
}

.bar {
  position: relative;
  display: block;
  width: inherit;
}

.bar:before,
.bar:after {
  content: "";
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #000000;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.bar:before {
  left: 50%;
}

.bar:after {
  right: 50%;
}

.input:focus ~ .bar:before,
.input:focus ~ .bar:after {
  width: 50%;
}

.highlight {
  position: absolute;
  height: 60%;
  width: 100%;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

.input:focus ~ .highlight {
  animation: inputHighlighter 0.3s ease;
}
.text-area {
  background-color: #fbefdf;
  border: none;
  border-bottom: 1px solid #615f5f;
  color: #615f5f;
  margin-top: 50px;
  width: 100%;
  outline: 0;
}
.text-area:focus ~ .textarea-lable {
  margin-top: -3px;
  font-size: 16px !important;
}
.textarea-lable {
  margin-top: 15px;
  font-size: 20px !important;
  color: #615f5f;
}
.next-lable {
  margin-top: -8px;
}
.big-margin {
  margin-top: 80px;
}
@keyframes inputHighlighter {
  from {
    background: #000000;
  }

  to {
    width: 0;
    background: transparent;
  }
}
.fom-button {
  position: absolute;
  bottom: 10%;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f96161;
  color: white;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  transition: all 0.3s ease;
}
.fom-button:hover {
  opacity: 0.5;
}
.display-blosk {
  display: flex;
}
/* ========================== */

.menu {
  position: fixed;
  top: 10%;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fbefdf;
  display: none;
  overflow: hidden;
}
.transform-tranleteY {
  display: flex;
  z-index: 4;
}
.wrap-menu {
  padding: 40px 380px 40px 0;
  color: #000000;
}
.wrap-menu li a {
  font-size: 32px;
}
.menu li {
  margin-bottom: 70px;
}
.color {
  color: #f96161;
}
.closest {
  position: absolute;
  bottom: 35%;
  right: 20%;
}
.button-closest {
  cursor: none;
  padding: 30px 40px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f96161;
  color: white;
  transition: all 0.5s ease-in;
  font-size: 30px;
  transition: all 0.5s ease;
  border: none;
}
.button-closest:hover {
  opacity: 0.5;
}
.transform-tranleteY {
  display: flex;
  z-index: 4;
}
.scrool-none {
  position: fixed;
  overflow-y: scroll;
  width: 100%;
}
.color {
  color: #f96161;
}
/* ============================================================================================================ */
.body {
  overflow-x: hidden;
  font-family: Optima;
  background-color: #e5e1cf;
  cursor: none;
}
.section-one {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  color: #e5e1cf;
}

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

.left-main-text {
  position: absolute;
  left: 3%;
  top: 45%;
  max-width: 880px;
}
.left-main-text p {
  margin-bottom: 50px;
}
.left-main-text h1 {
  font-size: 5em;
  font-weight: 200;
}
.right-main-text {
  font-size: 18px;
  max-width: 400px;
  position: absolute;
  right: 3%;
  bottom: 10%;
}
/* Section-two ========================================================================================*/
.mobile-section {
  display: none;
}
.mobile-wrapper {
  display: none;
}
.section-two {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
}
.text-foto-container {
  display: flex;
  position: relative;
}
.new-img {
  display: none;
}
.logo-container img {
  padding-top: 10px;
  width: 150px;
  height: 150px;
  object-fit: contain;
}
.text-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 165px 0;
  justify-content: center;
  color: #5c5a53;
  z-index: 2;
  opacity: 1;
}
.second-text-container {
  opacity: 0;
}
.foto-container {
  position: relative;
  width: 50%;
  margin-left: auto;
  height: 100vh;
  overflow: hidden;
}
.foto-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  order: 2;
  transition: all 0.8s ease;
}
.text {
  max-width: 450px;
}
.text h3 {
  font-size: 30px;
  line-height: 30px;
  text-align: center;
}
.text-button {
  margin-top: -30px;
  background-color: transparent;
  padding: 15px 25px;
  border: 1px solid #5c5a53;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #5c5a53;
  cursor: pointer;
}
.end-paragraph {
  /* padding-top: 30px; */
  max-width: 350px;
  font-size: 14px;
  text-align: center;
}
.many-small-foto {
  width: 215px;
  height: 305px;
  position: absolute;
  z-index: 3;
  bottom: -100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;

  gap: 80% 0;
  margin: 0 auto;
}
.img-animation {
  width: 100%;
  height: 100%;
  transform: translateY(500%);
}

.second {
  z-index: 2;
  transform: translateY(150%);
}

/* section-three=================================================================================== */
.section-three {
  width: 100vw;
  min-height: 100vh;
  position: relative;
  color: #5c5a53;
  z-index: 2;
}
.title-three-section {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 54px;
  z-index: -1;
}
.threee-section-paragraph {
  max-width: 350px;
  position: absolute;
  bottom: 20%;
  right: 5%;
  font-size: 18px;
  z-index: -1;
}
.img-three-section-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.img-three-section-wrapper img {
  z-index: -2;
}
.second-images-animation {
  min-width: 150px;
  min-height: 150px;
}
.small-img-container {
  position: absolute;
  object-fit: cover;
}
.one {
  left: 40%;
  top: 30%;
}
.two {
  left: 10%;
  bottom: 30%;
}
.three {
  bottom: 20%;
  right: 10%;
}
.top {
  position: absolute;
  right: 60%;
  top: 0;
  width: 300px;
  height: 300px;
  z-index: 1;
  object-fit: cover;
}
.fife {
  left: 50%;
  bottom: -50%;
}
.six {
  right: 10%;
  bottom: -75%;
}
.seven {
  left: 10%;
  bottom: -95%;
}
.seven img {
  width: 300px;
  height: 400px;
}

/* last-section========================================================================================= */
.last-section {
  position: relative;
  width: 100vw;
  height: 170vh;
  transform-origin: center; /* Масштабування з центру */
  overflow: hidden;
  transition: transform 0.3s ease; /* Плавність анімації */
  z-index: 5;
  color: wheat;
}
.last-section img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Щоб зображення заповнювало весь блок */
  position: absolute; /* Для правильного масштабування */
  top: 0;
  left: 0;
}
.animation-title {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-size: 46px;
  font-weight: 600;
}
.animation-paragraph {
  position: absolute;
  left: 15%;
  bottom: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  max-width: 350px;
  z-index: 6;
}

.lasttt-button {
  z-index: 6;
  position: absolute;
  left: 15%;
  bottom: 35%;
  cursor: pointer;
  background-color: transparent;
  padding: 5px 35px;
  padding-bottom: 18px;
  color: wheat;
  border: 1px solid wheat;
  text-transform: uppercase;
}
.last-small-animation-paragraph {
  position: absolute;
  left: 15%;
  bottom: 43%;
  max-width: 350px;
  z-index: 6;
  font-size: 18px;
}
@media (max-width: 800px) {
  .left-main-text {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
  }
  .right-main-text {
    right: 4%;

    max-width: 90%;
    text-align: center;
  }
  .text h3 {
    font-size: 26px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .end-paragraph {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 700px) {
  .text {
    max-width: 400px;
    padding-left: 15px;
  }
  .text-button {
    margin-top: -10px;
  }
}

@media (max-width: 600px) {
  .section-two,
  .text-foto-container,
  .section-three,
  .last-section,
  .many-small-foto,
  .last-section img {
    display: none;
  }
  .mobile-wrapper {
    display: block;
  }
  .left-main-text h1 {
    font-size: 38px;
  }
  /* dsjkfhkdsf====================== */
  .two-mobile-section {
    width: 100%;
    position: relative;
  }
  .mobile-wrapper {
    width: 100%;
    text-align: center;
    margin: 50px auto;
    padding: 0 25px;
    /* padding-right: 10px; */
    color: #5c5a53;
  }

  .small-mobile-bitton {
    margin-top: 200px;
    background-color: transparent;
    padding: 15px 25px;
    padding-bottom: 30px;
    border: 1px solid #5c5a53;
    text-transform: uppercase;

    cursor: pointer;
  }
  .logo-mobile-container {
    margin: 100px auto;
    width: 200px;
    height: 200px;
  }
  .last-foto-img-container {
    width: 100vh;
    height: 100vh;
    overflow: hidden;
  }
  .logo-mobile-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .small-mobile-paragraph {
    font-size: 22px;
  }
  .small-mobile-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #5c5a53;
  }
  .section-two-foto-wrapper {
    margin: 100px auto;
    width: 100%;
    height: 500px;
    overflow: hidden;
  }
  .section-two-foto-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .small-foto-block {
    position: relative;
  }
  .one-img {
    position: absolute;
    top: 5%;
    left: 25%;
    width: 250px;
    height: 300px;
    object-fit: cover;
  }
  .two-img {
    position: absolute;
    top: 0;
    left: 55%;
    width: 200px;
    height: 150px;
    object-fit: cover;
  }
  .mobile-title {
    font-size: 32px;
  }
  .title-tos {
    z-index: 2;
    left: 55%;
    transform: translateX(-50%);
    margin-top: 450px;
    font-size: 42px;
    position: absolute;
    font-weight: 600;
  }
  .lasttt {
    margin-top: 650px;
  }
  .next-block {
    margin-top: 100px;
  }
  .last-small-mobile-img {
    width: 300px;
    height: 300px;
  }
  .last-mobile-foto-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .bottom-img {
    margin-left: 140px;
    margin-top: -50px;
    width: 170px;
    height: 150px;
  }
  .text {
    margin-top: 100px;
    margin-bottom: 150px;
    font-size: 38px;
    font-weight: 600;
    z-index: 6;
  }
  .last-img-container {
    position: relative;
    width: 100vw;
    height: 500px;
    color: rgb(247, 223, 199);
  }
  .last-img {
    width: 100vw;
    height: 115vh;
    margin-top: 100px;
    object-fit: cover;
    overflow: hidden;
  }
  .last-title {
    text-align: center;
    position: absolute;
    top: 180px;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);

    font-size: 30px;
  }
  .big-last-paragraph {
    text-align: left;
    max-width: 300px;
    position: absolute;
    z-index: 2;
    left: 5%;
    font-size: 24px;
    bottom: -50px;
  }
  .small-last-paragraph {
    text-align: left;
    max-width: 300px;
    position: absolute;
    z-index: 2;
    left: 5%;
    font-size: 20px;
    bottom: -140px;
  }
  .last-mobile-button {
    position: absolute;
    z-index: 2;
    left: 5%;
    font-size: 20px;
    bottom: -260px;
    color: rgb(247, 223, 199);
    border: 1px solid rgb(247, 223, 199);
    font-size: 18px;
  }
  .finnaly-foto {
    width: 100vw;
    height: 141vh;
    overflow: hidden;
  }
}

@media (max-width: 960px) {
  .burger-menu {
    display: flex;
    height: 29px;
    margin-top: 35px;
  }
  .nav-menu {
    flex-direction: column;
    gap: 50px 0;
    background-color: #fbefdf;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 6;
    height: 100vh;
    padding-top: 150px;
    transform: translateX(-100%);
    transition: all 0.4s ease;
  }
  .menu {
    top: 0;
  }
  .wrap-menu {
    padding: 100px 380px 40px 0;
  }
  .close {
    margin-left: auto;
    font-size: 34px;
    font-weight: 900;
    margin-top: -9%;
    display: block;
    color: black;
  }
  .class-transform {
    transform: translateX(0);
  }
  .link-menu {
    font-size: 34px;
  }
  .header-container {
    padding: 30px;
  }
  .link-none-small-screen {
    display: none;
  }

  .main-menu-conatiner span {
    font-size: 6rem;
  }
  .main-menu-conatiner {
    text-align: center;
  }
  .logo img {
    margin-top: 7px;
  }
  .buttons-container {
    margin-top: 15px;
  }
}
