/* małe ekrany tel */

@keyframes kolor {
    from {
        color: black;
    }

    to {
        color: rgb(131, 217, 230);
    }
}

@keyframes plywanie {
    from {
        font-size: 0%;
    }

    to {
        font-size: 100%;
    }
}

body {
    background: gray;
   
    /* font-size: clamp(2rem,2vw+0.5rem,3rem); */
    margin: 0;
    /* color:yellow; */
}

header {
    height: 80px;
    display: block;
    align-items: center;
    justify-content: center;
    color: orangered;
    letter-spacing: 5px;
    font-weight: 500;
    padding-top: 5px;
    padding-bottom: 5px;
    background-image: url('foto/magn1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90%;

}

.lit {
    color: orangered;      
}

#nazwa {
    font-size: 1.0rem;
    font-weight: 600;   
    text-shadow: 5px 5px 15px rgb(12, 12, 12);
    animation: kolor 3s infinite;
}

header,
footer {  
    text-align: center;
}

nav {
    background: rgb(41, 41, 41);
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-block;
    width: 100%;
}

nav:hover {
    color: rgb(6, 146, 146);
}

#right {
    background: yellowgreen;
    width: 30%;

}

#left {
    background: yellowgreen;
    width: 30%;
}

#center {
    background: rgb(114, 193, 235);
    width: 40%;
    text-align: justify;
    font-size: 0.5rem;
     overflow:auto;

}

.logo{
        width: 15%;
        position: absolute;
        top: 15px;
        right: 5px;
    }

#tekst {
    width: 90%;
       

}

.tx {
    text-indent: 10px;
}

.tx::first-letter {
    color: aquamarine;
    font-size: 1.0rem;
    font-weight: 600;
    text-indent: 25px;
}

 .mpr{
        text-shadow: 2px 2px 5px black;
        color: #f5e78e;
    }

#left,
#right,
#center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    float: left;
}

#dom {
    max-width: 20%;
    position: absolute;
    top: 200px;
    box-shadow: 5px 5px 15px black;
}

#swiece {
    max-width: 20%;
    position: absolute;
    top: 200px;
    right: 7%;
    box-shadow: 5px 5px 15px black;
}

#relaks {
    max-width: 20%;
    right: 3%;
    position: absolute;
    top: 600px;
    box-shadow: 5px 5px 15px black;
}

table {
    border: 3px solid black;
    position: relative;
    top: 60px;
    width: 8%;
    box-shadow: 1px 1px 15px black;
}

td,
th {
    border: 1px solid black;
    text-align: center;
    font-size: 0.4rem;
    background: rgb(231, 246, 240);
    padding: 3px;
}

th {
    background: orange;
}


caption {
    font-size: 15px;
    color: rgb(19, 19, 19);
    font-weight: 600;
    letter-spacing: 3px;
    text-shadow: 3px 3px 10px rgb(48, 48, 47);
    padding-bottom: 10px;
}

#foto1 {
    position: relative;
    top: 10px;
    font-size: 20px;
}

a {
    display: inline-block;
    text-align: center;
    font-size: 10px;
    text-decoration: none;
    background: #494949;
    color: #67f797;
    padding: 5px;
    width: 70px;
}

a:hover {
    background: #6b6b6b;
}

footer {
    clear: both;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

#kontakt {
    text-align: center;
    border: 1px solid #000000;
    box-shadow: 3px 3px 15px #000000;
    padding: 5px;
    font-size: 6px;
    position: absolute;
    top: 450px;
    background: #72c1eb;
}

#grub {
    font-weight: 600;
    text-decoration: underline;
}

.witaj {
    color: #070707;
    /* font-size: 2.5rem; */
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 10px #000000;
}

.zapraszamy {
    color: #070707;
    /* font-size: 20px; */
    font-weight: 600;
    text-align: center;
    animation: plywanie 3s infinite;
    height: 15px;
}


/* apple */

