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

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

.wrapper {
    margin: 0 auto;
    width: 90%;
}

/* Style globalne */

body {
    font-family: 'Montserrat', sans-serif;
}

/* Nav */

header {
    width: 100%;
    position: fixed;
    padding: 0 85px;
    z-index: 99999;
    background-color: white;
    height: 90px;
}

header .logo {
    float: left;
    padding: 10px 0;
}

header .logo img {
    height: 75px;
}

.header .logo a img:hover {
    cursor: pointer;
}

header nav {
    float: right;
    padding-top: 20px;
}

header nav ul {
    display: flex;
    top: 50%;
}

header nav ul li {
    list-style: none;
    position: relative;
}

header nav ul li.subMenu::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    position: absolute;
    line-height: 60px;
    right: 10px;
}

header nav ul li.active.subMenu::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f106";
}

header nav ul li .secondFloor {
    position: absolute;
    top: 60px;
    left: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
}

header nav ul li .secondFloor a {
    border-bottom: 1px solid white;
    color: white;
}

header nav ul li.active .secondFloor {
    display: block;
}

.secondFloor {
    width: 200px;
    display: none;
}

header nav ul li a {
    height: 60px;
    line-height: 60px;
    padding: 0 30px;
    color: black;
    text-decoration: none;
    display: block;
    font-weight: bold;
    transition: 0.5s;
    border-radius: 4px;
    font-size: 12px;
}

header nav ul li a:hover {
    background-color: #e10808;
    color: white;
    cursor: pointer;
}


.menuToggle {
    color: red;
    float: right;
    line-height: 80px;
    font-size: 32px;
    cursor: pointer;
    display: none;
    padding: 0 20px;
}

@media(max-width: 1325px) {
    header {
        padding: 0 30px;
    }
}

@media(max-width: 1190px) {
    header {
        padding: 0 20px;
    }

    .menuToggle {
        display: block;
    }

    header nav {
        position: absolute;
        width: 100%;
        height: calc(100vh - 85px);
        left: -100%;
        top: 85px;
        transition: 0.5s;
        padding-top: 25px;
        background-color: white;
    }

    header nav.active {
        left: 0;
    }

    header nav ul {
        display: block;
        text-align: center;
    }

    header nav ul li a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }
    header nav ul li .secondFloor {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.3)
    }
r nav ul li .secondFloor a {
        color: black;
    }

    header nav ul li .secondFloor a:hover {
        color: white;
    }
    header nav ul li.subMenu::before {
        right: 75px;
    }
}

@media(max-height: 640px) {
    header nav ul li a {
        height: 50px;
        line-height: 50px;
    }

    header nav ul li.subMenu::before {
        line-height: 50px;
    }
}

.mainContent {
    padding-top: 100px;
}

/* Header */

.banner {
    width: 100%;
    height: 500px;
    position: relative;
}

.banner div {
    width: 100%;
    height: 350px;
    position: absolute;
    background-image: url('../Od Eulali/uruchamiamybaner.jpg');
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: cover;
}

.banner h1 {
    position: absolute;
    color: #e10808;
    width: 100%;
    text-align: center;
    top: 76%;
    padding: 0 15px;
    font-size: 32px;
    z-index: 1;
    text-transform: uppercase;
}

.banner p {
    position: absolute;
    color: black;
    width: 100%;
    text-align: center;
    top: 88%;
    padding: 0 20px;
    font-size: 20px;
}

@media(max-width: 1094px) {
    .banner h1 {
        font-size: 26px;
    }
    .banner p {
        font-size: 18px;
    }
}

@media(max-width: 886px) {
    .banner h1 {
        font-size: 22px;
    }
}

@media(max-width: 683px) {
    .banner h1 {
        font-size: 20px;
    }
}

@media(max-width: 615px) {
    .banner div {
        background-position-x: 70%;
    }
}

@media(max-width: 550px) {
    .banner {
        height: 525px;
    }
    .banner h1 {
        top: 72%;
    }
    .banner p {
        top: 84%;
    }
}

@media(max-width: 451px) {
    .banner {
        height: 550px;
    }
    .banner h1 {
        top: 68%;
    }
}


