body {
  font-family: Arial, sans-serif;
  background-size: cover;
  background-position: center, center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: black;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  min-height: 99vh;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}


#cookie-consent img {
  max-width: 200px;
  width: max-content;
  border-radius: 10px;
  padding: 1%;
  margin: 2%;
}
main h1 
{
  text-align: center;
}


#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #f2f2f2;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000000;
  flex-direction: column;
}

.preimg {
  height: 60px;
  display: flex;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #0078d7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Ukrywanie preloadera po załadowaniu */
body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}

@media only screen and (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 8%;
    min-width: 75%;
    width: max-content;
    max-width: 80%;
    z-index: 2000;
  }
}

@media only screen and (min-width: 601px) {
  .cookie-consent {
    flex-direction: column;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3%;
    min-width: 30%;
    width: max-content;
    max-width: 60%;
    z-index: 2000;
  }
}



.cookies-a {
  text-decoration: none;
  font-size: large;

}

.text-cookies {
  font-size: large;
}

.cookie-consent h2 {
  font-size: x-large;
  color: #333;
  margin-top: 10px;

}

.cookie-consent p {
  margin: 0 0 10px;
  color: #555;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-cookies {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  font-size: medium;
}

#reject-cookies {
  background-color: rgba(255, 0, 0, 0.795);
}

.btn-cookies:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.close-btn-cookies {
  display: flex;
  position: absolute;
  top: 0px;
  right: 20px;
  font-size: 36px;
  cursor: pointer;
  margin-top: 10px;
  color: #999;
}

.close-btn-cookies:hover {
  color: red;
}

.cookies-label {
  padding: 10px;
}

/* Design: devkb.eu  KB IT */

@media only screen and (max-width: 1350px) {
  body 
  {
    background: #eee0c3;
    background-image: none;
  }

  .rose-left,
  .tulip-right {
    display: none;
    width: 50px;
    height: auto;
    border: none;
    margin: 5px;
  }

  header {
    display: flex;
    position: fixed;
    width: 100%;
    height: 80px;
    top: 0;
    flex-direction: row;
    z-index: 10000;
  }

  header .container {
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  header .logo {
    height: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 30px;
    max-width: 80%;
    content: url('photo/wzielone.webp');
  }

  .logo-img {
    display: none;
    position: fixed;
    height: 80px;
  }

  nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50px;
    height: 50px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 50%;
    background-image: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"> <rect y="8" width="40" height="4" fill="black" opacity="0.7"/>  <rect y="18" width="40" height="4" fill="black" opacity="0.7"/>    <rect y="28" width="40" height="4" fill="black" opacity="0.7"/></svg>');
    background-position: center, center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
    margin-right: 15px;
  }

  nav.active {
    transition: opacity 0.3s ease, transform 0.3s ease;
    background-image: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">    <line x1="5" y1="5" x2="35" y2="35" stroke="black" stroke-width="4" opacity="0.7"/>    <line x1="5" y1="35" x2="35" y2="5" stroke="black" stroke-width="4" opacity="0.7"/></svg>');

  }

  nav ul {
    display: none;
    list-style-type: none;
  }

  .viewnav {
    display: flex;
    width: 100%;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 61px;
    padding: 10px;
    left: 0;
    background-color: #fff;
    flex-wrap: wrap;
    flex-direction: column;
    text-decoration: none;

  }

  .viewnav li,
  .viewnav a {
    padding: 20px;
    text-decoration: none;
    color: black;

  }

  .viewnav .active {
    color: red;
  }

  .viewnav a:hover {
    color: blueviolet;

  }

  .tel-a:hover,
  .email-a:hover {
    color: blueviolet;
  }

  .contact-info {
    display: none;
  }

  .viewcon {
    display: flex;
    width: 100%;
    position: fixed;
    top: 265px;
    flex-wrap: wrap;
    background-color: #fff;
    justify-content: space-around;

  }

  .viewcon section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }

  .viewcon img {
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 2px;
    width: 40px;
    flex-wrap: wrap;
  }

  .viewplant1 {
    display: block;
    position: fixed;
    width: 90px;
    height: auto;
    border: none;
    margin: 5px;
    top: 115px;
    z-index: 1000;
    left: 15px;
  }

  .viewplant2 {
    display: block;
    position: fixed;
    width: 90px;
    height: auto;
    border: none;
    margin: 5px;
    top: 115px;
    z-index: 1000;
    right: 15px;
  }

  .viewcon a {
    text-decoration: none;
    color: black;
  }


  main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 11vh;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #F2D7DC;
    width: 80%;
    padding: 2em;
    border-radius: 10px;
    margin-top: 100px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(2px);
    animation: fadeInUp 0.2s ease-out forwards;
    animation-delay: 0.1s;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .news-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

  }

  .news-item>section {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .news-item h4 {
    width: 100%;
    text-align: left;
  }

  .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 150px;
    margin: 10%;
    padding: 20px;
    border-radius: 10px;
  }

  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: aliceblue;
    width: 100%;
    clear: both;
  }

  footer section {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
  }

  .news-image {
    width: 30vw;
  }

  .footer-icon {
    width: 40px;
    padding-right: 10px;
  }
  .photo-img-l {
  width: 100%;
  background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
}
.img-opis_start {
  width: 90%;
  border-radius: 20px;
background: radial-gradient(circle, rgb(255 0 42) 0%, transparent 100%);
    padding: 5px;
}
    .image-messages {
    width: 100%;
    content: url('/photo/dymek.svg');
    background-size: 100% 100%;
  }
  .main-image p {
    
    
width: 60%;
  }

  .main-image {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
    flex-direction: column-reverse;
  }
    .photo-img-logo {
  border: none;
  max-width: 80%;

}


}

