@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --gray: #f5f5f5;
  --dark-text: #1d1d1d;
  --light-text: #939393;
  --green: #8bc53f;
  --lighter-green: #cef0a160;
  --font: "Poppins", sans-serif !important;
  --red: #E64800
}

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

p{
  margin: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--gray);
  color: var(--light-text);
  font-family: var(--font);
}

header,
footer,
main {
  position: relative;
}

h1,h2,h3{
  font-family: var(--font);
}

h1 {
  font-size: 4.8rem;
  font-weight: 600;
  color: #1d1d1d;
  margin-bottom: 30px;
}

h2 {
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 3rem;
}

h3 {
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 400;
}

img {
  height: fit-content;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

a {
  text-decoration: none;
}

#dots-1,
#dots-2,
#dots-3,
#dots-4,
#dots-5 {
  opacity: 0.7;
}

#logo {
  height: 100px;
  margin-left: 10rem;
}

header,
header div {
  display: flex;
  align-items: center;
}

header div {
  gap: 1rem;
}

header > div {
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 0 25rem 0rem 2rem;
}

header {
  padding: 0.3rem 15rem 0.3rem 5%;
  font-size: 1.8rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999999;
}

.scroll-shadow {
  transition: background-color 0.5s ease-in-out;
  transition: box-shadow 0.5s ease-in-out;

  -webkit-box-shadow: 0px 28px 54px -45px rgba(66, 68, 90, 1);
  -moz-box-shadow: 0px 28px 54px -45px rgba(66, 68, 90, 1);
  box-shadow: 0px 28px 54px -45px rgba(66, 68, 90, 1);
  background-color: white;
}

header p {
  color: var(--light-text);
}

nav {
  display: flex;
  gap: 4rem;
  margin-left: 8rem;
  font-size: 1.4rem;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav a:link,
nav a:visited,
nav a:active {
  font-style: normal;
  color: var(--dark-text);
}

nav a {
  display: flex;
  flex-direction: column;
}

nav a span {
  text-align: center;
}

nav a img {
  margin-left: 50%;
  width: 20px;
}


.hidden{
  /* display: none; */
  visibility: hidden;
  height: 0 !important;
  overflow: hidden;
  opacity: 0;
}


.active {
  visibility: visible !important;
  color: var(--green) !important;
  font-weight: 700;
}

.vertical-line {
  visibility: hidden;
  height: max-content;
}

#tel:active,
#tel:link,
#tel:visited {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}

section {
  display: flex;
  flex-direction: column;
  padding: 0 20%;
  padding-top: 15rem;
}

section:first-of-type {
  margin-top: 0;
}

.relative {
  position: relative;
}

#start1 .text-container {
  font-size: 1.4rem;
}

.flex-row2 {
  justify-content: space-between;
}

.flex-row,
.flex-row2 {
  display: flex;
  flex-direction: flex-row;
  flex-wrap: wrap;
  gap: 2rem;
}

.justify-center {
  display: flex;
  justify-items: center;
}

.align-center {
  display: flex;
  align-items: center;
}

.space-between {
  display: flex;
  justify-content: space-between;
}

.items-start {
  align-items: flex-start;
}

p {
  height: fit-content;
  word-break: keep-all;
}

.prevent-grow {
  flex: 1;
}

.bg-element {
  position: absolute;
  z-index: -999;
}

.front-element {
  position: absolute;
  z-index: 10;
}

.big-z {
  z-index: 9999;
}

/* start1 SECTION */

#start1 a {
  color: var(--green);
  font-size: 1.8rem;
  margin-bottom: auto;
  max-width: 200px;
}

#start1 .bg-element {
  right: 15%;
  top: 25%;
  z-index: -999;
}

#start1 {
  gap: 2rem;
}

.text-container {
  max-width: 50%;
}

#start1 {
  padding-top: 10%;
}

#circle-decoration {
  right: 0;
  bottom: 0;
  transform: translateY(200px);
}

.white-rect {
  width: 60%;
  height: 920px;
  border-bottom-right-radius: 100px;
  background-color: white;
}

.white-rect2 {
  right: 0;
  width: 700px;
  height: 550px;
  border-bottom-left-radius: 100px;
  background-color: white;
}

.white-rect2 div {
  width: 14rem;
  height: 14rem;
  border: 2px solid var(--green);
  border-radius: 100%;
  margin-top: 40%;
  margin-left: 20%;
}

#oferta,
#about-us,
#testimony,
footer {
  width: 100%;
  margin: 0 auto;
  gap: 1rem;
}
/* Services Section */

#dots-2 {
  transform: translateX(-200px) translateY(-50px) scale(0.7);
}

.offer-grid {
  font-size: 1.4rem;
  margin-left: 2rem;
  display: grid;
  gap: 6rem;
  grid-template-columns: 1fr 1fr;
}

#oferta ul,#oferta li{
  list-style-image: url("../assets/decorations/arrow.svg") !important;
}