@media(max-width: 390px) {
    .banner h1 {
        font-size: 18px;
    }
    .banner p {
        top: 82%;
    }
}

/*bannerText*/

.bannerText {
    width: 90%;
    margin: 0 auto;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.bannerText p {
    padding: 25px 0 25px 0;
    line-height: 150%;
}

.bannerText p:first-child::first-letter {
    font-weight: 700;
    font-size: 20px;
}

.bannerTextListContainer {
    text-align: center;
    position: relative;
    padding-top: 45px;
}

.bannerTextListContainer ul {
    list-style: none;
}

.bannerTextListContainer ul li {
    line-height: 150%;
}

.bannerTextListContainer ul li::first-letter {
    font-weight: 900;
    font-size: 18px;
}

.mainContent button {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    width: 250px;
    border: none;
    box-shadow: 0.5px 0.5px 6px 1px rgba(0, 0, 0, 0.3);
    background-color: #e1080879;
    transition: 0.5s;
    border-radius: 4px;
    margin: 45px 0 45px 0;
    text-transform: uppercase;
}

.mainContent button a {
    color: white;
    text-decoration: none;
}

.mainContent button:hover {
    background-color: #e10808;
    cursor: pointer;
}

@media(max-width: 555px) {
    .bannerTextListContainer ul {
        padding: 0 25px;
        line-height: 170%;
    }
    .bannerTextListContainer ul li {
        font-size: 15px;
    }
}

/* firstContentHeader */

.firstContentHeader h2  {
    text-align: center;
    padding: 25px 10px 15px 10px;
    font-size: 26px;
}

@media(max-width: 1469px) {
    .firstContentHeader h2 {
        font-size: 22px;
    }
}

@media(max-width: 691px) {
    .firstContentHeader h2 {
        font-size: 18px;
    }
}

@media(max-width: 434px) {
    .firstContentHeader h2 {
        font-size: 18px;
    }
}

/* firstContent*/

.firstContent {
    position: relative;
}

.card {
    float: left;
    width: calc(100%/4);
    height: 800px;
    position: relative;
    margin-top: 35px;
}

.cardContent {
    position: relative;
    height: 100%;
    width: 100%;
}

.cardContentBox {
    margin-right: 20px;
    position: relative;
    height: 100%;
    box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.2);
}

.cardContentBackground {
    height: 35px;
    width: 100%;
    position: absolute;
    z-index: 1;
    background-color: #e10808;
}

.hrContentBackground {
    background-color: rgba(67, 184, 0, 0.705);
}

.cardContent h1 {
    position: absolute;
    top: 7%;
    z-index: 1;
    font-size: 18px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

.cardSalesBackground {
    height: 200px;
    position: absolute;
    width: 100%;
    /*background-color: rgba(170, 170, 170, 0.1);*/
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 0;
    top: 35px;
}

.cardContent img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 13%;
    z-index: 1;
}

.cardName {
    position: relative;
    top: 30%;
    width: 100%;
}

.cardName h2 {
    position: absolute;
    padding: 10px 20px;
    font-size: 16px;
}

.cardName p {
    position: absolute;
    top: 50px;
    padding: 0 20px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
    text-align: left;
}

.midContent {
    position: relative;
    top: 86.5%;
    height: 50px;
    width: 100%;
    border-top: 2px solid rgba(67, 184, 0, 0.705);
    border-bottom: 2px solid rgba(67, 184, 0, 0.705);
}

.midContentFlag {
    border-right: 2px solid rgba(67, 184, 0, 0.705);
}

.midContentFlag img {
    width: 35px;
}

.midContentCol {
    float: left;
    width: 50%;
    height: 100%;
    position: relative;
}

.midContentColSpecial {
    float: left;
    width: 50%;
    height: 100%;
    position: relative;
}

.midContentCol img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 1px 1px 8px 2px rgba(170, 170, 170, 0.705);
}

.midContentColSpecial img:nth-child(1) {
    position: absolute;
    left: 25%;
    border-radius: 50%;
    box-shadow: 1px 1px 8px 2px rgba(170, 170, 170, 0.705);
    top: 50%;
    transform: translateY(-50%);
}

