:root {
  /* Margin */

  --margin-small: 0.75rem;
  --margin-medium: 1rem;
  --margin-large: 1.5rem;
  --margin-text-box: 2rem;
  --margin-headline: 1.25rem;

  /* Padding */

  --padding: 24px;
  --padding-desktop: 24px;
  --padding-big: 4rem;
  --padding-bigger: 5.5rem;
  --padding-card: 1.5rem;
	
  /* Karty */
	
  --card-padding: 2.5rem;
  --card-radius: 1.5rem;
  --card-gap: 1.5rem;
	
  /* Gap */

  --gap: 35px;
  --gap-small: 20px;

  /* Border Radius */

  --border-radius-small: 0.8rem;
  --border-radius: 2rem;

  /* Nagłówek H1 */

  --hero-font-size: 2rem;
  --hero-line-height: 2.3rem;
  --slide-step: 2.6rem;

  /* Kolory */

  --white: #fff;
  --light-white: #efefef;
  --black: #141414;
  --blue: #4db8ff;
  --violet: #a86eff;
  --red: #ff4d6d;

  /* Gradienty */

  --gradient: linear-gradient(90deg, var(--blue), var(--violet), var(--red));
  --gradient-reverse: linear-gradient(90deg,
      var(--red),
      var(--violet),
      var(--blue));
}

/* Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Html + body */

html {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-white);
}

.grecaptcha-badge {
    display: none !important;
  }

/* Ramka strony */

#page-border {
  border-top: var(--margin-small) solid var(--light-white);
  border-bottom: var(--margin-small) solid var(--light-white);
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
}

/* Karty */

.card-base{
  padding: var(--card-padding);
  border-radius: var(--card-radius);
}

/* Popup */

.overlay-contact-form {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.overlay-contact-form.active {
  visibility: visible;
  opacity: 1;
}

.overlay-contact-form.active .popup-field {
  transform: translateY(0);
}

.popup-field {
  width: 85%;
  transform: translateY(300%);
  transition: 0.5s;
  border-radius: var(--card-radius);
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  padding: var(--card-padding);
}

.popup-field .section-title-small {
  color: var(--violet);
}

.popup-field .description-small {
  margin-top: var(--padding);
  margin-bottom: var(--padding-big);
}

.popup-field .icon{
  height: 1.8rem;
  width: 1.8rem;
  position: absolute;
  right: 5%;
  top: 5%;
  cursor: pointer;
}

/* Koniec popupu */

.top-left-radius,
.top-right-radius,
.bottom-left-radius,
.bottom-right-radius {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background-color: transparent;
  border-radius: 50%;
}

.top-left-radius {
  top: 0;
  left: 0;
  box-shadow: -12px -12px 0 var(--light-white);
}

.top-right-radius {
  top: 0;
  right: 0;
  box-shadow: 12px -12px 0 var(--light-white);
}

.bottom-left-radius {
  bottom: 0;
  left: 12px;
  box-shadow: -12px 12px 0 var(--light-white);
}

.bottom-right-radius {
  bottom: 0;
  right: 12px;
  box-shadow: 12px 12px 0 var(--light-white);
}

/* Ikonki */

.icon {
  display:inline-block;
  vertical-align:middle;
  width:2.5rem;
  height:2.5rem;
  fill: #fff;
}

.gradient-icon { fill: url(#cm-gradient); }

/* Przyciski / button */

.button-box{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-small);
  text-decoration: none;
  cursor: pointer; 
  position: absolute;
  bottom: 8%;
  z-index: 1;
}

.button-text{
  text-align: center;
  color: #ffffff;
  font-weight: 200;
  font-size: 0.8rem;
  width: 80%;
}

div#scroll-btn {
  position: relative;
  display: block;
  height: 2em;
  width: 1.3em;
  border: 0.1em solid #ffffff;
  border-radius: var(--border-radius);
}

div#scroll-btn:before {
  position: absolute;
  content: "";
  margin: auto;
  left: 0;
  right: 0;
  top: 0.2em;
  height: 0.5em;
  width: 0.5em;
  background-color: #ffffff;
  border-radius: 50%;
  animation: move-down 2s infinite;
}

@keyframes move-down {
  80% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(0.8em);
    opacity: 0;
  }
}


/* headlines */

