/* Import fontów ZT Nature */
@font-face {
  font-family: "ZT Nature";
  src:
    url("assets/fonts/ZTNature-ExtraLight.woff2") format("woff2"),
    url("assets/fonts/ZTNature-ExtraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ZT Nature";
  src:
    url("assets/fonts/ZTNature-Regular.woff2") format("woff2"),
    url("assets/fonts/ZTNature-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ZT Nature";
  src:
    url("assets/fonts/ZTNature-Medium.woff2") format("woff2"),
    url("assets/fonts/ZTNature-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ZT Nature";
  src:
    url("assets/fonts/ZTNature-Bold.woff2") format("woff2"),
    url("assets/fonts/ZTNature-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ZT Nature";
  src:
    url("assets/fonts/ZTNature-Black.woff2") format("woff2"),
    url("assets/fonts/ZTNature-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "ZT Nature", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f1f0ef;
  color: #141414;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  max-width: 100%;
  overflow: hidden;
  /* align-items: center; */
  /* padding: 40px 20px; */
}

/* Wrapper */
.wrapper {
  width: 100%;
  max-width: 1070px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 0;
  border-left: 1px solid #DBDAD6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Logo Container */
.logo-container {
  /* margin-bottom: 60px; */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
}

.logo-container img {
  max-width: 262px;
  height: auto;
}

/* Główny tekst */
.main-text {
  /* margin-bottom: 60px; */
  opacity: 0;
  animation: fadeIn 0.8s ease-in 0.2s forwards;
  position: relative;
}

.main-text:before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0px;
    width: 100vw;
    transform: translateX(-50%);
    pointer-events: none;
    border-bottom: 1px solid #DBDAD6;
}

.main-text h1 {
  font-size: clamp(32px, 8vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;

  color: #141414;
  leading-trim: both;
  text-edge: cap;
  font-family: "ZT Nature";
  font-size: 40px;
  font-style: normal;
  font-weight: 200;
  line-height: 120%; /* 48px */
  letter-spacing: -0.8px;
}

.main-text h1 strong {
  font-weight: 400;
}

.main-text .line1 {
  display: block;
}

.main-text .line2 {
  display: block;
}

/* Kontener na email */
.email-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.8s ease-in 0.4s forwards;
  position: relative;
}

.email-container:before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0px;
    width: 100vw;
    transform: translateX(-50%);
    pointer-events: none;
    border-bottom: 1px solid #DBDAD6;
}

.email-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.email-link:hover img {
  opacity: 0.7;
}

.email-link img {
  width: 40px;
  height: 40px;
  transition: opacity 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 0px 15px;
  }

  .logo-container {
    /* margin-bottom: 40px; */
  }

  .main-text h1{
    /* margin-bottom: 40px; */
    font-size: 36px;
  }

  .email-link {
    padding: 6px;
  }

  .email-link img {
    width: 36px;
    height: 36px;
  }
}
