* {
    margin: 0;
    padding: 0;
    font-family: Cinzel, Arial;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


body {
    font-family: Cinzel, Arial;
    background-color: #e2e2e2;

}

#wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #e3e7e6;
}

header img {
    width: 100%;
    max-height: 400px;
    display: block;
}

nav {
    text-align: center;
    background-color: darkorange;
    width: 100%;
    display: flex;
    align-items: center;
}

nav a {
    display: inline-block;
    width: 160px;
    padding: 15px 30px;
    color: beige;
    text-decoration: none;
    text-align: center;
    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;
}

.dropdown {
    position: relative;
}

.dropdown ul {
    width: 100%;
    text-align: center;
    position: absolute;
    background-color: darkorange;
    list-style-type: none;
    padding: 10px 40px 0 0;
    display: none;

}

.dropdown ul li {
    text-align: center;
}

.dropdown ul li a {
    width: 160px;
    height: 100%;
    display: inline-block;

}

.dropdown ul li:hover {
    background-color: orange;
    cursor: pointer;
    font-size: 18px;
    width: 160px;
    background-position: center;
}

.dropdown a:focus + ul,
.dropdown a:hover + ul,
.dropdown ul:hover {
    display: block;
}

nav a:hover {
    background-color: orange;
    cursor: pointer;
    font-size: 18px;
    width: 160px;
    background-position: center;
}


nav a:hover {
    background-color: orange;
    cursor: pointer;
    font-size: 18px;

}

.active {
    background-color: orange;
}

article {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 20px;
}

article h1 {
    font-size: 30px;
    text-align: center;
    margin: 0 10% 20px 10%;
    padding-bottom: 15px;
    border-bottom: 2px solid red;
}

article h2 {
    font-size: 30px;
    text-align: center;
    margin: 0 10% 20px 10%;
    padding-bottom: 15px;
    border-bottom: 2px solid red;
}

img.left {
    width: 20%;
    height: 180px;
    float: left;
    margin: 10px 10px 10px 0;
    border-radius: 30% 30%;
    border: 2px solid black;
}

article p {
    text-align: justify;
    line-height: 25px;
    font-size: 16px;
    padding: 15px 0 40px 0;
}

table tr {
    width: 800px;
    height: 300px;
    max-width: 100%;
}

table td {
    max-width: 100%;
    height: 300px;

}

table img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;

}

table p {
    text-align: justify;
    max-width: 100%;
    float: left;
    margin-left: 10%;

}

iframe {
    width: 100%;
}

footer {
    height: 160px;
    background-color: darkorange;
    color: white;
    line-height: 20px;
    text-align: center;
    margin-top: 30px;


}

footer p {
    margin: 0 5px 0 0;
    font-size: 12px;
    text-align: center;

}

footer a {
    margin: 0 5px 0 0;
    font-size: 12px;
    text-align: justify;
}

footer p.imie {
    margin: 0 5px 0 0;
    font-size: 10px;
    text-align: right;
}

footer img.icon {
    width: 40px;
    height: 20px;
    margin: 0;
    padding: 0;

}


footer img {
    max-width: 10%;
    height: 30px;
    margin: 5px 15px 0px 0;

}


@media screen and (max-width:767px) {
    #wrapper {

        width: 767px;
        font-size: 12px;
        margin: 0 auto;

    }

    nav {
        text-align: center;
        background-color: darkorange;
        width: 100%;

    }

    nav a {
        display: flex;
        font-size: 12px;
        width: 20%;
        text-align: center;
    }

    .dropdown {
        width: 20%;
    }


    table tr {
        width: 300px;
        height: 500px;
        max-width: 100%;
    }

    table td {
        max-width: 100%;
        height: 150px;
        padding: 10px 0 30px 0;
    }

    table img {
        max-width: 300px;
        height: 500px;

    }

    table p {
        text-align: justify;
        width: 300px;
        display: block;
        margin-left: 10%;

    }

    div.contact {
        max-width: 300px;
        text-align: left;
        float: left;
    }

    div.box {

        width: 300px;
    }

    div.box h1 {

        font-size: 20px;
    }

    div.box label span {
        width: 80px;
    }

    div.box .wiadomosc {
        width: 300px;
    }

    div.box .button {
        margin: 0 20px 10px 0;
        padding: 4px 7px;
        background: #CC0000;
        border: 0px;
        position: static;
        top: 0px;
        right: 382px;
        width: 100px;
        border-bottom: 1px double #660000;
        border-top: 1px double #660000;
        border-left: 1px double #FF0033;
        border-right: 1px double #FF0033;
    }

    footer {
        height: 250px;
    }

    footer p {
        margin: 5px 5px 10px 0;
    }

    footer a {
        margin: 0 5px 0 0;
    }

    footer p.imie {
        margin: 10px 5px 0 0;
    }

    footer img {
        max-width: 8%;
        height: 30px;
        margin: 5px 15px 0px 0;

    }


    hgroup {
        font-size: 24px;
    }