h1.hero-title {
  font-size: var(--hero-font-size);
  line-height: var(--hero-line-height);
  text-align: center;
  font-weight: 300;
  color: var(--light-white);
  letter-spacing: -0.02em;
  will-change: transform;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

h2.hero-subtitle{
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--light-white);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

h2.section-title-small {
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.1rem;
}

h2.section-title-large{
  font-size: 1.6rem;
  line-height: 125%;
  font-weight: 200;
  width: 90%;
}

h3.form-title{
	color: var(--black) !important;        
	background: none !important;          
	-webkit-background-clip: unset !important; 
	background-clip: initial !important; 
	margin-bottom: var(--margin-large);
	font-weight: 300;
	font-size: 1.6rem;
}

h3.section-title-large {
  font-size: 2rem;
  line-height: 2.2rem;
  font-weight: 300;
}

.text-box h3.section-title-large{
	margin: var(--margin-headline) 0;
}

.outer-headings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 85%;
}

.inner-headings {
  border: 0px solid var(--light-white);
  height: var(--slide-step);
  overflow: hidden;
}

.inner-headings span {
  position: relative;
  line-height: var(--slide-step);
  font-style: oblique;
  color: var(--light-white);
  font-weight: 600;
  animation: slideText 9s ease infinite;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
}

h2.section-title-small {
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.1rem;
}

h3.section-title-large {
  font-size: 1.6rem;
  line-height: 2.2rem;
  font-weight: 300;
}

h3.title-box {
  font-size: 1.2rem;
  font-weight: 300;
}

h3.number {
  font-size: 2.8rem;
  font-weight: 400;
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 100% auto;
  background-position: 0 0;
  background-repeat: no-repeat;
  display: inline-block;
}

h4.title-box {
  font-size: 1.3rem;
  font-weight: 200;
}

h4.section-title-small {
  font-size: 1.3rem;
  font-weight: 400;
}

/* Paragraph */

.description {
  font-size: 0.9rem;
  line-height: 125%;
  font-weight: 200;
}

p.label {
  background: var(--gradient);
  background-clip: text;
  color: transparent;
}

.description-hero {
  font-size: 1rem;
  line-height: 125%;
  font-weight: 200;
  text-align: center;
  margin-top: var(--gap);
  color: var(--light-white);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
  position: relative;
}

.description-small {
  font-size: 1rem;
  font-weight: 300;
}

.description-large,
.reveal-type {
  font-size: 1rem;
  font-weight: 200;
  line-height: 170%;
}

p.description-big{
  font-size: 1rem;
  font-weight: 300;
  line-height: 140%;
}

.text {
  font-size: 1.4rem;
  font-weight: 200;
  z-index: 4;
  text-align: center;
}

.content:not(:first-child) .text {
  opacity: 0;
}

/* Buttons */

.btn-box {
  margin-top: var(--padding);
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--margin-small) var(--padding);
  border-radius: var(--border-radius);
  border: none;
  font-size: 1rem;
  font-weight: 200;
  text-decoration: none;
  cursor: pointer;
  color: var(--light-white);
  background: var(--gradient);
}

.btn-main span {
  position: relative;
  z-index: 1;
}

.btn-main:not(.send-btn) {
  animation: buzz-pause 2.8s ease-in-out infinite;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

/* page wrapper */

#page-wrapper {
  max-width: 1536px;
  margin: 0 auto;
  padding: var(--margin-small);
  position: relative;
}

header,
section,
#konsultacja {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: var(--margin-small);
}

section {
  background-color: var(--light-white);
  margin-top: var(--padding-big);
}

#hero-section {
  position: sticky;
  top: 12px;
  height: 100vh;
  justify-content: center;
  align-items: center;
  border-radius: var(--margin-small);
}

/* Header dla 404 not found */

#hero-not-found{
  top: 12px;
  height: calc(100vh - 24px);
  justify-content: center;
  align-items: center;
  border-radius: var(--margin-small);
  position: relative;
}

.message-not-found {
  text-decoration: none;
  margin-top: var(--margin-large);
  border: 1px solid var(--light-white);
  padding: var(--margin-small) var(--margin-large);
  border-radius: var(--border-radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  transition: .7s;
}

.message-not-found:hover{
  background: rgba(255, 255, 255, 0.3);
}

.finisher-header {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-white);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}