.midContentColSpecial img:nth-child(2) {
    position: absolute;
    left: 55%;
    border-radius: 50%;
    box-shadow: 1px 1px 8px 2px rgba(170, 170, 170, 0.705);
    top: 50%;
    transform: translateY(-50%);
}

.midContentColIcon {
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
}

.midContentColIcon i {
    font-size: 24px;
    line-height: 50px;
    margin-right: 5px;
}

.bottomContent {
    position: relative;
    top: 86%;
    height: 70px;
    width: 100%;
}

.bottomContentCol {
    float: left;
    width: 50%;
    height: 100%;
    position: relative;
}

.bottomContentCol img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 25px;
}

.bottomContent i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
}

@media(max-width: 1681px) {
    .midContentColSpecial img:nth-child(1) {
        left: 20%;
    }

    .midContentColSpecial img:nth-child(2) {
        left: 55%;
    }
}

@media(max-width: 1469px) {
    .firstContentTitle h2 {
        font-size: 22px;
    }
}

@media(max-width: 1371px) {
    .card {
        width: calc(100%/3);
    }

    .midContentColSpecial img {
        width: 25px;
        height: 25px;
    }

    .midContentColSpecial img:nth-child(1) {
        left: 26%;
    }

    .midContentColIcon i {
        font-size: 20px;
    }

    .cardName h2 {
        position: absolute;
        font-size: 16px;
    }

}

@media(max-width: 1090px) {
    .card {
        width: calc(100%/2);
    }
    .cardContentBox {
        margin-right: 15px;
    }
}

@media(max-width: 700px) {
    .card {
        width: 100%;
    }

    .midContentColSpecial img {
        width: 35px;
        height: 35px;
    }
}

@media(max-width: 691px) {
    .firstContentTitle h2 {
        font-size: 20px;
    }
}

@media(max-width: 423px) {
    .firstContentTitle h2 {
        font-size: 18px;
    }
}

/* footerBanner */

.footerBanner {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
}

.footerBanner img {
    padding: 25px 0;
}

.footerBanner h2 {
    padding: 0 0 10px 0;
}

.footerBanner p {
    padding: 0 0 25px 0;
}

@media(max-width: 576px) {
    .footerBanner h2 {
        font-size: 20px;
    }
    
    .footerBanner p {
       font-size: 15px;
    }
}

@media(max-width: 360px) {
    .footerBanner h2 {
        font-size: 18px;
    }
    
    .footerBanner p {
       font-size: 14px;
    }
}

/* footer */

#footer {
    height: 400px;
    width: 100%;
    position: relative;
    background-color: white;
    color: black;
}

.footerFirstCol1 {
    float: left;
    width: 50%;
    padding: 45px;
    position: relative;
}

.footerFirstCol2 {
    float: left;
    width: 20%;
    padding: 30px;
    position: relative;
}

.footerFirstCol3 {
    float: left;
    width: 30%;
    padding: 30px;
    position: relative;
}

.footerFirstColBox {
    position: relative;
    height: 100%;
    width: 100%;
    text-align: justify;
}

.footerFirstColBox img {
    padding: 0 0 30px 0;
    width: 300px;
}

.footerFirstCol2 h2,
.footerFirstCol3 h2 {
    text-transform: uppercase;
}

.footerFirstColList {
    position: absolute;
    padding: 10px 0 0 0;
}

.footerFirstColList li {
    list-style: none;
    padding: 4px 0;
}

