@media screen and (min-width:800px){
    *{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}
body{
background-color: rgb(255,255,255);
}
#naglowek{
    height: 100px;
    background-color: rgb(255,255,255);
    margin-top: 40px;
}
#obraz1{
    height: 70px;
}
#obraz2{
    height:70px;
}
.zdjęcie{
    display:flex;
    width: 46%;
    float:left;
}
.blok1{
    margin-right: 30px;
    justify-content: flex-end;    
}
.blok2{
    margin-left: 30px;
    justify-content: flex-start;
}
#naglowek2{
    height: 58px;
    width: 90%;
    padding-top: 28px;
    margin-left: 5%;
    margin-right: 5%;
    background-color: rgb(0, 0, 0);
    color: white;
    font-size: 30px;
    font-weight: bolder;
    border-width: 5px;
    border-radius: 25px;
    border-style:solid;
    border-color: rgb(255, 230, 0);
}
#tresc{
    background-color: rgb(255,255,255);
}
p{
    margin-bottom: 2px;
    padding:.5rem 1rem;
    background-color:rgb(255, 230, 0);
    width:auto;
    height:auto;
    border-color: black;
    border-style: groove;
    border-width: 1px;   
}
#menu{
    margin-right: 96px;
    width: 230px;
    height: 80px;
    float: right;
    margin-left: 10px;
}
#tabela{
    align-items: center;
    background-color: white;
    width: 75%;
    height: auto;
    margin-left: 100px;
    margin-top: 20px;
    margin-bottom: 20px;

}
#tabela img{
    width: 120px;
}
#tabela table{
    border: 2;
    border-style: groove;
    border-color: black;
    margin: auto;
    justify-content: center;
}
.opis{
    background-color: rgba(255,230,0,0.5);
    width: auto;
}
#opis{
    background-color: rgb(255,255,0);
}
#stopka{
    background-color: rgb(255, 230, 0);
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-weight: bolder;
    border-color: black;
    border-width: 3px;
    border-style: groove;
}
a{
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 20px;
}
a p:hover{ 
    background-color: black;
    color:rgb(255, 230, 0);
}
a:hover img{
    transform: scale(0.9);
}
.nr{
    background-color: rgba(240,235,240,0.5);
}
}

@media screen and (max-width: 800px){
    *{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}
body{
    height: 100vh;
    background-color: rgb(255,255,255);
}
#naglowek{
    height: 40px;
    background-color: rgb(255,255,255);
}
#obraz1{
    height: 30px;
}
#obraz2{
    height:30px;
}
.zdjęcie{
    display: flex;
    left:0px;
    top:0px;
}
.blok1{
    float:right;
    display:flex;
    justify-content: flex-end;
    margin-right: 100px;    
}
.blok2{
    display: flex;
    justify-content: flex-start;
    margin-left: 55px;
}
#naglowek2{
    padding-top:7px;
    padding-bottom: 7px;
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;
    background-color: rgb(0, 0, 0);
    color: white;
    font-size: 20px;
    font-weight: bolder;
    border-width: 3px;
    border-radius: 25px;
    border-style:solid;
    border-color: rgb(255, 230, 0);
}
#tresc{
    position: relative;
    background-color: rgb(255,255,255);
}
p{
    margin-bottom: 2px;
    margin-right: 15px;
    padding:.2rem .5rem;
    background-color:rgb(255, 230, 0);
    font-size: 15px;
    width:auto;
    height:auto;
    border-color: black;
    border-style: groove;
    border-width: 1px;   
}
.c2{
    padding-left:30px;
    padding-right: 30px;
    margin-right:0px;
}
#menu{
    width: 100%;
    display:flex;
    justify-content: center;
}
#tabela{
    margin-top: 15px;
    position: relative;
    background-color: white;
}
#tabela img{
    width: 60px;
}
#tabela table{
    border: 2;
    border-style: groove;
    border-color: black;
    justify-content: center;
}
.opis{
    background-color: rgba(255,230,0,0.5);
}
#opis{
    background-color: rgb(255,255,0);
}
#stopka{
    position: relative;
    background-color: rgb(255, 230, 0);
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top:15px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-weight: bolder;
    border-color: black;
    border-width: 3px;
    border-style: groove;
}
a{
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 20px;
}
a p:hover{ 
    background-color: black;
    color:rgb(255, 230, 0);
}
a:hover img{
    transform: scale(0.9);
}
.nr{
    background-color: rgba(240,235,240,0.5);
}
}