.rectangle-top-left,
.rectangle-top-right {
  position: absolute;
  background-color: var(--light-white);
  min-width: 0;
  min-height: 0;
  padding: var(--margin-small) var(--padding);
  top: 0;
}

.rectangle-top-left {
  left: 0;
  border-bottom-right-radius: var(--margin-small);
}

.rectangle-top-right {
  right: 0;
  border-bottom-left-radius: var(--margin-small);
}

.rectangle-top-left::before,
.rectangle-top-left::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: -12px -12px 0 var(--light-white);
}

.rectangle-top-left::before {
  bottom: -24px;
  left: 0;
}

.rectangle-top-left::after {
  top: 0;
  right: -24px;
}

.rectangle-top-right::before,
.rectangle-top-right::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: transparent;
  border-radius: 50%;
  box-shadow: 12px -12px 0 var(--light-white);
}

.rectangle-top-right::before {
  bottom: -24px;
  right: 0;
}

.rectangle-top-right::after {
  top: 0;
  left: -24px;
}

.logo {
  width: 80px;
}

/* hamburger menu */

/* Hamburger */
.hamburger-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  cursor: pointer;
  position: relative;
}

.hamburger-line,
.hamburger-line::before,
.hamburger-line::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 2px;
  background-color: var(--black);
  transition: transform 0.4s ease, top 0.4s ease, opacity 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger-line {
  top: 50%;
}

.hamburger-line::before {
  top: -8px;
}

.hamburger-line::after {
  top: 8px;
}

/* Stan aktywny */
.hamburger-menu.active .hamburger-line {
  background-color: transparent;
}

.hamburger-menu.active .hamburger-line::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.hamburger-menu.active .hamburger-line::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* Stylowanie menu */

#menu {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: var(--light-white);
  top: 50%;
  left: 50%;
  transition: all 0.5s;
  transform: translate(-50%, -50%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius);
  visibility: hidden;
  z-index: 99;
}

#menu.active {
  width: 100%;
  height: 100vh;
  opacity: 1;
  visibility: visible;
  z-index: 99;
}

.menuElement {
  margin-block: 1rem;
  list-style: none;
  opacity: 0;
}

.menuItem {
  font-size: 2rem;
  font-weight: 200;
  text-decoration: none;
  color: black;
}

.menuElement {
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.menuElement.active {
  opacity: 1;
  transform: translateY(0);
}

.menuElement.inactive {
  opacity: 0;
  transform: translateY(20px);
}

#aboutme {
  background: linear-gradient(to bottom,
      rgba(239, 239, 239, 0) 0%,
      rgba(239, 239, 239, 0.9) 10%,
      rgba(239, 239, 239, 1) 100%);
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: auto;
  scroll-margin-top: 0;
}

.sticky {
  position: sticky;
  top: 0;
}

/* Services / Usługi */

#konsultacja {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
}

.services-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  justify-content: center;
  align-items: center;
}

.text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: var(--margin-text-box);
}

.service-card {
  position: sticky;
  top: 0;
  width: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  align-items: center;
  text-align: center;
  padding-bottom: var(--padding-bigger);
}

.rectangle{
	position: absolute;
    min-width: 0;
    min-height: 0;
    bottom: 0;
	right: 0;
    border-radius: var(--border-radius);
	background-color: var(--light-white);
	padding-left: 10px;
	padding-top: 10px;
}

.rectangle .icon{
	width: 1.2rem;
	height: 1.2rem;
}

.rectangle::before{
	content: "";
    position: absolute;
    width: var(--border-radius);
    height: var(--border-radius);
	right: 0;
	top: -2rem;
    background-color: transparent;
    border-radius: var(--border-radius);
	box-shadow: 1rem 1rem 0 var(--light-white);
}

.rectangle::after{
	content: "";
    position: absolute;
    width: var(--border-radius);
    height: var(--border-radius);
	left: -2rem;
	bottom: 0;
    background-color: transparent;
    border-radius: var(--border-radius);
    box-shadow: 1rem 1rem 0 var(--light-white);
}

.rectangle-dot{
	position: absolute;
	width: var(--border-radius);
    height: var(--border-radius);
	left: 0;
	top: 0;
    background-color: transparent;
    border-radius: var(--border-radius);
}

.service-card:nth-child(3n + 1) .rectangle-dot { box-shadow: -1rem -1rem 0 var(--blue); }
.service-card:nth-child(3n + 2) .rectangle-dot { box-shadow: -1rem -1rem 0 var(--violet); }
.service-card:nth-child(3n) .rectangle-dot { box-shadow: -1rem -1rem 0 var(--red); }