.footerFirstColList li a {
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.footerFirstColList li a:hover {
    color: #e10808;
}

.footerFirstColAddress {
    padding: 10px 0 0 0;
}

address p {
    padding: 0 0 10px 0;
    font-style: normal;
    font-size: 14px;
}

address i {
    margin-right: 8px;
}

.number {
    display: block;
    letter-spacing: 2px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.email {
    display: block;
    padding: 0 0 30px 0;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.email a {
    color: black;
    text-decoration: none;
    transition: 0.5s;
}

.email a:hover {
    color: #e10808;
    cursor: pointer;
}

.nipRegon {
    text-align: left;
}

.nipRegon p:nth-child(1) {
    padding: 0 0 10px 0;
    font-size: 14px;
}

.nipRegonLine {
    width: 26%;
    height: 2px;
    background-color: black;
}

.nipRegon p:nth-child(3) {
    padding: 10px 0 30px 0;
    font-size: 14px;
}

.nipRegon p span {
    letter-spacing: 1.5px;
}

.socialIcons {
    position: relative;
    height: 40px;
    width: 40px;
    background-color: white;
    border-radius: 50%;
    transition: 0.5s;
}

.socialIcons:hover {
    background-color: #e10808;
    cursor: pointer;
}

.socialIcons:hover i {
    color: white;
}

.socialIcons i {
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

#topBtn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 83%;
}

#topBtn i {
    font-size: 18px;
    transition: 0.5s;
}

#topBtn i:hover {
    color: #e10808;
    cursor: pointer;
}

.footerContentBottom {
    position: absolute;
    height: 50px;
    width: 100%;
    bottom: 0;
    margin-top: 10px;
}

.footerContentBottomCol {
    float: left;
    width: 50%;
    position: relative;
    height: 50px;
}

.footerContentBottomCol:first-child p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 45px;
    font-size: 12px;
}

.footerContentBottom P:first-child a {
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.footerContentBottom p:first-child a:hover {
    color: #e10808;
    cursor: pointer;
}

.footerContentBottomCol2 .appsWebs {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 45px;
    font-size: 12px;
}

.footerContentBottomCol2 .appsWebs a {
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.footerContentBottomCol2 .appsWebs a:hover {
    color: #e10808;
}

@media(max-width: 1445px) {

    .footerFirstCol2 h2,
    .footerFirstCol3 h2 {
        font-size: 16px;
    }

    .footerFirstColList li a {
        font-size: 14px;

    }

    .footerFirstColBox img {
        width: 200px;
    }

    .footerFirstColBox p {
        font-size: 14px;
    }

    .footerFirstColList li {
        padding: 2px 0;
    }

    .number {
        font-size: 10px;
        font-weight: bold;
    }

    address p {
        font-size: 12px;
    }
}

@media(max-width: 832px) {
    #footer {
        height: 600px;
    }

    .footerFirstCol1 {
        width: 100%;
        height: 200px;
    }
    #topBtn {
        top: 87%;
    }

    .footerFirstCol2 {
        width: 50%;
        float: left;
        height: 350px;
    }

    .footerFirstCol3 {
        width: 50%;
        float: right;
        height: 350px;
    }

    .footerFirstCol1 {
        padding: 25px;
    }

    .socialIcons {
        height: 30px;
        width: 30px;
    }

    .socialIcons i {
        font-size: 18px;
    }
    .footerContentBottomCol:first-child p {
        font-size: 12px;
    }
    .footerContentBottomCol2 .appsWebs {
        font-size: 12px;
    }
}

@media(max-width: 577px) {
    .footerContentBottomCol {
        width: 100%;
    }
    .footerContentBottomCol:first-child p {
        left: 50%;
        top: 50%;
        transform: translate(-50% , -50%);
        text-align: center;
    }
    .footerContentBottomCol2 .appsWebs {
        left: 50%;
        top: 50%;
        transform: translate(-50% , -50%);
        text-align: center;
    }
}

@media (max-width: 504px) {
    #footer {
        height: 875px;
    }

    #topBtn {
        top: 90%;
    }

    .footerFirstCol1 {
        width: 100%;
        height: 225px;
    }

    .footerFirstCol1 p {
        font-size: 12px;
    }

    .footerFirstCol2 {
        width: 100%;
        height: 275px;
    }

    .footerFirstCol3 {
        width: 100%;
        height: 300px;
    }

    .footerFirstCol2 h2,
    .footerFirstCol3 h2 {
        font-size: 14px;
    }
    .footerContentBottomCol:first-child p {
        font-size: 10px;
    }
    .footerContentBottomCol2 .appsWebs {
        font-size: 10px;
    }    
}