* {
  box-sizing: border-box;
  /* aby neboli scroll bary */
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background-size: cover;
  font-family: Roboto, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* header */
header {
  position: relative;
  padding: 1.5rem 2rem 2rem 6rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(213 216 225);
}

header img.logo {
  position: absolute;
  left: 0;
  bottom: 0;
}

header span {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 800;
  color: #046d34d9;
  font-family: Roboto, Helvetica, sans-serif;
}

header > span{
  display: flex;
  gap: 1rem;
}

header > span img{
  width: 3rem;
}

header .underline {
  position: absolute;
  left: 2rem;
  bottom: 1.5rem;
  height: 0.4rem;
  width: 600px;
  max-width: 90%;
  background: #f7c302;
  background: linear-gradient(45deg, rgba(247, 195, 2, 1) 0%, rgba(188, 209, 2, 0.852) 70%, rgba(1, 142, 57, 0.199) 100%);
}

header nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-self: flex-end;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

header nav.main-nav a {
  display: block;
  color: #046d34d9;
  text-align: center;
  padding: 0.2rem 0.6rem;
  margin: 0;
  text-decoration: none;
  font-weight: 800;
  border-radius: 0.1rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

header nav.main-nav a:hover {
  background-color: #046d33a6;
  color: #f7e702;
}

/* main */
main {
  width: 100%;
  display: flex;
  flex: 1;
}

main .about-us {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.about-us .parallax {
  background-image: url("bg-about-us-1.jpg");
  /* Set a specific height */
  min-height: calc(100vh - 6rem);

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: 0.15rem;
  color: #472e29;
  font-family: fantasy;
  overflow: hidden;
}

.about-us .parallax img {
  width: 10rem;
}

.about-us .parallax img:first-of-type {
  transform: rotate(-15deg);
}
.about-us .parallax img:last-of-type {
  transform: rotate(15deg);
}
.about-us .parallax .title-holder {
  background: rgb(255 255 255 / 58%);
  color: rgb(114 112 24);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 5rem;
  text-align: center;
}

.about-us article {
  padding: 0 3rem;
}

.about-us article:first-of-type {
  box-shadow: 0rem -1rem 1rem -0.5rem white;
}

.about-us article:last-of-type {
  padding: 1rem 3rem 3rem;
}

.pricing {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.pricing article {
  padding: 0 3rem;
}

.pricing article:last-of-type {
  padding: 1rem 3rem 3rem;
}

.pricing .table {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.pricing .table .row {
  width: 100%;
  display: flex;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid #80808052;
}

.pricing .table .row .category {
  width: 30%;
}

.pricing .table .row .items {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.table .row .items .item-row {
  display: flex;
  margin-bottom: 0.1rem;
}

.items .item-row .col {
  width: 50%;
}

.contact {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.contact > article {
  padding: 0 3rem;
  max-width: 50%;
}

.contact article:last-of-type {
  padding: 1rem 3rem 3rem;
}

.contact article p {
  font-weight: 500;
}

.gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.gallery article {
  padding: 0 3rem;
}

.gallery article:last-of-type {
  padding: 1rem 3rem 3rem;
}

.gallery .images {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.gallery .images .image-item {
  width: 25%;
  display: flex;
  flex-direction: column;
  padding: 0.25rem;
}

main h1 {
  color: #328a00;
  font-size: 2.8125rem;
}

article h2 {
  color: #046d34d9;
  font-size: 1.75rem;
}

section h2 {
  color: #046d34d9;
  font-size: 1.75rem;
}

section ul li {
  /* aby neboli gulky */
  list-style: none;
  width: 7.5rem;
  background-color: #f5f5f59c;
  margin: 1rem;
  border-radius: 0.3125rem;
  display: inline-block;
  transition: transform 0.7s ease-in;
}

section ul li:hover {
  transform: scale(1.1);
  transition: transform 0.4s ease-out;
}
section ul li a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 1.375rem;
  text-align: center;
  padding: 3.125rem 0;
}

main section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

main section h2 {
  align-self: flex-start;
}

main section form {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}

main section form .field:not(.checkbox) {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
}

main section form .field.checkbox {
  margin-bottom: 1em;
}

main section form .field label {
  margin-bottom: 0.3em;
}

main section form .field input,
main section form .field textarea {
  background: #ffffff38;
  border: none;
  padding: 3px;
  border-radius: 3px;
  color: white;
  resize: none;
}

main section form .field input:required,
main section form .field textarea:required {
  border-left: 4px solid red;
}

main section form .field input:required + span::before,
main section form .field textarea:required + span::before {
  content: " *";
  color: red;
  position: absolute;
  top: 26px;
  right: 5px;
  font-size: 1.4em;
}

main section form .field input:optional,
main section form .field textarea:optional {
  border-left: 4px solid green;
}

main section form .field input:valid,
main section form .field textarea:valid {
  border-left: 4px solid green;
}

main section form .field input[type="checkbox"] {
  align-self: flex-start;
}
main section form .field input:required[type="checkbox"] {
  align-self: flex-start;
  border: 4px solid red;
}

main section form .field input:valid[type="checkbox"] {
  align-self: flex-start;
  border: 4px solid red;
}

main section form .controls button {
  background-color: #f5f5f59c;
  margin: 0 0.3rem;
  border-radius: 2px;
  padding: 0.3em 2em;
  border: none;
  cursor: pointer;
}

.yellow {
  color: #ffcb2f;
}

.historia {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.historia article {
  padding: 0 3rem 3rem;
}

.certifikaty {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 12.3rem);
}

.certifikaty article{
  padding: 0 3rem 3rem;
}

footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  background-color: #046d34d9;
  color: white;
  padding: 0.25rem 1rem 1rem;
  background-image: url("bg-footer.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0rem -0.25rem 0.5rem 0.2rem #2d2b0a;
}

footer .underline {
  position: absolute;
  left: 2rem;
  bottom: 1.2rem;
  height: 0.2rem;
  width: 100%;
  max-width: 300px;
  background: #f7c302;
  background: linear-gradient(45deg, rgba(247, 195, 2, 1) 0%, rgba(188, 209, 2, 0.852) 70%, rgba(1, 142, 57, 0.199) 100%);
  z-index: 0;
}

footer img.logo {
  width: 5rem;
  z-index: 1;
}

footer .logo-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
}

footer .info {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: 1rem;
}

footer .info.date {
  align-items: center;
}