.btn-service{
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	padding: var(--margin-small);
	border-radius: calc(var(--border-radius)/2);
	text-decoration: none;
	color: var(--white);
	position: relative;
	z-index: 10;
	font-size: 0.8rem;
}

/* Kolorowe karty services/whyme */

.content:nth-of-type(3n + 1) .card,
.service-card:nth-of-type(3n + 1),
.service-card:nth-of-type(3n + 1) .btn-service{
  background-color: var(--blue);
}

.content:nth-of-type(3n + 2) .card,
.service-card:nth-of-type(3n + 2),
.service-card:nth-of-type(3n + 2) .btn-service{
  background-color: var(--violet);
}

.content:nth-of-type(3n) .card,
.service-card:nth-of-type(3n),
.service-card:nth-of-type(3n) .btn-service{
  background-color: var(--red);
}

/* Sekcja Technologie */

#technology {
  margin-top: var(--gap);
}

.technology-container{
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
}

.technology-content-box {
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  transition: 0.5s;
}

.technology-box{
  background-color: var(--white);
}

.section-title-large{
  font-size: 1.5rem;
  font-weight: 400;
	margin-top: 10px;
}

.technologies{
  display: flex;
  gap: 10px;
  align-items: center;
	flex-wrap: wrap;
}

.small-box{
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  position: relative;
  background-color: var(--light-white);
  transition: 0.5s;
}

.small-box i{
  font-size: 1.2rem;
  line-height: 1.2rem;
}

.small-box-text{
  font-size: 0.875rem;
  line-height: 0.875rem;
}

/* Sekcja mam projekt / nie mam projektu */

#projects{
	margin-top: var(--padding-big);
}

.projects-box{
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
}

.project-box:first-of-type{
  background-color: var(--blue);
}

.project-box:last-of-type{
  background-color: var(--violet);
}

.project-box{
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  color: var(--white);
}

/* sekcja dlaczego ja */

.features {
  display: grid;
  gap: var(--gap-small);
  grid-template-columns: 1fr;
}

.feature {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  border: 1px solid var(--light-white);
}

.feature .top-box {
  display: flex;
  align-items: center;
  gap: var(--gap-small);
}

.top-box h4 {
  line-height: 1;
  margin: 0;
	width: 90%;
}

/* sekcja proces */

#process {
  margin-top: var(--gap);
}

.process-container {
  display: flex;
  gap: var(--gap-small);
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--margin-small);
}

.process-container .process-step {
  flex: 0 0 100%;
  max-width: 100%;
	gap: var(--card-gap);
  background-color: white;
}

.process-box h4.section-title-small{
	margin: var(--margin-medium) 0;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: var(--gap-small);
  align-items: center;
}

.buttons button {
  width: 30%;
  background-color: var(--white);
  border: none;
  cursor: pointer;
  border-radius: var(--border-radius);
  padding: var(--margin-medium);
}

/* Sekcja kontakt */

#contact {
  margin-top: var(--gap);
}

.contact-info-box {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: var(--gap-small);
  background-color: var(--white);
  padding: var(--padding-desktop);
  text-decoration: none;
  border-radius: var(--border-radius);
}

.info-box h4 {
  color: var(--black);
  font-weight: 400;
  font-size: 1.2rem;
}

.social-media-icon {
  width: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--padding-desktop);
  border-radius: var(--border-radius);
  text-decoration: none;
}

.info-box .icon,
.social-media-box .icon{
	width: 1.5rem;
	height: 1.5rem;
}

.social-media-box {
  margin-top: var(--gap-small);
  display: flex;
  gap: var(--gap-small);
}

.right-side{
	padding: var(--card-padding);
	background-color: var(--white);
	border-radius: var(--card-radius);
}

.wpforms-container form {
  width: 100%;
}

.wpforms-field legend {
  font-size: 1rem;
  margin-bottom: var(--gap-small);
  font-weight: 600;
}

.wpforms-field fieldset {
  border: 0;
  margin: 0 0 20px 0;
  padding: 0;
}

