/*
@media screen and (max-width:8192px){.ixghMZ{grid-template-columns:repeat(1, 1fr);grid-template-rows:auto;gap:12px;grid-row:1/span 1;grid-column:1/span 1;}}
@media screen and (max-width:1279px){.ixghMZ{grid-template-columns:repeat(1, 1fr);grid-template-rows:auto;gap:12px;grid-row:1/span 1;grid-column:1/span 1;}}
@media screen and (max-width:1007px){.ixghMZ{grid-template-columns:repeat(1, 1fr);grid-template-rows:repeat(1, 1fr);gap:16px;grid-row:1/span 1;grid-column:1/span 1;}}
@media screen and (max-width:767px){.ixghMZ{grid-template-columns:repeat(1, 1fr);grid-template-rows:repeat(1, 1fr);gap:16px;grid-row:1/span 1;grid-column:1/span 1;}}
@media screen and (max-width:599px){.ixghMZ{grid-template-columns:repeat(1, 1fr);grid-template-rows:repeat(1, 1fr);gap:16px;grid-row:1/span 1;grid-column:1/span 1;}}@media screen and (max-width:399px){.ixghMZ{grid-template-columns:repeat(1, 1fr);grid-template-rows:repeat(1, 1fr);gap:16px;grid-row:1/span 1;grid-column:1/span 1;}}
*/
:root {
    --main-color: #a3443f;
    --main-color-2: #003c43;
    --a-color: #125384;
    --bg-color: #fff2e3;
    --bg-header-color: #fff2e3;
    --bg-color-section: #ececec;
    --color-white: #ffffff;
    --color-black: #000000;
    --text-color: rgba(0, 0, 0, 0.75);
    --footer-bg-color: #125384;
    --cookie-color: #ff4036;
    --box-color: #dbeff6;
    --cookie-bg-color: #162039;
    --main-transition-duration: 0.3s;
    --first-letter-color: #666;
    --paragraph-color: #777;
    --border-color: #aaa;

    /*pzl*/
    --color-1: #a3443f;
    --color-2: #eac874;
    --color-3: #f9f7da;
    --color-4: #c0d4e7;
    --color-5: #a59375;
    --color-6: #cebc9e;
    --color-7: #ead7c0;
    --color-8: #fff2e3;
    --color-9: #003c43;
    --color-10: #0f5e65;
    --color-11: #78b0a9;
    --color-12: #e3fdf5;
    /* FONTY */
    --serif: "Playfair Display", Georgia, serif;

}

/*
:root {
    --main-color: #2196f3;
    --main-color-2: #1787e0;
    --a-color: #125384;
    --bg-color: #fafafa;
    --bg-color-section: #ececec;
    --color-white: #ffffff;
    --color-black: #000000;
    --text-color: rgba(0, 0, 0, 0.75);
    --footer-bg-color: #125384;
    --cookie-color: #ff4036;
    --box-color: #dbeff6;
    --cookie-bg-color: #162039;
    --main-transition-duration: 0.3s;
    --first-letter-color: #666;
    --paragraph-color: #777;
    --border-color: #aaa;
    */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--serif), Playfair Display, Georgia, serif;
    font-weight: 400;
    font-style: normal;
    color: var(--text-color);
    font-size: 16px;
    margin: 0 auto;
    text-align: center;
}
p{    
    text-align: left;    
}
p.strong {
    font-weight: 500;
    color: var(--text-color);
    margin-top: 0.75rem;
}
p::first-letter {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-1);
}
h1 {
    font-family: "Oregano", cursive;
    font-weight: 600;
    font-style: normal;
    font-size: 5rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h1 small {
    font-weight: 400;
    font-size: 1.5rem;
    font-style: italic;
}

h2 {
    font-family: var(--serif), Playfair Display, Georgia, serif;
    font-weight: 500;
    font-style: italic;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--main-color);
}

.bgsite {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url("../images/header.webp") no-repeat fixed center;    
    width: 100vw;
}


fieldset {
    border: 0.125rem solid var(--fieldset-color);
    padding: 0.0625rem;
    max-width: 60%;
    text-align: center;
}

.container {
    width: 100%;
}
main {
    background-color: transparent;
    padding: 0;
    margin: 0 auto;
    text-align: center;
     width: 100%;
}

header {
    position: relative;
    z-index: 100;
    background-color: var(--bg-header-color);
    border-bottom: 3px solid var(--color-2);
    border-radius: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0 1rem 0;
    margin: 1rem auto 0;
    width: 100%;
    text-align: center;
}