@media screen and (min-width:390px) and (max-width:768px) {

    @keyframes kolor {
        from {
            color: #000000;
        }

        to {
            color: #83d9e6;
        }
    }


    @keyframes plywanie {
        from {
            color: rgb(0, 0, 0);
        }

        to {
            color: rgb(244, 244, 244);
        }
    }


    body {
       background: #28867e;;
        font-size: 1.0em;
        margin: 0;
        /* color:orange; */
    }

    header {
        height: 50px;
        display: block;
        align-items: center;
        justify-content: center;
        font-size: 1.0em;
        color: orangered;
        letter-spacing: 5px;
        font-weight: 700;
        padding-top: 5px;
        padding-bottom: 5px;        background-image: url('foto/magn1.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 80%;

    }

    
    .lit {
        color: orangered;

    }

    #nazwa {
        font-weight: 600;
        text-shadow: 5px 5px 15px black;
        animation: kolor 3s infinite;
    }

    header,
    footer {     
        text-align: center;
    }

    nav {
        background: #292929;
        padding-top: 10px;
        padding-bottom: 10px;
        display: inline-block;
        width: 100%;
    }

    nav:hover {
        color: #069292;
    }

    #left,
    #right {
        background: #9acd32;
    }

    #left {
        width: 30%;
    }

    #right {
        width: 30%;
    }

    #center {
        background: #72c1eb;
        width: 40%;
        text-align: justify;
        font-size: 8px;
     overflow:auto;

    }

      .logo{
        width: 10%;
        position: absolute;
        top: 10px;
        right: 5px;
    }

    #tekst {
        width: 90%;
        text-indent: 25px;
    }

    .tx::first-letter {
        color: #7fffd4;
        font-size: 1.0rem;
        font-weight: 600;
    }

     .mpr{
        text-shadow: 2px 2px 2px black;
        color: #f5e78e;
    }

    #left,
    #right,
    #center {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 80vh;
        float: left;
    }

    #swiece {
        max-width: 20%;
        position: absolute;
        top: 250px;
        box-shadow: 5px 5px 15px #000000;
    }

    #altana {
        max-width: 20%;
        position: absolute;
        top: 230px;
        right: 9%;
        box-shadow: 5px 5px 15px #000000;

    }

    #relaks {
        max-width: 16%;
        right: 1%;
        position: absolute;
        top: 600px;
        box-shadow: 5px 5px 15px #000000;

    }

    table {
        border: 3px solid #000000;
        position: absolute;
        top: 350px;
        width: 16%;
        box-shadow: 1px 1px 15px #000000;
    }

    td,
    th {
        border: 1px solid #000000;
        text-align: center;
        font-size: 8px;
        background: #e7f6f0;
        padding: 5px;
    }

    th {
        background: #ffa500;
    }

    caption {
        font-size: 12px;
        color: #131313;
        font-weight: 600;
        letter-spacing: 3px;
        text-shadow: 3px 3px 10px #30302f;
        padding-bottom: 10px;
    }

    #foto1 {
        position: relative;
        top: 10px;
        font-size: 20px;
    }

    a {
        display: inline-block;
        text-align: center;
        font-size: 8px;
        text-decoration: none;
        background: #494949;
        color: #67f797;
        padding: 5px;
        width: 70px;
    }

    a:hover {
        background: #6b6b6b;

    }

    footer {
        clear: both;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 10px;

    }

    #kontakt {
        text-align: center;
        border: 1px solid #000000;
        box-shadow: 3px 3px 15px #000000;
        padding: 10px;
        font-size: 6px;
        position: absolute;
        top: 400px;
        background: #72c1eb;
        box-shadow: 3px 3px 10px #000000;

    }

    .witaj {
        color: #070707;
        font-size: 10px;
        font-weight: 600;
        text-align: center;
        text-indent: 0%;
    }

    .zapraszamy {
        color: #070707;
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        animation: plywanie 3s infinite;
        height: 15px;
        text-indent: 0%;

    }
}