.wpforms-field ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* RADIO – pigułki dla wszystkich pól typu radio */
.wpforms-field-radio ul li label {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--light-white);
  border-radius: 8px;
  background: var(--white);
  font-size: 1rem
  cursor: pointer;
  transition: all 0.3s ease;
}
.wpforms-field-radio ul li input[type="radio"] {
  display: none;
}
.wpforms-field-radio ul li input[type="radio"]:checked + label {
  background: var(--gradient);
  color: var(--white);
}

/* POLA TEKSTOWE */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 1px solid transparent;
  border-image: var(--gradient) 1;
  background: transparent;
  outline: none;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus {
  border: 1px solid transparent;
  border-image: var(--gradient) 1;
}

.wpforms-field textarea {
  resize: none;
  height: 80px;
}

.standard-checkbox + label {
	font-size: 0.8rem;
	font-weight: 200;
}

/* CHECKBOX – klasyczny kwadracik dla wszystkich pól typu checkbox */
.wpforms-field-checkbox ul li {
  display: flex;
  align-items: center;
  gap: var(--gap-small);
}

.wpforms-field-checkbox ul li label {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
}

.wpforms-field-checkbox ul li input[type="checkbox"] {
  accent-color: var(--violet);
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex-shrink: 0;
}

.wpforms-required-label {
  display: none;
}

/* PRZYCISK WYŚLIJ */
.wpforms-submit-container button[type="submit"] {
  width: 100%;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-top: var(--margin-small);
}

.wpforms-error {
  font-size: 0.75rem;
  color: var(--red);
  margin-top: 0.25rem;
  display: block;
}

.wpforms-field-label-inline{
  font-size: 0.75rem !important;
}

/* Footer / Stopka */

footer.main {
  margin-top: var(--gap);
}

.left-box {
  display: flex;
  justify-content: center;
  padding-top: 50px;
}

#footer-menu {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: var(--gap-small);
  list-style: none;
}

.footer-menu-element {
  list-style: none;
}

.footer-menu-item {
  text-decoration: none;
  display: block;
  color: var(--light-white);
  font-size: 1rem;
  text-decoration: none;
}

.footer-logo {
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  text-align: center;
  opacity: 0.1;
}

.footer-line {
  width: 100%;
  height: 1px;
  background-color: var(--light-white);
  margin: var(--padding-desktop) 0;
}

.right-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.right-box a,
.right-box .footer-copy {
  color: var(--light-white);
  font-size: 0.8rem;
  text-decoration: none;
}

.background-strip {
  width: 100%;
  background: var(--gradient);
  border-radius: 12px;
  padding: 0 var(--padding) var(--padding);
}

/* Polityka Prywatności */

#hero-small{
  top: 12px;
  min-height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--margin-small);
  position: relative;
  flex-direction: column;
  overflow: hidden;
  padding: 100px 25px;
  gap: 0.8rem;
}

#hero-small .hero-title{
  margin-top: 55px;
}

.wysiwyg h2{
  font-size: 1.6rem;
  line-height: 2.2rem;
  font-weight: 300;
  margin: var(--margin-small) 0;
}

.wysiwyg h3{
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  font-weight: 400;
  font-size: 1.1rem;
  margin: var(--margin-medium) 0;
}

.wysiwyg p{
  font-size: 1.2rem;
 line-height: 160%;
  font-weight: 300;
}

.wysiwyg ol{
 padding: 0 var(--margin-large);
}

.wysiwyg ol li{
	margin: 10px 0;
	font-size: 0.9rem;
	font-weight: 200;
}

.wysiwyg ol li ul{
	margin: 20px 0;
}

.wysiwyg ol li ul li{
	padding: 0 var(--margin-large);
	list-style-position: inside;
}

.wysiwyg a{
 transition: 0.3s;
	text-decoration: none;
	color: var(--black);
}

.wysiwyg a{
 color: var(--blue);
}

/* Bezpłatna konsultacja */

#free-consultation{
	display: flex;
	flex-direction: column;
}

#free-consultation .left-side,
#free-consultation .right-side{
	width: 100%;
}

/* Services Podstrona */

.about-service{
  align-items: flex-start !important;
	padding: 50px 35px;
}

/* Simple cards section */

#simple-cards{
  border-radius: var(--border-radius-small);
  gap: var(--gap);
  margin-top: 7rem;
}

.simple-cards-container{
  display: grid;
  grid-template-columns: 1fr; 
  row-gap: var(--gap-small);
}

.simple-card{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--card-gap);
  background-color: var(--white);
}