@media only screen and (min-width: 1350px) {
  body 
  {
      background-image: url('photo/tlo.webp');
  }

  header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 10000;
    max-height: 100px;
  }
  .photo-img-logo {
  border: none;
  max-width: 40%;

}

  header section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  header .logo {
    display: flex;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px;
    margin-right: 10%;

  }

  .logo-img {
    height: 90px;
  }

  header .nav-link {
    color: black;
    font-weight: bold;
  }

  .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  header .nav-link.active {
    color: red;
    border: 2px solid red;
    border-radius: 5px;
    padding: 5px 10px;
  }

  .contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 25%;
    flex-wrap: wrap;
  }

  .contact-info .icon {
    width: 35px;
    /* Dostosuj rozmiar ikon */
    height: auto;
    /* Dostosuj rozmiar ikon */
    padding: 5px;
  }

  .email-a,
  .tel-a,
  header img {
    color: black;
    text-decoration: none;
    padding-right: 10px;
  }

  .main-image {
    border-radius: 20px;
  }

  section h3 {
    font-weight: bold;
  }

  main>img {
    border: 2px solid black;
    border-radius: 10px;
  }


  button {
    font-weight: bold;
    border: 2px solid black;
  }




  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    width: 15%;
  }

  ul.nav {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 60%;
  }

  .nav li>a {
    margin: 0 40px;
    display: flex;
    padding: 10px;
  }

  .nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
  }

  .nav a.active {
    color: red;
    border-bottom: 2px solid red;
  }

  .choose:hover,
  a.active:hover {
    color: blueviolet;
    border-bottom: 2px solid blueviolet;
  }

  .tel-a:hover,
  .email-a:hover {
    color: blueviolet;
  }

  .contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .rose-left,
  .tulip-right,
  .rose-left-a,
  .tulip-right-a {
    width: 50px;
    height: auto;
    border: none;
    margin: 5px;
  }

  main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    width: 70%;
    margin-top: 20px;
    background-color: #F2D7DC;
    border-radius: 10px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(0px);
    animation: fadeInUp 0.1s ease-out forwards;
    animation-delay: 0.1s;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .photo-img-l {
  width: 100%;
}
.img-opis_start {
  max-width: 38%;
  background: radial-gradient(circle, rgb(255 0 42) 0%, transparent 100%);
  padding: 5px;
  border-radius: 30px;
}
  .image-messages {
    max-width: 60%;
    content: url('/photo/dymek.svg');
    background-size: 100% 100%;
  }
  .main-image p {
    
    
width: 60%;
  }

  .main-image {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 50px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
    min-width: 75%;
    max-width: 100%;
  }

  .news {
    display: flex;
    width: 70%;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
  }

  .news h3 {
    display: flex;
    width: 100%;
    text-align: left;
    color: #dc3545;
  }

  .news-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .news-item section {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .news-item h4 {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
  }

  .news-item>button {
    display: flex;
    margin-left: 50px;
  }

  .news-item p {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: left;
    flex-direction: row;
    text-align: left;
  }

  .news-image {
    display: flex;
    width: 18%;
    border: 2px solid black;
    border-radius: 10px;
    margin-top: 10px;
  }

  .btn {
    display: flex;
    background-color: #ffc107;
    border: none;
    height: 50px;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
  }

  .btn:hover {
    background-color: #e0a800;
  }

  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    clear: both;
    /* pĂłĹprzezroczyste tĹo ale moĹźna wypierdoliÄ i daÄ statyczne */
    background-color: rgba(240, 248, 255, 0.8);

  }

  footer section {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  .footer-icon {
    width: 40px;
    padding-right: 10px;
  }
}