#oferta ul {
  margin-top: 1rem;
  list-style-image: url("../assets/decorations/arrow.svg") !important;
}

#oferta p {
  color: var(--dark-text);
  font-size: 1.4rem;
  width: 70%;
  margin-bottom: 3rem;
}

#oferta > p {
  margin-top: 3rem;
}

#oferta h2 {
  margin-bottom: 0;
}

/* About Us Section */
#about-us {
  gap: 4rem;
  padding-top: 10rem;
  position: relative;
  display: flex;
  flex-direction: flex-row;
  flex-wrap: wrap;
}

#about-us .text-container {
  max-width: 60%;
}

#about-us p {
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

#about-us p:last-child {
  margin-bottom: 0;
}

#about-us .margin-top {
  margin-top: 6rem;
}

#dots-3 {
  position: absolute;
  top: 10%;
  right: 15%;
}

#white-circle {
  transform: translateX(-35px) translateY(-175px);
  opacity: 0.6;
}

#circle2 {
  bottom: 0;
  z-index: 9998;
  transform: translateX(-180px) translateY(150px);
  opacity: 0.6;
}

#about-us span {
  font-weight: 600;
  color: var(--dark-text);
}

#image4 {
  align-self: center;
  width: 30%;
}

/* Testimony Section */

#testimony {
  padding-top: 15rem;
}

#testimony > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

#testimony > p {
  color: var(--dark-text);
}

#testimony p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

/* kontakt Section */

#kontakt {
  background-color: white;
  width: 100%;
  padding: 15rem 0;
  margin: 5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 15rem;
}

#kontakt h2,
#testimony h2 {
  margin-bottom: 0;
}

#testimony > p {
  margin-top: 2rem;
}

#dots-4 {
  right: 10%;
  top: -50px;
}

/* Footer */

footer {
  padding: 5rem 20%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 1.4rem;
}

footer h3 {
  font-weight: 500;
  margin-bottom: 1.5rem;
}


footer p:nth-child(2n + 1) {
  margin-bottom: 1.6rem;
}

footer input::placeholder,label {
  font-family: "Poppins", sans-serif !important;
  color: var(--light-text);
}

footer .contact .flex-row2{
  justify-content: normal;
  gap: 1rem;
}

footer form div {
  display: flex;
  gap:.75rem;
  justify-items: flex-start;
}

footer form input {
  padding: 2rem 0 2rem rem;
  padding-right: 4rem;
  padding-left: 2.5rem;
  border: none;
  border-radius: 55px;
  -webkit-border-radius: 15px;
  width: 100%;
  font-size: 1.4rem;
  color: var(--dark-text);
}

input[type="text"]{
  margin-top: 1rem;
}

input[type="text"]:first{
  margin: 0;
}

footer form input:focus{
  background-color: var(--lighter-green);
}


footer form input[type="submit"] {
  width: auto;
  padding: 1.5rem 4rem;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  margin-top: 10px;
  color: var(--green);
  font-weight: 700;
  background-color: white;
  border: solid 3px var(--green);

  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

footer form input[type="submit"]:hover {
  background-color: var(--lighter-green);
  color: var(--dark-text);
  border-color: var(--green);
}

footer form label{
  color: var(--light-text);
  margin-top: 1rem;
}

#tel-error{
  color: var(--red) !important;
  margin-left: 2rem;
}

#privacy-policy:hover strong{
  color: var(--green) !important;
  cursor: pointer;
}

#dots-5 {
  top: 40%;
}

#green-circle {
  right: 30%;
  top: -10%;
  opacity: 0.6;
}

#mapa {
  filter: grayscale(100%);
  border-radius: 15%;
  border-bottom-right-radius: 0;
}

#influencja-logo {
  width: 100%;
  background-color: white;
  filter: grayscale(100%);
  opacity: 0.6;
  text-align: center;
}
#influencja-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}
#influencja-logo img {
  max-width: 70%;
  display: inline-block;
  padding: 10px;
}

.grow {
  transition: all 0.2s ease-in-out;
}
.grow:hover {
  transform: scale(1.05);
}

.col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  text-align: center;
  width: min-content;
  color: var(--green);
}

#privacy-policy-container{
  padding: 0 20%;
  margin-bottom: 3rem;
  padding-top: 15rem;
  height: auto;
  opacity: 1;
}

.flag-icon{
  width: 1.8rem;
}

footer .flag-icon{
  width: 1.6rem;
}


.fade-in { animation: fadeIn 1500ms; }

@keyframes fadeIn {
  0% { opacity: 0; }
  75% {opacity: .1;}
  100% { opacity: 1; }
}

/* Modify wp-css */

strong{
  color: var(--dark-text) ;
  font-family: var(--font);
}

input[type="text"], input[type="button"], input[type="submit"], input[type="search"]{
  font-family: var(--font);
  -webkit-border-radius: 30px;
  border-radius: 30px;

}

#about-us,
#testimony,
#oferta {
  padding-top: 150px;
}
a:not(button):hover {
  color: var(--green);
}