.simple-card i{
  color: var(--white);
  font-size: 1.5rem;
}

.simple-card-text-box h4{
  line-height: 1;
}

.icon-box{
  display: flex;
  justify-content: center;
}

.icon-background{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--gradient);
  border-radius: var(--border-radius-small);
}

.simple-card-text-box{
  display: flex;
  flex-direction: column;
  gap: var(--margin-small);
  margin-top: 5px;
}

/* FAQ section */

.faq-container {
  background-color: var(--white);
  padding: var(--card-padding);
  border-radius: var(--card-radius);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.25s ease;
}

.faq-question.active,
.faq-icon.active {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-answer {
  overflow: hidden;
  height: 0;
  transition: height 0.35s ease;
  font-weight: 300;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.6s ease;
}

.faq-title{
	width: 90%;
    font-size: 1rem;
	font-weight: 300;
}

.faq-item.active .faq-icon {
  transform: rotate(405deg);
}

.faq-line {
  height: 1px;
  background: var(--gradient);
  margin: var(--margin-medium) 0;
}

.reviews-box{
	margin-top: var(--margin-medium);
}

/* Responsywność */

@media (width >=640px) {
  :root {
    --hero-font-size: 3rem;
    --hero-line-height: 3.2rem;
    --slide-step: 3.5rem;
  }

  .description-large {
    font-size: 1.6rem;
  }
  
	.description-hero{
		font-size: 1.2rem;
	}

  .menuItem {
    font-size: 2.5rem;
  }

  h2.section-title-small {
    font-size: 1.6rem;
  }

  h3.section-title-large {
    font-size: 2.4rem;
    line-height: 3rem;
  }
	
	h4.section-title-small{
		font-size: 1.6rem;
	}

  .logo {
    width: 90px;
  }

  #footer-menu {
    justify-content: space-between;
  }

  .right-box a,
  .right-box .footer-copy {
    font-size: 1.1rem;
  }
	
	.button-text {
  font-size: 1.2rem;
}

div#scroll-btn {
  height: 3em;
  width: 1.8em;
}

div#scroll-btn:before {
  height: 1em;
  width: 1em;
}

@keyframes move-down {
  80% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(1.3em);
    opacity: 0;
  }
}

h2.section-title-large{
  font-size: 2.4rem;
}

	p.description-big{
  font-size: 1.6rem;
}
	
	p.description-small{
		font-size: 1.4rem;
	}

}

.faq-question{
	font-size: 1.2rem;
}

@media (width >=768px) {
  :root {
    --hero-font-size: 3.5rem;
    --hero-line-height: 4rem;
    --slide-step: 4.4rem;
  }

  .description-large,
  .reveal-type {
    font-size: 1.6rem;
  }

  h2.section-title-small {
    font-size: 1.8rem;
  }

  h3.title-box {
    font-size: 1.8rem;
  }

  p.description {
    font-size: 1.1rem;
    line-height: 2.2rem;
  }

  .process-container .process-step {
    flex: 0 0 50%;
    max-width: calc(50% - (var(--gap-small) / 2));
  }

  .logo {
    width: 100px;
  }
	
	.btn-main {
  font-size: 1.2rem;
}
}

@media (width >=1024px) {

  .description-large,
  .reveal-type {
    font-size: 2rem;
  }

  .description-hero {
    font-size: 1.5rem;
    width: 80%;
  }

  .menuItem {
    font-size: 1rem;
  }
	
	h2.hero-subtitle{
  font-size: 1.8rem;
}

  h3.section-title-large {
    font-size: 2.8rem;
    line-height: 3.5rem;
  }

  h3.title-box {
    font-size: 2.2rem;
  }

  p.description {
    font-size: 1.1rem;
    line-height: 120%;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  #page-border {
    width: 1536px;
    left: 50%;
    transform: translateX(-50%);
  }

  #sticky {
    flex-direction: row;
  }

  .hamburger-menu {
    display: none;
  }
	
	.projects-box{
    flex-direction: row;
  }

  .project-box{
    width: 50%;
  }
	
.wysiwyg h2{
  font-size: 2rem;
  line-height: 2.5rem;
}

.wysiwyg h3{
  font-size: 1.5rem;
  margin: var(--margin-large) 0;
}

.wysiwyg ol li{
	margin: var(--margin-medium) 0;
	font-size: 1rem;
}