.logo {
    color: var(--main-color);
    font-size: 32px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: center;
    flex-shrink: 0;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    width: 100%;
    text-align: center;
}

.logo img {
    max-width: 100px;
}


@media (min-width: 768px) {
    header {
        height: 184px;
        flex-direction: row;
        justify-content: baseline;
        align-items: center;
        align-content: center;       
        margin: 10rem auto 0;
    }

    .logo {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-self: center;
        flex-shrink: 0;
        gap: 1rem;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        max-height: 100px;
        width: 50%;
    }

    .logo img {
        max-width: 120px;
    }

    main {
        width: 760px;
    }
}

@media (min-width: 992px) {
   
    main {
        width: 988px;
    }
}

@media (min-width: 1200px) {
    .container {
       
    }
    
    main {
       max-width: 1180px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links>li>a {
    color: var(--main-color);
    font-size: 15px;
    font-weight: 700;
    height: 72px;
    padding: 0.75rem;
    margin: 0;
    transition: 0.3s;
    position: relative;
    display: block;
    align-content: flex-end;
    overflow: hidden;
}

@media (min-width: 375px) {
    .nav-links>li>a {
        font-size: 1.25rem;
        padding: 0.75rem 1.0625rem;
    }
}

.nav-links>li>a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--bg-color-section);
    top: 0;
    left: -100%;
    transition: var(--main-transition-duration);
}

.nav-links li a:hover::before {
    left: 0;
}

.nav-links>li>a:hover {
    background-color: var(--bg-color);
    border-bottom: 0.75rem solid var(--main-color-2);
    color: var(--a-color);
}

.drop-menu {
    display: flex;
    gap: 20px;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background-color: var(--box-color);
    padding: 0 20px;
    transition: 0.3s;
    opacity: 0;
    z-index: -10;
}

.drop-menu img {
    max-width: 100%;
}

.drop-menu .image {
    display: none;
}

@media (min-width: 768px) {
    .drop-menu .image {
        display: block;
    }
}

.drop-menu .links {
    flex: 1;
}

.drop-menu .links li {
    padding: 0;
    font-size: 16px;
    color: var(--main-color);
    display: inline-block;
    height: 3rem;
    width: 100%;
    position: relative;
    border-bottom: 1px solid var(--bg-color);
}

.drop-menu .links:first-of-type li:last-of-type {
    border-bottom: none;
}

.drop-menu .links li::before {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--box-color);
    transition: 0.3s;
}

.drop-menu .links li:hover::before {
    width: 100%;
    z-index: -10;
}

.drop-menu .links li:not(:last-child) {
    border-bottom: 1px solid var(--box-color);
}

.nav-links>li:hover .drop-menu {
    opacity: 1;
    z-index: -1;
    top: calc(100% + 1px);
}

.drop-menu .links li {
    margin-left: 1rem;
}

.drop-menu .links li a {
    font-weight: bold;
    color: var(--main-color);
    margin-left: 1rem;
    padding-top: 0.75rem;
    display: inline-block;
    width: 100%;
}

.drop-menu .links li a:hover {
    color: var(--color-black);
}

.underline {
    display: inline-block;
    height: 3rem;
    background-color: transparent;
    width: 100%;
}


.main-title {
    margin: 0 auto;
    padding: 1.25rem 0.75rem;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    transition: 0.5s;
}

.box a,
.box a+p,
.box-article a,
.box-article a+p {
    color: var(--main-color);
}

.box a:hover,
.box a+p:hover,
.box-article a:hover,
.box-article a+p:hover {
    color: var(--a-color);
}

.box a h2,
.box-article a h2 {
    color: var(--main-color2);
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 1rem 1rem;
}

.box a:hover h2,
.box-article a:hover h2 {
    color: var(--a-color);
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 1rem 1rem;
}

.box {
    border-radius: 3rem;
    display: grid;
    grid-template-columns: auto;    
    gap: 40px;
    background-color: var(--color-8);
    padding: 2rem 0;
    margin: 1rem;
}

.subtitle {
    padding: 1rem 2rem;
}

@media (min-width: 768px) {
    .box {
        grid-template-columns: 7fr 5fr;
        grid-template-rows: auto;
    }
}

.box-color {
    background-color: var(--box-color);
    padding: 1rem;
    margin-top: 1rem;
}

