@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fragment+Mono&family=Montserrat:wght@100;400;500;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: "Fragment Mono", monospace;
  background-color: white;
}

.bg-pattern {
  display: flex;
  flex-direction: row;
  gap: 350px;
  justify-content: center;
  height: auto;
  min-height: 4000px;
  position: absolute;
  top: 0;
  left: 20%;
}

.bg-pattern hr {
  margin: 0;
  padding: 0;
  border: 1px dotted rgb(204, 204, 204);
  display: block;
}
@media (max-width: 1150px) {
  .bg-pattern {
    display: none;
  }
}
/* Nav */
.logo {
  width: 10em;
  z-index: 999;
  margin-left: 10em;
}
.js-nav {
  position: fixed;
  width: 100%;
  height: 80px;
  background-color: rgb(44, 44, 145);
  z-index: 997;
}
nav {
  position: fixed;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  height: 80px;
  z-index: 999;
}
.list {
  text-align: center;
  width: 100%;
  grid-column: 2;
}
.list ul {
  display: flex;
  gap: 30px;
  text-align: center;
  width: 100%;
  list-style-type: none;
  justify-content: center;
}
.list ul li a {
  text-decoration: none;
  font-size: 0.95em;
  position: relative;
  color: white;
  letter-spacing: 3px;
  transition: 0.3s ease-in-out;
}
.list ul li a:hover {
  color: rgb(163, 163, 163);
}
.nav_buttons {
  grid-column: 3;
  justify-self: end;
}
.nav_buttons button {
  padding: 1em;
  padding-left: 2em;
  padding-right: 2em;
  cursor: pointer;
  font-weight: bold;
}
.language_button {
  margin-right: 1em;
  background: rgba(0, 0, 0, 0);
  color: white;
  border: 2px solid white;
  border-radius: 3em;
  padding: 0.7em;
  padding-left: 1em;
  padding-right: 1em;
  width: 70px;
}

.language_button {
  appearance: none;
}

.language_button ::-ms-expand {
  display: none;
}

.language_button ::-webkit-select {
  appearance: none;
}

.language_button ::-webkit-scrollbar {
  display: none;
}