.wysiwyg a:hover{
 text-decoration: underline;
}
	
	/* Simple cards */

  .simple-cards-container{
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--gap);
  }

  .simple-card:nth-child(even) {
   transform: translateY(40px);
	}
	
/* Bezpłatna konsutlacja */

#free-consultation{
	flex-direction: row;
}

#free-consultation .left-side,
#free-consultation .right-side{
	width: 50%;
}

  /* Buttons */

.btn-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: none;
  border-radius: 8px;
  font-size: 1.2rem;
  color: #fff; 
  isolation: isolate;
}

.btn-main::before,
.btn-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.8s ease;
  z-index: -1; /* tło zawsze pod spodem */
}

.btn-main::before {
  background: var(--gradient);
  opacity: 1;
}

.btn-main::after {
  background: var(--gradient-reverse);
  opacity: 0;
}

.btn-main:hover::after {
  opacity: 1;
}

  .gradient-icon {
    transition: 0.5s;
    z-index: 2;
  }

  button:hover .icon,
  .social-media-icon:hover .gradient-icon {
    animation: buzz 1s ease-in-out infinite;
  }

  .info-box:hover .icon,
  .info-box:hover h4 {
    animation: buzz 1s ease-in-out infinite;
  }

  /* Menu */

  #menu {
    position: static;
    flex-direction: row;
    gap: 20px;
    width: auto;
    height: auto;
    padding: 0 20px;
    visibility: visible;
    opacity: 1;
    background-color: transparent;
    transform: none;
  }

  .menuElement {
    opacity: 1;
    transform: translateY(0);
    margin-block: 0;
  }

  .menuItem {
    font-size: 1rem;
    font-weight: 200;
  }

  a.hover-flip {
    position: relative;
    display: block;
    overflow: hidden;
  }

  a.hover-flip span {
    display: block;
    transition: transform 1s;
  }

  a.hover-flip::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: top 1s, opacity 1s;
  }

  a.hover-flip:hover span {
    transform: translateY(-100%);
  }

  a.hover-flip:hover::before {
    top: 0;
    opacity: 1;
  }

  .text-dark span {
    color: var(--black);
  }

  .text-light span {
    color: var(--light-white);
  }

  .text-gradient::before {
    font-size: 1rem;
    font-weight: 200;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  /* Kontakt */

  #contact {
    display: flex;
    flex-direction: row;
    gap: var(--gap);
  }
	
	.left-side,
	.right-side{
		width: 50%;
	}
	
	.faq-title{
    font-size: 1.2rem;
}
	.faq-icon{
		font-size: 1.4rem;
	}
}

@media (width >=1280px) {
  :root {
    --hero-font-size: 2.5rem;
    --hero-line-height: 3rem;
    --slide-step: 3.3rem;
  }
	
	.description-hero{
		font-size: 1.2rem;
	}

  .description-large,
  .reveal-type {
    font-size: 1.5rem;
  }

  h2.section-title-small {
    font-size: 1.6rem;
  }

  h3.section-title-large {
    font-size: 2.6rem;
    line-height: 120%;
  }
	
	h3.title-box{
		font-size: 1.5rem;
	}

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  header,
  section,
  #konsultacja {
    padding: var(--padding);
  }

  .background-strip {
    padding: var(--padding-big);
  }

  .footer-line {
    margin: var(--padding-big) 0;
  }

  .footer-menu-item {
    font-size: 1.4rem;
  }

  .right-box a,
  .right-box .footer-copy {
    font-size: 1.5rem;
  }

  .popup-field {
    width: 50%;
  }
}

@media (width >=1537px) {
  :root {
    --hero-font-size: 4rem;
    --hero-line-height: 4.5rem;
    --slide-step: 4.7rem;
  }

  .description-large,
  .reveal-type {
    font-size: 2.3rem;
  }

  h2.section-title-small {
    font-size: 2rem;
  }

  h3.section-title-large {
    font-size: 3.2rem;
    line-height: 3.8rem;
  }
	
	h3.title-box{
		font-size: 2rem;
	}
	
	p.description{
		font-size: 1.6rem;
	}

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  header,
  section,
  #konsultacja {
    padding: var(--padding);
  }

  .background-strip {
    padding: var(--padding-big);
  }

  .footer-line {
    margin: var(--padding-big) 0;
  }

  .footer-menu-item {
    font-size: 1.4rem;
  }

  .right-box a,
  .right-box .footer-copy {
    font-size: 1.5rem;
  }

  .popup-field {
    width: 50%;
  }
}