@media screen and (min-width:769px) and (max-width:900px) {

    @keyframes kolor {
        from {
            color: black;
        }

        to {
            color: rgb(131, 217, 230);
        }
    }

    @keyframes plywanie {
        from {
            font-size: 0%;
        }

        to {
            font-size: 100%;
        }
    }


    body {
        background: gray;
        font-size: 2em;
        margin: 0;
        /* color:pink; */
    }

    header {
        height: 100px;
        display: block;
        align-items: center;
        justify-content: center;
        letter-spacing: 5px;
        font-weight: 500;
        padding-top: 20px;
        padding-bottom: 20px;
        background-image: url('foto/magn1.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 80%;

    }

    
    .lit {
        color: rgb(110, 222, 244);
    }

    #nazwa {
        font-weight: 600;
        text-shadow: 5px 5px 15px black;
        animation: kolor 3s infinite;
    }

    header,
    footer {
        text-align: center;

    }

    nav {
        background: rgb(41, 41, 41);
        padding-top: 20px;
        padding-bottom: 20px;
        display: inline-block;
        width: 100%;

    }

    nav:hover {
        color: rgb(6, 146, 146);

    }

    #left,
    #right {
        background: yellowgreen;
        width: 30%;
    }

    #center {
        background: rgb(114, 193, 235);
        width: 40%;
        text-align: justify;
        font-size: 14px;
     overflow:auto;


    }

    #tekst {
        width: 90%;
        text-indent: 25px;
    }

    .tx::first-letter {
        color: aquamarine;
        font-size: 20px;
        font-weight: 600;
    }

     .mpr{
        text-shadow: 2px 2px 5px black;
        color: #f5e78e;
    }

    #left,
    #right,
    #center {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        float: left;
    }

    #swiece {
        max-width: 20%;
        position: absolute;
        top: 250px;
        box-shadow: 5px 5px 15px black;
    }

    #altana {
        max-width: 20%;
        position: absolute;
        top: 250px;
        right: 9%;
        box-shadow: 5px 5px 15px black;

    }

    #relaks {
        max-width: 16%;

        right: 1%;
        position: absolute;
        top: 650px;
        box-shadow: 5px 5px 15px black;

    }

    table {
        border: 3px solid black;
        position: absolute;
        top: 500px;
        width: 25%;
        box-shadow: 1px 1px 15px black;

    }

    td,
    th {
        border: 1px solid black;
        text-align: center;
        font-size: 15px;
        background: rgb(231, 246, 240);
        padding: 5px;
    }

    th {
        background: orange;
    }


    caption {
        font-size: 25px;
        color: rgb(19, 19, 19);
        font-weight: 600;
        letter-spacing: 3px;
        text-shadow: 3px 3px 10px rgb(48, 48, 47);
        padding-bottom: 10px;
    }

    #foto1 {
        position: relative;
        top: 10px;
        font-size: 20px;
    }

    a {
        display: inline-block;
        text-align: center;
        font-size: 14px;
        text-decoration: none;
        background: rgb(73, 73, 73);
        color: rgb(103, 247, 151);
        padding: 5px;
        width: 110px;
    }

    a:hover {
        background: rgb(107, 107, 107);

    }

    footer {
        clear: both;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 20px;
        padding-bottom: 20px;

    }

    #kontakt {
        text-align: center;
        border: 1px solid black;
        box-shadow: 3px 3px 15px black;
        padding: 15px;
        font-size: 6px;
        position: absolute;
        top: 490px;
        background: rgb(114, 193, 235);

    }

    .witaj {
        color: rgb(7, 7, 7);
        font-size: 15px;
        font-weight: 600;
        text-align: center;
    }

    .zapraszamy {
        color: rgb(7, 7, 7);
        font-size: 20px;
        font-weight: 600;
        text-align: center;
        animation: plywanie 3s infinite;
        height: 15px;
    }

}


/* laptop */

