html, body{
    margin: 0px;
    padding: 0px;
    background-color: #E2E5DE;
    font-family: "Open Sans", sans-serif;
    box-sizing: border-box;
}
header{
    background-color: #232323;
    width: 100%;
    height: 12%;
    display: flex;
    padding: 0px;
    margin: 0px;
    text-align: center;
}
.logo{
    width: 30%;
    height: auto;
    margin: 0px;
    padding: 0px;
}
nav{
    width: 70%;
    height: 100%;
    margin: 0px;
    padding: 0px;      
    display: grid;
    place-items: center;
}
.link{
    height: 100%;
    width: 100%;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 5vh;
    transition: background-color 500ms;
    color: #ECBB4C;
    margin: 0px;
}
.link:hover{
    background-color: #363636;
}   
.link > p{
    margin: 0px;
}
.funkcja > p{
    margin: 0px;
}
#dd{
    height: 100%;
    width: auto;
    padding: 0px;
    margin: 0px;
}
footer{
    width: 100%;
    height: 5%;
    background-color: #232323;
    display: grid;
    place-items: center;
    margin: 0px;
    font-size: 3vh;
    color: #ECBB4C;
}
.licznik{
    margin: 0px;
}
main{
    height: 83%;
    width: 100%;
    margin: 0px;
    padding-top: 3%;
    padding-bottom: 3%;
    box-sizing: border-box;
    color: #232323;
}
main > *{
    margin: 0px;
    padding: 0px;
}
h1{
    font-size: 8vh;
    width: 100%;
    height: auto;
    text-align: center;
    white-space: normal;
}
h2{
    font-size: 5vh;
}
.kontent{
    margin: 0px;
    display: flex;
    height: 80%;
    text-align: center;
    justify-content: center;
}
.info{
    height: 100%;
    width: 60%;
    font-size: 4.5vh;
}
.kontent > img{
    height: 70%;
    width: auto;
    margin-top: 2%;
}
span{
    color: #ECBB4C;
}
.kontakt{
    display: flex;
    text-align: center;
    justify-content: center;
    width: 100%;
    height: 15%;
}
.kontakt > *{
    margin-left: 5%;
    margin-right: 5%;
    background-color: #232323;
    width: 30%;
    border-radius: 30px;
}
.funkcja:hover{
    border-radius: 30px;
    background-color: #363636;
    transition: background-color 500ms;
}
.funkcja{
    height: 100%;
    width: 100%;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #ECBB4C;
    margin: 0px;
    font-size: 4vh;
    white-space: nowrap;
}
.wzory{
    height: auto;
    margin: 0px;
    padding: 0px;
    width: 100%;
}
.wzory > h1 {
    font-size: 6vh;
    margin: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.fartuchy > h2{
    font-size: 4vh;
    margin: 0px;
    background-color: #232323;
    color: #ECBB4C;
    width: 100%;
    height: auto;
}
.fartuchy{
    text-align: center;
    width: 100%;
    height: auto;
    margin: 0px;
    padding: 0px;
}
.tresc{
    display: flex;
}
#lewo{
    width: 14%;
    height: auto;
    background-color: #363636;
    margin: 0px;
    padding: 0px;
    transition: 500ms;
}
#lewo:hover{
    width: 16%;
    background-color: #232323;
    transition: 500ms;
}
#prawo{
    width: 86%;
    height: auto;
    margin: 0px;
    padding: 0px 6%;
    text-align: center;
    margin-bottom: 5px;
    font-size: 2.5vh;
}
#lewo > img{
    width: 100%;
    height: auto;
}
#galeria{
    display: inline-flex;
}
.kolor{
    height: 16px;
    width: 16px;
    border-radius: 16px;
    margin: 2px;
}
#zolty{
    background-color: yellow;
}
#bialy{
    background-color: white;
}
#jasnieb{
    background-color: lightblue;
}
#ciemzolty{
    background-color: #ffcc00;
}
#zoltkarmel{
    background-color:#fcbd1f;
}
#jasnpom{
    background-color: lightsalmon;
}
#pom{
    background-color: orange;
}
#czer{
    background-color: red;
}
#ziel{
    background-color: green;
}
#ciemziel{
    background-color: darkgreen;
}
#jasnziel{
    background-color: lightgreen;
}
#nieb{
    background-color: blue;
}
#granat{
    background-color: darkblue;
}
#czarn{
    background-color: black;
}
#jasnszar{
    background-color: lightgray;
}
#szar{
    background-color: grey;
}
#ciemszar{
    background-color: darkgrey;
}
#braz{
    background-color: brown;
}
.kolory{
    margin: 5px;
    color: #ECBB4C;
    display: grid;
    place-items: center;
}
.kolory > p {
    margin: 0px;
    padding: 0px;
    margin-right: 5px;
}
#color{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
table{
    width: 55%;
    text-align: center;
    margin: 0px;
    border-style: solid;
    border-width: 3px;
    border-color: #314152;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    font-size: 2.5vh;
}
td{
    border-style: solid;
    border-width: 3px;
    border-color: #314152;
    padding-right: 5px;
    padding-left: 5px;
    border-collapse: collapse;
}
#top {
    display: none;
    position: fixed;
    bottom: 20px; 
    right: 30px; 
    z-index: 99; 
    border: solid 0.5px grey; 
    outline: none;
    background-color: #314152; 
    color: #E2E5DE; 
    cursor: pointer; 
    padding: 15px;
    border-radius: 20px; 
    font-size: 18px;
    transition: 500ms;
  }
  
  #top:hover {
    background-color: #232323;
  }
  #pop{
    display: none;
    position: fixed;
    top: 13%;
    left: 40%;
    right: 40%;
    text-align: center;
    align-items: center;
    height: auto;
    width: 20%;
    z-index: 99; 
    border: solid 0.5px grey; 
    outline: none;
    background-color: #314152; 
    color: #E2E5DE;  
    padding: 15px;
    border-radius: 20px; 
    font-size: 18px;
    transition: 500ms;
  }
  @media only screen and (max-width: 768px) {
    h1{
        font-size: 5vh;
        white-space: normal;
        height: auto;
        width: 100%;
    }
    body{
        height: auto;
        width: 100%;
    }
    header{
        height: 15%;
    }
    h2{
        font-size: 4vh;
    }
    .info{
        width: auto;
        height: auto;
    }
    h2 > span{
        display: block;
    }
    .funkcja{
        white-space: normal;
        font-size: 3vh;
    }
    main{
        height: auto;
    }
    footer{
        height: auto;
        padding: 5px;
        box-sizing: border-box;
        text-align: center;
    }
    .tresc{
        flex-flow: column;
        width: 100%;
        height: auto;
    }
    #lewo{
        order: 2;
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
    #lewo:hover{
        width: 100%;
    }
    #prawo{
        order: 1;
        width: 100%;
        box-sizing: border-box;
    }
    table{
        width: 80%;
        height: auto;
    }
    table>table>tr,td{
        display: block;
    }
    table>table{
        margin: 0px;
    }
  }