@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;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  font-family: 'NunitoSans', sans-serif;
  color: black;
  background-color: white;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

main {
  padding-top: 85px;
}

section {
  scroll-margin-top: 85px; /* высота твоего меню */
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  margin-bottom: 20px;
  margin-inline: 30px;
  border-radius: 30px;

  /* background-image: url('/assets/img/hero.avif'); */
  background-size: cover;      /* изображение покрывает всю секцию */
  background-position: center; /* центрирование */
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  /* filter: brightness(0.6); */
}

.hero-content p {
  margin: 0;
  width: 50%;
  font-size: 16px;
  text-align: left;
  color: black;
}

.hero-img {
  position: absolute;
  inset: 0;
  filter: brightness(0.6);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position: 60% 14%; */
  /* transform: scale(1.1); */
}

h1 {
  font-family: 'PlayfairDisplay', serif;  
  font-size: 45px;
  font-weight: 300;
  margin-top: 50px;
  margin-bottom: 0;
  /* color: white; */
  color: orange;
  /* 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-family: "PlayfairDisplay", serif; */
  /* background-color: black; */
  font-weight: 300;
  font-size: 22px;
  margin-top: 0;
  /* color: white; */
  color: orange;
  padding-bottom: 20px;
  /* text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6); */
}

h3 {
  font-size: 25px;
  font-weight: 400;
  color: #d6bf7243;
  margin: 0;
  padding-bottom: 0px;
}

.dreiworte {
  font-size: 24px;
  color: rgba(255, 166, 0, 0.607);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  text-align: center;
  justify-content: center;
}

.hero-content h1 {
  /* background-color: #173B3F; */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 20px;
  /* margin-bottom: 20px; */
  border-radius: 30px;
}

.hero-content h2 {
  /* background-color: #173B3F; */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 20px;
  margin-bottom: 80px;
  border-radius: 20px;
}

.cta {
  font-family: 'NunitoSans', sans-serif;
  background: #d6be72;
  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: black;
  color: #d6be72;  
  padding: 13px 20px;
  border: #d6be72 2px solid;  
}

.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;  
}
