@font-face {
  font-family: 'NunitoSans';
  src: url('/assets/fonts/NunitoSans-VariableFont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PlayfairDisplay';
  src: url('/assets/fonts/PlayfairDisplay-VariableFont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  max-width: 5000px;
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: 5000px;
  font-family: 'NunitoSans', sans-serif;
  font-size: 18px;
  color: #EADFC8;
  background-color: #1E5F73;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 5000px; 
  margin-inline: auto;
}

main {
  padding-top: 85px;
}

section {
  scroll-margin-top: 85px; /* высота твоего меню */
  width: 100%;
}

.hero {
  position: relative;
  width: auto;
  min-height: 90vh;
  overflow: hidden;
  margin-bottom: 20px;
  /* margin-inline: 40px; */
  /* border-radius: 30px; */
}

#cta-sale {
  min-height: 100vh;
}

.hero-img {
  position: absolute;
  inset: 0;
  filter: brightness(0.6);
}

.hero-img img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: cover;
  object-position: 60% 14%;
  /* transform: scale(1.1); */
}

h1 {
  font-family: 'PlayfairDisplay', serif;  
  font-size: 70px;
  font-weight: 300;
  margin-top: 120px;
  margin-bottom: 0;
  color: #d6be72;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

h2 {
  /* background: linear-gradient(90deg, #D6BE72 0%, #A98A3C 100%); */
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  /* background-clip: text; */
  /* color: transparent; */
  font-weight: 300;
  font-size: 28px;
  margin-top: 0;
  color: #d6bf72;
  padding-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  /* font-family: "PlayfairDisplay", serif; */
  /* background-color: black; */
}

h3 {
  font-size: 25px;
  font-weight: 400;
  color: #d6bf7243;
  margin: 0;
  padding-bottom: 0px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  justify-content: center;
}

#max-below h1 {
  margin-top: 400px;
}

#slogan-right-align {
  padding-right: 50px;
}

#slogan-right-align h1 {
  text-align: right;
}

#slogan-right-align h2 {
  text-align: right;
}

.hero-content h1 {
  /* background-color: #173B3F; */
  /* background-color: rgba(0, 0, 0, 0.348); */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 20px;
  /* margin-bottom: 20px; */
  border-radius: 30px;
}

.hero-content h2 {
  /* background-color: #173B3F; */
  /* background-color: rgba(0, 0, 0, 0.348); */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 20px;
  /* margin-bottom: 80px; */
  border-radius: 20px;
}

.hero-content p {
  margin: 0;
  width: 50%;
  font-size: 16px;
  text-align: left;
  color: #EADFC8;
}

.cta {
  font-family: 'NunitoSans', sans-serif;
  background: #d6be72;
  width: max-content;
  color: black;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 10px;
  border: #d6be72 2px solid;
  padding: 13px 20px;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
}

.cta:hover {
  background: #f4df9b;
  /* color: #d6be72;   */
  border: #f4df9b 2px solid;  
  box-shadow:
    0 0 20px rgba(244, 223, 155, 0.7),
    0 0 40px rgba(244, 223, 155, 0.4);
  transform: translateY(-2px);
}

.cta2 {
  background: transparent;
  color: #d6be72;
  transition: background-color 0.3s, color 0.3s;
  border: #d6be72 2px solid;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  /* margin-left: 20px; */
}

.cta2:hover {
  background: black;
  color: #d6be72;  
  border: #d6be72 2px solid;  
}


/* Font-size adaptive*/
@media (max-width: 1250px) {
  .h1font, h1 {
    font-size: 65px;
  }

  h2 {
    font-size: 27px;
  }
}

@media (max-width: 1000px) {
  .h1font, h1 {
    font-size: 55px;
  }

  h3 {
    font-size: 23px;
  }

  body {
    font-size: 16px;
  }

  .cta {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .faq-question {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .h1font, h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  .faq-question {
    font-size: 18px;
  }

  #slogan-right-align h1 {
    text-align: center;
  }

  #slogan-right-align h2 {
    text-align: center;
  }

  #slogan-right-align {
    padding-inline: 0;
  }
}

@media (max-width: 500px) {
  .h1font, h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
  }

  body {
    font-size: 14px;
  }

  .cta {
    font-size: 14px;
  }

  .faq-question {
    font-size: 16px;
  }
}

@media (max-width: 350px) {

  body {
    font-size: 13px;
  }

  .cta {
    font-size: 13px;
  }

}




