@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap');

body {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    color: #000000;
    font-weight:  300;
    background: #fff;
}

a, a:link, a:active, a:visited {
    transition: all .3s ease-out;
    color: #00b5d5;
}

a:hover {
    color: #26ac88;
}

.max-width {
    width: 100%;
    max-width: 1369px;
    margin: auto;
    padding: 0px;
    overflow-x: hidden;
}

a#logo {
    width: 317px;
    text-align: left;
    font-weight: 400;
    display: block;
}

a#logo .logo-r1 {
    font-size: 18px;
    color: #383838;
    text-transform: uppercase;
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

a#logo .logo-r2 {
    display: block;
    width: 80%;
    max-width: 251px;
    margin: auto;
    height: 3px;
    background-image: url('../img/line.jpg');
    background-position: center center;
    background-size: cover;
    text-align: center;
}

a#logo .logo-r3 {
    font-size: 25px;
    color: #000000;
    text-align: center;
    display: block;
    width: 100%;
}

header {
    width: 100%;
    height: 93px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.top-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.top-container1 {

}
.top-container2 .numery-tel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.numery-tel-rejestracja {

}

.numery-tel-rejestracja > span {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 400;
}

.numery-tel-rejestracja > span  a {
    color: #fff;
}

.numery-tel-rejestracja > span.ntr1 {
    background: #00b5d5;
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #00b5d5;
}

.numery-tel-rejestracja > span.ntr2,
.numery-tel-rejestracja > span.ntr5 {
    background: #4acfe0;
    border: 1px solid #4acfe0;
    color: #fff;
    padding-left: 10px;
    padding-right: 10px;
}
.numery-tel-rejestracja > span.ntr3,
.numery-tel-rejestracja > span.ntr4 {
    background: #fff;
    border: 1px solid #00b5d5;
    border-left: none;
}

.numery-tel-rejestracja > span.ntr3 a,
.numery-tel-rejestracja > span.ntr4 a {
    color: #000;
}

.numery-tel-domowe {
    margin-left: 20px;
}

.numery-tel-domowe > span  a {
    color: #fff;
}

.numery-tel-domowe > span {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 400;
}

.numery-tel-domowe > span.ntd1 {
    background: #26ac88;
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #26ac88;
}

.numery-tel-domowe > span.ntd2 {
    background: #35cea5;
    color: #fff;
    border: 1px solid #35cea5;
    padding-left: 10px;
    padding-right: 10px;
}

.numery-tel-domowe > span.ntd3 {
    background: #fff;
    border: 1px solid #35cea5;
    border-left: none;
}

.numery-tel-domowe > span.ntd3 a {
    color: #000;
}

#top-img {
    width: 100%;
    height: 640px;
    overflow: hidden;
    position: relative;
}

#top-img2 {
    background-image: url('../public/img/top.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 1.5s ease-out;
    width: 100%;
    height: 640px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

#top-img:hover #top-img2 {
    transform: scale(1.1);
}

.cytat {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
}

.cytat1 {
    max-width: 840px;
}

.cytat1-l1 {
    font-size: 30px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(3,3,3,0.25);
    text-align: center;
}

.cytat1-l2 {
    font-size: 36px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(3,3,3,0.25);
    text-align: center;
    padding: 15px 0px;
}

.cytat1-l3 {
    font-size: 14px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(3,3,3,0.25);
    text-align: right;
}

.line {
    width: 100%;
    height: 3px;
    background-image: url('../img/line.jpg');
    background-repeat: repeat-x;
    background-position: top left;
}

#stopka {
    width: 100%;
    height: 50px;
    color: #666666;
    font-size: 14px;
}

#stopka a {
    color: #666666;
}

#stopka .max-width {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    height: 100%;
}

#kontakt-panel {
    padding: 100px 0px;
}

.kontakt-panel1 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;
    align-content: flex-start;
}

.kontakt-panel2 {
    flex: 0 0 400px;
}

.kontakt-panel3 {
    flex: 0 0 400px;
}

.kontakt-panel3 iframe {
    width: 100%;
    height: 333px;
    border: none;
    padding: 0px;
    margin: 0px;
}

.kontakt-panel4 {
    flex: 0 0 400px;
}

.kontakt-panel4 .numery-tel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    align-content: flex-end;
}