.language_button {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      rgb(255, 255, 255) 50%
    ),
    linear-gradient(135deg, rgb(255, 255, 255) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.language_button option {
  background-color: #ffffff;
  color: #000000;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

.ofert_button {
  margin-right: 10em;
  background-color: white;
  color: rgb(68, 68, 68);
  border: none;
  border-radius: 3em;
  transition: 0.6s ease-in-out;
}
.ofert_button:hover {
  background-color: rgb(68, 68, 68);
  color: white;
}
.offer_form {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  height: 910px;
  background-color: #ebebeb;
  right: 0;
  top: 0vh;
  text-align: center;
  transform: translate(100%);
  transition: 0.9s ease-in-out;
  width: 500px;
  z-index: 996;
  padding-left: 3em;
  padding-right: 3em;
  padding-top: 5em;
  justify-content: center;
  align-items: center;
}
.offer_form hr {
  color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid #000;
  display: block;
  width: 50px;
  margin-bottom: 1em;
}
.offer_form form {
  margin-top: 3em;
}
.offer_form.activee {
  transform: translate(0%);
}
.burger {
  display: none;
}
/* Burger Styling */
@media (max-width: 1050px) {
  .logo {
    width: 10em;
    z-index: 999;
    margin-left: 2em;
  }
  nav {
    position: fixed;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding-top: 0.9em;
    height: 80px;
    z-index: 999;
  }
  .list {
    height: 910px;
    width: 100%;
    grid-column: 1;
    position: absolute;
    background-color: rgb(44, 44, 145);
    right: 0;
    top: 0;
    flex-direction: column;
    text-align: center;
    transform: translate(100%);
    transition: 0.9s ease-in-out;
  }
  .list ul {
    position: absolute;
    right: 0;
    top: 40vh;
    flex-direction: column;
    text-align: center;
    width: 100%;
    list-style-type: none;
  }
  .list ul li {
    margin: 0;
    padding-top: 2vh;
  }
  .list ul li a {
    font-size: 1.15em;
  }
  .burger {
    grid-column: 3;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: block;
    transition: 0.9s ease-in-out;
    justify-self: right;
    margin-right: 2em;
  }
  .burger .line {
    width: 2em;
    height: 0.2em;
    background: white;
    margin: 0.4em;
    border-radius: 20px;
    transition: 0.9s ease-in-out;
  }
  .burger.active .line:first-child {
    transform: translateX(5px);
  }
  .burger.active .line:nth-child(2) {
    transform: translateX(-5px);
  }
  .list.active {
    transform: translate(0%);
  }
  .language_button {
    display: none;
  }
  .ofert_button {
    display: none;
  }
}
@media only screen and (max-width: 1350px) and (min-width: 1050px) {
  .logo {
    margin-left: 2em;
  }
  .ofert_button {
    margin-right: 2em;
  }
}

/* Main banner */
.main_banner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  height: 100vh;
  background-image: url("../photos/main_banner_photo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  align-items: end;
  padding-bottom: 5em;
  padding-left: 10em;
  padding-right: 10em;
  position: relative;
  z-index: 2;
}
.main_description {
  color: white;
  font-size: 25px;
}
.scroll_down {
  display: flex;
  width: 50px;
  height: 50px;
  border: 2px solid white;
  padding-top: 0.2em;
  font-size: 20px;
  background: rgba(0, 0, 0, 0);
  color: white;
  border-radius: 3em;
  cursor: pointer;
  justify-self: end;
  transition: 0.6s ease-in-out;
  justify-content: center;
  align-content: center;
  text-decoration: none;
}
.scroll_down i {
  align-self: center;
}
.scroll_down:hover {
  background: white;
  color: rgb(68, 68, 68);
}
@media (max-width: 1150px) {
  .main_banner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 100vh;
    padding-left: 2em;
    padding-right: 2em;
    align-items: end;
  }
  .main_description {
    color: white;
    font-size: 20px;
    text-align: left;
  }
  .main_description p {
    text-align: left;
  }
  .scroll_down {
    width: 60px;
    height: 60px;
    justify-self: left;
    margin-top: 2em;
  }
}

/* Our offer */
.our_offer {
  display: flex;
  flex-direction: column;
  padding-left: 10em;
  padding-right: 10em;
  margin-bottom: 10em;
  padding-top: 10em;
  gap: 20px;
}

.our_offer hr {
  text-align: left;
  color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid #000;
  display: block;
  width: 80px;
}
.our_offer h2 {
  grid-column: 1;
  font-size: 35px;
  padding-bottom: 0.5em;
}

.offer_container {
  grid-row: 3;
  grid-column: span 0 / 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 50px;
}

.offer_tittle {
  padding-bottom: 1em;
  padding-left: 1em;
  color: white;
  font-weight: 300;
}

.offer_container a {
  width: 100%;
  text-decoration: none;
}
.offer_offset_new,
.offer_die-cutting_new,
.offer_gluing_new,
.offer_okien_new {
  min-height: 450px;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: 1s ease-in-out;
}
.offer_offset_new h3,
.offer_die-cutting_new h3,
.offer_gluing_new h3,
.offer_okien_new h3 {
  background-color: rgb(44, 44, 145);
  padding: 20px;
  width: 100%;
}
.offer_offset_new:hover,
.offer_die-cutting_new:hover,
.offer_gluing_new:hover,
.offer_okien_new:hover,
.offer_offset:hover,
.offer_die-cuttin:hover,
.offer_sitodruk:hover,
.offer_flex:hover,
.offer_trans:hover,
.offer_okien:hover,
.offer_sztanc:hover,
.offer_lamin:hover,
.offer_drilling:hover,
.offer_gluing:hover,
.offer_die-cutting:hover,
.offer_lakier:hover,
.offer_hot-stamping:hover,
.offer_ciecie:hover {
  transform: scale(0.95);
}

.offer_offset {
  background-image: url("../photos/offset.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.offer_sitodruk {
  background-image: url("../photos/main_banner_photo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.offer_flex {
  background-image: url("../photos/flex.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-position: center;
}
.offer_trans {
  background-image: url("../photos/trans.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-position: center;
}
.offer_okien {
  background-image: url("../photos/okienkowanie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.offer_sztanc {
  background-image: url("../photos/sztancowanie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.offer_lakier {
  background-image: url("../photos/lakierowanie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.offer_ciecie {
  background-image: url("../photos/ciecie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.offer_hot-stamping {
  background-image: url("../photos/hot.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.offer_drilling {
  background-image: url("../photos/wiercenie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.offer_gluing {
  background-image: url("../photos/klejenie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.offer_die-cutting {
  background-image: url("../photos/sztancowanie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.offer_offset_new {
  background-image: url("../photos/offset.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.offer_die-cutting_new {
  background-image: url("../photos/sztancowanie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.offer_gluing_new {
  background-image: url("../photos/klejenie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.offer_okien_new {
  background-image: url("../photos/okienkowanie.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (max-width: 1150px) {
  .our_offer {
    padding-left: 2em;
    padding-right: 2em;
    margin-bottom: 2em;
    margin-top: 0em;
    padding-top: 2em;
  }
  .our_offer h2 {
    grid-column: 1;
    font-size: 25px;
    padding-bottom: 0.5em;
  }
  .our_offer p {
    text-align: left;
  }

  .offer_container {
    grid-row: 3;
    grid-column: span 0 / 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
  }
  .offer_offset_new,
  .offer_die-cutting_new,
  .offer_gluing_new,
  .offer_okien_new {
    height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}
@media only screen and (max-width: 1150px) and (min-width: 1050px) {
  .our_offer {
    padding-left: 5em;
    padding-right: 5em;
  }
}

/* Our clients */
.our_clients {
  display: flex;
  flex-direction: column;
  padding-top: 3em;
  gap: 20px;
  background-color: white;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.our_clients hr {
  text-align: center;
  color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  border-bottom: 2px dotted rgb(204, 204, 204);
  display: block;
  width: 100%;
  padding-top: 1em;
}
.clients {
  animation-name: move;
  animation-duration: 60s;
  animation-iteration-count: infinite;
  animation-direction: right;
  animation-timing-function: linear;
}

@keyframes move {
  0% {
    margin-left: -3000px;
  }
  100% {
    margin-left: 100px;
  }
}

.js-clients {
  display: flex;
  gap: 100px;
}
.clients img {
  height: 100px;
}
@media (max-width: 1150px) {
  .our_clients {
    gap: 0px;
  }
  .clients img {
    height: 80px;
    padding-bottom: 1em;
  }

  .our_clients hr {
    justify-self: center;
  }

  .our_clients h2,
  p {
    text-align: center;
  }
}
/* About us */
.about_us {
  display: flex;
  flex-direction: row;

  margin-left: 10em;
  margin-right: 10em;
  padding-top: 10em;
}
.about_us_description {
  align-self: center;
  padding-left: 4em;
  padding-right: 4em;
  padding-bottom: 3em;
  padding-top: 3em;
  background-color: #f6f6f7;
  width: 50%;
  min-height: 650px;
  height: auto;
}
.about_us_photo {
  width: 50%;
  height: auto;
  min-height: 650px;
  background-image: url("../photos/siedziba.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.about_us_description h2 {
  text-align: left;
}
.about_us_description hr {
  color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid #000;
  display: block;
  width: 70px;
  margin-bottom: 1em;
}
.about_us_description p {
  color: rgb(68, 68, 68);
  font-size: 18px;
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: justify;
  word-spacing: -2px;
  font-family: "Montsserat", Arial, sans-serif;
}
#showMoreButton {
  font-size: 13px;
  margin-top: 2em;
  margin-bottom: 5em;
  display: inline-block;
  background: linear-gradient(top, #f9f9f9, #e3e3e3);
  border: 1px solid #000000;
  border-radius: 3em;
  padding: 10px 12px;
  outline: none;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.4s ease-in-out;
}
#showMoreButton:hover {
  background: black;
  color: white;
}
.expanded {
  max-height: 1600px;
  transition: max-height 0.5s ease-out;
}
.collapsed {
  max-height: 300px; /* Ustaw wysokość, którą chcesz początkowo pokazać */
  overflow: hidden;
  transition: max-height 0.5s ease-in;
}

.about_us_description .info {
  margin-bottom: 1em;
  font-family: "Fragment Mono", monospace;
}
.about_us_info p {
  color: rgb(68, 68, 68);
  font-size: 18px;
  margin-top: 1em;
  margin-bottom: 0em;
}
.about_us_description p i {
  margin-right: 1em;
  font-size: 22px;
}
@media (max-width: 1450px) {
  .about_us {
    flex-direction: column;
  }
  .about_us_description {
    align-self: center;

    width: 100%;
  }
  .about_us_photo {
    display: none;
  }
}
@media (max-width: 1150px) {
  .expanded {
    max-height: 1600px;
    transition: max-height 0.5s ease-out;
  }
  .about_us {
    flex-direction: column;

    margin-left: 0em;
    margin-right: 0em;
    padding-top: 0em;
  }
  .about_us_description {
    align-self: center;
    padding-bottom: 3em;
    padding-left: 2em;
    padding-right: 2em;
    width: 100%;
  }
  .about_us_description p {
    text-align: left;
    line-height: 1.3em;
    margin-top: 2em;
    margin-bottom: 2em;
  }
  .about_us_photo {
    display: none;
  }
}

@media only screen and (max-width: 1150px) and (min-width: 1050px) {
  .about_us {
    margin-left: 5em;
    margin-right: 5em;
  }
}
@media (max-width: 500px) {
  .about_us_description p {
    font-size: 16px;
  }
  .expanded {
    max-height: 2500px;
    transition: max-height 0.5s ease-out;
  }

  #showMoreButton {
    font-size: 13px;
    margin-top: 2em;
    margin-bottom: 2em;
  }

  .collapsed {
    max-height: 200px; /* Ustaw wysokość, którą chcesz początkowo pokazać */
    overflow: hidden;
    transition: max-height 0.5s ease-in;
  }
}
/*Nasze realizacje */
.technology {
  padding-top: 8.5em;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
}
.technology-des {
  padding-left: 10em;
}
.technology h2 {
  padding-top: 0.5em;
  padding-bottom: 1em;
  font-size: 35px;
}
.technology hr {
  text-align: left;
  color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid black;
  display: block;
  width: 120px;
}
.technology p {
  padding-bottom: 1em;
}
.technology-des-p {
  text-align: justify;
  word-spacing: -2px;
  font-family: "Montsserat", Arial, sans-serif;
  font-size: 18px;
  width: 900px;
  margin-bottom: 3em;
}

.technology-con {
  display: flex;
  flex-direction: row;
  padding-right: 3em;
  padding-left: 3em;
  gap: 20px;
  transition: transform 0.5s ease;
  white-space: nowrap;
}
.technology-con a {
  text-decoration: none;

  color: white;
}
.technology-row {
  height: 350px !important;
  width: 700px;
  background-color: rgb(247, 247, 247);
  position: relative;
  z-index: 3;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  transition: 1s ease-in-out;
  justify-content: flex-end;
  align-items: flex-end;
}
.technology-row:nth-last-child(1) {
  background-color: rgb(0, 0, 0, 0);
}
.technology-row h3 {
  background-color: rgb(44, 44, 145);
  padding: 20px;
  width: 100%;

  font-size: 20px;
}

.technology-button {
  display: flex;
  justify-content: center;
  margin-top: 3em;
  gap: 10px;
}
.technology-button p {
  padding-top: 0.4em;
  padding-left: 1em;
}
.technology-button button {
  height: 50px;
  width: 50px;
  border: 2px solid black;
  border-radius: 50%;
  background-color: none;
  color: black;
  transition: all 0.7s ease-in-out;
  cursor: pointer;
}
.technology-button button i {
  font-size: 20px;
}
.technology-button button:hover {
  background-color: black;
  color: white;
}
.technology-button-des {
  display: flex;
  flex-direction: column;
}
.technology-button-des .down {
  margin-top: -20px;
}
@media (max-width: 1150px) {
  .technology {
    height: 3200px;
  }
  .technology-des {
    padding-left: 2em;
    padding-right: 2em;
  }
  .technology h2 {
    padding-top: 0.5em;
    padding-bottom: 1em;
    font-size: 25px;
  }
  .technology p {
    text-align: left;
    font-size: 16px;
    line-height: 1.3em;
  }
  .technology-des-p {
    width: 100%;
  }
  .technology-con {
    flex-direction: column;
    padding-left: 2em;
    padding-right: 2em;
    overflow-y: hidden;
  }
  .technology-row {
    width: 100%;
  }
  .technology-button {
    display: none;
  }
  .technology-con a:last-child() {
    display: none;
  }
  .technology-row h3 {
    font-size: 2vh;
  }
}
@media (max-width: 550px) {
  .technology-row h2 {
    font-size: 2vh;
    padding-left: 1.5vh;
    padding-right: 1.5vh;
  }
}
@media only screen and (max-width: 1150px) and (min-width: 1050px) {
  .technology-des {
    padding-left: 5em;
    padding-right: 5em;
  }
}

/* Contact */
.contact {
  display: flex;
  flex-direction: row;
  margin-left: 10em;
  margin-right: 10em;
  margin-bottom: 10em;
  padding-top: 10em;
}
.contact_form {
  align-self: center;
  padding-left: 3em;
  padding-right: 3em;
  width: 50%;
  background-color: #f6f6f7;

  padding-top: 3em;
  min-height: 700px;
}
.contact_form p {
  margin-bottom: 1em;
}
.contact_form hr {
  text-align: left;
  color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid #000;
  display: block;
  width: 80px;
  margin-bottom: 1em;
}
.contact_form form {
  margin-top: 3em;
}
.form-group {
  margin-bottom: 10px;
  text-align: left;
}
.form-group-checkForm {
  margin-bottom: 20px;
  text-align: left;
  display: flex;
}
label {
  display: block;
}
textarea {
  font-family: "Montsserat", Arial, sans-serif;
  height: 150px;
}
.switch-item {
  margin-top: -3.2px;
}
input[type="topic"],
input[type="email"],
textarea[type="message"],
.submit {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  background-color: rgb(226, 226, 226);
  border: none;
  border-bottom: solid 2px rgb(0, 0, 0);
  color: rgb(68, 68, 68);
  text-decoration: none;
}
input[type="file"]::-webkit-file-upload-button {
  visibility: hidden;
}
input[type="file"]::before {
  content: "Wybierz plik";
  display: inline-block;
  background: linear-gradient(top, #f9f9f9, #e3e3e3);
  border: 1px solid #000000;
  border-radius: 3em;
  padding: 10px 12px;
  outline: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 10pt;
  transition: background 0.3s ease, color 0.3s ease; /* Dodajemy animację */
  margin-right: -6em;
}

input[type="file"]:hover::before {
  background: black;
  color: white;
}

input[type="file"]:active::before {
  background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.custom-file-upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
}
.submit {
  background-color: #ebebeb;
  text-decoration: none;
  color: rgb(68, 68, 68);
  border: solid 2px rgb(68, 68, 68);
  padding: 0.625em;
  font-size: 0.875em;
  width: 40px;
  border-radius: 50%;
  transition: background-color 0.5s, color 0.5s;
  cursor: pointer;
}
.submit:hover {
  background-color: rgb(68, 68, 68);
  color: white;
}
.inline {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.contact_map {
  background-color: rgb(226, 226, 226);
  overflow: hidden;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  padding-left: 3em;
  padding-right: 3em;
  height: 700px;
}
.contact_map h2 {
  justify-self: center;
  align-self: center;
  padding-bottom: 1em;
}
.contact_map hr {
  justify-self: center;
  align-self: center;
  text-align: center;
  color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid rgb(68, 68, 68);
  display: block;
  width: 50px;
}
.contact_map .main_map {
  justify-self: center;
  align-self: center;
  margin-top: 3em;
  border-radius: 3em;
  overflow: hidden;
}

@media (max-width: 1150px) {
  .contact {
    flex-direction: column;
    min-height: auto;
    margin-left: 0em;
    margin-right: 0em;
    margin-bottom: 0em;
    padding-top: 0em;
  }
  .contact_form {
    align-self: center;
    padding-top: 4em;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 3em;
    width: 100%;
  }
  .contact_form p {
    text-align: left;
  }

  .contact_map {
    display: none;
  }
}

@media only screen and (max-width: 1150px) and (min-width: 1050px) {
  .contact {
    margin-left: 5em;
    margin-right: 5em;
  }
}

/*footer*/

footer {
  display: flex;
  flex-direction: column;
  padding-top: 1em;
  padding-bottom: 1em;
  gap: 20px;
  height: 140px;
  background-color: rgb(44, 44, 145);
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.footer_menu {
  display: flex;
  gap: 30px;
}
.footer_menu li {
  list-style-type: none;
}
.footer_menu li a {
  list-style-type: none;
  text-decoration: none;
  color: white;
}

@media (max-width: 1150px) {
  .footer_menu li {
    font-size: 12px;
  }
}

.deskar {
  color: white;
  list-style-type: none;
  text-decoration: none;
  font-size: 13px;
  color: #ebebeb;
  text-align: center;
}
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(44, 44, 145);
  width: 5px;
}

.preloader {
  background-image: url(../photos/load.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 115%;
  position: fixed;
  z-index: 1001;
  transition: all 1s ease-in-out;
  top: 0;
  left: -50px;
  overflow: hidden;
}
.animate-preloader {
  animation: loaderAnimation 1s ease-in-out;
}
@keyframes loaderAnimation {
  0% {
    transform: translateX(0px) rotate(0);
  }
  100% {
    transform: translateX(3000px) rotate(0);
  }
}

@media (max-width: 1200px) {
  .preloader {
    display: none;
  }
}

.komunikat {
  color: rgb(44, 44, 145);
}

/*GALLERY*/

/*gallery*/
.gallery {
  display: flex;
  flex-direction: column;
  padding-left: 10em;
  padding-right: 10em;
  padding-bottom: 6em;
  padding-top: 6em;
  margin-top: 4em;
  height: auto;
  background-color: #f6f6f7;
  position: relative;
  z-index: 2;
}

.gallery p {
  padding-bottom: 1em;
  font-size: 20px;
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
}
.gallery hr {
  color: transparent;
  border: none;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid #000;
  display: block;
  width: 100px;
  margin-bottom: 1em;
}
.gallery h2 {
  padding-top: 0.5em;
  padding-bottom: 1em;
  font-size: 30px;
}

.gallery_con {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  grid-gap: 30px;
}

.gallery_con img {
  min-width: 200px;
  min-height: 200px;
  width: 100%;
  height: 450px;
  cursor: pointer;
}

.categories {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
  margin-bottom: 50px;
}
.subcategories {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 50px;
}

.sub {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
}
.subcategories p {
  font-size: 20px;
  font-weight: bold;
}

.category-btn {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid black;
  border-radius: 3em;
  color: black;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.subcategory-btn {
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid black;
  border-radius: 3em;
  color: black;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.category-btn:hover,
.subcategory-btn:hover {
  background-color: black;
  color: white;
}
.category-btn:focus,
.subcategory-btn:focus {
  background-color: black;
  color: white;
}
.slider-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.slider-content.active {
  opacity: 1;
}

.close-popup {
  color: #fff;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}
.arrow-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
}

.prev-button {
  left: 20px;
}

.next-button {
  right: 20px;
}
.slider-content img {
  width: auto;
  height: 80vh;
}

.close-popup {
  color: #fff;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}

@media only screen and (max-width: 1500px) and (min-width: 1350px) {
  .gallery {
    padding-left: 5em;
    padding-right: 5em;
  }
}
@media only screen and (max-width: 1350px) and (min-width: 900px) {
  .gallery {
    display: flex;
    flex-direction: column;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 4em;
    padding-top: 4em;
  }
  .gallery p {
    padding-bottom: 1em;
    text-align: left;
  }
  .gallery_con {
    padding-top: 1em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2em;
  }
  .gallery_con img {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: 650px;
    cursor: pointer;
  }
  .gallery_img {
    flex: 33%;
  }
}
@media (max-width: 900px) {
  .gallery {
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 4em;
    margin-bottom: 2em;
    padding-top: 3em;
  }
  .gallery p {
    padding-bottom: 1em;
    text-align: left;
  }
  .gallery_con {
    padding-top: 1em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2em;
  }
  .gallery_img {
    flex: 50%;
  }
  .gallery_con img {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: 300px;
    cursor: pointer;
  }

  .categories {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 50px;
  }
  .subcategories {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 50px;
  }

  .sub {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }
  .subcategories p {
    font-size: 20px;
    font-weight: bold;
  }

  .category-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid black;
    border-radius: 3em;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .subcategory-btn {
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid black;
    border-radius: 3em;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
}
