html, body {
    margin: 0em 0em 4em 0em;
    padding: 0em;
    font-family: Lato;
    scroll-behavior: smooth;
}
/* Header - wodne tło i napisy */
#header {
    background-image: url("img/background.png"); 
    background-repeat: no-repeat;
    position:absolute;
    top: 0;
    width: 100%;
}
#company_information {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#comp_name {
    font-size: 7vh;
}
#inf {
    font-size: 4vh;
    margin-top: 5vh;
}
.header-info {
    color: white;
    font-weight: bolder;
    text-align: center;
    font-family: 'Quando',serif;
    text-shadow: black 0.1em 0.1em 0.2em;
}
/* Navbar - menu z nawigacją */
.navbar-brand:hover {
    opacity: 0.5;
}
.nav {
    max-width: 5vh;
}
.navbar {
    z-index: 999;
}
.navbar-custom {
    background-color: rgba(0, 0, 0, 0.3);
    color: white !important;
}
.navbar-custom-scroll {
    background-color: rgba(255, 254, 254, 0.9);
}
/* nawigacja (a) */
.navigation-link-top{
    font-size: 20px;
    padding: 0px 20px 0px 20px;
    color: white;
    text-decoration: none;
}
.navigation-link-scroll{
    font-size: 20px;
    padding: 0px 20px 0px 20px;
    color: blue;
    text-decoration: none;
}
.custom-toggler.navbar-toggler {
    border-color: rgb(55, 195, 195);
}
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(55, 195, 195)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.anchor { 
    padding-top: 80px; 
}
.active {
    color: black !important;
    font-weight: 900;
}
/* zmiana języka*/
.flag {
    padding-left: 30px;
}
.flag:hover {
    opacity: 0.5;
}
/* Zawartość działu 'czynniki' */
#shop-content {
    text-align: center;
}
.product {
    max-height: 100%;
    width: auto; 
}
.product {
    padding: 22px;
    transition: transform .5s;
    margin: 0 auto;
  }
.product:hover {
    transform: scale(1.1);
    opacity: 0.8;
}
#stock {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-weight: bolder;
    font-size: 17px;
}
#quality_inf {
    font-size: 1.2rem;
    margin-top: 60px;
}
.link {
    text-decoration: none;
}
/* Zawartość działu 'konfekcjonowanie' */
#confectioning-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 1.2rem;
}
#confectioning-img {
    width: auto;
    max-height: 100%;
}
/* Zawartość działu 'kontakt' */
#contact {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: left;
    line-height: 30px;
}
#google-map {
    margin-right: 60px;
}
/* Footer - stopka */
#footer {
    text-align: center;
    padding-bottom: 30px;
}
#footer-logo {
    margin: 50px 0px 50px 0px;
}
/* Ogólne */
#page-content {
    margin: 0% 20% 0% 20%;
    position: absolute;
    top: 60vh;
    left: 0;
    right: 0; 
}
h4 {
    text-align: center;
    padding: 80px 0px 80px 0px;
}
.information {
    border-bottom: 3px solid rgb(29, 162, 240);
    text-decoration: none;
    color: black;
    padding-bottom: 10px;
}
.information:hover {
    color: black;
}
#gazozo_anchor {
    position: absolute;
    top: 0;
}
/* MEDIA QUERIES */

/* MAX-WIDTH */

/* 1270px */
@media only screen and (max-width: 1270px) {
    #confectioning-content {
        font-size: 1rem;
    }
    #confectioning-img {
        max-width: 400px;
        max-height: auto;
    }
    #quality_inf {
        font-size: 1rem;
    }
}
/* 1199px */
@media only screen and (max-width: 1199px) {
    #google-map {
        margin-right: 10px;
     }
    .navigation-link {
        color: rgb(30, 121, 224);
    }
    .navbar-nav {
        margin-left: 5vw;
        margin-right: 5vw;
        background-color: white;
        opacity: 1;
        text-align: center;
    }
    .navbar-nav > li {
        padding: 10px;
    }
    nav .navbar-nav li a{
        font-size: 20px;
        padding: 0px 20px 0px 20px;
        color: black;
    }
    .flag {
        padding-left: 0px;
        border: solid 1px black;
    }
    .product {
        max-width: 320px;
        max-height: auto;
    }
}

/* 1024px */
@media only screen and (max-width: 1024px) {
    #contact {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    #contact-info {
        margin-bottom: 25px;
        text-align: center;
    }
    #page-content {
        margin: 0% 10% 0% 10%;
    }
    h4 {
        padding: 50px 0px 50px 0px;
    }
    #quality_inf {
        margin-bottom: 26px;
    }
}

/* 900px */
@media only screen and (max-width: 900px) {
    #confectioning-img {
        display: none;
    }
}

/* 960px */
@media only screen and (max-width: 960px) {
    .product {
        max-width: 280px;
        max-height: auto;
    }
}

/* 850px */
@media only screen and (max-width: 850px) {
    .product {
        max-width: 240px;
        max-height: auto;
    }
    /* #valve_img {
        max-width: 500px;
    } */
}

/* 720px */
@media only screen and (max-width: 720px) {
    #stock {
        display: flex;
        flex-direction: column;
    }
    .product {
        max-width: 380px;
    }
}

/* 640px */
@media only screen and (max-width: 640px) {
    #comp_name {
        font-size: 6vh;
    }
    #inf {
        font-size: 3.5vh;
        margin-top: 3vh;
    }
    #quality_inf {
        padding: 20px 10px 20px 0px;
    }
}

/* 470px */
@media only screen and (max-width: 470px) {
    .product {
        max-width: 250px;
    }
}

 /* 400px */
@media only screen and (max-width: 400px) {
    #menu-logo {
        max-width: 180px;
        max-height: auto;
    }
    .navbar-toggler-icon {
        max-width: 25px;
        max-height: auto;
    }
}

/* 320px */
@media only screen and (max-width: 320px) {
    .product {
        max-width: 180px;
    }
    #comp_name {
        font-size: 4vh;
    }
    #inf {
        font-size: 3vh;
        margin-top: 2vh;
    }
    #footer-logo {
        max-width: 180px;
        max-height: auto;
    }
    #footer {
        font-size: 12px;
    }
}

 /* 300px */
@media only screen and (max-width: 300px) {
    #menu-logo {
        max-width: 140px;
        max-height: auto;
    }
    .navbar-toggler-icon {
        max-width: 20px;
        max-height: auto;
    }
}

/* MAX-HEIGHT */

 /* 600px */
@media only screen and (max-height: 600px) {
    #company_information {
        height: 74vh;
    }
    #comp_name {
        font-size: 10vh;
    }
    #inf {
        font-size: 6vh;
        margin-top: 5vh;
    }
    h4:first-child {
        padding: 120px 0px 80px 0px;
    }  
    #menu-logo {
        height: 40px;
        width: auto;
    }
}











