html {
  box-sizing: border-box;
  font-size: 10px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body, html {
  height: 100%;
}

body {
  background: url("images/pattern.png") top left repeat;
  font-size: 1.8rem;
  line-height: 2.6rem;
  font-family: 'montserrat', sans-serif;
}



/* HEADER */

header {
  width: 70vw;
  max-width: 1600px;
  height: auto;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
}

.logo {
  width: 40%;
  display: flex;
  justify-content: center;
}

.logo img {
  width: auto;
  height: 12rem;
  margin-bottom: -5rem;
}

nav {
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 1rem;
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #6ee5ee;
}

nav ul {
  width: 60%;
  display: flex;
  justify-content: space-between;
  
}

nav ul li {
  list-style: none;
  margin: 0;
}


nav ul li a {
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

nav ul li a:hover {
  color: #6ee5ee;
}


/* ----------- MAIN ------------- */

  main {
    width: 70vw;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-top: 5rem;
   
  }

  .row1 {
    width: 100%;
    height: auto;
    display: flex;
    margin-bottom: 4rem;
  }

  .main-img {
    width: 60%;
    padding: 0;
    
  }

  .main-img img {
    width: 100%;
    height: auto;
  }

  .content {
    width: 40%;
    padding: 0 3rem;
    
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .content p {
    color: #fff;
    margin-bottom: 2rem;
  }

  .icons {
    width: 80%;
    padding: 4rem 0;
  }

  .row2 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 8rem;
  }

  .list {
    width: 60%;
    height: auto;
   
    display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  }

  .aside {
    width: 60%;
    height: auto;
    margin-bottom: 2rem;
   
  }

  .aside p {
    text-align: center;
    color: #fff;
  }

.list h1 {
   font-size: 2.2rem;
   font-weight: 600;
   text-align: center;
   color: #9ff9ff;
   padding: 1rem 0;
   text-transform: uppercase;
}

.list hr {
  border-bottom: 2px solid #6ee5ee;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  width: 60%;
  margin-bottom: 1rem;
}

.list ul {
  display: flex;
  flex-direction: row;
  justify-content: center;

}

.list ul li {
  list-style: none;
  color: #fff;
  margin-left: 0.5rem;
  text-align: center;
  font-size: 1.8rem;
}

.list ul li:last-child {
  margin-left: 0;
 
}



/* ---------------- PRICES ----------------*/

.pakiety {
  padding-top: 5rem;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  
  list-style: none;
  
}



.row li {
  width: 25%;
  list-style: none;
  margin: 0.5rem;
  background: #00A0A6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.8rem;

}

.row li:first-child {
  background: #007377;
  
  width: 50%;
  list-style: none;
  margin: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.8rem;
}

.row-22 li {
  width: auto;
  
}




.col {
  display: flex;
  flex-direction: column;
  list-style: none;
  
}

.col-1 {
  width: 80%;
}

.col-2 {
  width: 100%;
}

.col-1 li:first-child {
  padding-left: 0.5rem;
  font-size: 2rem;
}

.m1 {
 margin: 0 auto 2rem auto;
 font-weight: bold;
 display: block;
}




.house-wrap {
  width: 70%;
  height: auto;
  display: flex;
  flex-direction: column;
  margin: 0 auto;

}

.house-header {
  width: 100%;
  height: auto;
  padding: 2rem 4rem;
  background: #017377;
  color: #fff;
}

.house-prices-list {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;

}


.house-prices-list ul {
  display: flex;
  background: #02AAB0;
  width: 100%;
  height: auto;
  padding: 1.2rem 4rem 1.2rem 4rem;
  border-bottom: 1px solid #46D0D7;
}

.house-prices-list ul:last-child {

border-bottom: none;
}

.house-prices-list ul li {
list-style: none;
width: 50%;
color: #fff;

}

.house-prices-list ul li:first-child {
width: 60%;

}


.packages-wrap {
 width: 70%;
  height: auto;
  display: flex;
  flex-direction: column;
  margin: 0 auto;

}

.packages-wrap ul {

display: flex;
background: #02AAB0;
  width: 100%;
  height: auto;
  padding: 1.2rem 4rem 1.2rem 4rem;
  border-bottom: 1px solid #46D0D7;

}

.packages-wrap ul li {
list-style: none;
width: 50%;
color: #fff;

}


.prices-heading1 {
margin: 0 auto 0 auto;
 font-weight: bold;
 display: block;
 color: #fff;
 font-size: 3rem;
 background: #46D0D7;
 padding: 0.5rem 1.4rem;

}


.prices-heading2 {
margin: 6rem auto 4rem auto;
 font-weight: bold;
 display: block;
 color: #fff;
 font-size: 2.4rem;

}




/* --------------- FOOTER --------------- */

footer {
  width: 70vw;
  max-width: 1600px;
  height: auto;
  border-top: 2px solid #6ee5ee;
  margin: 3rem auto 0 auto;
  padding-top: 1rem;
  padding-bottom: 5rem
}

footer p {
  text-align: center;
  font-size: 1.4rem;
  color: #6ee5ee;
}


/* ---------------- KONTAKT ----------------- */

main.contact {
  width: 70vw;
  max-width: 1600px;
  display: flex;
  flex-direction: row;
  padding-bottom: 4rem;
}

.row3 {
  width: 40%;
  height: auto;
}

.adres-info li, .contact-info li {
  
  margin-bottom: 1rem;
  list-style: none;
}

.adres-info li p, .contact-info li p {
  color: #fff;
}

.title {
   font-size: 2.2rem;
   font-weight: 500;
   color: #9ff9ff;
   padding-bottom: 3rem;
   text-transform: uppercase;
}

.contact-title {
  font-weight: 600;
  color: #00767a;
  font-size: 2rem;
}

.adres-info {
  padding-bottom: 3rem;
}

.row4 {
  width: 60%;
  height: auto;
}

iframe {
  width: 100%;
  height: 40vh;
}


/* ---------------- CENNIK ----------------- */

.cennik {
  width: 70vw;
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 5rem;
  padding-bottom: 10rem;
  background: rgba(110, 229, 238, 0.5);
}


.upper {
  text-transform: uppercase;
  margin-right: 3rem; 
}

strong {
   font-weight: 500;
   color: #016164;
}

/* ------------ GALERIA --------------- */


main.galeria {
  width: 70vw;
  max-width: 1600px;
  padding-top: 5rem;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main.galeria h1 {
  margin-bottom: 5rem;
  font-weight: 700;
}



.images ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 5rem auto;
}

.row-1 li {
  width: 24%;

}

.images ul li img {
  width: 100%;
  height: auto;
  list-style: none;
}

.row-2 li, .row-3 li, .row-4 li, .row-5 li, .row-6 li {
  width: 32%;
}


/* ---------- MEDIA QUERIES ------------ */

@media (max-width: 1630px) {
  .icons {
    width: 70%;
    padding: 2rem;
  }
}

@media (max-width: 1560px) {
   header {
    width: 80vw;
  }

  main {
    width: 80vw;
  }

  main.galeria {
    width: 80vw;
  }

  footer {
    width: 80vw;
  }
}

@media (max-width: 1350px) {
   html {
     font-size: 9px;
   }
}

@media (max-width: 1225px) {
   html {
     font-size: 8px;
   }

   footer {
     margin-top: 10vh;
   }
}

@media (max-width: 1080px) {
   html {
     font-size: 7px;
   }

   footer {
     margin-top: 10vh;
   }

   .house-wrap, .packages-wrap  {
   
    width: 90%;
   }
}

@media (max-width: 950px) {
   .main-img {
     width: 50%;
   }

   .content {
     width: 50%;
   }

   .logo img {
     height: 10rem;
     margin-bottom: -3rem;
   }

   .icons {
    width: 60%;
    padding: 2rem;
  }
}

@media (max-width: 930px) {
  header {
    width: 90vw;
  }

  main {
    width: 90vw;
  }

  main.galeria {
    width: 90vw;
  }

  footer {
    width: 90vw;
  }
}

@media (max-width: 880px) {

.cennik-tabela {
    width: 90%;
  }

  main.contact {
  width: 80vw;
 
}

}

@media (max-width: 850px) {
.icons {
    width: 50%;
    padding: 1rem;
  }


}


@media (max-width: 805px) {

  html {
    font-size: 8px;
  }

  main {
    padding-top: 3rem;
  }
  .row1 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
  }

  .main-img {
    width: 100%;
    margin-bottom: 3rem;
  }

  .content {
    width: 100%;
  }

  .content p {
    text-align: center;
  }

  .cennik {
    width: 90vw;
  }

  main.contact {
    width: 80vw;
  }
}

@media (max-width: 785px) {

  .cennik-tabela {
    width: 90%;
  }

}


@media (max-width: 703px) {

  main.contact {
    flex-direction: column;
    align-items: center;
  }

  .row3 {
  width: 60%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5rem;
}

.adres-info li, .contact-info li {
  
  text-align: center;
}


.title {
   text-align: center;
}

.row4 {
  width: 90%;
 
}


}


@media (max-width: 650px) {

    nav ul {
      width: 80%;
    }

    .aside {
      width: 80%;
    }

    .logo img {
      margin-bottom: 0;
    }
}


@media (max-width: 480px) {

.icons {
 width: 70%;

}

 .logo img {
      height: 8rem;
    }


    .house-prices-list ul, .packages-wrap ul {
    
    padding-left: 2rem;
    padding-right: 2rem;
    }
}

@media (max-width: 440px) {

  nav ul {
  width: 80%;
 
  
}

.list ul {
 flex-wrap: wrap;

}



.row2 {
    
    padding-bottom: 2rem;
  }
}


@media (max-width: 360px) {

nav ul {
  width: 100%;
 
  
}

.row3 {
  width: 100%;
  height: auto;
}


.logo img {
      height: 6rem;
    }
}

@media (max-width: 340px) {

nav ul {
  width: 100%;
 
  
}

.g2, .g4, .g6 {

  padding: 2rem 3rem 2rem 0;
 
}
}

@media (max-width: 320px) {

html {
  font-size: 6px;
 
  
}


}



.col-7 {
  width: 80%;
  display: flex;
  flex-direction: column;
}

.row-7 {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 0.8rem;
}

.row-7 p {
  width: 30%;
  background: #00A0A6;
  padding: 0.8rem 1rem;
  margin-right: 0.8rem;
}

.row-7 p:first-child {
  width: 40%;
  background: #007377;
}


