:root {
  --bg-page: #a8acb0;
  --bg-card: #fdfaf4;
  /* --grid-line: #EC3452; */
  --grid-line: #828def;
  --accent: #EC3452;
  --accent2: #828def;
  --text-main: #1f1f20;
  --text-muted: #1f1f1f;
  --shadow-soft: 0 12px 30px rgba(248, 191, 191, 0.18);
  --radius-card: 18px;
  --font-main: "Manrope", sans-serif;
  --font-deco: "Meshed", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand: "Mansalva", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  /* background: var(--bg-page); */
  font-family: var(--font-main);
  color: var(--text-main);
  /* background: #e99088; */
  background-color: #d9dcee;
  background-image: url("./img/clouds_white.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

header a {
  text-transform: none;
  text-decoration: none;
  color: black;
  font-weight: 600;
  position: fixed;
}

.intro-shell {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* główny panel jak na screenie */
.intro-panel {
  /* background: #e99088; */
  /* łososiowy, możesz podmienić */
  /* background: #d7e0f8; */
  width: 100%;
  max-width: 1400px;
  min-height: 70vh;
  display: flex;
  padding: 40px;
  position: relative;
}

header {
  display: flex;
  justify-content: flex-end;
  align-self: center;
  height: 100px;
  width: 100%;
  padding: 2%;
}

.intro-logo{
  right: 24px;
  top: 18px;
  cursor: pointer;
  /* jeśli nie chcesz tekstu "Close ✕", wyzeruj font-size */
  /* font-size: 0; */
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  align-items: center;
}

.intro-logo p {
  text-align: center;
  font-size: 1rem;
  display: block;
  margin: 0;
  width: 100%;
  font-family: var(--font-deco);
  text-transform: uppercase;
}

/* lewy blok z linkami */
.intro-left {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.intro-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.intro-nav li {
  margin-bottom: 10px;
}

.intro-nav a {
  /* font-family: var(--font-deco); */
  font-weight: 300;
  font-size: 3rem;
  letter-spacing: -0.02;
  /* line-height: 1.5; */
  text-decoration: none;
  color: #1f1f20;
  display: inline-block;
}

.intro-nav a span.count {
  font-size: 0.9rem;
  vertical-align: super;
  margin-left: 4px;
}

.intro-nav a.active {
  text-decoration: underline;
}

.intro-nav a:hover {
  text-decoration: underline;
}

/* prawy blok z obrazkami */
.intro-right {
  flex: 0 0 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.intro-photo {
  width: 60%;
  max-width: 540px;
  position: absolute;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.intro-photo.first {
  left: 10%;
  transform: rotate(-4deg);
  z-index: 1;
}

.intro-photo.second {
  right: 8%;
  transform: rotate(8deg);
  z-index: 0;
}

.intro-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* mały tekst na dole jak na screenie */
.intro-bottom-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  bottom: 16px;
  padding: 0 60px;
  font-size: 0.9rem;
  text-align: center;
}
.intro-bottom-text .bold{
  font-weight: 800;
  color: var(--accent)
}
.intro-bottom-text  a{
  font-weight: 800;
}
/* RWD */
@media (max-width: 900px) {
  header {
    position: relative;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  header a{
    position: relative;
  }
  .intro-shell {
    padding: 16px;
  }

  .intro-panel {
    padding: 32px 0px 60px;
    flex-direction: column;
    justify-content: center;
  }


  .intro-left {
    flex: none;
    margin-bottom: 24px;
  }
  .intro-panel .intro-left .intro-nav  {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .intro-right {
    flex: none;
    min-height: 360px;
    margin: 30px;
  }

  .intro-right .intro-photo {
    width: 70%;
    z-index: -2;
  }

  .intro-photo.first {
    left: 5%;
  }

  .intro-photo.second {
    right: 2%;
  }

  .intro-bottom-text {
    padding: 0 20px;
    font-size: 0.8rem;
  }



  .intro-nav a {
    font-size: 1.8rem;
  }


}

@media (max-width: 680px) {

  .intro-right {
    flex: none;
    min-height: 160px;
    margin: 30px;
  }

}