.kontakt-panel4 .numery-tel  .numery-tel-rejestracja {
    text-align: right;
    margin-bottom: 50px;
}

.kontakt-panel4 .numery-tel-domowe > span.ntd1,
.kontakt-panel4 .numery-tel-rejestracja > span.ntr1{
    width: 200px;
    text-align: center;
}

.kontakt-panel4 .numery-tel-domowe > span.ntd3,
.kontakt-panel4 .numery-tel-rejestracja > span.ntr3, 
.kontakt-panel4 .numery-tel-rejestracja > span.ntr4 {
    width: 135px;
}

#bottom-img {
    width: 100%;
    height: 643px;
    position: relative;
    overflow: hidden;
}

#bottom-img2 {
    background-image: url('../img/bottom.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 1.5s ease-out;
    width: 100%;
    height: 643px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

#bottom-img:hover #bottom-img2 {
    transform: scale(1.1);
}


#bottom-img .cytat1 {
    max-width: 1030px;
}

#intro {
    width: 100%;
    padding: 100px 0px;
}

.intro1 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    max-width: 900px;
    margin: auto;
    line-height: 2;
}

.intro2 {
    flex: 0 0 400px;
}

.intro3 {
    flex: 0 0 400px;
}

#uslugi {
    background: #c0ebf0;
    padding: 100px 0px;
}

.uslugi0 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: flex-start;
}

.uslugi0 > div {
    background: #fff;
    padding: 30px;
    margin-bottom: 25px;
}

.uslugi0 > div.uslugi1 {
    flex: 0 0 440px;
}

.uslugi0 > div.uslugi2 {
    flex: 0 0 440px;
}

.uslugi0 > div.uslugi3 {
    flex: 0 0 205px;
}

.uslugi0 > div.uslugi4 {
    flex: 0 0 440px;
}

.uslugi0 > div.uslugi5 {
    flex: 0 0 440px;
}

.uslugi0 > div.uslugi6 {
    flex: 0 0 440px;
}

.uslugi0 > div.uslugi7 {
    flex: 0 0 440px;
}

.uslugi0 > div.uslugi8 {
    flex: 0 0 325px;
    margin-bottom: 0px;
}

.uslugi0 > div.uslugi9 {
    flex: 0 0 325px;
    margin-bottom: 0px;
}

.uslugi0 > div.uslugi10 {
    flex: 0 0 325px;
    margin-bottom: 0px;
}

.uslugi0 > div.uslugi11 {
    flex: 0 0 325px;
    margin-bottom: 0px;
}

h2 {
    font-weight: 300;
    font-size: 22px;
    padding-bottom: 30px;
    margin: 0px;
}

main {
    overflow-x: hidden;
}

@media only screen and (max-width: 1600px)  {  
}

@media only screen and (max-width: 1400px)  {
    .uslugi0 > div.uslugi1 {
        flex: 0 0 calc(33% - 16.66px);
    }

    .uslugi0 > div.uslugi2 {
        /*flex: 0 0 calc(16.5% - 12.5px - 16.66px);*/
        flex: 0 0 calc(33% - 16.66px);
    }

    .uslugi0 > div.uslugi3 {
        flex: 0 0 calc(16.5% - 12.5px - 16.66px);
    }

    .uslugi0 > div.uslugi4 {
        flex: 0 0 calc(33% - 16.66px);
    }

    .uslugi0 > div.uslugi5 {
        flex: 0 0 calc(33% - 16.66px);
    }

    .uslugi0 > div.uslugi6 {
        flex: 0 0 calc(33% - 16.66px);
    }

    .uslugi0 > div.uslugi7 {
        flex: 0 0 calc(33% - 16.66px);
    }

    .uslugi0 > div.uslugi8 {
        flex: 0 0 calc(25% - 33.33px);
    }

    .uslugi0 > div.uslugi9 {
        flex: 0 0 calc(25% - 33.33px);
    }

    .uslugi0 > div.uslugi10 {
        flex: 0 0 calc(25% - 33.33px);
    }

    .uslugi0 > div.uslugi11 {
        flex: 0 0 calc(25% - 33.33px);
    }

    .kontakt-panel1 {
        flex-wrap: wrap;
    }

    .kontakt-panel2, .kontakt-panel3 {
        flex: 0 0 calc(50% - 50px);
    }

    .kontakt-panel4 {
        flex: 0 0 100%;
    }

    .kontakt-panel4 .numery-tel {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: flex-start;
        align-content: center;
    }

    .kontakt-panel4 .numery-tel .numery-tel-rejestracja {
        margin-bottom: 0px;
    }

    .kontakt-panel4 .numery-tel .numery-tel-domowe {
        margin-left: 0px;
    }
}

