html, body {
    width: 100%;
    margin: 0;
}

html {
    font-family: 'Raleway', sans-serif;
}

body {
    background-color: whitesmoke;
}

.scrollHelper{
    height: 70px;
    background-color: whitesmoke;
}

.whiteGround {
    background-color: whitesmoke;
}
.grayGround {
    background-color: darkgrey;
}

.nav {
    background-color: whitesmoke;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid #EAEAEB;
    text-align: right;
    height: 70px;
    line-height: 70px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#logo {
    display: block;
    float: left;
    background: url("img/logo.png") no-repeat center;
    background-size: 154px 50px;
    margin: 10px;
    width: 154px;
    height: 50px;
}

.menu {
    margin: 0 30px 0 0;
    background-color: whitesmoke;

}

.menu a {
    text-decoration: none;
    color: gray;
    margin: 0 10px;
    line-height: 70px;
    clear: both;
}

.menu a:hover {
    color: #1C4ED7;
    padding-bottom: 23px;
    border-bottom: 4px solid #1C4ED7;
}

@media (max-width: 780px) {
    .menu a:hover {
        padding-bottom: 0px;
        border-bottom: none;
    }
}

label {
    margin: 0 40px 0 0;
    font-size: 26px;
    line-height: 70px;
    display: none;
    width: 26px;
    float: right;
}

#toggle {
    display: none;
}

.menuHelper {
    height: 100px;
}

.welcome {

    top: 70px;
    left: 0;
    text-align: center;
    color: black;
    padding-top: 100px;
    background: url("img/tlo.jpeg") no-repeat 85%;
    width: 100%;
    height: 500px;
}

@media (max-width: 780px) {
    label {
        display: block;
        cursor: pointer;
    }

    .menu {
        text-align: center;
        width: 100%;
        display: none;
    }

    .menu a {
        display: block;
        border-bottom: 1px solid #EAEAEB;
        margin: 0;
    }

    #toggle:checked + .menu {
        display: block;
    }
}

.aboutUs {
    padding: 30px;
    background-color: whitesmoke;
    text-align: center;
}

.aboutUs > h1 {
    text-transform: uppercase;
    padding-bottom: 50px;
    text-decoration: none;
    letter-spacing: 1px;
}

.oNas {
    text-align: left;
    background-color: #385AB7;
    color: white;
    padding: 10px;
    margin-bottom: 50px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.services {
    padding: 100px;
    background-color: darkgrey;
    text-align: center;
}

.services > h1 {
    text-transform: uppercase;
    padding-bottom: 50px;
    text-decoration: none;
    letter-spacing: 1px;
}

.box {
    float: left;
    width: 33%;
    height: 300px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
    transition: 0.4s;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media (max-width: 1000px) {
    .box {
        width: 50%;
    }
}

@media (max-width: 780px) {
    .box {
        width: 100%;
    }
    .services {
        padding: 20px;
    }
}

.box > .material-icons {
    position: relative;
    top: 100px;
    transition: transform 0.4s;
}

.box a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.box a:hover {
    color: darkgrey;
}

.box > h2 {
    position: relative;
    top: 120px;
    text-transform: uppercase;
    transition: transform 0.4s;
}

.box > h3 {
    opacity: 0;
}

.box:hover {
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.99), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.box:hover > .material-icons {
    transition: transform 0.4s;
    transform: translate3d(0, -50px, 0);
}

.box:hover > h2 {
    transition: transform 0.4s;
    transform: translate3d(0, -50px, 0);
}

.box:hover > h3 {
    position: relative;
    top: 90px;
    transition: opacity 1s;
    opacity: 1;
}

.szare-tlo {
    background-color: #0C1B50;
}

.szare-tlo:hover {
    background-color: black;
}

.niebieskie-tlo {
    background-color: #385AB7;
}

.niebieskie-tlo:hover {
    background-color: #1C4ED7;
}

.servicesDetails {
    text-align: left;
    background-color: #385AB7;
    color: white;
    padding: 20px;
    margin-bottom: 25px;
    margin-top: 25px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.servicesDetails > h1 {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 50px;
    text-decoration: none;
    letter-spacing: 1px;
    padding-top: 20px;
}

.prawa {
    text-align: right;
}

.prawa a {
    text-decoration: none;
    color: white;
}

.debtors {
    padding: 100px;
    background-color: whitesmoke;
    text-align: center;
}

@media (max-width: 780px) {
    .debtors {
        padding: 30px;
    }
}

.debtors > h1 {
    text-transform: uppercase;
    padding-bottom: 50px;
    text-decoration: none;
    letter-spacing: 1px;
}

.szanowniPanstwo {
    text-align: left;
    background-color: #385AB7;
    color: white;
    padding: 10px;
    margin-bottom: 50px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.debtBox {
    float: left;
    width: 49%;
    text-align: left;
}

@media (max-width: 780px) {
    .debtBox{
        clear: left;
        width: 98%;
    }
}

.custom-counter {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.custom-counter li {
    counter-increment: step-counter;
    margin-bottom: 10px;
}

.custom-counter li::before {
    content: counter(step-counter);
    margin-right: 5px;
    font-size: 80%;
    background-color: #1C4ED7;
    color: white;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
}

.debtContact {
    clear: left;
    padding-top: 50px;
}

.contact{
    padding: 100px;
    background-color: darkgrey;
    text-align: center;
    height: 400px;
}

.contact > h1 {
    text-transform: uppercase;
    padding-bottom: 50px;
    text-decoration: none;
    letter-spacing: 1px;
}

.firstConbox {
    float: left;
    width: 25%;
    height: 250px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
    padding-top: 50px;
    transition: 0.4s;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.conbox {
    float: left;
    width: 25%;
    height: 300px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
    transition: 0.4s;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media (max-width: 1000px) {
    .contact {
        height: 700px;
    }
    .conbox {
        width: 50%;
    }
    .firstConbox {
        width: 50%;
    }
}

@media (max-width: 780px) {
    .firstConbox {
        width: 100%;
    }
    .conbox {
        width: 100%;
    }
    .contact {
        padding: 20px;
        height: 1400px;
    }
}

.conbox > h2 {
    position: relative;
    top: 120px;
    text-transform: uppercase;
    transition: transform 0.4s;
}

.conbox > p {
    opacity: 0;
}

.conbox:hover {
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.99), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.conbox:hover > h2 {
    transition: transform 0.4s;
    transform: translate3d(0, -100px, 0);
}

.conbox:hover > p {
    position: relative;
    top: 50px;
    transition: opacity 1s;
    opacity: 1;
}

.footer {
    clear: both;
    padding: 30px;
    background-color: #202020;
    color: white;
    text-align: center;
}