@media screen and (min-width:901px) and (max-width:1599px) {


    @keyframes kolor {
        from {
            color: black;
        }

        to {
            color: rgb(131, 217, 230);
        }
    }

    @keyframes plywanie {
        from {
            color: rgb(0, 0, 0);
        }

        to {
            color: rgb(244, 244, 244);
        }
    }


    body {
        background: gray;

        font-size: 2.5em;
        margin: 0;
        /* color: green; */
    }

    header {
        height: 80px;
        display: block;
        align-items: center;
        justify-content: center;
        letter-spacing: 7px;
        font-weight: 500;
        padding-top: 10px;
        padding-bottom: 10px;
        background-image: url('foto/magn1.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 80%;
    }

    #nazwa {
        font-weight: 600;
        text-shadow: 5px 5px 15px black;
        animation: kolor 3s infinite;
        font-size: large;

    }

    header,
    footer {
        text-align: center;
    }

    .lit {
        color: rgb(110, 222, 244);
    }

    nav {

        background: rgb(41, 41, 41);
        width: 100%;
    }

    nav:hover {
        color: rgb(6, 146, 146);
    }

    #left,
    #right {
        background: yellowgreen;
        width: 30%;
    }

    #center {
        background: rgb(114, 193, 235);
        width: 40%;
        text-align: justify;
        font-size: 16px;
     overflow:auto;

    }

    .logo{
        width: 8%;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    #tekst {
        width: 90%;
        text-indent: 25px;
    }

    .tx::first-letter {
        color: aquamarine;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .mpr{
        text-shadow: 2px 2px 5px black;
        color: #f5e78e;
    }


    #left,
    #right,
    #center {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 120vh;
                float: left;
    }

    #swiece {
        max-width: 20%;
        position: absolute;
        top: 180px;
        box-shadow: 5px 5px 15px black;
    }

    #altana {
        max-width: 20%;
        position: absolute;
        top: 180px;


        right: 9%;
        box-shadow: 5px 5px 15px black;
    }

    #relaks {
        max-width: 16%;
        right: 1%;
        position: absolute;
        bottom:20px;
        box-shadow: 5px 5px 15px black;
    }

    table {
        border: 3px solid black;
        position: absolute;
        top: 450px;
        width: 25%;
        box-shadow: 1px 1px 15px black;
    }

    td,
    th {
        border: 1px solid #000000;
        text-align: center;
        font-size: 14px;
        background: #e7f6f0;
        padding: 5px;
    }

    th {
        background: #ffa500;
    }

    caption {
        font-size: 30px;
        color: #131313;
        font-weight: 600;
        letter-spacing: 3px;
        text-shadow: 3px 3px 10px #30302f;
        padding-bottom: 10px;
    }

    #foto1 {
        position: relative;
        top: 10px;
        font-size: 20px;
    }

    a {
        display: inline-block;
        vertical-align: middle;
        font-size: 18px;
        text-decoration: none;
        background: rgb(73, 73, 73);
        color: rgb(103, 247, 151);
        width: 110px;
        position: relative;
        left: 20px;
    }

    a:hover {
        background: rgb(107, 107, 107);

    }

    footer {
        clear: both;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 5px;
        padding-bottom: 5px;

    }

    #kontakt {
        text-align: center;
        border: 1px solid black;
        box-shadow: 3px 3px 15px black;
        padding: 10px;
        font-size: 14px;
        position: absolute;
        top: 450px;
        background: rgb(114, 193, 235);

    }

    .witaj {
        color: rgb(7, 7, 7);
        font-size: 20px;
        
        font-weight: 600;
        text-align: center;
    }

    .zapraszamy {
        color: rgb(7, 7, 7);
        font-size: 20px;

        font-weight: 600;
        text-align: center;
        animation: plywanie 3s infinite;
        height: 20px;
    }

}

