div.naglowekKontener {
    height: 100%;
}

@media only screen and (min-width: 1600px) {
    div.naglowekKontener {
        margin-top: 12px !important;
    }
}
@media only screen and (min-width: 1400px) and (max-width: 1600px) {
    div.naglowekKontener {
        margin-top: 12px !important;
    }
}
@media only screen and (min-width: 1280px) and (max-width: 1400px) {
    div.naglowekKontener {
        margin-top: 12px !important;
    }
}
@media only screen and (min-width: 1000px) and (max-width: 1280px) {
    div.naglowekKontener {
        margin-top: 12px !important;
    }
}
@media only screen and (min-width: 770px) and (max-width: 1000px) {
    div.naglowekKontener {
        margin-top: 60px !important;
    }
}
@media only screen and (min-width: 680px) and (max-width: 770px) {
    div.naglowekKontener {
        margin-top: 80px !important;
    }
}
@media only screen and (min-width: 480px) and (max-width: 680px) {
    div.naglowekKontener {
        margin-top: 50px !important;
    }
}
@media only screen and (max-width: 480px) {
    div.naglowekKontener {
        margin-top: 28px !important;
    }
}


div.naglowekKontener div.naglowekTlo {
    margin: 0;
    padding: 0;
    padding-top: 1px;
    background-image: url(/images/2025_12_Islandia/naglowek-tlo.jpg);
    background-repeat: no-repeat;
    background-color: #ffffff;
    transition: height 1s, background-position 0.5s, background-size 0.5s;
}

@media only screen and (min-width: 1280px) {
    div.naglowekTlo {
        height: 780px;
        background-position: 50% 100%;      /* first horizontal, second vertical */
        background-size: auto 100%;         /* first width, second height. */
    }
}
@media only screen and (min-width: 1000px) and (max-width: 1280px) {
    div.naglowekTlo {
        height: 780px;
        background-position: 50% 100%;      /* first horizontal, second vertical */
        background-size: auto 100%;         /* first width, second height. */
    }
}
@media only screen and (min-width: 770px) and (max-width: 1000px) {
    div.naglowekTlo {
        height: 660px;
        background-position: 50% 100%;        /* first horizontal, second vertical */
        background-size: auto 100%;                 /* first width, second height. */
    }
}
@media only screen and (min-width: 680px) and (max-width: 770px) {
    div.naglowekTlo {
        height: 550px;
        background-position: 50% 100%;        /* first horizontal, second vertical */
        background-size: auto 100%;                 /* first width, second height. */
    }
}
@media only screen and (min-width: 480px) and (max-width: 680px) {
    div.naglowekTlo {
        height: 340px;
        background-position: 50% 50%;        /* first horizontal, second vertical */
        background-size: auto 100%;                 /* first width, second height. */
    }
}
@media only screen and (max-width: 480px) {
    div.naglowekTlo {
        height: 260px;
        background-position: 50% 50%;     /* first horizontal, second vertical */
        background-size: auto 100%;     /* first width, second height. */
    }
}