/* Orientacja pozioma */

@media screen and (max-width: 480px) and (orientation: landscape) {
  :root {
    --hero-font-size: 1.5rem;
    --hero-line-height: 1.5rem;
    --slide-step: 2.6rem;
  }

  p.description-hero {
    font-size: 0.8rem;
  }

  .description-large {
    font-size: 0.8rem;
  }

  h2.section-title-small {
    font-size: 1rem;
  }

  h3.section-title-large {
    font-size: 1.4rem;
    line-height: 120%;
  }

  h3.title-box {
    font-size: 1rem;
  }

  h4.section-title-small {
    font-size: 1rem;
  }

  .top-box .icon {
    width: 1.7rem;
	height: 1.7rem;
  }

  .process-box .section-title-small {
    margin-bottom: var(--margin-small);
  }

  p.description {
    font-size: 0.7rem;
  }

  p.description-small {
    font-size: 0.8rem;
  }

  .service-card {
    gap: var(--gap-small);
  }

  .service-card i {
    font-size: 1.5rem;
  }

  .menuItem {
    font-size: 1.3rem;
  }

  .logo {
    width: 50px;
  }

  button .icon {
    width: 1.2rem;
	height: 1.2rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  :root {
    --hero-font-size: 2.4rem;
    --hero-line-height: 2.8rem;
    --slide-step: 3rem;
  }

  p.description-hero {
    font-size: 1rem;
  }

  .description-large {
    font-size: 1rem;
  }

  h2.section-title-small {
    font-size: 1.2rem;
  }

  h3.section-title-large {
    font-size: 1.7rem;
    line-height: 120%;
  }

  h3.title-box {
    font-size: 1.2rem;
  }

  h4.section-title-small {
    font-size: 1.2rem;
  }

  .top-box .icon {
    width: 1.7rem;
	height: 1.7rem;
  }

  .process-box .section-title-small {
    margin-bottom: var(--margin-small);
  }

  p.description {
    font-size: 1rem;
    line-height: 140%;
  }

  p.description-small {
    font-size: 1rem;
  }

  .service-card {
    gap: var(--gap-small);
  }

  .service-card i {
    font-size: 2rem;
  }

  .menuItem {
    font-size: 1.3rem;
  }

  .logo {
    width: 75px;
  }

  button .icon {
    width: 1.2rem;
	height: 1.2rem;
  }
}

/* Animacje */

@keyframes slideText {

  0%,
  20% {
    top: 0;
  }

  25%,
  45% {
    top: calc(-1 * var(--slide-step));
  }

  50%,
  70% {
    top: calc(-2 * var(--slide-step));
  }

  75%,
  95% {
    top: calc(-3 * var(--slide-step));
  }

  100% {
    top: 0;
  }
}

@keyframes buzz {
  0% {
    transform: translateX(0) rotate(0deg);
  }

  10% {
    transform: translateX(2px) rotate(1deg);
  }

  20% {
    transform: translateX(-2px) rotate(-1deg);
  }

  30% {
    transform: translateX(2px) rotate(1deg);
  }

  40% {
    transform: translateX(-2px) rotate(-1deg);
  }

  50% {
    transform: translateX(2px) rotate(1deg);
  }

  60% {
    transform: translateX(-2px) rotate(-1deg);
  }

  70% {
    transform: translateX(1px) rotate(0deg);
  }

  80% {
    transform: translateX(-1px) rotate(0deg);
  }

  90% {
    transform: translateX(1px) rotate(0deg);
  }

  100% {
    transform: translateX(-1px) rotate(0deg);
  }
}

@keyframes buzz-pause {
  0% {
    transform: translateX(0);
  }

  5% {
    transform: translateX(3px) rotate(1deg);
  }

  10% {
    transform: translateX(-3px) rotate(-1deg);
  }

  15% {
    transform: translateX(3px) rotate(1deg);
  }

  20% {
    transform: translateX(-3px) rotate(-1deg);
  }

  25% {
    transform: translateX(2px) rotate(1deg);
  }

  28% {
    transform: translateX(0) rotate(0deg);
  }

  100% {
    transform: translateX(0) rotate(0deg);
  }
}