/* średnie  ekrany */
@media screen and (min-width:1600px) and (max-width:1900px) {


    @keyframes kolor {
        from {
            color: black;
        }

        to {
            color: rgb(131, 217, 230);
        }
    }

    @keyframes plywanie {
        from {
            color: rgb(0, 0, 0);
        }

        to {
            color: rgb(244, 244, 244);
        }
    }


    body {
        background: gray;
        font-size: 2.5em;
        margin: 0;
        /* color: red; */
    }

    header {
        height: 130px;
        display: block;
        align-items: center;
        justify-content: center;
        letter-spacing: 15px;
        font-weight: 500;
        padding-top: 10px;
        padding-bottom: 10px;
        background-image: url('foto/magn1.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 80%;
    }

    #nazwa {
        font-weight: 600;
        text-shadow: 5px 5px 15px black;
        animation: kolor 3s infinite;
        font-size: 24px;
    }

    header,
    footer {
        text-align: center;
    }

    .lit {
        color: rgb(110, 222, 244);
    }

    nav {
        background: rgb(41, 41, 41);
        width: 100%;
    }

    nav:hover {
        color: rgb(6, 146, 146);
    }

    #left,
    #right {
        background: yellowgreen;
        width: 30%;
    }

    #center {
        background: rgb(114, 193, 235);
        width: 40%;
        text-align: justify;
        font-size: 18px;
     overflow:auto;

    }

    #tekst {
        width: 90%;
        text-indent: 25px;
    }

    .tx::first-letter {
        color: aquamarine;
        font-size: 42px;
        font-weight: 600;
    }


     .mpr{
        text-shadow: 2px 2px 5px black;
        color: #f5e78e;
    }

    #left,
    #right,
    #center {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 80vh;
        float: left;
    }

    #dom {
    max-width: 20%;
    position: absolute;
    top: 250px;
    box-shadow: 5px 5px 15px black;
}

    #swiece {
        max-width: 20%;
        position: absolute;
        top: 300px;
        box-shadow: 5px 5px 15px black;
    }

    #altana {
        max-width: 20%;
        position: absolute;
        top: 300px;
        right: 9%;
        box-shadow: 5px 5px 15px black;
    }

    #relaks {
        max-width: 16%;
        right: 1%;
        position: absolute;
        top: 850px;
        box-shadow: 5px 5px 15px black;
    }

    table {
        border: 3px solid black;
        position: absolute;
        top: 650px;
        width: 25%;
        box-shadow: 1px 1px 15px black;
    }

    td,
    th {
        border: 1px solid #000000;
        text-align: center;
        font-size: 18px;
        background: #e7f6f0;
        padding: 5px;
    }

    th {
        background: #ffa500;
    }

    caption {
        font-size: 30px;
        color: #131313;
        font-weight: 600;
        letter-spacing: 3px;
        text-shadow: 3px 3px 10px #30302f;
        padding-bottom: 10px;
    }

    #foto1 {
        position: relative;
        top: 10px;
        font-size: 20px;
    }

    a {
        display: inline-block;
        vertical-align: middle;
        font-size: 18px;
        text-decoration: none;
        background: rgb(73, 73, 73);
        color: rgb(103, 247, 151);
        width: 110px;
        position: relative;
        left: 20px;
    }

    a:hover {
        background: rgb(107, 107, 107);

    }

    footer {
        clear: both;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 5px;
        padding-bottom: 5px;

    }

    #kontakt {
        text-align: center;
        border: 1px solid black;
        box-shadow: 3px 3px 15px black;
        padding: 10px;
        font-size: 18px;
        position: absolute;
        top: 650px;
        background: rgb(114, 193, 235);

    }

    .witaj {
        color: rgb(7, 7, 7);
        font-size: 24px;
        font-weight: 600;
        text-align: center;
    }

    .zapraszamy {
        color: rgb(7, 7, 7);
        font-size: 24px;
        font-weight: 600;
        text-align: center;
        animation: plywanie 3s infinite;
        height: 20px;
    }

}



