* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: #95D7F4;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

header {
    height: 100vh;
    overflow: hidden;
}

header img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 40%;
    overflow: hidden;
}


header div h1 {
    position: absolute;
    top: 80%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    font-size: 400%;
    color: white;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Saira Condensed', sans-serif;
}

@media (orientation: portrait) and (min-width: 200px) {
    header img {
        width: 100%;
        overflow: hidden;
    }

    header div h1 {
        font-size: 34px;
        line-height: 40px;
    }
}

/*NAV*/

#menuToggle {
    display: block;
    position: fixed;
    top: 5%;
    right: 12.5%;
    z-index: 1;
    /*    warstwa hamb*/
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
    font-family: 'Saira Condensed', sans-serif;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    padding: 10px;
    font-size: 22px;
}

#menuToggle a:hover {
    color: tomato;
}


#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

/*hamburger*/
#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: black;
    /*kolor na openie*/
    border-radius: 3px;
    z-index: 1;
    transform-origin: 2px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

/* 
 górny hamb na hidzie + kolor
 */
#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: black;
    /*kolor na hide*/
}

/*
 srodkowy hamb na hidzie + kolor
 */
#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 dolny hamb na hidzie + kolor
 */
#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

/*
 pozycja hamb
 */
#menu {
    position: absolute;
    width: 500px;
    margin: -100px 0px 0px -50px;
    padding: 50px;
    padding-top: 125px;
    background-color: #0695D1;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(100%, 0);
    /*    poza polem widzienia*/
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    overflow: hidden;
    border: 2px solid white;
    border-radius: 10%;
}

#menu a {
    display: inline-block;
    padding: 7.5px;
}

#menuToggle input:checked ~ ul {
    transform: none;
    margin-left: -50px;
}

@media (orientation: portrait) and (min-width: 200px) {

    #menuToggle span {
        width: 16px;
        height: 2px;
        margin-bottom: 2px;
    }

    #menuToggle {
        right: 5%;
    }

    #menuToggle a {
        font-size: 13.5px;
        margin-left: -35px;
    }

    #menuToggle input:checked ~ ul {
        transform: none;
        margin-left: -65px;
    }

}

section.first {
    font-family: 'Saira Condensed', sans-serif;
    margin: -5% auto;
    padding-top: 5%;
    padding-bottom: 7.5%;
    text-align: center;
    background-color: #0695D1;
    border-radius: 50px;
    width: 70%;
    box-shadow: 0px 0px 50px 4px rgba(66, 68, 90, 1);
    z-index: 1;
}

.first1 {
    float: left;
    width: 33%;
}

.first2 {
    float: left;
    width: 33%;
}


.first h1 {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 30px;
    color: white;
    margin-bottom: 25px;
    margin: auto;
    width: 70%;
}

.first h2 {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 40px;
    text-transform: uppercase;
    margin: 10% auto 0%;
    color: white;
}

.first h3 {
    font-size: 25px;
    color: white;
}

.first1 img {
    width: 100%;
    margin-bottom: -30%;
}

.first2 img {
    width: 100%;
    margin-bottom: -30%;
}


div.zgody {
    float: left;
    width: 100%;
    font-size: 17.5px;
    font-family: 'Saira Condensed', sans-serif;
    color: white;
    padding-top: 10%;
    padding-bottom: 1%;
    margin: auto;
}

.linki {
    float: left;
    width: 100%;
    margin: auto;
}

a.oswiadczenia {
    display: block;
    transition: 0.5s;
    margin-bottom: -25px;
}

a.oswiadczenia:hover {
    color: black;
}

@media (orientation: portrait) and (min-width: 300px) {
    section.first {
        margin: -10% auto;
        width: 90%;
        border-radius: 20px;
    }

    .first h1 {
        margin-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        font-size: 12.5px;
    }

    .first h2 {
        font-size: 12.5px;
        width: 100%;
    }

    .first h3 {
        margin-top: -7.5px;
        font-size: 10px;
        color: white;
    }

    .first1 img {
        width: 100%;
        margin-bottom: -30%;
    }

    div.zgody {
        font-size: 7.5px;
        margin-bottom: 20px;
        margin-top: 50px;
    }

    a.oswiadczenia {
        font-size: 5px;
    }

    .linki {
        margin-top: -7.5%;
        padding-bottom: 7.5%;
    }
}

@media (orientation: portrait) and (max-width: 320px) {
    .first h3 {
        font-size: 9px;
    }
}



section.me {
    margin: -30px auto;
    padding: 80px;
    width: 60%;
    background-color: #CFEDFA;
    border-radius: 50px;
    z-index: -1;
    box-shadow: 0px 0px 50px 4px rgba(66, 68, 90, 1);
}
/* div.team {
    display: flex;
      justify-content: center;
      margin-bottom: 20px;
} */

