html {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    background-color: rgb(238, 238, 238);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0px;
    margin: 0px;
}
h1 {
    font-size: 2.1rem;
    font-weight: 600;
    text-align: center;
}
h2 {
    font-size: 1.5rem;
    font-weight: 400;
}
p {
    font-size: 1rem;
    font-weight: 400;
}
a {
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    color: inherit;
    text-decoration: inherit;
}

.container {
    width: 1090px;
}

/*NAV--------------------------------------------*/

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*position: fixed;
    z-index: 1;
    przemyśleć czy menu ma być przypięte
    
    WŁĄŚCIOWŚĆ STICKY!!!
    
    */
    box-shadow: 0px 3px 0px 0px rgba(12, 35, 64, 0.1);
    position: sticky;
    top: -100px;
    z-index: 1;
}

.nav_top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    background-color: rgb(255, 255, 255);
    width: 100%;
}

.nav_bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: rgb(12, 35, 64);
    color: rgb(255, 255, 255);
}

.container_header_top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.container_header_bottom {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.nav_item{
    margin-left: 60px;
    font-weight: 300;
    color: rgb(255, 255, 255);
    padding: 20px 0px 20px 0px;
}

#header_contact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.contact_data {
    border-style: solid;
    border-width: 1px;
    padding: 10px;
    margin-left: 30px;
}

.contact_data:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(12, 35, 64);
}

#header_logo {
    width: 50px;
    margin: 10px 10px 10px 0px;
}

.hamburger {
    display: none;
}
.hamburger_btn{
    color: rgb(238, 238, 238);
    background-color: rgb(255, 255, 255);
    border: none;
}
.icon-menu {
    color: rgb(12, 35, 64);
    font-size: 3.5rem;
}
.icon-cancel {
    color: rgb(12, 35, 64);
    font-size: 4rem;
}

/*---------------------------------------------------------*/

main {
    width: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#start {
    width: 100%;
    height: 70vh;
    background-image: url("./photos/437226606_971858211189897_5042047463181717727_n.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#about_us {
    background-color: rgb(255, 255, 255);
    text-align: justify;
    padding: 50px 0px 50px 0px;
    line-height: 160%;
    color: rgb(12, 35, 64);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container_about_us {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#services {
    width: 100%;
    padding: 50px 0px 50px 0px;
    background-color: rgb(12, 35, 64);
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

.container_services {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-count: 3;
}

.service {
    text-align: center;
    padding: 10px;
    width: 300px;
    border-style: solid;
    border-width: 2px;
    border-color: rgb(255, 255, 255);
}

.service:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(12, 35, 64);
}

/*gallery-------------------------------------------------*/
 

#gallery{
    width: 1090px;
    color: rgb(12, 35, 64);
    padding: 50px 0px 50px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.mySlides {display: none;}

.mySlides > img {
    max-width: 100%;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1090px;
  position: relative;
  margin: auto;
}

/* The dots/bullets/indicators */
.dot {
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: rgb(12, 35, 64);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

 /*-------------------------------------------------*/

.photo {
    width: 100%;
    height: 600px;
}

#contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(238, 238, 238);
    background-color: rgb(12, 35, 64);
    padding: 50px 0px 50px 0px;
}

.container_contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;

}
.contact > a {
    text-align: center;
    padding: 10px;
    width: 200px;    
    border-style: solid;
    border-width: 2px;
    border-color: rgb(255, 255, 255);  
    margin: 30px 0px 30px 0px;
}

.contact > a:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(12, 35, 64);
}

.map {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.map > img {
    margin: 30px 0px 30px 0px;
    width: 40%;
}
.map > p {
    font-size: 1.5rem;
    text-align: center;
}

footer {
    width: 100%;
    background-color:rgb(255, 255, 255);
    color: rgb(12, 35, 64);
    padding: 10px 0px 10px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
footer > p {
    text-align: center;
}

.facebook {
    padding: 10px;
    width: 250px;
    background-color: #4267B2;
    position: fixed;
    right: 0px;
    top: 85%;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 15px 0px 0px 15px;
}
.facebook > i {
    font-size: 3.5rem;
}
.facebook > a {
    font-size: 1rem;
    line-height: 130%;
}



@media screen and (max-width: 1089px) {

    html {
        font-size: 19px;
    }
    a {
        font-size: 1.4rem;
    }
    p {
        font-size: 1.4rem; 
    }
    .container {
        width: 90%;
    }

    #header {
        position: sticky;
        top: 0px;
        z-index: 10;
    }

    #header_contact {
        display: none;
    }

    #header_logo {
        width: 80px;
    }

    .nav_top {
        height: 150px;
    }

    .nav_bottom {
        display: none;
        position: absolute;
        margin-top: 150px;
    }

    .nav_item {
        font-size: 2rem;
    }

    .container_header_bottom {
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .hamburger {
        display: block;
    }

    #start {

    }

    #about_us > .container > p {
        font-size: 0.8rem;
    }

    #gallery {
        width: 90%;
    }

    .contact {
        flex-direction: column;
        align-items: center;
        margin: 50px 0px 50px 0px;
    }
    .contact > a {
        min-width: 60%;
        padding: 20px;
       /*font-size: 1.4rem;*/
    }

    .container_services {
        flex-direction: column;
    }
    .service {
        min-width: 60%;
        padding: 20px;
       /*font-size: 1.4rem;*/
    }

    .service:hover {
        background-color: inherit;
        color: inherit;
    }
    
    footer > p {
        width: 80%;        
    }

    .facebook {
        width: auto;
        padding: 10px;
        right: 0px;
    }

    .facebook > p {
        display: none;
    }

  }