.box img {
    border-radius: 2rem;
    margin: 0;
    width: calc(100% - 1rem);
    aspect-ratio: 16 / 9;
    object-fit: contain;
    transition: 0.3s;
    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.opis {
    display: block;
    width: 100%;
    padding: 0.25rem;
    margin: 0.5rem auto;
    text-align: left;
    min-height: 6rem;
    line-height: 2;
}

main figure {
    margin: 0 2rem 0 0;
}

main figure img {
    max-width: 500px;
}

figure.left {
    float: left;
}

figure.right {
    float: right;
}

figcaption {
    margin: 0.5rem 1rem;
    font-style: italic;
    max-width: 480px;
}

main p {
    padding: 0 1rem;
}

.text {
    padding: 0 0.5rem;
    text-justify: auto;
}

.text p {
    line-height: 1.375;
}

.text p::first-letter {
    font-size: 17px;
    font-weight: 700;
    margin-left: 1rem;
    color: var(--first-letter-color);
}

.szp-lewa {
    width: 100%;
}

.szp-prawa {
    width: 100%;
}

@media (min-width: 768px) {
    szp-lewa {
        width: 48%;
    }

    .szp-prawa {
        width: 48%;
    }
}

.box-article {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    align-items: stretch;
    gap: 40px;
    background-color: var(--bg-color-section);
    padding: 1.5rem 1rem;
    margin: 0.5rem;
}

@media (min-width: 768px) {
    .box-article {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

.box-article figure img {
    margin: 1rem 0 1rem 0.5rem;
    width: calc(100% - 1rem);
    aspect-ratio: 3 / 2;
    object-fit: contain;
    transition: 0.3s;
    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.box-article p::first-letter {
    margin-left: 0;
}

.wydarzenia {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    margin: 0 auto;
    padding: 0;
}

.wydarzenia figure img {
    align-content: center;
    margin: 0 auto;
    padding: 0;
    max-width: 200px;
}

.wydarzenia .text {
    margin-top: 2rem;
}

.wydarzenia p {
    margin: 2rem auto;
    padding: 2rem 1rem;
}

.wydarzenia small {
    margin: 2rem 0 1rem auto;
}

a.text-to-right {
    background-color: var(--bg-color);
    border: 0.125rem solid var(--main-color);
    border-radius: 0.5rem;
    float: right;
    font-size: 18px;
    font-style: italic;
    margin: 3rem;
    padding: 0.25rem 0.75rem;
}

a.text-to-right:hover {
    color: var(--cookie-color);
    border: 0.125rem solid var(--cookie-color);
    background-color: var(--color-white);
    box-shadow: 3px 3px var(--cookie-color);
}

.cytat {
    background: #fcfcfc;
    margin: 0.75rem auto;
    padding: 0.5rem;
    display: inline-block;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.29) !important;
    border: 1px solid #888;
    border-radius: 1rem;
    font-style: italic;
    max-width: 80%;
}
 .kontakt{
        width: 100%;
    }

.footer__box {
    padding: 0.5rem 0;
    background-color: var(--cookie-bg-color);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1rem 3rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 0.975rem;
    margin: 0;
}

@media (min-width: 768px) {
    .footer__box {
        flex-direction: row;
    }

    footer {
        padding: 0.5rem 0;
        background-color: var(--color-1);
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: white;
        font-size: 1.125rem;
        margin: 0;
        max-height: 60px;        
        width: 100%;
    }
   
.tylkozamowienia{
    color: var(--color-2);
}
    .copy-right {
        align-content: center;
        margin-bottom: 0.125rem;
        color: white;
        height: 36px;
        flex-basis: 100%;
        width: 100%;
    }

    .copy-right img {
        margin: 0;
        padding: 0;
        height: 24px;
        width: 24px;
    }

    .cookie {
        background-color: var(--cookie-bg-color);
        height: auto;
        margin: 0 auto;
        padding: 0.5rem;
        text-align: center;
        text-shadow: none;
        width: 100%;
    }

    #ach,
    #och,
    .cookie {
        font-size: 0.975rem;
        color: var(--color-white);
    }

    #ach a,
    #och a,
    .cookie a {
        color: var(--main-color);
        line-height: 1.5rem;
        padding: 0.125rem 1rem;
    }

    .cookie:hover a {
        color: var(--color-white);
    }

    .click {
        border: 1px solid #000;
        border-radius: 1.5rem;
        padding-top: 0.5rem;
        width: 60%;
        color: var(--main-color);
        font-size: 1.25rem;
        font-weight: 700;
    }

    .click:hover {
        color: var(--color-white);
    }