@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap');
@import url('/assets/buttons.css');
@import url('/assets/maszyny.css');
@import url('/assets/settings.css');
@import url('/assets//cards.css');


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

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #000000;
  background: #fff;
}

h1 {
  font-family: 'Poppins';
  padding-top: 50px;
  color: #2c3342;
}

.c-logo {
  width: 100%;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  padding-top: 10px;
}


/* Szalunki */

.szalunki {
  display: flex;
    flex-wrap: wrap; /* Zawijanie elementów na nową linię */
    justify-content: space-between; /* Rozłożenie elementów na całej szerokości */
    max-width: 1200px; /* Maksymalna szerokość kontenera */
    margin-top: 20px; /* Odstęp od nagłówka */
}

.box-szalunki {
  display: flex;
}

.box-szalunki img {
  width: 400px;
}

.text-2 {
  padding-top: 40px;
  justify-content: center;
  text-align: right;
  font-size: 18px;
}

.text-1 {
  padding-top: 40px;
  justify-content: center;
  text-align: left;
  font-size: 18px;
}

.szalunki-text {
  padding-top: 15px;
  margin: 10px;
}



.uslugi {
  display: flex;
    flex-wrap: wrap; /* Zawijanie elementów na nową linię */
    justify-content: space-between; /* Rozłożenie elementów na całej szerokości */
    max-width: 1200px; /* Maksymalna szerokość kontenera */
    margin-top: 20px; /* Odstęp od nagłówka */
}

.box-icon {
  display: flex;
  font-size: 16px;
  padding-bottom: 30px;
  flex-basis: calc(50% - 20px); /* Szerokość każdego elementu */
  margin-bottom: 20px; /* Odstęp między elementami */ 
}

.box-icon img {
  width: 180px;
  padding-right: 40px;
}

.container-box {
  display: flex;
    flex-direction: column;
    align-items: center;
}
 

 /* Dla responsywności */
 @media screen and (max-width: 768px) {
  h1 {
    text-align: center;
  }
  .box-icon {
    flex-basis: calc(50% - 20px); /* Na mniejszych ekranach zmniejszamy szerokość elementów */
  }


}

@media screen and (max-width: 480px) {
  .box-icon {
    flex-basis: 100%; /* Na bardzo małych ekranach zajmują całą szerokość */
  }

}
  
  .navbar {
    background: #fff;
    height: 120px;
  }
  
  .navbar a {
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
  }

  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
  }
  
  .navbar ul {
    display: flex;
  }
  
  .navbar ul li {
    margin-left: 20px;
  }

  .header {
    background: #f9f9f9; 
    min-height: 620px;
  }
  
 h1 {
    font-size: 46px;
    font-weight: bold;
    line-height: 2.5;
  }
  
  .header img {
    max-width: 300px;
    margin: 50px 0 0 50px;
  }
  


  .text-header {

    text-align: center;
  }

  /* Usługi */

  .services {
    background: #fff; 
    color: #2c3342;
    min-height: 730px;
  }

.services img {
  max-width: 300px;
}

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

.box-uslugi {
  font-size: 18px;
  border-style: solid;
  border-radius: 20px;
  width: 400px;
  height: 200px;
  margin: 4px 0;
}


  .toggle-button {
    position: absolute;
    display: none;
    top: 25px;
    right: 25px;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 15px;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #c60000;
    border-radius: 3px;
    transition: 0.3s ease-in-out;
}


    @media (max-width: 968px) {


      .navbar .container {
        flex-direction: column;
        text-align: center;
      }

    .header .container {
      padding-top: 70px;
    }

    .header img {
      display: none;
    }

    .szalunki img {
      display: none;
    }

    .szalunki h1 {
      font-size: 30px;
      padding-top: 20px;
    }


    .uslugi img {
      max-width: 240px;
    }

    .uslugi h1 {
      font-size: 30px;
      padding-top: 20px;
    }

    .uslugi {
      display: block;
    }

    h1 {
      margin-top: 20px;
      font-size: 40px;
    }

    

    /* Nav */

    .navbar {
      position: fixed;
      width: 100%;
      z-index: 1000;
    }

    .navbar ul {
      width: 100%;
      top: 90px;
      flex-direction: column;
      position: absolute;
      background: #f9f9f9;
    }

    .navbar ul li {
      margin-top: 30px;
      margin-bottom: 30px;
      text-align: center;
  }

    .toggle-button {
      display: flex;
    }

    .toggle-button.active span:nth-child(1) {
      transform: translateY(7px) rotate(-45deg);
    }

    .toggle-button.active span:nth-child(2) {
      opacity: 0;
    }

    .toggle-button.active span:nth-child(3) {
      transform: translateY(-5px) rotate(45deg);
    }

    .navbar .navbar-links {
      display: none;
    }

    .navbar .navbar-links.active {
      display: flex;
      
    }

    .map {
      display: none;
    }


}

  .navbar-links ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-links .btn li  {
    list-style: none;
}

.navbar-links .btn li a {
    text-decoration: none;
    color: #fff;
    padding: 20px;
    display: block;
}


  /* Footer */

  .socials {
    background: #fff;
    color: #2c3342;
  }

  .footer {
    display: flex;
    justify-content: space-between;
    padding: 30px 30px;
    font-size: 20px;
  }

  .socials-links {
    font-size: 20px;
    color: #2c3342;
    text-decoration: none;
    justify-content: center;
    text-align: center;
  }

  .socials-links img {
    width: 400px;
  }

  .socials-create {
    background: #2c3342;
    color: #fff;
    font-size: 15px;
    text-align: center;
  }

  .media, a {
    color: #2c3342;
    text-decoration: none;
    
  }

  .map {
    width: 50%; /* Szerokość mapy */
    justify-content: center;
  }


  .socials-links {
    width: 100%;
    display: flex;
    flex-direction: column; /* Ustawienie elementów w kolumnie */
  }

  /* Dla responsywności */
  @media screen and (max-width: 768px) {
    .container {
      flex-direction: column; /* Układ pionowy na mniejszych ekranach */
      align-items: center; /* Wycentrowanie elementów na mniejszych ekranach */

    }
    
    h1 {
      font-size: 29px;
    }

    .map {
      width: 0%; /* Mapa zajmuje całą szerokość na mniejszych ekranach */
    }

    .cards .card p {
      font-size: 16px;
    }

  }

  @media screen and (max-width: 480px) {
    .cards .card p {
      font-size: 12px;
    }

    .cards .card h2 {
      font-size: 15px;
    }

    .cards .card .imgBx {
      width: 295px;
      height: 200px;
    }

    .uslugi .box-icon p {
      font-size: 12px;
    }

    .header h2, h3, p {
      font-size: 15px;
    }

    .social-links h2, h3, h4, p, i, a {
      font-size: 14px;
    }

    .btn-search {
      font-size: 14px;
      width: 250px;
    }

  }