/* duże monitory */
@media screen and (min-width:1901px) {

    @keyframes kolor {
        from {
            color: black;
        }

        to {
            color: rgb(131, 217, 230);
        }
    }

    @keyframes plywanie {
        from {
            font-size: 0%;
        }

        to {
            font-size: 100%;
        }
    }


    body {
        background: gray;
        font-size: 5em;
        margin: 0;
        /* color: blue; */
    }

    header {
        height: 100px;
        height: 180px;
        display: block;
        align-items: center;
        justify-content: center;
        letter-spacing: 5px;
        font-weight: 500;
        padding-top: 20px;
        padding-bottom: 20px;
        background-image: url('foto/magn1.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 80%;
    }

    #nazwa {
        font-weight: 600;
        text-shadow: 5px 5px 15px black;
        animation: kolor 3s infinite;
        letter-spacing: 5px;
        font-size: 24px;
    }

    header,
    footer {
        text-align: center;

    }

    .lit {
        color: rgb(110, 222, 244);
    }

    nav {
        background: rgb(41, 41, 41);
        padding-top: 20px;
        padding-bottom: 20px;
        display: inline-block;
        width: 100%;

    }

    nav:hover {
        color: rgb(6, 146, 146);

    }

    #left,
    #right {
        background: yellowgreen;
        width: 30%;
    }

    #center {
        background: rgb(114, 193, 235);
        width: 40%;
        text-align: justify;
        font-size: 1.5rem;
        overflow:auto;
    }

     .logo{
        width: 8%;
        position: absolute;
        top: 10px;
        right: 5px;
    }

    #tekst {
        width: 90%;
        text-indent: 25px;
        

    }

    .tx::first-letter {
        color: aquamarine;
        font-size: 2.5rem;
        font-weight: 600;
    }

     .mpr{
        text-shadow: 2px 2px 5px black;
        color: #f5e78e;
    }

    #left,
    #right,
    #center {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 90vh;
        float: left;
    }

    #dom {
    max-width: 20%;
    position: absolute;
    top: 400px;
    box-shadow: 5px 5px 15px black;
}

    #swiece {
        max-width: 20%;
        position: absolute;
        top: 400px;
        box-shadow: 5px 5px 15px black;
    }

    #altana {
        max-width: 20%;
        position: absolute;
        top: 400px;
        right: 9%;
        box-shadow: 5px 5px 15px black;

    }

    #relaks {
        max-width: 16%;
        right: 1%;
        position: absolute;
        top: 1200px;
        box-shadow: 5px 5px 15px black;

    }

    table {
        border: 3px solid black;
        position: absolute;
        top: 850px;
        width: 25%;
        box-shadow: 1px 1px 15px black;

    }

    td,
    th {
        border: 1px solid black;
        text-align: center;
        font-size: 1.5rem;
        background: rgb(231, 246, 240);
        padding: 5px;
    }

    th {
        background: orange;
    }


    caption {
        font-size: 25px;
        color: rgb(19, 19, 19);
        font-weight: 600;
        letter-spacing: 3px;
        text-shadow: 3px 3px 10px rgb(48, 48, 47);
        padding-bottom: 10px;
    }

    #foto1 {
        position: relative;
        top: 10px;
        font-size: 20px;
    }

    a {
        display: inline-block;
        text-align: center;
        font-size: 24px;
        text-decoration: none;
        background: rgb(73, 73, 73);
        color: rgb(103, 247, 151);
        padding: 5px;
        width: 150px;
        margin-left: 20px;
    }

    a:hover {
        background: rgb(107, 107, 107);

    }

    footer {
        clear: both;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 20px;
        padding-bottom: 20px;

    }

    #kontakt {
        text-align: center;
        border: 1px solid black;
        box-shadow: 3px 3px 15px black;
        padding: 15px;
        font-size: 25%;
        position: absolute;
        top: 900px;
        background: rgb(114, 193, 235);

    }

    .witaj {
        color: rgb(7, 7, 7);
        font-size: 3rem;
        font-weight: 600;
        text-align: center;
    }

    .zapraszamy {
        color: rgb(7, 7, 7);
        font-size: 20px;
        font-weight: 600;
        text-align: center;
        animation: plywanie 3s infinite;
        height: 15px;
    }

}