@media only screen and (max-width: 1170px)  {  
    header {
        height: auto;
    }

    .top-container {
        flex-wrap: wrap;
    }

    .top-container1 {
        flex: 0 0 100%;
        text-align: center;
    }

    a#logo {
        margin: auto;
    }

    .top-container2 .numery-tel {
        flex-wrap: wrap;
    }

    .top-container2 .numery-tel-domowe {
        margin-left: 0px;
    }

    .top-container2 .numery-tel-rejestracja {
        margin-bottom: 15px;
    }

    .uslugi0 > div.uslugi1,
    .uslugi0 > div.uslugi2,
    .uslugi0 > div.uslugi3,
    .uslugi0 > div.uslugi4,
    .uslugi0 > div.uslugi5,
    .uslugi0 > div.uslugi6,
    .uslugi0 > div.uslugi7,
    .uslugi0 > div.uslugi8,
    .uslugi0 > div.uslugi9,
    .uslugi0 > div.uslugi10,
    .uslugi0 > div.uslugi11    {
        flex: 0 0 calc(50% - 12.5px);
    }

    .uslugi0 > div.uslugi8,
    .uslugi0 > div.uslugi9 {
        margin-bottom: 25px;
    }
}

@media only screen and (max-width: 770px)  {

    .intro1 {
        flex-wrap: wrap;
    }

    .intro2 {
        flex: 0 0 100%;
    }

    .intro3 {
        flex: 0 0 100%;
    }

    .uslugi0 > div.uslugi1,
    .uslugi0 > div.uslugi2,
    .uslugi0 > div.uslugi3,
    .uslugi0 > div.uslugi4,
    .uslugi0 > div.uslugi5,
    .uslugi0 > div.uslugi6,
    .uslugi0 > div.uslugi7,
    .uslugi0 > div.uslugi8,
    .uslugi0 > div.uslugi9,
    .uslugi0 > div.uslugi10,
    .uslugi0 > div.uslugi11    {
        flex: 0 0 calc(100%);
    }
    
    .uslugi0 > div.uslugi10 {
        margin-bottom: 25px;
    }

    .kontakt-panel2, .kontakt-panel3 {
        flex: 0 0 100%;
    }

    .numery-tel .numery-tel-rejestracja,
    .numery-tel .numery-tel-domowe {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        align-content: center;
    }
    
    .numery-tel-domowe > span.ntd1, 
    .numery-tel-rejestracja > span.ntr1 {
        flex: 0 0 100%;
        width: auto;
    }
    
    .numery-tel-rejestracja > span.ntr2,
    .numery-tel-rejestracja > span.ntr5,
    .numery-tel-domowe > span.ntd2 {
        flex: 0 0 40px;
    }
    
    .numery-tel-rejestracja > span.ntr3,
    .numery-tel-rejestracja > span.ntr4,
    .numery-tel-domowe > span.ntd3
     {
        flex: 0 0 calc(100% - 40px);
        width: auto;
        text-align: center;
    }
    
    .numery-tel .numery-tel-rejestracja {
        margin-bottom: 50px;
    }
    
    .numery-tel-rejestracja > div {
        display: none;
    }
    
    #stopka .max-width {
        flex-wrap: wrap;
    }
    
    #stopka .max-width > div {
        flex: 0 0 100%;
        text-align: center;
    }
    
    #stopka {
        height: auto;
    }
    
    .numery-tel .numery-tel-rejestracja,
    .numery-tel .numery-tel-domowe {
        flex: 0 0 100%;
    }
    
    .top-container2 .numery-tel .numery-tel-rejestracja {
        margin-bottom: 10px;
    }
    
    .intro2 {
        text-align: center;
    }
    
    .intro2 img {
        max-width: 400px;
        width: 100%;
        height: auto;
    }
    
    .kontakt-panel4 .numery-tel .numery-tel-rejestracja {
        margin-bottom: 15px;
    }
    
    #kontakt-panel, #uslugi, #intro {
        padding: 50px 0px;
    }
}