h1.me {
    font-size: 50px;
    font-family: 'Saira Condensed', sans-serif;
    text-transform: uppercase;
    color: #0695D1;
    text-align: center;
    width: 100%;
    margin: 0px auto 25px;

}

.me img {
    display: block;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
}

.me h2 {
    font-family: 'Saira Condensed', sans-serif;
    text-align: center;
    margin: 0px auto;
    font-size: 40px;
    color: #0695D1;
}

.meopis {
    font-family: 'Saira Condensed', sans-serif;
    text-align: center;
    margin: 0px auto;
    font-size: 20px;
    color: #0695D1;
}

.ja2 {
    padding-top: 15%;
}

@media (orientation: portrait) and (min-width: 300px) {
    section.me {
        padding: 20px;
        margin: 20px auto;
        width: 60%;
        border-radius: 20px;
    }

    .me h1 {
        margin-bottom: 5px;
        font-size: 20px;
    }

    .me img {
        width: 80%;
        border-radius: 10px;
    }

    .me h2 {
        font-size: 20px;

    }
}



.aktualnosci {
    margin-top: 5%;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.akt {
    padding: 150px;
    position: relative;
    text-align: center;
    font-size: 30px;
    color: white;
    text-transform: uppercase;
    text-shadow: 4px 4px 1px rgba(66, 68, 90, 1);
    font-family: 'Saira Condensed', sans-serif;
}

.sec h1 {
    font-size: 50px;
    font-family: 'Saira Condensed',
        sans-serif;
    text-transform: uppercase;
    color: #0695D1;
    text-align: center;
    width: 100%;
    margin: 100px auto 50px;
    background-color: white;
}

.akt1 img {
    display: block;
    margin: auto;
    width: 27.5%;
    border-radius: 30px;
    margin-bottom: 5%;
}

.grafik {
    font-family: 'Saira Condensed', sans-serif;
    font-weight: 700;
    margin-top: .5%;
    text-align: center;
    color: white;
    font-size: 22px;
}

@media (orientation: portrait) and (min-width: 300px) {
    .sec h1 {
        font-size: 25px;
    }

    .akt1 img {
        width: 65%;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .grafik {
        font-size: 10px;
        border-radius: 20px;

    }
}


iframe {
    display: block;
    width: 60%;
    height: 60vh;
    margin: 0 auto 10%;
}

@media (orientation: portrait) and (min-width: 300px) {
    iframe {
        height: 50vh;
        width: 100%;
    }
}

footer {
    position: relative;
    display: block;
    height: 30vh;
    background-color: #0695D1;
    border-top: 2px solid white;
}

.leftzone {
    color: white;

}

.leftzone i {
    padding-right: 1px;
}

.fa-location-dot {
    margin-left: 3px;
}

footer > div:nth-child(1) {

    font-family: 'Saira Condensed', sans-serif;
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: clamp(10px, 2vw, 35px);
    line-height: 175%;
    border: 2px solid white;
    border-radius: 0px 150px 150px 0px;
    padding: 0.5%;
    padding-right: 10%;
    box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 1);
}

footer > div:nth-child(2) {
    position: absolute;
    bottom: 10%;
    right: 10%;
    font-size: clamp(10px, 3.3vw, 60px);
    line-height: 175%;
    border: 2px solid white;
    border-radius: 150px 150px 150px 150px;
    padding-left: 1%;
    padding-right: 1%;
    box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 1);
}

.socials {
    color: white;
}

a {
    color: white;
}

.fa-brands {
    transition: .3s;
}

.fa-facebook-f {
    margin-left: 10%;
}

.fa-facebook-f:hover {
    color: royalblue;
    cursor: pointer;
}

.fa-instagram:hover {
    color: hotpink;
    cursor: pointer;
}

.copyright {
    font-family: 'Saira Condensed', sans-serif;
    position: absolute;
    color: white;
    opacity: 50%;
    bottom: 0;
    text-align: center;
    width: 100%;
    z-index: 10;
    font-size: 50%;
}

@media (orientation: portrait) and (min-width: 300px) {

    footer {
        height: 15vh;
    }

    footer > div:nth-child(1) {
        font-size: 10px;
        left: 2%;
    }

    footer > div:nth-child(2) {
        font-size: 15px;
        line-height: 190%;
        right: 5%;
    }

    .copyright {
        font-size: 5px;
    }

    .fa-location-dot {
        margin-left: 1px;
    }
}


@media (orientation: portrait) and (min-width: 390px) {

    footer {
        height: 17.5vh;
    }

    footer > div:nth-child(1) {
        font-size: 12.5px;
        left: 2%;
        bottom: 12.5%;
    }

    footer > div:nth-child(2) {
        font-size: 12.5px;
        bottom: 12.5%;
    }

}
